on 10-19-2007 3:18 PM
Hi experts
I am creating shipment using bapi_shipment_creat and shipment cost documents(SCD) when the SCD cost is zero i need to delete the shipment and shipment cost document programatically. pl.. help me how to delete these..
Hi,
Is it possible to check SCD cost value prior to create shipment?
If it is not then please try FM SD_SHIPMENT_DELETE to delete the shipment document.
Regards,
Ferry Lianto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
COuld you let me know which BAPI/FM you used to create SCD.
Thanks in advance
Cheers
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We prevented the system of creating zero shipment cost document with following user exit
Activate user exit:
SAP Enhancement V56FSTAT,
Component EXIT_SAPLV56F_011:
o check shipment cost via function module SD_SCD_COST_INFO_SHIPMENT
o popup with message when shipment cost = 0 and VTTK-FBGST = A
o popup type (output parameter of function module) depends on status <4 of >=4
The popup is used to warn the user that the freight is zero. In some cases we prevent status planning when not filled in.
Hope this helps
Rgds
Anja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.