Skip to Content
0

Need to get SO number in PO at posting

Dec 12, 2017 at 09:14 AM

47

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,

Jumbo

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
0

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!!

Regards,

1