EDI Salesorder

Hi
Please can anybody help me with the steps to configure EDI output type for VA01/VA02 (Sales order create /change) . The requirement is to generate Idoc every time a sales order is created or modified.
Thanks in advance

Hi,
Please check BAPI BAPI_MATERIAL_AVAILABILITY.
Regards,
Ferry Lianto

Similar Messages

  • EDI steps for salesorder

    Hi
    Please can anybody help me with the steps to configure EDI output type for VA01/VA02 (Sales order create /change) . The requirement is to generate Idoc every time a sales order is created  or modified.
    Thanks in advance

    Hi
    Please can anybody help me with the steps to configure EDI output type for VA01/VA02 (Sales order create /change) . The requirement is to generate Idoc every time a sales order is created  or modified.
    Thanks in advance

  • Update "Delivery Completed" Indicator in PO Item via EDI

    Hello
    We have another challenging task regarding purchase order confirmations that we would like to tackle (SAP Release is ERP 6.0).
    The 2 partner in our scenario are distribution companies (= DC) which order goods and production companies (= PC) which deliver the goods:
    (1) DC sends purchase oder via EDI (ORDERS IDoc)
        -> creates sales order in ERP of PC
    (2) PC splits sales order into multiple deliveries.
       Each delivery is sent as outbound DESADV
       -> creates inbound delivery in ERP of DC.
    (3) At some point the PC has completed the sales order
       yet it is possible that less was delivered than was ordered
          (i.e. we can have under-deliveries).
    Now the question is:
    How can the PC transmit the final information "SalesOrder completed" implying that the "Delivery Completed" indicator in the PO items should be updated (= 'X')?
    My assumption is that we need to look at the sales order (ERP of PC) because this is the document which "collects" the information from all the split deliveries.
    Any help related to understanding how the (standard) business process would look like and how to translate this into a technical solution (EDI / IDoc) is more than welcome.
    Regards
      Uwe

    Hello Uwe,
    As you mentioned, I tried to check with the Workflow solution by tracking the events through Business Object BUS2032 (Order) or LIKP (Outbound Delivery) but failed to get successful results.
    Problem with BUS2032, event CHANGED is that it doesn't get triggered when the Header/Item level status changed during delivery Processing. 
    While using BO- LIKP (Outbound Delivery Processing), Events - Changed,Created, I am successful in triggering the event, but the problem with BO-LIKP is that, it does not have the item level details in the ATTRIBUTES list.  To get the balance quantity available for order line item (mentioned in my earlier reply)Item details are necessary to findout the Reference Sales Order & Line item.  With this, the Option of Triggering of Workflow using LIKP didn't give the required result.

  • Split one salesorder item into two items in delivery

    We want to split one salesorder item into two different items in the same delivery.
    This is because we will pick the material from two different storage locations.
    Any user-exit to use for solving this?
    Best regards,
    Terje

    Hi,
    We are not using batch management.
    I have looked into the foreign trade/customs standard functionality in SAP, but I can not see that them difference in stock in SAP what is duty paid or not.
    We need to have documentation in the system for the custom goverement for what stock is duty paid and not.
    For the same material we can have stock which are duty paid and not duty paid. This is decided when we do the goods receipt.
    For stock coming from Asia, it is profitable to have this on not duty paid stock since we are exporting it back to Europe and Asia later.
    We will send import and export EDI messages to a third party custom application handling all the papers with the custom goverement.
    The only we need to make track on in SAP is the stock for what is duty paid and not.
    In some situations we need to take stock from both duty paid stock and not duty paid stock when we deliver the same material to a customer. Therefor I asked the question of splitting one delivery item into two items.
    Best regards,
    Terje

  • EDI/ ALE - o/p type

    Hi!
      What is output type w.r.t EDI/ALE
      Thanks

    Hi,
    if we want to send the information related to purchase order or salesorder to other sap or legacy system then we use ALE/EDI as the medium.instead of using print output,FAX as medium.we use ALE/EDI medium.
    Regards,
    NAGARAJ

  • Help on EDI to IDOC scenario using seeburger

    Hi,
    Anyone plzz explain me edi 850 to idoc orders05  scenario. at the same time how generated idoc will creat salesorder.
    Thanks,
    Seenu.

    Hi,
    You can see some basics about this integration in this blog:
    /people/prateek.srivastava3/blog/2009/08/01/seeburger--part-1--the-basics
    You need to get the 850 xsd and import it in IR. Then map your xsd to order05 idoc. Then to test first seeburger adapters need to be deployed. Now you need to configure your classifier and then the splitter if you have multiple 850s within one transmission. Then finally the BIC module to convert edi to xml. Then once you have your xml you need to do your message mapping with the idoc and send to sap.
    Once you install the seeburger adapters in your landscape you will have the documents for each of these ones. Go through them and configure.
    Regards,
    ---Satish

  • O/p Type EDI

    Hi all!
       I know O/p type w.r.t Scripts (where we assign the print program & layout for printing)
       can i know  the same in case of EDI what the o/p types plays the role.
       Looking for your reply guys.
       Thanks
        Rahul.

    Hi,
    if we want to send the information related to purchase order or salesorder to other sap or legacy system then we use ALE/EDI as the medium.instead of using print output,FAX as medium.we use ALE/EDI medium.
    Regards,
    NAGARAJ

  • Automatic PO creation through EDI

    Hi experts,
    Please clarify me on the setup of creating PO's thru EDI in Purchasing automatically once PR is created in the system.
    My client is more or less a trading company. They buy from vendor & sell to their customer, like third party order process.
    So they create Sales Order & then PReq is created through ME57 & then they create PO through ME59.
    They want to create PO's automatically thru EDI as this can speed up the process so as the vendor is also looking for creating SO in their BaaN system automatically.
    I have configured the EDI setup for creating PO manually, meaning when I create manual PO the idoc xml file is ready for transfer.
    But I am looking for the steps so that once they create the PReq, EDI should automatically create PO in SAP & the idoc should be ready for transfer.
    Please suggest if this can be done thru any BAPI or BDC programs.
    Thanks in advance !
    Priyadarshini

    Hi Krishna,
    This is for automatically creating normal PO thru PReq. Since I have setup the EDI configs for creating PO thru manual process  thru Me21N then idoc gets generated.
    But my client is looking for the idocs to be generated automatically once the PReq are created thru Me57.
    is there a way?
    Rgds,
    Pri

  • EDI for creation of Sales Order and sending copy of Invoice

    Hello Experts,
    I am working on EDI. We have a scenario, where the purchase order created in the 3rd party system has to be converted into a sales order in our SAP system.
    Then, the regular flow would follow uptil delivery and creation of invoice in SAP.
    We have to send a copy of this Invoice back to the 3rd party system.
    So, in effect, we would have EDI at two points, while capturing the PO from the 3rd party and another when sending a copy of the Invoice back to the 3rd party.
    Please advise on how to go about implementing EDI in the above mentioned scenarios.
    Regards,
    Divyata

    Use EDI 850 Process code ORDE FM IDOC_INPUT_ORDERS for PO (Inbound)
    use EDI 810 Process code SD09  FM IDOC_OUTPUT_INVOIC for Invoic (Outbound)
    Edited by: srini korada on Jun 9, 2011 4:51 PM

  • Interface between sap to non sap using edi idoc

    hello abaper's,
                         i have requirment on creating Interface program for downloading files(PO)  from Non-sap system  to sap system using EDI Idoc techniques.pls give me a good tips for this requirment..
    With Regards
    MurugeshRajeev

    Hello,
            First of all, we'll need to identify as to what we want to do with the PO Data. For example, If we want to Create Sales Order, there is already a Posting Program available with the Name IDOC_INPUT_ORDERS (FM). This is useful for Creating a Sales Order automatically whenever a PO IDoc is received.
    Here is the Information for processing Standard IDoc.
    1. WE30 - ORDERS05 - IDoc  Type
    2. WE31 - Segment Definition for the IDoc Type
    3. WE81 - Logical Message Types (ORDERS)
    4. WE82 - Assigning the Message Type to IDoc Type
    5. WE42 - Define Process Code
    6. BD51 - If you want to Code a Custom Function Module,
                  then after creating it, you need to register the same
                  Function Module in this Transaction Code.
    7. WE57 - Assign Message Type / IDoc Type / FM group.
    8. WE20 - Partner Profiles
    9. WE21 - Port Definitions
    Hope this information was helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Transformation issue with EDI 841 xsd generated by document editor

    Hi,
    I was trying to create a B2B Outbound interface with Doc Standard as EDI X12. When our custom payload for item is being mapped to the xsd of doc type 841 (generated using standard ecs with Oracle Doc Editor), the xengine is behaving a little weird. It's generating a file in the output directory for sure, but it's not having all the data I mapped. For Example, I wanted to have a datafile as below:
    ST~841~000000001
    SPI~00~~~~~~04~MF
    AMT~LI~0
    HL~1~~I~0
    SPI~ZZ
    LIN~~PN~ABC
    MSG~ABC
    PID~F~~~~ABC
    REF~ZZ~BaseUOMCode~EA~ZZ>EACH
    SE~38~000000001
    For which I mapped in xslt quite a few elements and corresponding payload that is coming in the console application message is as below:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <Transaction-841 xmlns:ns10="urn:oracle:b2b:X12/V4010/841" Standard="X12"
                     xmlns="urn:oracle:b2b:X12/V4010/841">
      <ns10:Segment-ISA>
        <ns10:Element-I12/>
      </ns10:Segment-ISA>
      <ns10:Segment-GS>
        <ns10:Element-28/>
      </ns10:Segment-GS>
      <ns10:Segment-ST>
        <ns10:Element-143>841</ns10:Element-143>
        <ns10:Element-329>1</ns10:Element-329>
      </ns10:Segment-ST>
      <ns10:Loop-HL>
        <ns10:Segment-HL>
          <ns10:Element-628>1</ns10:Element-628>
          <ns10:Element-735>I</ns10:Element-735>
          <ns10:Element-736>0</ns10:Element-736>
        </ns10:Segment-HL>
        <ns10:Loop-SPI>
          <ns10:Segment-SPI>
            <ns10:Element-786>ZZ</ns10:Element-786>
          </ns10:Segment-SPI>
          <ns10:Segment-LIN>
            <ns10:Element-235>PN</ns10:Element-235>
            <ns10:Element-234>ABC</ns10:Element-234>
          </ns10:Segment-LIN>
          <ns10:Segment-MSG>
            <ns10:Element-933>ABC</ns10:Element-933>
          </ns10:Segment-MSG>
        </ns10:Loop-SPI>
        <ns10:Loop-PID>
          <ns10:Segment-PID>
            <ns10:Element-349>F</ns10:Element-349>
            <ns10:Element-352>ABC</ns10:Element-352>
          </ns10:Segment-PID>
        </ns10:Loop-PID>
        <ns10:Loop-REF>
          <ns10:Segment-REF>
            <ns10:Element-128>ZZ</ns10:Element-128>
            <ns10:Element-127>BaseUOMCode</ns10:Element-127>
            <ns10:Element-352>Ea</ns10:Element-352>
            <ns10:Composite-C040>
              <ns10:Element-128>ZZ</ns10:Element-128>
              <ns10:Element-127>Each</ns10:Element-127>
            </ns10:Composite-C040>
          </ns10:Segment-REF>
        </ns10:Loop-REF>
      </ns10:Loop-HL>
      <ns10:Segment-SE>
        <ns10:Element-96>38</ns10:Element-96>
        <ns10:Element-329>1</ns10:Element-329>
      </ns10:Segment-SE>
      <ns10:Segment-GE>
        <ns10:Element-28/>
      </ns10:Segment-GE>
      <ns10:Segment-IEA>
        <ns10:Element-I12/>
      </ns10:Segment-IEA>
    </Transaction-841>
    However when the file is getting generated, the content misses the LIN Segment and below REF segment. It comes as below:
    ISA~00~          ~00~          ~ZZ~079763140      ~ZZ~V1             ~140901~1118~U~00401~100000012~1~T~>
    GS~GS~079763140~V1~20140901~1118~1012~X~004010
    ST~841~000000001
    SPI~00~~~~~~04~MF
    AMT~LI~0
    HL~1~~I~0
    SE~38~000000001
    GE~1~1012
    IEA~1~100000012
    Below are missing:
    SPI~ZZ
    LIN~~PN~ABC
    MSG~ABC
    PID~F~~~~ABC
    REF~ZZ~BaseUOMCode~EA~ZZ>EACH
    We are on 11G. What could go wrong here? Any help is appreciated.
    Regards,
    Subhadeep

    The problem is resolved after re-upload of ecs and xsd. There was a version mismatch and keeping validation off was generating half cooked file. Thanks for reading.
    Regards,
    Subhadeep

  • Problem with CRLF in a EDI file....

    Hello,
    I receive from my client a EDI file with a charcater in the end of the file, for this, the map generate the error Length limit exceeded - no SEG. delim. found!!!, but if I set "on" in the ingnoreCRLF option on the BICMD of Seebubrger, the map works correctly, I try too with the instruction setIgnoreCRLF("on") in the last segment of the EDI and this works too fine.
    But when I deploy the mappings_user.sda with this changes to XI and I receive the file in the BIC Module, the map doesn´t work, generate the same error to the character on the file.
    Can comebody help me please with an idea about this problem??.
    Greetings,
    Hervey

    Check the case of the file names such as map.jhm File names are not case sensitive when in a jar file.

  • How can I create unique partnerships to deal with like EDI messages?

    I have an EDI to Application partnership setup currently that deals with translating MEDRUC type EDIFACT messages to a mainframe format. The setup is
    Sender = PARTNERA,
    Receiver = PARTNERB
    DocType = MEDRUC.
    In the Input EDI tab the
    Sender Qualifier ID = ZZ:PARTNERA
    Receiver Qualifier ID = ZZ:PARTNERB
    Standard = EDIFACT
    Version = D
    Release Number = 97B.
    Use UNG to locate partnerships = No
    EDIFACT messages contain all this information in their UNB and UNH segments which is where SunONE IS B2B looks to then match against the relevant partnership. My problem is this does not go to enough granularity for me to distinguish uniqueness for the second partnership I need to create.
    The problem is the "Association assigned code" field in the UNH for EDIFACT messages is not catered for anywhere in the partnership details area. This means then that whilst my existing partnership deals with Simplified Billing Claim MEDRUC's which is Association assigned code = SBC20, I can't create an EDI to Application partnership for PARTNERA and PARTNER B to cater for Two Way Gap Claiming MEDRUC's which are Association assigned code = TWC10, ie the two messages are D97B MEDRUC type messages only distinguished from each other by this Association assigned code.
    Any ideas how can I then create a unique EDI to Application partnership for this TWC10 MEDRUC message?
    What I am thinking I will have to do is make this second partnership Application to Application and create a custom service to wrap the MEDRUC message with a HREC/TREC and use the parameters in the HREC to dictate the DocType rather than use the UNB/UNH segments in the MEDRUC?

    Hmmm. It looks like way back when the decision was made on how specific the keys had to be, they didn't get quite specific enough for your case. I'm not super experienced with EDIFACT but I'll throw out some suggestions based on my HREC and X12 knowledge.
    A. Could you handle both instnaces through the same partnership, but alter the map to create unique outputs based on the two different types? At least of the cards would need to be handled through Route, but you could have that picked up by a simple Outprep / Gateway Service list that put the data where you wanted it.
    B. Before Parse, run a custom service that is capable of inspecting for which type of data it is, then modify one of the key fields in place to find the Second partnership. Really getting adventurous, maybe you could alter keys in the UNG to make the distinction. This assumes that you don't have both types of documents in the same interchange.
    C. Your idea may be workable. Can you give some more detail on the make-up of the Service list and the destination/processing of the two differnt types of MEDRUC?
    Thanks.

  • EDI from Purchase Order to Sales Order

    Hi all,
    I've customized the EDI system: at purchase order creation the system automatically creates a sales order(inside the same system). Now i'm facing the following situation : since PO data is very different from SO data (eg. terms of payment), i'm getting errors when i integrate the sales order idoc. Is there a way that i can "map" the "transalation" of the PO to SO data. How can i do this? Best regards,
    PCastro

    Pedro, when you create the SO , what are the steps before creating the Idoc, is it automated, if not  you can maybe write some ABAP code and change the data before the Idoc is created.
    I cannot get the full picture of what you are doing but if the Idoc creation in not automatic you can always change the values in some ABAP code.
    If it is automatic, see if there are any user exits.
    Regards

  • Processing options for EDI vendor Invoices

    I'm trying to get a better understanding of what my options are for processing EDI vendor invoices and would appreciate some help.  I'm using  message type INVOIC02 with process code INVL and in configuration I've set the processing option in table T076S to 4 (tolerence corresponding to online processing).  When an invoice fails either the vendor specific tolerance check or the payment blocking checks the invoice gets parked with error status 3.  This is behaving as I would expect.  The issue I have is the price on the parked invoice is the price from the PO and not the price from the EDI segment.  Is there anyway to change this?  This makes it difficult to analyze the cause of the error without going back to the Idoc segments.  I've tried playing with the other processing options but they also enter the PO price in the parked invoice.  If it's not possible to change this are there any tricks that i'm missing that can help the users analyze the cause of the errors without going back into the idoc?
    thanks,

    If anyone has any expierence with this, I would appreciate any advice you may have.
    thanks,

Maybe you are looking for