‎2006 Nov 23 3:25 AM
how to change the code inside this BADI?
i tried to change im_ekko-ekgrp = 'F01', but system doesnt allow.
any idea how the coding shud look like
‎2006 Nov 23 7:39 AM
Its an Import parameter for the method POSTED
system can not allow to change the import parameter value.
‎2006 Nov 23 7:41 AM
‎2006 Nov 23 8:08 AM
Hi,
BADI ME_PURCHDOC_POSTED is for customer processing AFTER the corresponding PO has been saved in the database, so you can not change any PO fields there (neither ekko nor ekpo, eket,...).
If you want a BADI for inserting your own data in a PO you should use ME_PROCESS_PO_CUST.
Rgds,
Jose
‎2006 Nov 23 8:11 AM
hi Jose,
actually i need to change the OA value in ekko-ekgrp , in ME_PROCESS_PO_CUST, during ME32K, this BADi is not triggered.
i need the correct exit to change the value but not sure which one and how
‎2006 Nov 23 8:22 AM
If you want change the value at the time of creation or change
try the BADI
ME_BAPI_PO_CUST
in method INBOUND
CH_POHEADERX-PUR_GROUP = 'XXXX'.
Or Try the following.
ME_PROCESS_PO_CUST
‎2006 Nov 23 8:25 AM
Hi,
Instead of with a BADI you can try an enhancement. Try M06E0004.
Rgds,
Jose
‎2006 Nov 23 8:26 AM
ME_BAPI_PO_CUST doesn't exist in se18 ..
in ME_PROCESS_PO_CUST cna u pls give me the sample code
‎2006 Nov 23 8:29 AM
Hi Jose,
i put I_CEKKO-ekgrp = 'F01'. but it didnt update to ekko table ..pls advise..
thanksss
‎2006 Nov 23 8:33 AM
Hi,
I_cekko is the import parameter you should put:
E_CEKKO-ekgrp = 'F01'.
Rgds.
‎2006 Nov 23 8:36 AM