Skip to Content

Need to get SO number in PO at posting

Dec 12, 2017 at 09:14 AM


avatar image
Former Member

Dear expert,

Sorry if we have the same topic previously but I couldn't find exact my answer.

Now I'm creating BADI to get SO number of account assignment tab, that will be saved to EKKN table after saved, when posting PO. (And after obtained it, I will edit PO long text with SO and relative information, anyway.)

My question is, if you know good FM/Class method to get it or sample code, please let me know.

Thanks and best regards,


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Raymond Giuseppi
Dec 12, 2017 at 10:58 AM

Use classic BAdI ME_PROCESS_PO_CUST in CHECK or some PROCESS_* method there loop at items (Look at methods get_items on header, get_accountings on item, if_longtexts_mm->[get,set]_text on header or item)

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Raymond, thanks for your answer. It was little complicated because I need to use some methods to leach SO number from PO but now I've achieved. That was good suggestion!!