2009 Jan 05 8:11 AM
Hi,
I have a requirement where I need to cancel sales orders with the cancellation reason(Reason for rejection). I could find a BAPI--SD_SALESDOCUMENT_CHANGE but need to know what exactly are the input parameters required for order cancellation.
I tried using this BAPI, but it is not updating the order.
If any one has used this BAPI please provide me the details.
If you have any alternate suggestions for order cancellation, it would be very helpful.
Thanks,
Chitra
Hi,
I have a requirement where I need to cancel sales orders with the cancellation reason(Reason for rejection). I could find a BAPI--SD_SALESDOCUMENT_CHANGE but need to know what exactly are the input parameters required for order cancellation.
I tried using this BAPI, but it is not updating the order.
If any one has used this BAPI please provide me the details.
If you have any alternate suggestions for order cancellation, it would be very helpful.
Thanks,
Chitra
2009 Jan 05 8:39 AM
Hi ,
You can use the BAPI 'BAPI_CUSTOMERCONTRACT_CHANGE' and pass the rejection reason in
CONTRACT_ITEM_IN-REASON_REJ .
Use BAPI_TRANSACTION_COMMIT after executing thye above BAPI.
Hope this may be useful.
Regards,
Sravanthi
2009 Jan 05 9:12 AM
Hi,
Try this BAPI instead "BAPI_SALESORDER_CHANGE". Pass the Sales order number and set UPDATEFLAG value to 'D' in the structure ORDER_HEADER_INX.
Don't forget to call BAPI_TRANSACTION_COMMIT after the above BAPI.
Best Regards,
Priyanka.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |