Skip to Content
avatar image
Former Member

Shipment creation , shipment cost document creation./deletion

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..

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 19, 2007 at 02:36 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 25, 2008 at 07:38 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 08, 2010 at 06:02 AM

    Hi

    COuld you let me know which BAPI/FM you used to create SCD.

    Thanks in advance

    Cheers

    Arun

    Add comment
    10|10000 characters needed characters exceeded