‎2009 Nov 12 1:25 PM
Hi Guys
I want to update the PO header field EKKO-SPRAS according to my own logic. I was trying to do that by using BAPI ME_PROCESS_PO_CUST - method POST.
This is the instruction to read the Header Data:
ls_header = IM_HEADER->get_data( ).
I will then change the content of the field ls_header-SPRAS to a new value
How can I commit this new value to the database?
What else is missing?
Thanks for your help.
NN
‎2009 Nov 12 1:38 PM
Hi
U can do it by method SET_DATA, but I suppose it should be done in method like PROCESS_HEADER
Max
‎2009 Nov 12 1:38 PM
Hi
U can do it by method SET_DATA, but I suppose it should be done in method like PROCESS_HEADER
Max
‎2009 Nov 12 1:42 PM
Hi,
try to update the header details in the method PROCESS_HEADER
Use GET_DATA to read the header details and based on the logic change the header data with new value. then use the method SET_DATA i9n this to update the new value in the PO.
i guess in this case new value will get updated in the PO.