2023 Nov 17 3:43 PM
Hello,
I'm trying to write data, from the post method of the badi "Z_PROCESS_PREQ" (purchase requisition).
I would like to mark the PR as incomplete ("On hold").
I have written the code below but it doesn't work.
What's wrong in my code ? Something is missing ?
Thanks for your help 🙂
LS_HEADER = IM_HEADER->get_data( ).
LS_HEADER-MEMORY = 'X'.
LS_HEADER-MEMORYTYPE = 'H'. " ON HOLD
IM_HEADER->SET_DATA(
EXPORTING
IM_DATA = LS_HEADER " HEADER DATA
).
LS_HEADERX = IM_HEADER->get_datax( ).
LS_HEADERX-MEMORY = 'X'.
LS_HEADERX-MEMORYTYPE = 'X'.
IM_HEADER->SET_DATAX( IM_DATAX = LS_HEADERX ).
2023 Nov 17 4:15 PM
2023 Nov 21 9:55 AM
Hello, yes, it's an implementation, of BAdI ME_PROCESS_REQ_CUST.
I tried to move my code in the check method, but it still does't work.
Do you know if something is missing ? I need to do something to commit ?