2016 Aug 01 1:12 PM
Hello ,
I need to update a field in include CI_AUFL of table AUFK of an existing order. I am tiring to do it with bapi_alm_order_maintain.
Unfortunately I am getting error message. I guess the error comes from construction of the method table.
I crated a small demo program and fill in method table as below screen shows. I am not sure how to fill in REFNUMBER
and OBJECTTYPE . Can you advice where to find those values?
In extension table (second print screen) I have put the name of the include field and the value I want to fill in it , and pass it
to import parameter "extension_in"
Could you advice what is to be corrected in this case .
Best regards
method table
extention
2016 Aug 02 6:32 AM
Hi Krsto,
Reference number should be something like 1. See the function module documentation for more details.
For Header, Object Type will be 'HEADER'. As you are changing existing order, method should be 'CHANGE'. You have to add another line with SAVE as well.
See if it helps Reg: Extension of BAPI "BAPI_ALM_ORDER_MAINTAIN" | SCN
2016 Aug 02 6:32 AM
Hi Krsto,
Reference number should be something like 1. See the function module documentation for more details.
For Header, Object Type will be 'HEADER'. As you are changing existing order, method should be 'CHANGE'. You have to add another line with SAVE as well.
See if it helps Reg: Extension of BAPI "BAPI_ALM_ORDER_MAINTAIN" | SCN
2016 Aug 03 1:05 PM
Hello ,
I followed instructions and I have all in order except update. In my BADi I can see value o Z field that has to be updated but when I run the program table is not updated . I did also bapi commit call . I guess it is a header table but I am not sure how to fill it.
Please advice