2008 Jul 23 11:43 AM
Hi
Can anyone explain me step by step procedure to create a BADI for me21n.
Like creating enhancement spot and all.
but in all the manuals , it is different.. like there is no updated manual for creating and implementing BADI..
Can anyone ppls help me in creating this..
Cheers
Christina
2008 Jul 23 11:55 AM
This is the general procedure for creating badi's
1. Goto SE18
2. Choose the BADIs as our requirement from the SAP Application
3. Goto SE19 -- > create implementation for BADIs
4. In SE19, make a duple click on Implementation Class
5. In SE19, make a duple click on Method.
6. Write the coding in side the Method.
This is the general procedure for creating badi's
1. Goto SE18
2. Choose the BADIs as our requirement from the SAP Application
3. Goto SE19 -- > create implementation for BADIs
4. In SE19, make a duple click on Implementation Class
5. In SE19, make a duple click on Method.
6. Write the coding in side the Method.
2008 Jul 23 11:46 AM
2008 Jul 23 11:52 AM
2008 Jul 23 11:55 AM
This is the general procedure for creating badi's
1. Goto SE18
2. Choose the BADIs as our requirement from the SAP Application
3. Goto SE19 -- > create implementation for BADIs
4. In SE19, make a duple click on Implementation Class
5. In SE19, make a duple click on Method.
6. Write the coding in side the Method.
2008 Jul 25 8:03 AM
Hi
can anyone help me in detail how to create a BADI for me21n.
BADI is ME_PROCESS_PO_CUST
Iam totally blank in that ..
All the notes did noit help me out..
Pls help me ..
Cheers
Christina
2008 Jul 25 8:31 AM
hi,
check this sample code for
Purchasing Group Validation Based On Company Code
for badi ME_PROCESS_PO_CUST method PROCESS_HEADER.
DATA : header TYPE mepoheader.
CALL METHOD im_header->get_data
RECEIVING
re_data = header.
IF header-bukrs EQ 'ABCD'.
IF header-ekgrp(1) EQ 'B' OR header-ekgrp(1) EQ 'C'
OR header-ekgrp(1) EQ 'D'.
ELSE.
MESSAGE 'Enter ABCD PURCHASING GROUP(B/C/D) in Header Org.data' TYPE'E'.
ENDIF.
ENDIF.
IF header-bukrs EQ 'PQRS'.
IF header-ekgrp(1) EQ 'H' OR header-ekgrp(1) EQ 'R'.
ELSE.
MESSAGE 'Enter PQRS PURCHASING GROUP(R/H) in Header Org.data' TYPE'E'.
ENDIF.
ENDIF.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |