2009 Nov 30 1:02 PM
Hi,
I am using BAPI_SALESORDER_CHANGE, to change the Payment Terms at header level in Sales Order. BAPI is executed using SE37.
Following Import parameters are used.
1) SALESDOCUMENT
2) ORDER_HEADER_IN
field used is PMNTTRMS
3) ORDER_HEADER_INX
fields used are UPDATEFLAG ( = U ) & PMNTTRMS ( = X )
After execution of BAPI, following are the return messages.
-> ORDER_HEADER_IN has been processed successfully
-> OC Standard Order XXXXXX has been saved
But Payment Terms in the Sales Order has not been chaged to new payment terms.
What could be the problem here?
Thanks,
Prasad
Hi,
I am using BAPI_SALESORDER_CHANGE, to change the Payment Terms at header level in Sales Order. BAPI is executed using SE37.
Following Import parameters are used.
1) SALESDOCUMENT
2) ORDER_HEADER_IN
field used is PMNTTRMS
3) ORDER_HEADER_INX
fields used are UPDATEFLAG ( = U ) & PMNTTRMS ( = X )
After execution of BAPI, following are the return messages.
-> ORDER_HEADER_IN has been processed successfully
-> OC Standard Order XXXXXX has been saved
But Payment Terms in the Sales Order has not been chaged to new payment terms.
What could be the problem here?
Thanks,
Prasad
2009 Nov 30 2:10 PM
Hi,
You are require to use the BAPI using the function module test sequense.
Goto> se37 menu> function module --> test --> test sequence --> enter the bapi name BAPI_SALESORDER_CHANGE and second line enter BAPI_TRANSACTION_COMMIT.
Execute the test sequence with the same data and test again
data will got updated into the sales order.
2009 Nov 30 3:33 PM
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |