Implementing BADI for the Transactions VL02 and MM02

...Previous  

 

BADI used. 

BADI_MATERIAL_OD

ECM_EXIT

BADI_LAYER

GOS_SRV_SELECT

BADI_MATERIAL_OD

ECM_EXIT 

 

Change the description line and click on SAVE icon. 

 

 

BADI name: 

BADI_GTIN_VARIANT

BADI_MATERIAL_CHECK

EHSS_SPEC_CHECKS 

Step 3:

Run the transaction SE18 to see the details of BADI. 

 

Click on display button to see the methods declared in that. 

 

Choose the method where the material description is defined. 

 

Step 4:

Run the transaction SE19 and create an implementation for the corresponding BADI. Click on create button to create an implementation.

 

Give a name for the implementation.

 

Give the description. Click on save icon and double click on the method chosen. 

 

On a double clicking system will provide you the editor to write the code.

 

Code is

DATA:WA1 TYPE SHORT_DESC.

DATA: WA TYPE SHORT_DESC.

WA-MAKTX = 'HELLO'.

LOOP AT STEXT INTO WA1.

CONCATENATE WA1-MAKTX WA-MAKTX INTO WA1-MAKTX.

MODIFY STEXT FROM WA1.

ENDLOOP. 

Note: activate the program and the implementation.

 

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image