Class Exits

<< Click to Display Table of Contents >>

Navigation:  All About ABAP Technique > English > ABAP Tutorial > ABAP Workbench Tools > Enhancement > Business Add-Ins (BADI) >

Class Exits

Objective

Class Exits

Transaction code

SE18 - Business Add-Ins : Initial Definition Maintenance Screen

Support

Video BADI PO ITEM

 

1. Open t-Code SE18

abap_tutorial0201

 

2. Insert "ME_PROCESS_PO_CUST"

3. Click "Implementation -> Create" and insert "ZPO_01"

abap_tutorial0162

 

4. Click "Cek/Continue"

abap_tutorial0202

 

5. Insert short text "Latihan BADI" and Click "Save"

abap_tutorial0163

*Disimpan di package jika ingin di transport

 

6. Click tab "Interface"

abap_tutorial0165

 

7. Double klik "ZCL_IM_PO_01"

abap_tutorial0203

 

8. Double klik "IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM" jika ingin menambahkan syntax pada saat memprocess Line Item PO.

9. Insert simple syntax as below

abap_tutorial0204

 

10. Click "Activate"

abap_tutorial0164

 

11. Click 'Check/Continue"

12. Click "Back" until the Screen as below

abap_tutorial0165

 

13. Click "Activate"

14. Open t-Code "ME21N" and then fill values that needed for create PO

abap_tutorial0166

 

15. After input value at Line ITEM, press the button "Enter" directly.

16. If error message appear as bellow then BADI has been successfully posted in t-Code "ME21N".

abap_tutorial0167

 

17. Finish.