Application Development 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: 

How to update EKPO-TXJCD on Purcharse Order (PO) Create?

rafaelchagas
Participant
0 Kudos

Hi experts,

Anyone knows how to update EKPO-TXJCD on Purcharse Order (PO) Create?

I've tried BADIs and Exits, but is always overwrited.

Thanks.


Rafael.

1 ACCEPTED SOLUTION

former_member191728
Active Participant

Hi Rafael

when do u want to update the field?

during Save event ?

if you want to update during save event

you can use  EXIT_SAPMM06E_012 for this

in this there is a field XEKPO try updating that field

also check TEKPO field also

Thanks

Pawan Akella

/

2 REPLIES 2

former_member191728
Active Participant

Hi Rafael

when do u want to update the field?

during Save event ?

if you want to update during save event

you can use  EXIT_SAPMM06E_012 for this

in this there is a field XEKPO try updating that field

also check TEKPO field also

Thanks

Pawan Akella

/

0 Kudos

Hi Pawan,

I've tried this before, but i only did it doing a Enhancement before Perform pot_fuellen(sapmm06e) on FM ME_CREATE_PO_ITEM.


In this form is filled a internal table POT with EKPO data and before commit the table is read filling EKPO.


That's the reason that EKPO was ovewrited.


Thank you.