Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ME_PURCHDOC_POSTED

Former Member
0 Likes
2,833

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

10 REPLIES 10
Read only

Former Member
0 Likes
2,235

Its an Import parameter for the method POSTED

system can not allow to change the import parameter value.

Read only

0 Likes
2,235

how to change the ekko value using this badi ?

Read only

0 Likes
2,235

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

Read only

0 Likes
2,235

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

Read only

0 Likes
2,235

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

Read only

0 Likes
2,235

Hi,

Instead of with a BADI you can try an enhancement. Try M06E0004.

Rgds,

Jose

Read only

0 Likes
2,235

ME_BAPI_PO_CUST doesn't exist in se18 ..

in ME_PROCESS_PO_CUST cna u pls give me the sample code

Read only

0 Likes
2,235

Hi Jose,

i put I_CEKKO-ekgrp = 'F01'. but it didnt update to ekko table ..pls advise..

thanksss

Read only

0 Likes
2,235

Hi,

I_cekko is the import parameter you should put:

E_CEKKO-ekgrp = 'F01'.

Rgds.

Read only

0 Likes
2,235

hi Jose,

still it's not updating to table ekko