Update delivery document from IDOC

Hi Friends,
As i am new to EDI, I need your help for the below requirement.
The requirement demands
There are 3 existing IDoc fields when filled in the values need to overwrite the fields on the delivery header.But these values in the IDoc are currently not automatically copied in the delivery header. So i need your help to solve this problem.
And also i have one more requirement like there is a serial number used. This will be put in idoc segment E1EDL24/E1EDL11 field SERNR. When updating the delivery (VL02N) this serial number has to be filled in the delivery.
I need help in solving the above 2 issues.
Thanks,
Raj

Hi Venkat ,
what is your req ?
1 .you want to update the delivery document .
2. .you want to update the delivery document by Idoc only..
If not by Idoc then you can do it easily by making a File to RFC scenario where in RFC incorpoarate BDC Call transaction logic and update the Delivry doc..
Simple..:-)
Regards,

Similar Messages

  • Delivery document from Purchase Order

    Hi Experts,
    How can I create a delivery document from Purchase order type NB?
    I have created a delivery from po type UB, and there is a shipping tab at the item. Do I need also a shipping tab in NB to create a delivery? If yes, how can I customize it?
    Thanks.

    Hi
    I think you are talking about NB for intercompnay stock transport order. For that you need to customization in below link
    spro>MM>purchasing>Purchase order>setup stock transport order
    Apart from STO there is no ther delivery for PO. Because for PO you can do only inbound delivery. For that you need to have confirmation control key defined in customization and then you need to give it in PO. Then you can create a inbound delivery for PO and gainst inbound delivery you can make GR.
    Regards
    Antony

  • Outbound delivery document from Sales order

    Hi ,
    While creating the outbound delivery document from Sales order, all the line items of the Sales order are populated in the Delivery document. The line items where stock is not available, the line is still populated in the delivery document with zero quantity.
    Pls suggest the way in config, so that at the time creation of the delivery document system to populate only the lines with the available stock.
    Thnx

    Hello Soumya
    I could not able to find any std transaction or config via you could restrict it. However you also no till 'Picking' not completed user is not able to make postings... so i couldnt see any issue in this.
    Still you need to restrict this, you to configure User Exit via you can restrich the lin items to come in delivery for no stock item.
    Amol

  • Partner functions in Delivery document from STO

    Hi all,
    I have a scenario where Business wants the Customs Broker information be appeared in Delivery document whenever a STO is created across USA and Canada.
    I am able to configure it by maintaining Custom Broker partner function (CB) at Ship to party level and making this partner function mandatory at Delivery partner procedure determination. If i don't make Custom Broker partner function mandatory at Delivery Partner determination procedure, this Partner function is not derived in Delivery Document. -
    But I can't this mandatory at Delivery level because we have STO withing USA too and we don't want Custom Broker to be derived for that.
    STO (UB) --> Outbound Delivery Document ---> Ouput thru EDI (need to send CB information in Idoc so we need this at Delivery level to be appeared.)
    Any solution on this will be appreciated?
    Thanks,
    Dan

    Hi Cathy,
    I think there is no need any error message for partner determination. Because system already get it (sb partner) from the partner determination configuration as I mentioned before if you want to get it into your delivery and to remind user to add it.
    Additionally, I can not understand that you want a message to remind for adding partner SB by the system and also you do not want it mandatory. what is the difference? please clarify your requirement more.
    Additionally, how do we get warning message for specific partner function by configuring incompletion procedure.
    Please update us if you find a way to achieve that. I am also trying it.
    Thanks..
    Regards,

  • Error in creating delivery document from stock transport order

    hi sd gurus plz help i m nt able to create delivery in vl10b from stock transport order me21n after giving shipping point and  po number also. can u help me out and can u tell me how to maintain copy control from stock tarnsport to delivery docu.

    Hi Debesh,
    The settings for Delivery type for STO is maintained using the following path:
    Materials Management>Purchasing>Purchase Order>Set up Stock Transport Order>Assign Delivery Type and Checking Rule . Here you assign the Delivery type to Stock Transport order (with reference of Suplying Plant)
    For creation of STO for delivery creation use T-code- VL04. Enter the Relevant Shipping Point and the Delivery Creation Date. Also tick mark the option Purchase order. If you already have a Purchase order enter the no.
    System will show the details of the STO here by using the Main Menu > Delivery> Create Deliveries you can create the Delivery against the STO. Then by using the VL02n option you can do the Picking / PGI for the Delivery.
    Hope the above helps you.
    REWARD if it helps you!!
    Regards,
    Ajinkya

  • How to send delivery document from external system to ECC

    i have a business requirement to send a delivery and billing documents from external system ( MS access )  to ECC
    could any one light me how to do this ???
    Thank you in advance

    Hi Ahmed,
    Talk to your middleware team, They will upload the data through RFC.
    Basiclly RFC(Remote function call) works like it will call the function module and then upload the data.
    For more information, check the link given below.
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
    Hope this helps,
    Regards,
    MT

  • Create billing document from IDOC INVOIC01

    Hi Experts,
    I created a function module to extend IDOC_INPUT_INVOIC_MRM. After created successfully the invoice from this inbound idoc, I tried to create a billing document by code below:
    get sale order number from purchase order *****************************
        CALL FUNCTION 'BAPI_PO_GETDETAIL'
          EXPORTING
            PURCHASEORDER                    = lw_tfrseg-ebeln
            ACCOUNT_ASSIGNMENT               = 'X'
         TABLES
            PO_ITEM_ACCOUNT_ASSIGNMENT       = lt_acc_***
    ****get sale order details*******************************************************
         CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
          EXPORTING
            I_BAPI_VIEW                   = lw_order_view
          I_MEMORY_READ                 =
          TABLES
            SALES_DOCUMENTS               = lt_sales_key
            ORDER_HEADERS_OUT             = lt_ord_headers
            ORDER_ITEMS_OUT               = lt_ord_items
            ORDER_SCHEDULES_OUT           = lt_ord_schedules
            ORDER_BUSINESS_OUT            = lt_ord_business
            ORDER_PARTNERS_OUT            = lt_ord_partners
            ORDER_ADDRESS_OUT             = lt_ord_address
          ORDER_STATUSHEADERS_OUT       =
          ORDER_STATUSITEMS_OUT         =
            ORDER_CONDITIONS_OUT          = lt_ord_cond
    ****Fill billing data in*******************************************************
               lt_bill_data-SALESORG = lt_ord_headers-sales_org.
             lt_bill_data-DISTR_CHAN = lt_ord_headers-DISTR_CHAN.
             lt_bill_data-DIVISION   = lt_ord_headers-DIVISION.
             lt_bill_data-DOC_TYPE   = lt_ord_headers-DOC_TYPE.
             lt_bill_data-ORDBILLTYP    = lt_ord_headers-ORDBILLTYP.
             lt_bill_data-BILL_DATE    = lt_ord_business-bill_date.
             lt_bill_data-SOLD_TO    = lt_ord_headers-SOLD_TO.
             lt_bill_data-ITEM_CATEG    = lt_ord_items-ITEM_CATEG.
             lt_bill_data-ACCTASGNMT    = lt_ord_business-ACCNT_ASGN.
             lt_bill_data-PRICE_DATE    = lt_ord_business-PRICE_DATE.
             lt_bill_data-COUNTRY    = 'US'.
             lt_bill_data-PLANT    = lt_ord_items-PLANT.
             lt_bill_data-BILL_TO    = lw_partner_bp-customer.
             lt_bill_data-PAYER    = lw_partner_py-customer.
             lt_bill_data-SHIP_TO    = lw_partner_sh-customer.
            REF_DOC    = lt_sales_orders-DIVISION.
             lt_bill_data-MATERIAL    = lt_ord_items-material.
             lt_bill_data-REQ_QTY    = lt_ord_items-req_qty.
             lt_bill_data-CURRENCY    = lt_ord_items-currency.
             lt_bill_data-SHORT_TEXT    = lt_ord_items-short_text.
             lt_bill_data-TAXCL_1MAT    = lt_ord_items-TAX_CLASS1.
            REF_ITEM    = lt_sales_orders-DIVISION.
            STAT_GROUP    = lt_sales_orders-DIVISION.
             lt_bill_data-NO_MATMAST    = 'X'.
             lt_bill_data-ADDR_NO    = lt_ord_address-ADDRESS.
            lt_bill_data-TITLE    = lt_ord_address-DIVISION.
             lt_bill_data-NAME    = lt_ord_address-NAME  .
             lt_bill_data-NAME_2    = lt_ord_address-NAME_2.
             lt_bill_data-POSTL_CODE    = lt_ord_address-POSTL_CODE.
             lt_bill_data-CONSUMCTRY    = lt_ord_address-COUNTRY.
             lt_bill_data-CITY    = lt_ord_address-CITY.
             lt_bill_data-DISTRICT    = lt_ord_address-DISTRICT.
             lt_bill_data-STREET    = lt_ord_address-STREET.
             lt_bill_data-REGION    = lt_ord_address-REGION.
             lt_bill_data-PROD_HIER    = lt_ord_items-PROD_HIER.
             lt_bill_data-SALES_UNIT    = lt_ord_items-SALES_UNIT.
             lt_bill_data-PROFIT_CTR    = lt_ord_items-PROFIT_CTR.
            TAXJURCODE    = lt_sales_orders-DIVISION.
             lt_bill_data-PURCH_ORD    = lt_ord_headers-PURCH_NO.
             lt_bill_data-DOC_NUMBER    = lt_ord_items-DOC_NUMBER.
             lt_bill_data-ITM_NUMBER    = lt_ord_items-ITM_NUMBER.
            ORIGINDOC    = lt_sales_orders-DIVISION.
            lt_bill_data-ITEM    = lt_sales_orders-DIVISION.
             lt_bill_data-CREATED_BY   = sy-uname.
            MATERIAL_EXTERNAL = lt_sales_orders-DIVISION.
            MATERIAL_GUID = lt_sales_orders-DIVISION.
            MATERIAL_VERSION = lt_sales_orders-DIVISION.
             lt_bill_data-INCOTERMS1  = lt_ord_business-INCOTERMS1.
             lt_bill_data-INCOTERMS2  = lt_ord_business-INCOTERMS2.
             lt_bill_data-EXCHANGE_RATE = lt_ord_business-EXCHG_RATE.
             lt_bill_data-PAYMENT_TERMS  = lt_ord_business-PMNTTRMS.
             lt_bill_data-HG_LV_ITEM   = lt_ord_items-HG_LV_ITEM .
    ******call bapi function to create billing document********************
      CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
       EXPORTING
         CREATORDATAIN         = lw_creator
         TESTRUN               = lc_testrun
         POSTING               = lc_posting
        TABLES
          BILLINGDATAIN         = lt_bill_data
        CONDITIONDATAIN       =
        CCARDDATAIN           =
        TEXTDATAIN            =
          ERRORS                = lt_bill_errs
          RETURN                = lt_bill_retu
          SUCCESS               = lt_bill_succ
    A return message in the table lt_bill_retu:
    "This item is not relevant for billing!"
    Anyone can tell me why? I think this problem be generated from the step "fill billing data" but I don't know where.
    Pls help me!!!
    Thanks,
    Gy

    Hi,
    In the condition data, I want to add new condition type as below:
    <<  Add new condition type
        CLEAR: lt_cond_data.
        lt_cond_data-COND_TYPE = 'ZHD0'.
        lt_cond_data-COND_VALUE = mrm_ship_charge-summe.  " amount of shipping charge
        lt_cond_data-COND_CURR = mrm_ship_charge-waerq. " USD
        append lt_cond_data.
    *>>
    But I created successfully billing document, this condition type is not appear in the billing view by transaction VF03.
    Could you help me to find out the fault?
    Thanks,
    Gy

  • Need help on Inbound Delivery - Mapping from IDoc to LIKP Table

    Hi,
    For the DESADV IDoc (Inbound Delivery) we are currently mapping data to the LIKP table for a subset of fields via  function module INPUT_IDOC_DESADV.  If I wanted to map the ABLAD - Unloading Point field from the IDoc to the LIKP - ABLAD - Unloading Point field is this possible and if yes, what work would be required? 
    And could you please let me know how to find out an user exit for the message type? (message type = desadv)

    Hi Murphy,
    Try this custom function '002'.
    CALL CUSTOMER-FUNCTION '002'
           EXPORTING
                xekko     = ekko
                xlfa1     = lfa1
                xlfb1     = lfb1
                dobject   = object
           TABLES
                int_edidd = int_edidd
                xekpo     = xekpo
                xeket     = xeket
                dvbak     = xvbak
                dvbap     = xvbap
                dvbkd     = xvbkd
           EXCEPTIONS
                error_message_received        = 1
                data_not_relevant_for_sending = 2.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Updating project document from file.

    Hi community,
    I need to create a functionality using C# to update opened Project Professional 2013 Document.
    I have an open document with some project.
    At some moment the project file was changed by third party program.
    Those changes need to be displayed in the opened document. How can I update Active Project document programmatically to see changes made to the project file?
    Thank  you,
    Ross

    For this purposes I can use function OpenFile.
    Doing that action there is a dialog window "Import wizzard" appears with several options - how to import. Could you please tell me how can I
    suppress "Import wizzard" and
    import updated project with "A new project" option (from wizzard).
    Thank you.

  • Possible to update Numbers document from PHP database?

    Hello!
    I've been hoping to figure out a way to do this: I have an online php database attached to a webstore that contains product inventory. I have an offline Numbers spreadsheet that we use for keeping track of our inventory.
    Periodically I have to manually update the Numbers document with the current inventory from our website (as stored in the PHP database).
    Is there a way to have the Numbers document "automatically" update the values of cells based on the contents of the PHP database?
    Ideally (and I know this is probably not possible) I'd like the Numbers document to be the "front end" for controlling the values in the PHP database -- so I can view current inventory in the Numbers document, and can update to the PHP database FROM my Numbers document if I decide to manually change some inventory numbers.
    Theoretically it's simple: attaching a specific cell in the Numbers sheet to a specific value in the PHP database... but I have no idea if there's an actual way to make this connection...!
    Or maybe I'm just using the wrong software?
    Any thoughts or ideas would be greatly appreciated!

    schrysco wrote:
    thanks! any ideas on how to do this?
    do what ?
    grabbing quotes
    or
    grabbing PHP datas ?
    Grabbing quotes is done with a script available on my iDisk :
    <http://public.me.com/koenigyvan>
    Download :
    For_iWork:iWork '09:forNumbers09:insertquotes.zip
    For PHP, I have absolutely no experience with this beast.
    Yvan KOENIG (VALLAURIS, France) vendredi 29 janvier 2010 18:07:09

  • Posting GR against inbound delivery document by MIGO for the movt type 101

    Hello Team
    To put my question in a simple way, i have changed the subject also. my requirement as below.
    In my legacy system GR against PO is happening and the same data is passing to SAP system through PI. Where i need to post GR against the inbound delivery document of that PO.
    I followed the below steps
    1. i have used idoc mbgmcr03 and copied the FM ZIDOC_INPUT_MBGMCR.
    2. In PI system i am doing all relavent mappings.
    Now i want to retrieve the inbound delivery document from SAP for the PO which i got from legacy system. Then i need to post the GR against that inbound delivery document. Finally IDOC should gets created with that inbound delivery document details.
    So please let me know the procedure to follow to resolve my issue.
    Thanks in advance.
    Regards
    Sree
    Edited by: sree@technical on May 11, 2010 5:20 PM

    Hi
    As far as my experiance with SAP says we don't have any SAP Standard setting to update the entry related to T-code. Internally all the ABAP code reads the t-code and based on the processing type define it execute the code and update the table so that later analysis can be done by which t-code the document got generated

  • How to get Status of Archived Delivery Document line item

    Hi Folks,
    I want read the Status of line item of archived delivery document.
    As delivery is archived, it is not found in LIKP/LIPS. So I got the archived delivery document from VBFA table.But this does not contain the status field.
    Is there any program or Function modules which reads this status.
    Please help.
    Thanks in advance.

    Check field VBUK-GBSTK (Overall processing status of document).
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Cancellation of multiorder delivery document.

    Hi Experts,
    I have generated one delivery document from ten sales orders by using the collective processing ( VL10A ).
    Now when I am going to cancel the delivery document from the T-code- 'VL09', system is not allowing me to do it.
    Can any one please suggest how can I cancell this delivery document.
    Thanks & regards,
    Rupam.
    Edited by: RUPAM KR SEN on Jul 29, 2010 1:42 PM

    Hi Rupam,
    I checked this scenario.
    After invoice creation, I cancelled the invoice in VF11, then did PGI reversal in VL09 and then deleted the delivery in VL02N.
    When I deleted the Delivery, it gave a warning saying that the invoice number exists, but it allowed me to delete the delivery.
    Consequently, the sales order now has the Open status.
    The invoice has the delivery document number in the document flow, however the delivery number is not available in the system.
    This will be the same case for you also if you try this scenario. I dont see any problem in this. If you are ok with this process, you can execute this for the problamatic sales orders.
    Hope this helps

  • Delete delivery document, use: BAPI_OUTB_DELIVERY_CHANGE

    hi friends,
    I want to delete a delivery document. I think BAPI_OUTB_DELIVERY_CHANGE will be useful for my purpose but I cannot find any field indicating the operation type like 'U'pdate, 'D'elete etc.
    is it the right bapi function or should i use a different one?
    thanks,
    - ferudun

    I have tried this way but nothing has happened. The return table was containing a row with error E VL 302 and empty message texts. (Delevery document doesn't exist)
        header_control-dlv_del = 'X'.
        CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
          EXPORTING
            HEADER_DATA              = header_data
            HEADER_CONTROL       = header_control
            DELIVERY                      = delivery_no
          TABLES
            RETURN                        = return.
    I see the delivery document from VL03 tcode.
    what is wrong? what data should i supply?
    thanks,
    - ferudun
    Message was edited by:
            Ferudun ATAKAN

  • Deleted Delivery documents

    Hi gurus,
    How can I find "deleted" delivery documents from SAP?
    Regards,
    Prassee

    What to put if the document is sales order or billing doc in Change doc object field
    Change doc. object LIEFERUNG
    and one more whether to put doc no. in Object value field or document no. field as stated by u . Object value Enter your delivery Nr here if Avaialable
    you will get the all the deleted deliveries and details such as who has deleted ,when. etc.
    Once delete one delivery and enter in Object Value field you will get the record.
    and check what you are getting in Appl.Obj Change???
    If that field is unique then you can get the deleted delivery documents.or check other field which is unique to deleted delivery doc and you will get the required list
    Regards
    Jitesh
    Regards
    Jitesh

Maybe you are looking for