Inbound ORDERS05 IDoc - Create SD Sales Order (EDI)

I having an issue in inbound ORDERS05 IDoc processing to create SD sales order where the sales unit of measure for the material is getting lost/replaced. We are sending sales unit of measure in the E1EDP01-MENEE field, we are also sending the material UPC in teh E1EDP19 (003) segment relying on UPC material determination rules to resolve the material for the sales order. During this process of material determination the sales unit of measure is getting lost/replaced. I know as if we send the actual SAP material in the E1EDP19 segment (no material determination required) the sales unit of measure is unchanged. In this SAP system multiple sales unit of measure are maintained for each individual UPC code. Just looking for input on where to look to resolve this, config, user exits, etc..

I can't say for sure what you should be doing, as I don't know how you have setup your material master, or how your Customers order. We have some Customers that always want EAches, some that always want OUTers, then some who want whatever UOM is assigned to the GTIN (UPC) that they order, which could be one of several. We have our custom code in ZXVEDU03.
Cheers, Paul.

Similar Messages

  • Idoc number from sales order in ECC

    Hi,
    Sales order is created by processing an Idoc. Now i want to trace back the idoc number for the sales order created.
    Please let me how we can do this in ECC. I saw couple of posts stating ICON SERVICE FOR OBJECTS...i couldn't really identify that icon. In someother post i saw this can found under Environment.
    Please let me know whether there are any prerequisites for this, and how i can i achieve this in ECC?
    Thank You in Advacne
    Thank You
    Challa

    Hi Challa,
    To find which idoc created the sales order, you can do the following,
    Check for the customer PO no in the sales order.
    Then go to any other inbound idoc which is bound to create a sales order, and see in which segment is the PO number.
    Then go to WE09 and put the dates etc and then go to " Criteria for search in Data Records"
    Put the segement no in Search in segement field.
    Put the idoc field in which you see the PO number
    and put the PO no in the " for Value" field and execute.
    You will get the idoc which created the sales order.
    Let us know.
    Regards,
    SB

  • To create the Sales Order based on PO IDOC.

    Hi Experts,
    The requirement is based on the generated PO IDoc, I have to create the Sales Order.
    Say Ex: Consider the Client 130. Here I have changed the PO 4500017195 by giving the Medium as EDI in the messages and saved the PO.
    As a result of that IDoc got generated at the port. Now using this IDoc I have to create the Sales Order in the same 130 client.
    Thanks in Advance.

    now read the same IDOC..configure it for inbound process code in WE20...or you can create  a report...call the created idoc using process code of SO...
    regards,
    madan

  • Create a Sales Order with Reference to Contract using IDoc / LSMW  ( AFS )

    Hi Gurus,
    I need to crate a Sales Order with reference to a Contract. I need to upload Sales Orders with reference to contract via LSMW.
    So far, I've been able to create the Sales Order with ref to contract. But, the Sales Order Quantity is not getting deducted from the Original Qty in Referred Contract ( When try to create another Sales Order referring to the same Contract.) When a Sales Order is created manually, this is working fine.
    Please tell me if I've missed some parameter which stopping it create the link to exact schedule line ( Sizes level )
    The Details of the IDoc which is been created via LSMW are as follows;
    Message Type: ORDERS
    Basic Type     : /AFS/ORDERS05
    Process Code : ORDE / DELO
    ( Tried with both process codes.  But the Identification is the same for both: IDOC_INPUT_ORDERS )
    *_In Header;_
    Segment : E1EDK02  - IDoc: Document header reference data *
    Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
    Contract Order is mapped for field BELNR
    *_In Item;_
    Segment : E1EDP02  - IDoc: Document Item Reference Data *
    Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
    Contract Order is mapped to field BELNR
    Line Item of the Contract is mapped to field ZEILE
    I also tried passing the Schedule line of Contract in Segment :  E1J3P01 AFS IDoc: Doc.item general data
    to following fields;
    J_3AETENV
    J_3AVGETE
    /AFS/UETENR
    Still its not getting updated in the VBEP also..
    Please help me with regard to this. Points will be awarded for your valuable contribution.
    Thanks.

    Hi,
    This issue is been resolved.
    One of my friend helped me with resolving this issue..
    Once the below mentioned configurations were done on SPRO, the Sales Order was created with reference to Contract and the Qty was reflected when tried to create a new Order referring the same contract.;
    u2022     SPRO --> SD  -->Sales  --> Sales Documents  --> Sales Document Header  --> Define Sales Document Types  --> Field : Outline agreement message; from blank to u201CBu201D.
    u2022     SPRO  -->SD  -->Sales  --> Sales Documents  --> Sales Document Header  --> Maintain Sales Document Types for AFS  --> Field : Outline agreement message; from blank to u201CAu201D

  • EDI: creating a sales order with reference to contract

    Dear gurus,
    we would like to create a sales order with reference to a SD contract from an ORDERS IDoc.
    OSS say we have to populate the E1EDx02 segments with the contract number to do this.
    We tested this in our system by manually editing the incoming IDoc and this is what we found:
    - qualifier u201C005  : Customer Contract Numberu201D set and BELNR = u201Cthe customeru2019s outline agreement number in his MMu201D (= normal MM behaviour) -> reference is not processed at all, sales order is created without reference
    - qualifier u201C043: Vendor Contract Numberu201D set and BELNR = our contract number in SD -> Sales order successfully created. BUT where can I store an external outline agreement number in MM so that the BELNR in the IDoc is populated with it?
    - qualifier u201C058: Customer Contract Numberu201D set and BELNR = the customeru2019s outline agreement number in his MM -> Error:
    The system could not determine a contract number
    Message no. VG226
    Diagnosis
    The system could not determine a contract number for the selection criteria: external contract number 5100000020 and customer number 0044000004.
    This error appears although we maintained the external number 5100000020 in the PO number field (VBKD-BSTKD) in our SD contract.
    Could anyone please explain what we do wrong?
    Cheers
    Alicia

    Hi again,
    @Lakshmipathi: Thank you, but it is VG226, like I wrote. But still, the OSS note is interesting: "You create a sales order with reference to an MM contract using EDI." Where's the sense in that? Why would I ever want to create a sales order with reference to an outline agreement in MM???
    @Rags: Sure we could do that, but I find it hard to believe that there is no standard way to do this. Especially given there are plenty of OSS notes stating that this is possible, e.g. note 562710.
    Any other ideas?
    Cheers
    Alicia

  • IDoc type in GTS to create a sales Order

    Hi Gurus,
    Is there any Inbound IDoc type in GTS that can be used to create a sales order. I Know that sales orders are created in ECC system, but still want to know if there is any Idoc type in GTS that has the segments with fields of a sales Order.
    Thanks in Advance,
    Sam

    Hi Sam,
    No, there is nothing available as standard.  There would be little point in "hi-jacking" the iDoc for GTS Customs Declarations because it would be unknown in your external system.  You could consider using the very general /SAPSLL/CCEABI01, but it might be easier to build the standard ORDERSP or similar in GTS.  In any case, there is no inbound Function Module available to process the received iDoc, so you would have to write code to parse and process the iDoc.
    The best approach would be to use the API if possible, and employ RFC techniques to call Function Module /SAPSLL/API_6800_SYNCH - the standard call for Sales Orders transferred from the ERP system.
    Sorry that I don't have better news.  Anyone else have suggestions?
    Regards,
    Dave

  • How to create a Sales Order through an EDI configuration.

    Hi
    How to create a Sales Order through an EDI configuration.
    Tell me the step-by-step procedure for this.
    Any power point presentation would be fine.
    Cheers
    Maruthi

    Hi,
    You can go to these links to know little bit about sales order creation through EDI/ALE by means of IDOCS.
    http://www.riyaz.net/blog/index.php/2008/01/19/beginners-guide-to-ale-and-idocs-a-step-by-step-approach/
    Sales Order Idoc Extension.
    http://www.*******************/2007/11/abap-idocs-basic-tools.html
    For any specific information, just do a google search(information like message t ype, IDOC type, Functoin module, etc. You will definitely get the information you are looking for
    Please reward if this helps you

  • Generating purchase order idoc, when a sales order is created

    Hi folks,
           we need to send purchase order idoc from SAP to some external system. Once sales order is created, it should automatically generate the purchase order idoc and send to the external system....Any document showing step by step configuration to do so? I have basic knowldege of ALE and IDOC...please suggest me the configuration steps in detail...
               Thanks in advance,
                 Shyam.

    Hi,
    1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
    2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
    So whenever a Sales Order is created, output type will generate an IDoc.
    Hope this information is useful.
    Regards,
    AK

  • How to resolve the issue of route while creating a sales order using IDOC

    Hi,
    When I am creating a sales order mannualy the the route is correct and matching  also but while using IDOC try to create a sales order then the route is showing wrong.
    I tried to debug the program SAPMV45A but I am not getting anything.
    Could any body help me on this.
    Waiting for quick response.
    Best Regards,
    BDP

    Hi Bansidhar,
                 You need to debug the Function Module thats assigned to your Process code.
                 In standard config for Sales Order, Process Code ORDE is assigned to FM IDOC_INPUT_ORDERS. And this FM uses Call Transaction Method to create Sales Orders. SO you can  debug this FM.
               Hope this helps you solving the problem.
    Regards
    Srikanth  M

  • How to create a sales order using PO ALE Idoc

    Hi,
    I  have a purchase order in my ECC6 system, and output for this PO is ALE idoc.
    Now I want to create a Sales order using that Idoc in the same system,
    can anbody please tell the procedure
    sreeram

    Do NOT USE BAPI_SALESORDER_CREATEFROMDATA, that FM is obsolete!
    Use BAPI_SALESORDER_CREATEFROMDAT1 .
    To build a reference to your contract you have to supply ORDER_HEADER_IN.
    Here´s a sample:
    MOVE:
    gs_vbak-vbeln TO ls_bapisdhd1-refobjkey,
    gs_vbak-vbeln TO ls_bapisdhd1-ref_doc,
    gs_vbak-vbtyp TO ls_bapisdhd1-refdoc_cat,
    gs_vbak-auart TO ls_bapisdhd1-refdoctype.
    also gothrouh the links
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap%2b-%2bsimple%2bprogram%2bto%2bcreate%2bsales%2border%2busing%2bbapi

  • Mapping datas from idoc while creating a sales order.

    Hi Friends,
    From the idoc i want to fill the field 'YOUR REFERNCE' in the tag ORDER DATA at header level while creating a sales order. From which segment i can find the datas for that field.
    Your answers will be valuable.
    Thanks,
    Bestin
    Edited by: Be$t!N on Aug 26, 2009 4:41 PM

    Hi,
    You can find the Your Reference field in the segment E1EDKA1 and the field name is IHREZ.  This Your reference field is at the Partner level. This is a standard field.
    If you can let me know at which place you want this field to be populated then we can find another suitable field in the IDOC.
    Thanks,
    Mahesh.

  • Create directly an IDOC for a sales orders

    HI,
    I would like to know if it exists a program to create an output IDOC for a sales order directly as does the program
    RBDSEMAT for materail / product.
    With RBDSEMAT we give the product's numeber the message type and the logical system.
    Of course before was customizing all the ALE flow.
    But for sales orders (VA02 / VA01) I don't find any program which allow us to have the same function.
    Does this program / function exist? I want juste to give the sales order number  the logical system and the message type.
    Thanks you
    Henri

    Funtion Module IDOC_OUTPUT_ORDRSP is used by standard SAP when output determination is used. I think you can populate the control record and use this function module directly. This will return the IDoc data, but the IDoc will not exist on the Database.

  • How to pass header/item text in inbound ORDERS05 IDoc

    Hi,
    I'm trying to create Sales Order from an inbound ORDERS05 idoc thru SE19.
    How do I pass the header text and item text to the Sales Order?
    What should be the value of E1EDKT1-TDOBJECT and E1EDKT1-TDOBNAME?
    An early response is highly appreciated.
    Regards,
    Gajendra

    Hi Gajendra,
    What is the significance of "TDOBJECT" and "TDNAME"?
    <b>TDOBJECT</b>: application object of the text
    The field is part of the text key. It contains the name of the text object to which the text is allocated. This object must be defined in table TTXOB.
    <b>TDNAME</b>: name of the text
    The field is part of the text key. It contains the name of the text module. This name may be up to 70 characters long. An internal structure of the text name is preset by the text object, but not interpreted by SAPscript.
    <b>TDID</b>: ID of the text
    The field is part of the text key. It contains the name of the text ID to which the text module belongs. The text ID must be defined in table TTXID together with the text object.
    <b>TDSPRAS</b>: language key of the text
    The field is part of the text key. It contains the language key of the language used to enter the text lines of the text module. The language key must be defined in table T002.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Creating SD Sales Orders from a Purchase Order

    Does anyone have any detail documentation for creating an SD Sales Order as an output message from a purchase order. We would like to implement a process where we generate a sales order to a specific sales organization automatically from a purchase order in a different company code.
    Any help would be appreciated.

    Hi,
    You can configure this scenario using ALE/IDOC . I dont have any docs but i remember that i had setup this few years ago.
    Create PO , attach output type , output type linked to process code , process code linked to sales order relevant IDOC Type and send to receiver as outbound IDOC ,
    The recepient receives this as an inbound and used this data to create a sales order in his company code.
    Thanks,
    Sudhi

  • How to put the value in Header test while creating the sales order

    Hi ,
    I am creating the Sales order using the Idoc Orders05 .
    I have to pass the value in the header text 1. the value is a transaction id which is a string value.
    If anyone has an idea how to do this using the the Orders Idoc. it would be a great help
    Thanks
    Nikhil

    If you have access to idoc before calling the processing Function module, Adding header text segments E1EDKT1 and E1EDKT2 to the idoc will create the header text.
    Regards
    Sridhar

Maybe you are looking for