Sales order ALE

Hi GUys,
can any one let me know how to send a sales order from one system to another  system using ALE. Is there any step-step-by guide to send from one system to another system.
Rgds,
Ram Sri

Hi Ram Sri,
   Look at the library of ALE Business Processes ( link below ) if you are looking for standard functionality -
http://help.sap.com/saphelp_erp2004/helpdata/en/01/45953429428566e10000009b38f83b/frameset.htm
   As per my knowledge -
   1. SAP supports a process for creation of Purchase Order from Sales Order.
   2. Does not support creation of Sales Order from Sales Order.
   3. Does not support creation of Purchase Order from Sales Order. 
   I think you want to do scenario 2. My recommendation is that you do following -
   1. Configure first SAP system to generate ORDERS message on creation of Sales Order. Configure output determination to automatically send ALE message to Second SAP system.
   2. Develop a process code for ORDERS message on the second SAP system to create Sales Order. <u>This will be a custom development</u>.
   Hope this helps.
Regards,
Sanjeev

Similar Messages

  • Sales Order from one SAP to another SAP system thru ALE

    I am trying to send a Sales order IDOC from one SAP system to another SAP system (basically from DEV to QAS). Will i be able to do this using ALE ? If so, how ? I don't want this Sales order to be posted as PO in QAS. I want it to stay as a sales order.

    hi,
    use BAPI SALESORDERCREATE
    ~linganna

  • Error while crating Sales Order using ALE-IDoc?

    Hi all,
    I have developed an ALE-Idoc interface to create Sales Order automatically When the user created a purchase order. It is working fine since past two months.
    But now one  SO is not created and the error message in Inound idoc is 'Sales Area not defined'  message no V1316.
    The material used in Po creation is created recently and using first time .  i am expecting the problem is with in this material  because the PO's created based on other materials is still creating the SO successfully.
    Please help me in solving this problem?
    Thanks,
    Vamshi.

    Hi shan ,
    Thanks for you reply. The sales area for customer and vendor  is maintained in VOE2 and taking correctly for other materials except for the new material.
    Also in Inbound IDoc which contains the error is having correct sales area in it's segment  . But showing that in the error message as 'sales area & & & is not defined' here the sales area is wrong one it is dispalying.
    so please help me on identifying the problem?
    Thanks,
    vamshi.

  • 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

  • Creating Sales Order using ALE/RFC

    Hi Friends
    I required to do data transfer process in my implementation using ALE/IDOC. Since this is my first step in ALE/IDOC, I need help from an expert to start on.
    1st scenario is using ALE in same client & same sap system.
    2nd scenario is using ALE in diff sap system / diff client
    3rd scenario is using ALE in legacy to sap system.
    the data to be transferred:
    a) from Purchase order to Sales order
    b) from RFQ in one client to RFQ to another client.
    Please provide me your valuable help on configuring ALE & RFC on this. since this is standard project, i would like to use maximum standard object on developing the above requirements.
    Jagan

    Hi Basha,
    Do you need to display the header items and detailed items?
    If the BAPI Contains Output values in R/3 side.
    I mean to say if BAPI  contains 4 line items.u can get thru wdjava the followinf way.
    1. Create webdynpro application.
    2.Import the model.
    3.Create Customcontroller and model binding .
    4. Write the execute method in controller.
      BAPI b = new BAPI();
      WdContext.node<BAPI>.bind(b);
       give inputs for BAPI
    b.setname(" ");
    b.setno("");
    wdContext.currentBAPI().modelObejet().execute();
    wdContext.node<output>.invalidate(); in try catch
    5. create view or when u give the dynpro application its
    in the add custom to view and drag BAPI custom to view .
    6.Crete UI for ur table thru insertTemplate table directly mapp the  output values.
    7. deploy and run
    U can get the out line items .
    Or any thing else post ur requirement.
    Thanks
    Lohi

  • How to conig ALE : Purchase order conversion to Sales Order :

    Hi all expertise,
    i need to setup ALE between 2 systems.
    The requirement is :
    The Purhcase Order (IDOC format ) from company A SAP system need to convert to Sales order into IDOC in company B SAP system.
    both company use FTP tramsmission. So Purchase order in IDOC from system A will be convert into XML file. so XML file need to translate into IDOC when system B receive it and process .
    Thanks for your helps .

    Hi Rejoice ,
    Please Check this link
    http://www.thespot4sap.com/Articles/SAP_ALE_Configuring.asp
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/78/21768451ce11d189570000e829fbbd/content.htm
    [Maintaining ALE Settings|https://www.sdn.sap.com/irj/sdn/bpx-defense?rid=/business_maps/guid/eg1slxvyat1odhrwoi8vzxn3b3jrcgxhy2uuc2fwlmnvbs9zb2nvdmlldy9ty3bnzxquyxnw%0d%0ap3bhy2thz2vpzd0mdmlldz1zbwnyzw5kzxiyjmlkptm2nzvdnkm3rei0nzq1rue5odexrji3ntmx%0d%0aqzeyqujgjiz4c2wtymfzzt1odhrwoi8vzxn3b3jrcgxhy2uuc2fwlmnvbs9zb2nvdmlldy9ty3bn%0d%0azxrfbwltzs5hc3a/dxjspxnkbl9uzxcvjiz3zwitdxjspwh0dhbzoi8vzxn3b3jrcgxhy2uuc2fw%0d%0almnvbs9zb2nvdmlldy9ty3bnzxrfbwltzs5hc3a/dxjspsymehnslwxpc3q9c2rux2dlbmvyywxf%0d%0acmvuzgvylnhzbhq7c2rux2xpbmtyzxdyaxrpbmcuehnsddtnzw5lcmf0zuhutuxfu0rolnhzbhqm%0d%0ajnbhy2thz2utawq9jizyzxnvdxjjzxr5cgu9c2rux3nvbhv0aw9ux2nvbxbvc2vyx2z1bgxwywdl%0d%0ajizwyxjlbnrssuq9l3dlymnvbnrlbnqvd2vicgfnzxmvynb4lzqwieluzhvzdhjpzxmvrgvmzw5z%0d%0azsamifnly3vyaxr5l1nvbhv0aw9uie1hccatierlzmvuc2umjnrpdgxlpu1haw50ywluaw5niefm%0d%0arsbtzxr0aw5ncyymdmlydhvhbd10cnvl&prtmode=default]
    Best regards,
    raam

  • Sales order in ale

    hi all,
           plz help me out,the purhase order created in one system should genarate the idoc and passes to other system creating sales order.here my prob is if the client is modifying the purchase order(for which the sales order is alredy genarated) we are getting a new salesorder in system 2,which is a duplicate of the before sales order(but included modifications),can we restict the duplicacy,is there any way that only changes done to purchase order reflects in sales order without genarating new order.plz help me out.thank u
    regards
    krishna

    Hi, Krishna!
    The scenario you've described seems to be exactly a part of a standard scenario "Stock transfer of goods between distributed systems".
    This scenario is based on purchase orders that are created in the system of the ordering plant. The purchase orders are sent to the system of the supplying plant via the logical message type ORDERS. Here, a sales order is created in the inbound processing of the IDoc. Purchase order change generates ORDCHG IDoc which leads to corresponding sales order change.
    You can find full scenarion description along with necessary customizing settings and existing customer-exits using:
    - Online help
    Help->SAP Library->CA(/Cross Application)->Business Framework Architecture->ALE->ALE Business Processes Library->Logistics-Logistics->Stock transfer of goods between distributed systems
    - IMG
    IMG->Cross-Application Components->Predefined ALE Business Processes->Logistics->LO-LO->‘Stock Transfer Between Distributed Systems’ Scenario
    If you got further questions - welcome.
    Regards,
    Maxim.

  • Sales order details thru ALE

    hi folks,
    i have a simple scenario to do with ALE/IDOCS. i have to create sales order in SAP. And when ever that SO is created the sales orders details should be sent to an external system (here, notepad). could any one suggest me teh step by step proceduer for the same......or atleast some brief procedure hw to acheive this...i also have one more doubt....can we send IDOCS from ECC 5.O to IDES 4.6. if i am trying to do the same it showing some error mentioning that basic idoc type does not exist in 4.6c......can any one resolve my doubt,
    thnx in advance,
    santosh.

    Hi Gouri Sankar,
    would you be able to upload the sales orders with multiple line items using BAPI LSMW?
    if so could you plz suggest?
    Thanks in advance.
    Suresh/

  • Sending sales order details through ALE to External system

    hi folks,
             i have a simple scenario to do with ALE/IDOCS. i have to create sales order in SAP. And when ever that SO is created the sales orders details should be sent to an external system (here, notepad). could any one suggest me teh step by step proceduer for the same......or atleast some brief procedure hw to acheive this...i also have one more doubt....can we send IDOCS from ECC 5.O to IDES 4.6. if i am trying to do the same it showing some error mentioning that basic idoc type does not exist in 4.6c......can any one resolve my doubt,
                            thnx in advance,
                                santosh.

    Thanks for your quick response, Sarathy.
    Yes I am referring to SAP ECC to third party system but using ALE.
    Here is the scenario, a sales order will be created in SAP CRM and that sales order will be replicated to ECC as a sales order. Now I need to generate an Idoc for this sales order to send it to a third party system.
    Regards

  • ALE Change sales order when Delivey order already created and posted

    Dear All,
    We  know that
    ALE with message type of ORDERCHG can change the sales orde automatically when the purchase order have changes.
    And I can still change affect the sales order by change the purchase order even the following delivery has been created and posted.
    Have someone has the familiar experience, and is there any
    solutions to block this function?
    (I mean once the delivery order has been created, the changes on purchase order should not effect the sales order)
    Thank you very much!
    Best regards,
    Sophia

    Dear All,
    Anyone have the similar experience ?
    Is there any clues?
    Thanks
    Best regards,
    Sophia

  • ALE (SALES ORDER)

    hi every body,
                         i was stuck in a serious problem,please help me out.i configured an ALE scenario where PO in one system will Creates a SO in other.now for example a salesorder is created with refernce to PO number 12345(trough ale).here if we create a Standard Sales order with refer to same PO 12345.it is accepting.it means these are duplicate Sales orders.how to come over this problem,please help me out.

    Hi Krishna,
       This has got nothing to do with ALE, standard SAP allows you to create Sales Order with reference to same Purchase Order as many times as you want. you should keep this out of the scope of ALE configuration.
       If you do want this functionality you will need to enhance VA01 to include this additional check, I will suggest you check combination of SOLD-TO-PARTY and Purchase Order number as you can not ensure that only Purchase Order number will be unique for all customers you are dealing with.
    Regards,
    Sanjeev

  • 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

  • ALE / IDOC / sales order customer control record change

    I'm trying to look for a "standard" answer.  Here's my problem:
    Record comes into SAP with a non-sap customer number that needs translated to SAP customer number.
    Options I'm looking into:
    1.  Use the user exit and pull the customer characteristic from the customer master.  Based on the characteristics then convert the control record.
    2.  Use the user exit at the sales order create.  Based on the characteristics then convert the sales order and do not convert the control record.
    3.  Use standard EDPAR and convert the control record.
    The problems:
    If I use code to change the sold to custmer number at the control record level, I'd like to do the same thing at the detail level.  The standard SAP code uses EDPAR.  There are many different user exits based on the IDOC type in the system.  I really don't want to change the code for each one.
    EDPAR is maintained by IS.  However, the customer master is in the business hands and is easily used.  The customer master would be the perfered way to do things.
    Any suggestions?  Has anyone else had a problem with the customer number in the control record?  We used to do it prior to moving the record into the SAP system.  We would like to move away from that.
    Thank you!
    Michelle

    OK so we have a strange setup.  Yes, sold-to and ship-to is in the sales order.
    The customer number in the control record is really our SAP sold-to number.  It also is the partner number.   It is required for WE20.  However when the IDOC comes into our system our customer doesn't always send the partner number.  They can send their number for our company, the DUNS number or others.  We have to take that number and convert it to our partner number.
    While conversion from X12 to IDoc, based on the ISA ID or Sold-to party number you should map the correct SAP partner number onto the control record.
    Coming to non-SAP sold-to party number in E1EDKA1 segment, the same non-sap sold-to number can be mapped to this segment but you should maintain EDPAR Entries. (VOE4).   Yes, I found that EDPAR seems to be the way SAP is expecting the conversions.  However, we want our customer service to maintain the conversion.   That means that it has to be in a good format.  So I could write a Z transaction over the EDPAR table for easier maintenance, or use the customer master screens.  The customer master seems to be a logical place for custmer service to enter in the conversions.  However, EDPAR is what SAP is expecting.  So I decided to have them update the customer master via characteristics, and then use a BADI to send the information to EDPAR.  Use "standard" functionality to change the control record.  I believe it is a user exit.
    Any questions??  I always have questions.   I think the above solution will work.   We haven't prototyped it yet.   That will happen soon.    My question was very generic and probably hard to follow.  
    Hopefully this clears up what I think we are going to do.  Any other solutions would be appreciated.   The control record may or may not be correct when it is recieved.  So we need to convert.  Another requirement is that customer service has to set up the conversion values.  VOE4 is not a good transaction for non-technical people to use.   So we need a better way.  
    Again we have voted to try the above solution.  But I welcome any other suggestions.
    Thannk you,
    Michelle

  • ALE :- Net value & Amount 0.00 in Sales Order

    Hi Friends,
    In my scenario I am sending ORDERS.ORDERS05 Idoc to Receiving R/3 system.
    This Idoc is received & processed Successfully (WE02). As a result of this a Sales Order is generated, but values in Amount & Net value Fields of Sales Order are 0.00.
    I am passing net price in E1EDP01->VPREI & E1EDP01->NETWR.
    Can any one help me in this case.....
    Waiting for you Response.
    Thanking you in Advance.
    Regards,
    Nitin.

    Hi Sridhar,
    Thank for your Reply.
    Your Suggestion really gave me a way to think in different manner & it helped to solve this problem.
    Once again thanks for your Reply.
    Regards,
    Nitin.

  • How to generate IDOC while creation of Sales Orders

    Hi
       If i create a sales order means.. i want to trigger a IDOC with this ORDER data .. how can  we do this.. when ever i'm creating a sales order it should be automatically trigger a IDOC , Because  ehen ever sales ordre  was created in R/3 system it should be transferred to some destination.. all the ALE configurations are done.. .
        so, how can we trigger an IDOC based on Orders creation..
    Thanks
    Babu

    Hi,
    Here is the link
    [Re: Idoc creation;
    Regards
    Sudheer

Maybe you are looking for

  • How to get Video Working????

    Firstly, how do i know which generation my ipod is? Secondly, i downoladed a video and when i sync my ipod, it does not go onto my ipod. Do i have to do anything first? thanks kirsty

  • Create sample output by running generic payment medium program in se38/80

    Hi, I'm trying to configure a 4.6c system to utilise the PMW to generate payment media but first of all I'll like to see a sample output using the generic payment program, SAPFPAYM,  in se38/80 to generate a sample output from an already posted payme

  • Loop in subVI to be stopped by control in calling VI.

    I have a loop in a subVI that is supposed to run untill a stop-button is pressed in the calling VI. This doesn't work due to data flow issues. It has coem to my attention that this can be done using references, invoke nodes and/or property nodes. How

  • Account Code Generator

    What am I missing with this tool? It seems like it is not too useful because you have to go thru and input all the info, that it would be easier just to go thru Financials -> Chart of Accounts I am just curious if I am missing some type of functional

  • Could not open a connection to SQL Server[2]

    There is a universe which is already created and now I added one table and one join to it but when I create a WEBI report based off the same universe, I am getting below error from launch pad. Database error: [Microsoft SQL Server Native Client 10.0]