on 09-29-2017 3:38 PM
Helle everyone,
I need to populate a header text at the save of a PO, to do this, I've written my code in BADI's method if_ex_me_process_po_cust~post then I use the method im_header->if_longtexts_mm~set_text
But when I save PO, the header text is not created and I don't know why.
However, if I change my PO in me22n and then save, the text is created.
Any suggestion ?
Thank you
Read again the BAdI documentation, you are not allowed to change standard data in POST method, only your own database tables: 'The POST method enables you to post your own data.'
Move your code to either PROCESS_HEADER or CHECK methods, the last method is always executed before the POST final one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.