My head is blowing away since I´m not able to load components into a Service Order:
I´m trying to use the BAPI: BAPI_ALM_ORDER_MAINTAIN
Parameters are set as follows:
ORDERID: My service Order
PLANTPLANT: My plant
PLANT My plant
OBJECTKEY: My service Order
MATERIAL: My ID SAP
PLANT: My plant
STGE_LOC: My storage loc.
ACTIVITY: My Activity
UNLOAD_PT: Any text
GR_RCPT: Any text
RESERV_NO: My Reserv_No
RES_ITEM: New item possition
Result from the BAPI:
S IW 080 Order saved with number XXXXXXXXX
S IWO_BAPI2 110 BAPI control was ended
It seems to be successfully completed but if I check the Service Order (IW33) the component is not loaded...
Is it necessary to use BAPI_TRANSACTION_COMMIT after executing the first one?
Thanks in advanced for your support.