Skip to Content
avatar image
Former Member

Need to get SO number in PO at posting

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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)

    Add comment
    10|10000 characters needed 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,