Is it possible to create outbound delivery for sales order with FM: GN_DEL*

Hi all,
Is it possible to create an outbound delivery for a sales order using the FM: GN_DELIVERY_CREATE. I am choosing this over a BAPI as I also needed to fill the bill of lading and inco terms.
Thanks

Hi Gurus, is there any function module / Bapi that updates the BOL in a outbound delivery  header created for a sales order

Similar Messages

  • FM:create a delivery for sales order in the background.

    Hi experts
    I want  Function Module to create a delivery for sales order in the background for both inbound and outbound.
    tcode : VL10A.
    Thanks in advance.
    kiran j

    Hi Kiran,
    Welcome to SDN Forums
    Please use the correct or most appropriate forum.
    The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
    This thread will be moved from to .
    The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

  • BAPI For Create Goods Issue for Sales order with picked quantity

    Hi friends,
            Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
    we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
    with sales order .......its creating delivery order but not doing goods issue with piked quantity........

    pls,reply its argent

  • BAPI or FM to create outbound delivery from Sales order

    Hello All,
    My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
    For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
    The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
    I should not use two FM.
    Could you please tell me some FM which does both in one go?
    Thanks and Regards,
    Rahul Sinha

    Hi
    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    kwmeng LIKE vbap-kwmeng,
    matnr LIKE vbap-matnr,
    werks LIKE vbap-werks,
    END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
    WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
    WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
    INTO TABLE t_vbap
    FROM vbap
    WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    t_request-document_numb = t_vbap-vbeln.
    t_request-document_item = t_vbap-posnr.
    t_request-quantity_sales_uom = t_vbap-kwmeng.
    t_request-id = 1.
    t_request-document_type = 'A'.
    t_request-delivery_date = sy-datum.
    t_request-material = t_vbap-matnr.
    t_request-plant = t_vbap-werks.
    t_request-date = sy-datum.
    t_request-goods_issue_date = sy-datum.
    t_request-goods_issue_time = sy-uzeit.
    APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    TABLES
    request = t_request
    createditems = t_created
    return = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
    MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: / 'Delivery ', t_created-document_numb.
    Regards,
    Sreeram

  • Function Module to create AFS Outbound delivery for sales order

    Guys,
    I am looking for a function module to create deliveries for a sales order IN IS-AFS.
    I cannot make BAPI_DELIVERYPROCESSING_EXEC work. Also, if I use the IDOC type /AFS/DELVRY03 via message type WHSCON and function module IDOC_INPUT_DELVRY it doesn' work either.
    Does anyone know which function module I could use? I need to select specific AFS schedule lines though, but at this point I am not able to make any work.
    Thanks
    Leonardo

    This will not help .
    Edited by: Amit Khare on Aug 7, 2008 3:49 AM

  • How to create a delivery for Sales Order

    Hi,
    I am in process of creating a delivery(T-Code: VL01N). for the Sales Order. in one of the Fields it is Asking for ORDER. i am not sure what details to pass here. as i already created a sales order any body tell me where can i get this ORDER details Thanks in Advance.
    Thanks
    Kiran.B

    Hi
    From the sales order screen itself you can create the delivery from the menu
    Sales order -> deliver/y
    or from VL01N , enter shipping point and Order number, create and save
    Reward points if useful
    Regards
    Anji

  • Urgent: Creating ALE IDOC for SALES ORDER

    hi
    please tell me <b>step by step procedure to create ALE IDOC for SALES ORDER?</b>
    reward for sure
    regards
    ravish

    Hi,
         ALE IDOC
    Sending System(Outbound ALE Process)
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Create Model View
    Tcode BD82 ? Generate partner Profiles & Create Ports
    Tcode BD64 ? Distribute the Model view
    Message Type MATMAS
    Tcode BD10 ? Send Material Data
    Tcode WE05 ? Idoc List for watching any Errors
    Receiving System(Inbound ALE )
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 ? Idoc List for inbound status codes
    ALE IDOC Steps
    Sending System(Outbound ALE Process)
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Create Model View
    Tcode BD82 !V Generate partner Profiles & Create Ports
    Tcode BD64 !V Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 !V Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 !V Send Material Data
    Tcode WE05 !V Idoc List for watching any Errors
    1)a Goto Tcode SALE
    Click on Sending & Receiving Systems-->Select Logical Systems
    Here Define Logical Systems---> Click on Execute Button
    go for new entries
    1) System Name : ERP000
    Description : Sending System
    2) System Name : ERP800
    Description : Receiving System
    press Enter & Save
    it will ask Request
    if you want new request create new Request orpress continue for transfering the objects
    B) goto Tcode SALE
    Select Assign Client to Logical Systems-->Execute
    000--> Double click on this
    Give the following Information
    Client : ERP 000
    City :
    Logical System
    Currency
    Client role
    Save this Data
    Step 2) For RFC Creation
    Goto Tcode SM59-->Select R/3 Connects
    Click on Create Button
    RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
    give the information for required fields
    RFC Destination : ERP800
    Connection type: 3
    Description
    Target Host : ERP000
    System No:000
    lan : EN
    Client : 800
    User : Login User Name
    Password:
    save this & Test it & RemortLogin
    3)
    Goto Tcode BD64 -- click on Change mode button
    click on create moduleview
    short text : xxxxxxxxxxxxxx
    Technical Neme : MODEL_ALV
    save this & Press ok
    select your just created modelview Name :'MODEL_ALV'.
    goto add message type
    Model Name : MODEL_ALV
    sender : ERP000
    Receiver : ERP800
    Message type :MATMAS
    save & Press Enter
    4) Goto Tcode BD82
    Give Model View : MODEL_ALV
    Partner system : ERP800
    execute this by press F8 Button
    it will gives you sending system port No :A000000015(Like)
    5) Goto Tcode BD64
    seelct the modelview
    goto >edit>modelview-->distribute
    press ok & Press enter
    6)goto Tcode : BD10 for Material sending
    Material : mat_001
    Message Type : MATMAS
    Logical System : ERP800
    and Execute
    7)goto Tcode : BD11 for Material Receiving
    Material : mat_001
    Message Type : MATMAS
    and Execute --> 1 request idoc created for message type Matmas
    press enter
    Here Master Idoc set for Messge type MATMAS-->press Enter
    1 Communication Idoc generated for Message Type
    this is your IDOC
    Change Pointers
    I know how to change the description of a material using ALE Change Pointers.
    I will give the following few steps
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.
    select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    ALE/IDOC Status Codes/Messages
    01 Error --> Idoc Added
    30 Error --> Idoc ready for dispatch(ALE Service)
    then goto SE38 --> Execute the Program RBDMIDOC
    29 Error --> ALE Service Layer
    then goto SE38 --> Execute the Program RSEOUT00
    03 Error --> Data Passed to Port ok
    then goto SE38 --> Execute the Program RBDMOIND
    12 Error --> Dispatch ok
    Inbound Status Codes
    50 Error --> It will go for ALE Service Layer
    56 Error --> Idoc with Errors added
    51 Error --> Application Document not posted
    65 Error --> Error in ALE Service Layer
    for 51 or 56 Errors do the following steps
    goto WE19 > give the IDOC Number and Execute>
    Press on Inbound function Module
    for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
    Regards

  • Add segment to outbound Idoc for Sales order

    HI experts,
    I need to add segment E1EDP02 under Existing segment E1EDP01 for outbound IDOC for Sales order. FM" IDOC_OUTPUT_ORDRSP".
    I have used the Exit : "EXIT_SAPLVEDC_003" for the FM "IDOC_OUTPUT_ORDRSP"  in the include of the Exit   i wrote my code also for adding segment and activate it.
    But when i am trying to debug the code it's not working
    So please guide me how to debug it
    I have followed below steps to Debug.
    1. In VA02 i have repeat the output.
    2. Put the breakpoint in the Exit include program .
    3. put the Breakpoint in ALE processing Routine in RSNASTED program also
    4. Trigger the program RSNAST00 by giving the  Parameter value of SALES ORDER number and execute.
    But not working
    And i need to know whether i have used the Correct EXIT or not.In that case how to identify the correct exit's
    Thanks In advance

    Hi,
    I hope you have to add your segments through WE30 first for your IDOC type.
    Cheers,
    Raja.D

  • Is it possible to have release strategy for sales order?

    Is it possible to have release strategy for sales order?

    hi
    as per SAP standard there can not be any release strategy for sales order but if u want to control u can use authorization profile for this purpose.
    povide authoriztion to the required persons only..
    regards
    CMM

  • Table name for sales order with Customer info

    Hi Gurus,
    Could you please provide me table name for  sales order with customer no and customer name.
    I have list of sales order number (more than 1000 no's ) i need to identify customer number and customer name (ship to party and sold to party information). I am running this report every week. so i plan to create sqvi for this report.
    Thanks and regards,
    B.Deethya.

    Hello,
    Access Tables VBAK & VBAP.
    From the above tables you will get Solt to Party & Ship to Party Codes.
    For Customer names you have to pass the Customer Codes to Table - KNA1
    Hope this clarifies.
    Thanks,
    Jignesh Mehta

  • DIServer insert operations for sales orders with error

    DIServer insert operations for sales orders with
    That even though the insert is inserted DocDueDate DocDueDate it says error.
    Subtracting the value of the format 'yyyy-mm-dd', 'yyyy/mm/dd', 'mm-dd-yyyy', 'mm/dd/yyyy' put all reporting
    When the input is entered DocDueDate ShipDate also put together ... but I get an error.
    The error message 'env: Receiver-10Enter due date [ORDR.DocDueDate] 171AddObject2EEE7D98-AB71-464A-93AB-933F0AD3D4DC'
    Purchase order entered into the normal value because the xml is missing or wrong with you.
    Please answer all the possibilities that can be resolved
    This Xml used.
    "<BOM>" +
    "<BO>" +
    "<AdmInfo>" +
    "<Object>oOrders</Object>" +
    "</AdmInfo>" +
    "<QueryParams>" +
    "<DocEntry />" +
    "</QueryParams>" +
    "<Documents>" +
            "<row>" +
            "<DocType>I</DocType>" +
            "<DocDate>2012-01-11</DocDate>" +
            "<DocDueDate>2012-01-11</DocDueDate>" +
            "<CardCode>CD00001</CardCode>" +
            "<Address>Anymode</Address>" +
            "<DocCurrency>KRW</DocCurrency>" +
            "<Comments>[sales orders] LGU TEST</Comments>" +
            "<TaxDate>2012-01-11</TaxDate>" +
            "<JournalMemo>JournalMemo</JournalMemo>" +
            "<Address2>Addr</Address2>" +
            "<BPL_IDAssignedToInvoice>1</BPL_IDAssignedToInvoice>" +
            "</row>" +
    "</Documents>" +
    "<Document_Lines>" +
            "<row>" +
            "<ItemCode>ACDT0100ET</ItemCode>" +
            "<Quantity>1</Quantity>" +
            "<Price>5000</Price>" +
            "<DiscountPercent>10</DiscountPercent>" +
            "<WarehouseCode>A100</WarehouseCode>" +
            "<VatGroup>A2</VatGroup>" +
            "</row>" +
    "</Document_Lines>" +
    "</BO>" +
    "</BOM>";

    I had the same error change the Date to the format yyyymmdd, and problem solved.

  • Create outbound delivery for in-transit stock

    hi,
    the situation is that i need to create an outbound delivery for a sales order considering In-transit material let say item 20 in sales order.
    this item 20 is NOT present in the plant but is in transit from another plant.
    normal SAP wont allow creation of delivery if stock is not present in plant. hence we have marked a special indicator for that material.hence while doing the availability check in VL10 , it should allow me to create outbound delivery.
    The issue is i need to know the place where i can manipulate this availability check so that it considers this item 20 as special case and allows the Delivery to be created.
    there is a check indicator field MTVFP, but i cant find where is it comparing this field .
    thanks.

    Hi,
    Kindly check the Info Record.
    whether you have maintained delivery date or not.
    _Otherwise automatically pick the delivery date as from Item line delivery date
    ._But you can have the delivery date field in shipping tab.
    SAM
    Edited by: Saminathan Gopalan on Jun 28, 2010 1:59 PM
    Edited by: Saminathan Gopalan on Jun 28, 2010 2:00 PM

  • Creating  outbound delivery for no availability check

    The stock for a material is zero (in T-code MMBE). There is no availability check for this material.
    I could successfully create a sales order for this material.
    But when I try creating a outbound delivery for this material it doesnt allow me to do. What could be the problem.
    I checked the delivery item category, schedule line. They also have no availabilty check.
    What are the settings I need to check so that I can create a outbound delivery successfully,

    hi,
    delivery cant happen without stock of the material under standard conditions. if avaiilability check is not there for that material the system confirms the req delivery date of the customer and when doing delivery for the schedule line system checks for the stock and obviously throws an error. this is a very normal situation.
    post stock for the material and delivery willl be processed.
    regards
    sriram

  • Unable to create outbound delivery for STO??

    Hi All,
    I am trying to create an outbound delivery for a cross company code stock transport order, but when I try to do so in Txn VL10B the system does not create any.
    What I have observed is that in the STO I do not get any delivery creation date in the shipping tab. the system is not determining delivery creation date.
    Does anyone have any idea why it is so? Why the system is not able to determine the dleivery creation date? I have tried by creating STOs for many materials, but none works!
    Regards,
    V S

    Hi
    Pl check the settings:
    Below is the sto check list:
    Check all your settings once again for creating inter-company billing:
    - Material should exist in both plants.
    - Stock will be maintained in D-Plant (Delivering).
    - Now Plant - R (Receiving) become the customer of Plant-D.  So create a dummy customer in Plant-D's company code and sales area.  
    - Assign this customer number to Plant -R's details & its selling sales area.
    - Maintain the intercomapny billing type (IV) in ur sales doc type (OR).
    - Assign the Plant-D to selling sales org+ dbt channel.
    - Maintain relevant copy controls between documents.
    by doing all this then create po and check wheather do u got the shipping tab in the purchase order, if yes then replenishment del will be created.
    With Regards
    baalakrushnan.da

  • IDOC to create from outbound delivery from sales order as INBOUND process

    Hi Experts,
    We have third party interface for sales processing. Sales order, Outbound delivery and PGI will be done in Third party software and XML files will be send to SAP.
    We have to process this XML file into SAP with IDOC.
    Sales order processing is done but i am not able to find correct IDOC type for creating outbound delivery.
    Can you suggest Basic IDOC type / Message type and process code for the same.
    Regards,
    Sahadev Abhyankar

    Good morning !
    In the transaction WE20 to create the customer EDI  KU with EM function.
    Output parameter: message type DESADV and basic IDOC DESADV01.
    I associate the IDoc message type to LAVA, you should link it to the XML file, that is not how.
    Please : Could you please explain how you linked the XML file to IDOCS to create sales order ?
    Sorry for my poor English
    A greeting.

Maybe you are looking for

  • Update iPhoto on another Mac over a network???

    I've got an iMac in my office and a Mini in the lounge. I have tried copying the "Master" photo's from within the iPhoto folder across the network but they do not show on the other Mac. What is the easiest way for me to do this? It gets very tiresome

  • Sharing photos on iCloud

    I shared some photos recently with streaming with my sisters.  I tried to add some photos and resend them as sharing through streaming, and it comes up with this: Does this mean my email username and password or what.  I haven't changed anything sinc

  • Scripting the location of the scratch disk...

    Hey folks, I'd like to set the location of the scratch disk in Photo shop CS3 in a javascript startup script. Does anybody know if that's possible? Thks, Will

  • Using MQ in client mode vs bindings

    Is there any documentation available on how to configure WLS 8.1 sp3 to use MQ in client mode instead of bindings mode?           Our infrastructure folks do not like having queue managers local to our Weblogic layer, and are insisting that we use cl

  • Old Outlook files separated from current -- need to find some old saved emails

    I had a computer issue and the computer guy who fixed it separated my old files into a folder he called "Windows Old" on my desktop.  I can find all my old files there except I can't open any Outlook files.   There's an email I saved from Nov 2006 th