Quantcast
Channel: SCN: Message List - ABAP Switching, Enhancing, and Adapting Standard Programs
Viewing all 2464 articles
Browse latest View live

Re: Replacing a field in MB21 input screen

$
0
0

Hi Dharani, shure it is possible, but why do you want to do that? Since the movement type is essential for creating a reservation I wonder what is the idea behind to replace this important field.

 

Or do you want to use a custom movement type?

 

BR, Devis


Re: Exit for adding the details using IDOC_INPUT_INVOIC_FI in IDOC

$
0
0

Hi there,

 

Were you able to find a solution for this?

 

Regards

 

T

Re: Adding two fields in report S_ALR_87012936

$
0
0

Hi,

is the problem solved?

What is the use of User field ?

Re: userexit IEQM0003 is working for IE01 but not for MIGO

$
0
0

So i am guessing no one has a clue on this issue i am having? i have contacted sap service market place and they said, "this is not a problem, go ask scn...".

 

so i will ask again.

 

i am trying to find a userexit that i can code that will work on the above issue. when a goods receipt is done against a material that is serialized (a equipment record is created). i am trying to add more information to the equipment record in the user exit.

 

let me know if you can.

 

thx,

Erik

Re: Using COMMIT WORK in User Exit or in BADI

$
0
0

Hi Prasad,

 

May I know how you solve your problem? I have the same problem as well.

 

Regards,

Dale

Re: Best practice to use in User exit

$
0
0

Well Like BADI we dont have an option to deactivate the enhancement points. But if you want to use this enhancement point later but not now i would suggest you comment all the the code lines and activate the user exit and later when you need it you can uncomment and activate. I think by this way you can achieve what you want.

 

Regards,

Satish

Re: Best practice to use in User exit

$
0
0

Basically let me differentiate between an implicit and explicit enhancement in short:

 

Explicit Enhancement: If You try to create a enhancement point in customer or user exits provide by SAP then it is Explicit enhancement, and you can create any number of Enhancement points.

 

Implicit Enhancement: These are like creating enhancement points at the standard programs. usually these enhancement options will be visible at the top or at the end of a Fm or Subroutine.

 

Hope you are clear now. And for your question yes you can create as many implementations inside the subroutine but you cannot create it at all places. It must be either at the start of the subroutine or the end of the subroutine but not between the standard code lines.

 

Hope you are clear. Please Get back if you have any further queries.

 

Regards,

Satish

Re: MV45AFZZ USEREXIT_SAVE_DOCUMENT not updating XVBEP

$
0
0

Hi Jinson,

Which method did you use in BUS2032 ? Please reply.


Re: Best practice to use in User exit

$
0
0

Thanks Satish for all of your detailed explanation . It is quite useful.

Re: Adding custom fields to Article Master (MM41/MM42)

$
0
0

Hi Siva,

 

I am having similar requirement to add Z fields under Component Overview in  MM42 ( for BOM ).

 

Could you please tell me the correct BADI/Exit ?

 

 

Regards,

Suman

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

Re: VA01 / VA02 - Copy sales order line abap ?

$
0
0

Hi ,

 

I have the same requirement.

 

It's important to share some things:

 

1. "SVBAP-TABIX = 0." it's very important

2. Move "PERFORM PREISFINDUNG_NACHBEREITEN_POS(SAPFV45P) USING T185F T185 T185V." outside the loop.

 

ex:

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.

 

Thanks in advance,

Marius

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.....

Re: VA01/VA02 - multiple lines price determination

$
0
0

Hi Marius,

 

Why dont you try the enhancment point at user exit,

 

   FORM USEREXIT_NEW_PRICING_VBKD CHANGING NEW_PRICING.

 

try to understand the flow through debugging. Also I would request you to go through the SAP notes 24832. This will give you a good indepth understanding about the Repricing.

 

Regards,

Satish


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.

Re: VA01/VA02 - multiple lines price determination

$
0
0

Hi Satish,

 

It doesn't help me.

 

The lines that are added to the PO are from a code. Not copied from another PO or same PO. That's why I need to (re)determine the price for each new line.

 

Thanks,

Marius

Re: How to set user specific Screen Variants using SHD0?

$
0
0

Thanks you! very important point..

Re: VA01/VA02 - multiple lines price determination

$
0
0

Hi guys,

 

I still require a solution or hint here.

 

Thank you in advance,

Marius

Re: VA01/VA02 - multiple lines price determination

$
0
0

Hi,

Did you go through the SAP Notes 24832, was it useful.

 

regards,

Satish

Viewing all 2464 articles
Browse latest View live


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