2005 Jun 01 9:20 AM
I try to update "ORDER_TEXT":
SALESDOCUMENT='0000014020'
ORDER_HEADER_INX-UPDATEFLAG='U'
ORDER_TEXT-DOC_NUMBER='0000014020'
ORDER_TEXT-ITM_NUMBER='000000'
ORDER_TEXT-TEXT_ID='0001'
ORDER_TEXT-LANGU='E'
ORDER_TEXT-TEXT_LINE='Add text to head'
But I can't get the change.
Help me, Any idea?
2005 Jun 01 10:10 AM
Thanks everyone.
I just do "Test/Execute"
I get the BAPI RETURN message:
T ID NUM MESSAGE
S V4 233 ORDER_HEADER_IN has been processed successfully
S V1 311 Standard Order 14020 has been saved
but "ORDER_TEXT" don't update.
maybe set ORDER_HEADER_INX some fields?
2005 Jun 01 9:35 AM
2005 Jun 01 9:36 AM
2005 Jun 01 9:37 AM
Check the Bapi Return. If it is 'Sales order under processing' , Check all the Bapi Inputs and call BAPI_TRANSACTION_COMMIT after the bapi for sales order change.
Thanks,
Rehan
2005 Jun 01 9:56 AM
Hi
Check the fields which you want to update and try..
ORDER_HEADER_INX-UPDATEFLAG='U'
Like this..
ORDER_HEADER_INX-DOC_NUMBER='X'
ORDER_HEADER_INX-ITM_NUMBER='X'
ORDER_HEADER_INX-TEXT_ID='X'
ORDER_HEADER_INX-LANGU='X'
ORDER_HEADER_INX-TEXT_LINE='X'
Thanks,
Govind.
Message was edited by: Govindaraju Ayyakkannu
2005 Jun 01 10:48 AM
Hi govindaraju,
Set the BAPISDTEXT-FUNCTION-Parameter in
003 delete
004 change
005 replace
009 First time
023 do nothing
018 send again
See Dataelement: MSGFN => Value Range
Hope I could help You
BR
Michael
2005 Jun 01 10:10 AM
Thanks everyone.
I just do "Test/Execute"
I get the BAPI RETURN message:
T ID NUM MESSAGE
S V4 233 ORDER_HEADER_IN has been processed successfully
S V1 311 Standard Order 14020 has been saved
but "ORDER_TEXT" don't update.
maybe set ORDER_HEADER_INX some fields?
2005 Jun 01 10:43 AM
Hi Tony,
You need to issue the FM BAPI_TRANSACTION_COMMIT in the same LUW as your change BAPI.
To do this create a FM "Test Sequence". Do this from Se37. Menu is: Function Module->Test->Test Sequences.
You can then specify the two function modules and your changes will be applied to the database.
Brad
2005 Jun 02 8:02 AM
The test successfully
Thanks everyone
Special thanks Brad Williams Michael Bauer
2005 Jun 02 8:08 AM
Hi Tony,
No problems. Please remember to acknowledge those answers that helped you by awarding them points.
This can be done by clicking on the the little stars next to each response in the thread.
Cheers,
Brad