Quantcast
Channel: SCN : Unanswered Discussions - ABAP Switching, Enhancing, and Adapting Standard Programs
Viewing all 716 articles
Browse latest View live

IN_UPDATE HRPAD00INFTY

$
0
0

Hello All,

 

I just implement the methode IN_UPDATE using the BADi HRPAD00INFTY,

problem that I have, i need to trigger messages or exceptions when Errors comes, i dont have unfortunately any exports Parameters for triggering errors messages or exceptions in the Methode IN_UPDATE !!

 

can any tell to solve this? to trigger messages in IN_UPDATE methode?

 

 

thank you very much,

 

 

regards


Restrict the Stock Value field under VF03 \ COPA

$
0
0

Hello All,

 

we have VPRS COST moved to stock value in the PA document through SD conditions transfer to value fields ( Value Field is Stock value). We must have to keep VRPRS in COPA stock value. but have hide from certain job level group. what is the solution.

 

Our Security team have said that line item = Stock value\VRPRS under PA document is not controlled by the authorization object so they cant trace it.

 

is there any transaction code for line item = Stock value\VRPRS under PA document?

What is my options to restrict the market team not to find the cost in line item through VF03/02

Authorisation control in Mi10

$
0
0

HI Experts ,

We need to provide authorization of transaction MI10 to user , for specific material type .

i.e if user enter material code , system will check material type for that material , if it matches with particular materials type, he/she

can able to generate document .

we cant do this using basis authorization control because , this user is already having authorization for all types of materials in other roles .

hence even if we provide specific material type in one Role of Mi10 t code , user can able to post document for other types also.

Actually we need user exit/ badi for this , but yet we didn't found  exact badi / user exit for Mi10 .

Alternate solution is also acceptable .

Looking for UserExit for Auto Equipment create from Serialized Material (GR101)

$
0
0

Good day all,

I have a requirement to modify the equipment create transaction that occurs when a Goods Receipt is done against a serialized material. for those of you who are scratching their heads, the process is like this.

MIGO 101 for a material (mm01) and this material needs to be serialized (on the plant data/stor 2 view, the serial no. profile field has a setting)

once this transaction is complete, a equipment is automatically created with basic data from the material.

 

My requirement is to fill more of the fields on the equipment that is created, prior to the create. this data will come from customer tables that have been created and maintained by users.

 

i have reviewed/searched these userexits do not work.

ITOB0001

IQSM0001

IEQM0003

 

I also tried the FM equipment_update. this didn't work either.

 

Thxs,

Erik

Bsp application login/logoff issue post EHP upgarde

$
0
0

Hi Experts,

 

 

We recently had a system upgrade from EHP 2.0 to EHP 7.0 .

 

We have BSP application designed for Mobile approval process. After the upgrade login/logoff  for the application is not working.

 

Debugger doesnot trigger as well. We have reaised OSS where SAP says we have to replace the application calss CL_BSP_LOGIN_APPLICATION

with CL_ICF_SYSTEM_LOGIN. This would be a tedious process as the application is really huge.

Has anyone come Come across this kind of situation. Does the replacemnt work or do we have a Workaround.

Please advice.

 

Regards,

Shwetha

Search help exit is not working in Collective Search help

$
0
0

Dear All,

 

I created one search help exit and it is working in elementary search help. But if I assign same search help exit in collective search help it is not working.

 

Please help...

 

Thanks

Chaitanya M

CO01 & CO02 Back Flush Validation

$
0
0

Hi to all

 

My requirement is :

 

I need to validate back flush button in while saving or entering in CO01 & CO02 component overview screen .

But i am not getting any proper  User exit or BADI  , For that i am looking for appropriate solution.

 

CO01-BACK FLUSH.png

 

Please guide me .

 

 

Thanks & regards

Niran.OK

userexit IEQM0003 is working for IE01 but not for MIGO

$
0
0

when activating the SMOD IEQM0003 for equipment creation (customer specific

functionality needed not supplied by sap),it works correctly (break point

is placed in include ZXEQMU02). But, when i use MIGO to receive a

serialized material (which creates a equipment in the background), the

userexit is not being called (the breakpoint is not stopped in debug

mode).


Is this the correct userexit to use for the MIGO procedure? Is there an

issue/problem with this userexit based on the MIGO procedure?

Let me know please and thank you.

Erik


BO2007 Method Release

$
0
0

Hello!

I want to create  a new ZBO2007 with Method Release (for put in my workflow) maintenace orders but, I put this BAPI BAPI_ALM_ORDER_MAINTAIN (method: Release) and program in the attachment, I don´t know about ABAP code and I don´t know the correct code.

Please, help me

Thank in advance

 

 

1-2.jpg

2-2.jpg

EXIT needed to be executed only while posting in MIR4

$
0
0

Hi.

 

I  used INVOICE_UPDATE (BAdi) to perform additional tasks while saving the document in MIR4.

It worked fine, however the requirement is now more restricted - the execution of code should only take place while posting the document (not while saving partially /fully but only while posting). This is when the sy-ucomm = 'BU'.

But after pressing the posting button (sy-ucomm = 'BU') there are some popups, that change the value of sy-ucomm , so in my BADI - i already don't know what sy-ucomm was.

I tried with transporting this sy-ucomm value to memory in "first" badi, but I'll never be sure if there was any popup before.

Maybe this is not the best way to achieve the point. If you know the better one - please let me know or if not please help to improve my way.

 

Thank You, Lukas.

Add a field at FBL5N screen 0301 (SAPMF05L)

$
0
0

Hi,

 

I have to add a new field on standard screen of SAP program SAPMF05L screen 0301.

The below screen will come after you pass customer account number on FBL5N and execute and then double clicking billing document number.

I am unable to fine a proper screen exit. The new field basically is ship to.

Is there a way to add the field without access key and what are the steps.

 

 

FBL5N.JPG

Default value for PA30 of 0009 infotype

$
0
0

Hi,

 

 

While displaying the Infotype 0009, user needs default value for the Bank Key.

 

 

I am new to HR ABAP. Can any one tell that is there any Exit or BADI or any other way to achieve this.

 

 

Could any one help me.

 

 

Thanks,

Yerukala Setty

hi members

$
0
0

can any one tell be does PAI event occurs when switching between 2 tabs in tabstrips

IN_UPDATE HRPAD00INFTY

$
0
0

Hello All,

 

I just implement the methode IN_UPDATE using the BADi HRPAD00INFTY,

problem that I have, i need to trigger messages or exceptions when Errors comes, i dont have unfortunately any exports Parameters for triggering errors messages or exceptions in the Methode IN_UPDATE !!

 

can any tell to solve this? to trigger messages in IN_UPDATE methode?

 

 

thank you very much,

 

 

regards

Enhancement of FB70

$
0
0

Hi,

 

I need to enhance FB70 as below.

 

In Header section, the transaction list box list shows only two values viz., R Invoice and G Credit Memo. I need to populate one more value DEBIT MEMO in this list.

 

In Item section, Debit Memo should acts like an Invoice option.

 

ie.., for Invoice            - Debit/Credit entry populates CREDIT (Standard)

       for Credit Memo   - Debit/Credit entry populates DEBIT. (Standard)

and for DEBIT MEMO  - Debit/Credit entry should populate CREDIT

 

Could any one tell the any enhancement method suits for this change ?

 

Thanks,

Raj


Implementing 'BADI_FDCB_SUBBAS03' After Upgrade

$
0
0

Hi Gurus,

 

We just finished an upgrade from SAP 4.7 to 6.0... In TX. MIRO, there was implemented the BADI ' BADI_FDCB_SUBBAS03 '... i have checked but the aditional fields in the screen (that affects structure INVFO) are not showing.

 

Nº Dynpro and program  are in the upgrade version, but the definition of the BADI does not. How can I implement this BADI again in the upgraded version.

 

Thanks a lot in advice.

 

 

Miguel Meneses

VA01/VA02 - multiple lines price determination

$
0
0

Hi gurus,

 

The client needs to add in the PO a few lines with new data.

 

Although this has been achieved with the help of this post (Re: VA01 / VA02 - Copy sales order line abap ?), I have a problem with the price determination.

       ls_xvbap-mandt = '300'.

       ls_xvbap-pstyv = 'TAN'.

       ls_xvbap-updkz = 'I'.

       ls_xvbap-werks = '4100'.

       ls_xvbap-lgort = '4101'.


       LOOP AT gt_stanga INTO ls_list WHERE cant <> 0.

         ls_xvbap-posnr  = ls_xvbap-posnr + 10.

         ls_xvbap-matnr  = ls_list-cod_material.

         ls_xvbap-matwa  = ls_list-cod_material.

         ls_xvbap-kwmeng = ls_list-cant.

         SELECT SINGLE charg

           FROM mseg

             INNER JOIN mbew ON  mbew~matnr = mseg~matnr

                             AND mbew~bwkey = mseg~werks

                             AND mbew~bwtar = mseg~charg

           INTO ls_xvbap-charg

           WHERE mbew~matnr = ls_xvbap-matnr

             AND mbew~lbkum <> 0.

 

         svbap-tabix = 0.

         PERFORM vbap_bearbeiten_vorbereiten(sapfv45p).

         svbep-tabix = 0.

         PERFORM vbep_bearbeiten_vorbereiten(sapfv45e).

         MOVE-CORRESPONDING ls_xvbap TO vbap.

         MOVE-CORRESPONDING ls_xvbap TO rv45a.

         PERFORM vbap_fuellen(sapfv45p).

         PERFORM vbap_bearbeiten(sapfv45p).

         PERFORM vbep_fuellen(sapfv45e).

         PERFORM vbep_bearbeiten(sapfv45e).

         PERFORM vbap_bearbeiten_ende(sapfv45p).

         PERFORM koein_ermitteln_n46(sapfv45p).

         PERFORM komv_bearbeiten_n46(sapfv45p).

       ENDLOOP.

       PERFORM preisfindung_nachbereiten_pos(sapfv45p) USING t185f t185 t185v.

       fcode = 'ENT1'.

       SET SCREEN syst-dynnr.

       LEAVE SCREEN.

It works only for the last line (in case I add more than one) using this method (VA02: Carry out new pricing by changing item category), but it needs to work for every line.

 

FORM USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING.

* Example: new pricing, when field 'Route' is changed

* if vbap-route ne *vbap-route.

    new_pricing = 'B'.

* endif.

 

ENDFORM.

 

I'm curious if there is something similar with the first issue (the determination for much of the data is done for each line due to the 2 variables set to
"0"), different forms called for each line but I didn't manage to find some.

 

Anyone can share some pointers to solve this issue?

 

Thank you in advance,

Marius

Problem while implementing 1945137 note

$
0
0

Dear Experts,

 

We are implementing note 1945137. But it is giving below error.

 

Element FIWTIN_TAN_EXEM-WITHT touches or overlaps other element (Message no. 37315).


Program SAPLJ1I_MASTER and screen 0104


Please suggest.....

Error during database call

$
0
0

Hello Experts,

 

I have custom program and in which i am using standard function module - which has SQL query as follows:

 

UPDATE <SAP std table> FROM TABLE <internal table>. As soon as this statement executes, i am getting error like :

 

"Error During database call".

 

Can you please help me what could be the reason for this error?

 

Thank you in advance.

Create Post Exit Method - Access to protected attribute is not allowed

$
0
0

Hi Experts,

 

I am creating a post exit enhancement for standard ABAP class method.

Once its created when I run syntax check it says the " Access to protected attribute is not allowed".

The standard abap class method has a returning parameter, its associated type is protected attribute ( Refering different class attribute).

 

Could you please guide me how to overcome the above issue.

 

Thanks and Best Regards,

Vinoth

Viewing all 716 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>