IDOC related to Order creation

Hi ,
I have to upload Sales Orders through IDOC's which I am successfully doing using ORDERS05. I am facing one issue on this, here the flat file will also have Quotation Number of which Orders have to be referred. This too has been achieved. But the issue is when I do so the SHIP TO address is being copied from the Quotation, whereas I am populating the SHIP TO in header segment of Partners which has to copied to Items.
As I said, I have maintained separate segment for Header SHIP TO but this is not copied to Items Partners, generally what ever is maintained in Header shall be copied but since I am referring to Quotation the SHIP TO is copied. How to handle this.
Bwaj.

Hi,
You create your order with reference to quotation, therefore copy routines between the documents are also activated.
I suggest to check on the copy control setup between quotation and order (VTAA transaction) especially at item level (for your item categories). Check what routine is assigned to partner copy.
Regards,
Dominik Modrzejewski

Similar Messages

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

  • How can we trigger an IDOC based on Orders creation.

    Hiii...experts,
                            After searching alot in SDN i am taking this very commonly asked to experts in the hope of a better understanding.
    If i create a sales order means.. i want to trigger a IDOC based on certain Condition on ORDER data .. how can we do this..
    when ever i'm creating a sales order it should be automatically trigger a IDOC , Because when ever sales ordre was created in R/3 system it should be transferred to some destination...
    And pls tell me about the reports that does the job of collecting required data from the sales order and converts it into a IDOC.
    so, how can we trigger an IDOC based on Orders creation..
    pls help.
    Ram.

    Use IDOC_OUTPUT_ORDERS for creating IDOC
    you need to maintain condition records & output type
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:18 PM

  • Related to order creation

    Hi,
    Could you please give some idea about new order creation as per below scenario
    1)  i need to create  a new order for example "A" using ATG OOTB orderHolder class.
    2) if the order is  already  exists then no need to create and but i need to iterate this order("A") from shopping cart
    2) Then i need to copy commerceItem from  current for example "B"  order to newly created order ("A") and vice versa.
    Thanks in advance.
    pveedu

    is it for anonymous users or logged in users?
    when a req flows through DAF pipeline it creates 2 session object - Profile and Cart.
    cart.getCurrent will give u the current order.
    if the user is logged in u can call cart.getSaved to see if an order is already there for the user. U can set the saved order to current order.
    u can merge the commerce items calling mergeOrdersCopyCommerceItem method of CommerceItemManager.
    u can get reference for CommerceItemManager from OrderManager.
    CommerceItemManager.mergeOrdersCopyCommerceItem()

  • Getting IDOC after Purchase Order creation

    Hey,
    i need to get the XML-data from the IDOC which is created right after the creation of a purchase order with TR ME21N.
    I tried the following user exits:
    MM06E001- EXIT_SAPLEINM_002
    MM06E001- EXIT_SAPLEINM_011
    but it seems the program doesnt run into them, even if they're active as exit in my project.
    Can anyone tell me how can i do that ? Maybe over an event ?
    thanks and any help will be rewarded,
    oliver

    Hi Tejas,
    I do not know about Trading Contract but what all I can say it that Check if Change pointers are getting written Once the PO has been created, If "Yes" then probably you do not have to do anything for craetion of Purchanse Order. You can use RBDMIDOC Program to create IDOCs from change pointers.
    Refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm] for more information on change pointers.
    Regards
    Shital

  • Inbound IDoc for Sales Order Creation with Serial Number

    I would like to create Sales Order with Serial Number input at Item Level using IDoc. I have tried to use the followings:
    1) Basic Type : ORDERS05
    2) Message Type : ORDERS
    3) Process Code : ORDE
    I have used segment E1EDP19 with the followings:
    1) QUALF = '014'
    2) IDTNR = Serial Number
    However, it fails. It seems that the system just expects us to input BOM explosion number (VBAP-SERNR) instead of the Serial Number that I want.
    If we use VA01, we can input the Serial Number from Menu: Extra --> Technical Objects.
    Is there any idea what should I do ?

    The error message is "Entry 1276 does not exist in SNUM - check your entry" (Message no. 00058).
    1276 is the Serial Number that I input. It treats the Serial Number that I input as the BOM explosion number (VBAP-SERNR).
    Regards,
    Alan.

  • Idoc for transfer order creation for outbound delivery

    Hi
    I am using idoc basic type WMTOID01 and message type WMTORD. when i am trying to create TO for delivery. the idoc is creating and TO ia also creating but, this is not linking to delivery. I am using mov type 601 and requirement type PICK and doc type L sales document. destination storage type 916 but when u see the TO i am not getting the delivery number is not appearing in TO and if you see the document flow in delivery the TO which is created is not appearing in document flow. please help to get the solution

    Some corrections
    Hi,
    Please check the delivery which you are creating is for WM managed storage location or not.
    If your configuration is in place & you are creating delivery & picking from WM managed storage location then TO will be seen in document flow. Either you create TO automatically or manually, in delivery document flow system will show TO number. Also in TO you will see destination bin as delivery number. (Dynamic bin)
    Hope this helps you.
    Regards,
    Prashant

  • Sales order creation -pricing- IDOC processing

    Hi All,
    Issue is related to pricing procedure and condition types while processing the IDOC for sales order creation.
    The condition type ZSTD maintained in the pricing procedure AAAA, has reference condition type as ZZZZ, when we are processing IDOC, system is throwing error as " condition type ZZZZ, is not maintained for A V AAAA.
    This error will not populate when we create the sales order manually.
    Kindly let me know if programs needs to be checked and or any configuration mistakes involved in this.
    Regards,
    SAN

    >
    Vivek Baddula wrote:
    > Hey Teju,
    >
    > Could you pls put me the block of code how you are populating to the idoc edidd. So that we can guide you.
    >
    > And also tell me the message status 51 in IDoc what it is showing , and also see the segment( maybe E2EDP05)  specific  to pricing for the IDoc  you populated.
    >
    > Regards,
    >
    > Vvieks
    >
    > 'Grow and help others to Grow'
    Vivek,
    Thanks for the reply.
    Status 51 reads "condition ZPRL is missing in pricing procedure A V ZPRINT, WE are not passing any value as a part of tsting. The system should pick price values from condtion record.

  • Planned order creation IDOC

    Hi Experts,
    i've a requirement where i need to develop a custom IDOC for Planned order creation. is there any standard IDOC for Planned order creation and if it is there then provide me the complete details like IDOC name, message type name, posting and selection program names etc.
    if i need to create a custom idoc then wht is the procedure for it.
    Regards
    Faisal

    Hi Abdul,
    You can use the below details for achieving the below requirement:-
    Message Type :- LOIPLO
    Basic Type      :- LOIPLO01
    You need not create any custom IDOC type as we are having a standard IDOC type available within SAP, but you need to write a custom function module to read the data from the IDOC segments and then call the below BAPI to post the Planned Order.
    Check the input parameters of BAPI and gothrough the documentation of the Basic Type in WE60 transactions, whether all the necessary input parameters of the BAPI are covered in the standard IDOC type, if not then we need to customize the standard basic type to meet the requirements.
    Bapi which needs to be used is BAPI_PLANNEDORDER_CREATE.
    I think all these inputs will solve your purpose.
    Thanks,
    Mahesh.

  • IDOC for transfer order for delivery note LT03

    Hi All,
    I need to generate an outbound IDOC upon transfer order creation in Tcode LT03.
    I found there are two types of IDOC discussed in this forum before. One is the Canceling Transfer Order IDOC and another one is the Confirmation Transfer Order IDOC.
    I'm not sure whether these relevant to what I need or not.
    Can i know what FM, message type and basic type should I use for this situation?
    (generate an outbound IDOC upon transfer order creation in Tcode LT03)
    Please advice.
    Thanks.
    Best Regards,
    JL
    Message was edited by:
            KAR SENG LAW

    I found something here,
    Someone is using FM: L_IDOC_INPUT_WMTORD, message type WMTORD and basic type WMTOID01 in doing this when trying to send an Idoc to an external system when a transfer order for a delivery note is created (LT03). Is it OK ?
    need advice.
    Thanks again.

  • Outbound idoc for sales order

    Hi,
    can any one guide me in orders  Message Control Configuration..
    I am trying to acheive the outbound idoc upon sales order creation through output type.

    CHeck these threads.
    Idoc Sales Order Creation .
    Re-open EDI - ORDCHG for outbound sales order

  • IDOC on sales order modification

    Hi all!
      I need to send an Idoc on Sales order creation (VA01) and modification (VA02).
    In VA01 i linked the IDOC to an output message. When i create and save the document, the message is generated and the idoc is sent
    In VA02 the message is not generated automatically.
    How can i generate an idoc (custom) when the sales order is changed ?
    Any suggestion will be really appreciated.
    Thank you in advance,
    Manuel

    In your output definition in NACE ->
    ( Application V1 - Select your output type - Display )
    On General Tab -> "Change Output" Block
    Program - <b>FM06AEND</b>
    Form Routine - <b>CHANGE_FLAG</b>
    If above values not maintained no output will be generated on sales order change.
    Cheers

  • IDOC/BAPI for Production order creation from Legacy system

    Hi all
    We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
    thanks a bunch

    Hi John,
    For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
    If there is an inbound IDoc available, I would recommend to use an IDoc.
    IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
    BAPI is also good approach to use and fast in term of  processing.
    For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
    Hope this will help.
    Regards,
    Ferry Lianto

  • IDoc Configuration for Production Order Creation and Change

    Hi All,
    Please Help me out for IDoc Configuration for Production Order Creation and Change
    I have found the IDoc for Production Order
    Messgae Type : LOIPRO and IDoc type : LOIPRO01
    Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
    I have done following Configurations:
    1. RFC Destination created for XI system
    2. PORT was created for XI
    3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
    I need to know how to do the followning.
    1. How do i configure the outbound Production order idocs when Production Order is created or changed.
    2. in NACE (Output control) which is the Application for Production Order.
    3. How can I set IDoc as output Type for Production Order Creation.
    Thanks in advance
    Dhanabal T

    Hi Michal,
    I know that it is the old thread but still want to get clarified from you out of curiosity.
    Unlike other IDOC, i actiavated change pointers for LOIPRO
    1.message and idoc type is linked
    2.function module , message type , idoc type is linked
    function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
    3.BD64, distribution model is created and distributed
    4. port and partner profile is in place.
    5. IDOC is not getting generated after creating the process order.
    do we need to activate the change documents for the message type in BD52,
    if yes can you please provide the object types for the same.
    or i am missing something else. please guide me in this regards.
    Thanks in advance for your time.
    S.Janagar

  • Idoc Generation after Purchase Order Creation through trading contract.

    Hi All,
    When a Purchase Order is created via trading contract, I need to generate an Idoc and pass details of the Purchase Order created to the Partner System.
    Can anyone suggest any Function module or user exit which gets called while Purchase Order creation through trading contract, so that I can fill the Idoc with necessary details of the Purchase Order and send that to the Partner System?
    Thanks in advance.

    Hi Tejas,
    I do not know about Trading Contract but what all I can say it that Check if Change pointers are getting written Once the PO has been created, If "Yes" then probably you do not have to do anything for craetion of Purchanse Order. You can use RBDMIDOC Program to create IDOCs from change pointers.
    Refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm] for more information on change pointers.
    Regards
    Shital

Maybe you are looking for