Badi for create/change outbound delivery

Hi,
I want to write a custom code on the create/change of outbound delivery.
found a badi def: DELIVERY_PUBLISH and method: delivery_publish_after_save.
I want to know if this is correct place to write my include or any other place?
Thanks & regards,
Ravish

Hi,
Check SAP Note 415716 - User exits in delivery processing also.
Regards,
Eduardo

Similar Messages

  • IDoc for creating VL01N (outbound) delivery

    Hi,
    I have an interface which provides a SO and need to create an outbound delivery (VL01N) in SAP. This Idoc will be inbound to SAP and requires to create an delivery (vl01n). I tried using delvry03 with message type desadv....but nothing is successful. pls can anyone provide ome help here?

    Hi,
    Check Line number 96 of This bapi
    perform delivery_replicate tables gt_komdlgn
    and the code written inside this sub-routine.
    call function 'GN_DELIVERY_CREATE'
           exporting
                vbsk_i         = gs_vbsk
                no_commit      = gc_true
                if_synchron    = gc_false................
    Though I have not used this BAPI, by going through the BAPI code, i think delivery will be created.
    Regards
    Vinod

  • BAPI for creation Partial Outbound delivery

    Hi Guru
    Please suggest me any BAPI's for creating Partial Outbound Delivery
    I am working on BAPI_OUTB_DELIVERY_CREATE_SLS           but its creating full delivery
    Pls suggest me anythg..
    Best Regards
    Subham Arya

    Hi
    For finding the right BAPI, have a look at the following blog:
    /people/g.koopmann/blog/2010/03/07/using-bapis
    Best regards,
    Guido Koopmann

  • Need help with an SHDB BDC program  for Change outbound delivery(VL02N).

    I have created recording to change outbound delivery(VL02N). Steps are as below-
    For VL02N recording 1st I have click on the header(F8) then dates tab.
    Then insert line (+ button) then it shows 8 transport types.
    I have chosen 7th transport type. In SHDB it shows BDC_CURSOR = '08/07'.
    Then I have created BDC program for this recording, but it's not working,
    because It is changing BDC_CURSOR value every time when we do SHDB or VL02N and in my code I have hard coded BDC_CURSOR = '08/07' . 
    Can anyone tell me how to get this BDC_CURSOR changed value. So that instead of hard coding this value I can select this value every time.
    (FYI      For this Screen name = SAPMSSY0 Screen No = 0120.)
    Thanks.

    I have created recording to change outbound delivery(VL02N). Steps are as below-
    For VL02N recording 1st I have click on the header(F8) then dates tab.
    Then insert line (+ button) then it shows 8 transport types.
    I have chosen 7th transport type. In SHDB it shows BDC_CURSOR = '08/07'.
    Then I have created BDC program for this recording, but it's not working,
    because It is changing BDC_CURSOR value every time when we do SHDB or VL02N and in my code I have hard coded BDC_CURSOR = '08/07' . 
    Can anyone tell me how to get this BDC_CURSOR changed value. So that instead of hard coding this value I can select this value every time.
    (FYI      For this Screen name = SAPMSSY0 Screen No = 0120.)
    Thanks.

  • Changing outbound delivery in EWM does not change the delivery in ERP

    Hello,
    I am working on EWM;
    I create an outbound delivery and it is transferred to EWM. If I reject the outbound delivery request in EWM, system adjust the quantity of delivery for both EWM and ECC.
    But if I activate the delivey the system creates a outbound delivery order(odo). But the problem is that when I change odo the delivery in ERP is not changed.
    Do you have an opinion to about what should i check in the system?
    Best regards.

    As example you can take:
    ex/code: DIFD
    Business Contx TPT
    Exec. Step 02
    Its for inbound delivery, there no record for outbond.
    But i still dont understand the buisnes reason for such process, cose if your customer order 500 PC for example, you warhouse workers simply change his demand and it's not correct, cose you can deliver this open amount later and sales person should decide. You task in EWM use exeption codes and process codes to close ODO or find other bin...
    Like i sad, at the time of good issue adopted amount EWM will send to ERP.
    For delete position from odo use trash button
    pick denal exeption code in WHT conformation.
    Edited by: Andrey Altabaev on Jan 19, 2012 10:11 PM
    Edited by: Andrey Altabaev on Jan 19, 2012 10:13 PM

  • User exit/BADI for tracing change of User Status in IW22

    Hello,
    I am looking for a user exit or BADI that triggers whenever ther's a change made to User status field.
    eg. changing user status to APTC(Approved to be executed)
    I then need the exit/badi to trigger my workflow to send mails to list of reviewers. I can handle that but I am not able to find the suitable exit.
    I have seen BADI IQS0_STATUS_MAINTAIN, but no use.
    Can anyone help?

    Hi..
    Transaction Code - IW22                     Change PM Notification
    Enhancement/ Business Add-in            Description
    Enhancement
    IWO10026                                User check on setting status 'Do not perform'
    IWO10027                                User exit: Generate user-defined settlement rule
    IWOC0001                                Create PM/SM notification: Determine reference object
    IWOC0002                                PM/SM notification: Check whether status change is allowed
    IWOC0003                                PM/SM authorization check of ref. object and planner group
    IWOC0004                                Change single-level list editing PM/QM/SM ALV settings
      Business Add-in
    WOC_FL_DETERMINE                        Determine Date for Determining Installation Loc. Equi.
    NOTIF_AUTHORITY_01                      Additional Authorization Checks for the Notification
    IWOC_OBJECTINFO_CHNG                    Changes to Data of Object Info Screen
    IWOC_LIST_TUNING                        Performance Tuning for Lists in PM/CS
    IWO1_SUBSCREEN_0170                     Display Additional Data on Object Screen 0170 PhysicalSample
    IQS_MASS_CHANGE                         BadI for Mass Changes to Notifications
    IQS0_STATUS_MAINTAIN                    Control of Changeability of User Status
    No.of Exits:          6
    No.of BADis:          7
    Arunima

  • Create an outbound delivery with reference to a purchase order

    Hi folks, would you tell me if I can create an outbound delivery with reference to a purchase order?
    I tried to use the transaction VL10B but after I run there is no data is selected. Should I set up anything else for that?
    Thanks in advanced.

    Hi,
    Yes, you can create outbound delivery with reference to a PO.
    In transaction VL10B, if you are not sure about the shipping point leave it blank. ALso, you can check the shipping point from the shipping data and enter it here.
    Leave the field Condition rule to create delivery blank so that it will consider PO with delivery date falling within one year.
    In the Purchase order tab, enter the PO number.
    Execute.  It should fetch you the PO list due for delivery.
    Before doing the above, make sure PO is not subjected to release strategy. Check the quantity in the PO due for delivery.
    Thanks and Regards,
    Maheshwari

  • Delete or change outbound delivery distributed to EWM.

    Hi gurus,
    I create an outbound delivery in ERP and it is sent to EWM, EWM activates it automaticaly. Then I decide to cancel (delete) the outbound delivery. Altough the status of oubound delivery order is "not started", when i try to change it using VL02N system does not allow to change it. Posts an error message " The delivery was distributed, meaning that processing occurs in another system. The report back has not yet been received.".
    What do you advice me to do.
    Regards.

    Hi,
    Please perform following steps
    Use process Code – “With Quantity Adjustment”. à O001 à  Enter – Quantity. (- Quantity)
    It will adjust the quantity back to Zero.
    Click on  " Outbound Delivery" icon at item level.
    It will create an outbound delivery in EWM and will close/update the Quantity and status in ECC.
    We can create a new delivery against original Sales order again in ECC and will be distributed to EWM.
    You need to click on that button  ( Outbound Delivery) to send a message to ERP. This is a PPF action, start condition is outbound delivery creation. This only happens when you click this button while delivery item has zero qty or post goods issue.
    Saby

  • BAPI or FM to create an outbound delivery?

    Hi all,
    does anyone know of a BAPI or a Function Module that given only the sales order document number and the posting date to create an outbound delivery?
    (I am looking for something that creates automatically a delivery just like when I create a sales order with automatic delivery creation.)
    Regards,
    GB

    Hi,
    check these function modules for sales order document no.
    <b>In case of smartform:</b>
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZFORMNAME'
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    i_otf[] = w_return-otfdata[].
    <b>In case of sapscript:</b>
    options-tdgetotf = 'X'.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    options = options
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT =
    RDI_RESULT =
    TABLES
    otfdata = i_otf
    EXCEPTIONS
    unopened = 1
    bad_pageformat_for_print = 2
    send_error = 3
    spool_error = 4
    OTHERS = 5.
    i_otf -
    Regards,
    Sakthi.

  • Help! how to create an outbound delivery from a project using a FM/BAPI?

    Hi,
    I need help to find a BAPI or FM which can be used to create an outbound delivery from a project similar to tcode CNS0?
    The following data will be used in creating the outbound delivery from a project:
      Project definition
      WBS Element
      Network
      Shipping Point
      Ship_To_Party
      Plant
      Storage Location
      Planned Goods Movement Date
      Delivery Type  : LP
      Sales Organization
      Distribution Channel
      Division
      Item Number
    Please help me find the appropriate BAPI or FM to create the delivery from project.
    Any help on this would be greatly appreciated.
    Thank you.
    with regards,
    Muthu Ganapathy.

    Hi Ferry Lianto,
    Thank you for your response.  Do you have a sample code to call this FM? Or can you please provide me what all parameters I need to pass to create delivery from project?    My input parameters are as given below:
    Project definition
    WBS Element
    Network
    Shipping Point
    Ship_To_Party
    Plant
    Storage Location
    Planned Goods Movement Date
    Delivery Type : LP
    Sales Organization
    Distribution Channel
    Division
    Item Number
    Please help me on this.
    Thank you.
    with regards,
    Muthu Ganapathy.

  • Goods Issue for a Return Outbound Delivery for both Sales Returns

    Hi gurus..
    tell me the approch for the following development....
    custom transaction to perform a Goods Issue for a Return Outbound Delivery for both Sales Returns and Consignment Returns (Pickups) process within a lean warehouse in SAP.
    it is vry urgnt
    thnks

    I seem to have found the information I required here:
    http://wiki.sdn.sap.com/wiki/display/Snippets/Simulating+the+Sales+Cycle+with+BAPI's
    I'm going to keep this post active because I'd still like answers to my questions and any advice that you might be willing to share in regards to what I am trying to do.
    Edited by: Mikael Nensén on May 18, 2011 3:52 PM

  • Authorization control for creating change request transaction

    Hi,
    We are creating the Change Request(SDCR) through support desk message by using action Create Change Document.
    How can I control the creation of Change Request Document(SDCR).
    By which  roles i need to control this.
    Regards
    PK
    Edited by: PK on May 14, 2010 2:19 PM

    Hi,
    I have removed the role SAP_SUPPDESK_PROCESS & tried to create Change Document . It allowed me to create.
    Can you check & tell exactly which role is for creating Change Document.
    Regards
    PK

  • BAPI for create/change Routing

    Hi ,
         Are there any BAPI's for creating/ changing routings.
    Regards,
    Divyanshu

    hi,
    <b>BAPI_ROUTING_CREATE</b>"used for creation.
    Regards
    vijay

  • FM for migo against outbound delivery

    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    I am using this FM for migo against outbound delivery can i get waht parameters i have to pass
    for this FM for outbound delivery

    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'.   "01 - MB01 - Goods Receipts for Purchase Order
    itab-move_type  = '101'.
      itab-mvt_ind    = 'B'.
      itab-plant      = 'FD11'.
      itab-material   = '0000900152'.
      itab-entry_qnt  = '1.000'.
      itab-move_stloc = 'FG'.
      itab-stge_loc   = 'FG' .
      itab-po_number  = '5500004086'.
    itab-DELIV_NUMB = '0171000465'.
    itab-DELIV_ITEM    = '10'.
      itab-PO_ITEM    = '10'.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    Error in function
    Material document data and PO data do not match (Material)
    i am getting this error
    help me

  • User exit or BADI for standard change Log ?

    Is there user exit or BADI for standard change log update ?
    I want to update a customer fields into standard change log table.
    Could someone tell me about it?

    Could anbody tell me ?

Maybe you are looking for

  • File-IDoc scnario : Error in call adapter

    Hi Experts, I have developed File to IDoc scenario. And getting the following error in "Call Adapter" pipeline step. I have mapped the control record values in IDoc like Sender Partner, no, port and same for receiver. Have created: In XI: RFC destina

  • URL to open an inner PDF within PDF portfolio

    Can we open specific inner PDF within PDF portfolio by using URL, like http://www.myserver.com/files/myPDFportfolio.pdf?inner=adc.pdf ? Imagine a PDF portfolio that includes following multiples files in it. mytest.pdf abc.pdf test.xls test2.doc What

  • Save PDF to Web Receipts Folder

    I have performed an archive and install of Mac OS X Leopard and have upgraded to v. 10.5.1. The PDF drop-down menu appears in the Print Dialog. When I click on Save PDF to Web Receipts Folder, the command executes, but no PDF appears in my Web Receip

  • How to provide signal lights in ALV output

    Hi Experts, i have one requirement. i am developing one object oriented alv report based on standard report(RFREISCN).i have one requirement in the output provide signal lights(RED(for inactive) AND YELLOW(for account assignment locks)) and to provid

  • Entry Screen

    Hi All I want to design a screen to fill some fields of a customize table and check the data is it there or not? also i want to display the content of the table in the same screen moreover, i need to connect this screen with a customize transaction i