Create multiple sales order

Dear all,
   how to create multiple sales order using rfc's.
                                              regards,
                                               malli.

I Don't think there is a RFC for it. But you can create the Function and make it RFC enable.
the Interface of The RFC should allow and take information to create multiple orders.
inside the RFC ,
you need to loop the table parameters
since the main table contains information of all the orders.
and
Call the BAPI
BAPI_SALESORDER_CREATEFROMDAT2
and pass appropriate information for each loop and create order.

Similar Messages

  • Create multiple sales orders from single service notification?

    Is it possible to create multiple sales orders from a single notification (IW51)? 
    We currently create sales orders directly within transaction IW51 (Create Service Notification).  We kick off the sales order creation by pressing the "SALES ORD." button in the notification screen.  We're now interested in creating a 2nd Sales Order which would tie directly to the same Service Notification.  This is so that we can have the second order assigned to a different account assignment WBS (there are two different parties doing work on the service notification).
    I assume you would have to go to VA01 to create the Sales Order, but am not sure how to tie it directly to the service notification from here.  I treied to do a create with reference, but there is no ability to create with reference to a service notification.
    Do I have to create a second service notification for the 2nd Sales Order for this to work?  I want to avoid doing this if at all possible.
    I'm running SAP R/3 Enterprise
    Thanks for your help!

    Hi,
    go to vtaa- copy controls for sales document to sales document.
    select your combination of order and quotation go to item level. There select value 0(zero) in field positive/negative negative.
    No need to change update document flow.
    After setting zero in copy control that be told on above. create order with respective to the quotation.
    After saving the order.
    go to document flow to see the status in between quotation and order.
    If you placed setting right, then u certainly observe for quotation status will be open. so you can create no. of sales order with respect to that quotation..
    Have a good day..

  • How can I create multiple sales orders with reference to one contract?

    Hello Gurus,
    Can you please how can I create multiple sales orders with reference to one contract?
    thanks!
    Rakesh

    hi
    Lets consider example
    In your contract for line item 1 you have entered qty 100
    You careated sales order with 70 quantity, and now you want to creat another sales order for 30
    For this first you need to check what is your item category in contract (VA42)
    Goto VOV7
    SPRO - IMG  - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
    Make the completion rule = B Item is completed after full quantity has been referenced

  • Multiple Sales Orders from One Quotation.

    Hey SD Gurus,
    I want to create multiple sales orders referring to one quotation. When I create the first sales order the status from quotation change to Completed and this doesn't enable me to create a new sales order. Please let me know how to satisfy this requirement. Thanks in advance.
    Please search the forums before posting - see [rules of engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    Edited by: Ian Kehoe on Mar 2, 2012 2:17 PM

    Hi,
    go to vtaa- copy controls for sales document to sales document.
    select your combination of order and quotation go to item level. There select value 0(zero) in field positive/negative negative.
    No need to change update document flow.
    After setting zero in copy control that be told on above. create order with respective to the quotation.
    After saving the order.
    go to document flow to see the status in between quotation and order.
    If you placed setting right, then u certainly observe for quotation status will be open. so you can create no. of sales order with respect to that quotation..
    Have a good day..

  • Crating multiple sales orders based on one inbound purchase order idoc

    Hi All,
    I have a requirement to create multiple sales orders based on single inbound PO idoc.Please let me know whether is it possible or not?
    Regards
    mahesh

    Hi Mahesh,
    What is your crieteria for different SO's ?
    Regards
    Megha

  • Multiple Sales Order

    Hi,
    I am pulling sales from Oracle (JDBC) and pushing it into R3 (RFC) . I have written my own RFC which is successful in pulling ONE sales order and creating the same in R3 with multiple line items.
    My problem is that I am unable to push multiple sales orders in R3 though sales order header in RFC is 0..unbounded. When I create multiple sales order in message mapping testing, it creates on RFC side also. But at run time it does not create a separate header as a result no sales orders are created. It has also occurred that the payload structure for the inbound message can not be changed, no matter I change the data type. At run time header and items are at same level in case of inbound messages. 
      <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <ORDER_NO>821217</ORDER_NO>
      <ORDER_DATE>2004-05-31 11:41:27.0</ORDER_DATE>
      <SUBORDER_NO>1</SUBORDER_NO>
      <PAY_METHOD>cd</PAY_METHOD>
      <USER_ID>wowowo</USER_ID>
      <ORDER_STATUS>Order Under Process</ORDER_STATUS>
      <QUANTITY>1</QUANTITY>
      <TOTAL>375</TOTAL>
      <DOMAIN_NAME>satyajitroshan.com</DOMAIN_NAME>
      <SAP_MAT_CODE>1000000081</SAP_MAT_CODE>
      </row>
      </resultset>
    Help is appreciated.
    Preeti

    HI Preeti,
                i dont know how r u using the BPM (i hope you r using one BPM, as you going for 1:n msg transformation).
    i have solved somewhat similar problem, in which i used send data to one RFC containing multiple records, where the RFC can insert Only one record at time to R/3.
    i designed a BPm like this-->
    xml input (from filesys through file adapter)containing many records->xi (BPM)>transformation step (in which i split the msg into 1:n message, each message containing one record and collecting those record in a multiline container)>a block (par for each mode)-> a send step inside the processing block sending message to RFC.
    so if the original message contains n record in one xml file,  n number of xml message will be created in the transformatin step. and in the next processing block n parallel instances of RFC will be callled, each inserting one record.
    Cheers.

  • Multiple sales order in to one planned/production order

    hello,
    anybody pls help me. my scenario is make to order with configurable material. in this is it possible to create multiple sales order in to one planned order or production order. my client is asking this requirement. he wants to convert if the characteristics are all same sales order want to convert in to one planned or production order. pls suggest me how to do this.
    thanks & regards
    bhakta

    Hi,
    The feature for combining the Sales Orders based on the Charecteristics is available on in Industry Specific Solution - Mill Products (IS-Mill).
    Otherwise, in standard SAP you can not do that..
    "Material Variants" could be an alternative for this..
    Regards,
    Siva

  • Auto-create delivery for multiple sales orders

    I would like to ask how to create auto-create 'single' delivery
    for multiple sales order during release sales order in R11i.
    It is found in my example during release sales order, multiple
    sales orders fulfill release sales order criteria, a single pick
    slip is generated but it is found that each sales order have
    individual delivery with it. It will casue multiple pack slips
    for a singles pick slip. Is it normal feature for auto-create
    delivery, or any setup to solve it?
    Thanks in advance.

    Am not able to do Single Delivery for Muktiple sales orders
    Have you searched the forum for this question as to why you were not able to generate ??  It could be due to multiple reasons.  Please search the forum and update here what steps you have taken after taking the inputs from here, if the problem is still not resolved.
    thanks
    G. Lakshmipathi

  • How to create one delivery for multiple sales order

    Hi!! Friends,
    Can some one explain the steps to be followed in creating one delivery for multiple sales order in SAP SD.
    Regards
    AKASH
    Message was edited by:
            AKASH TAMBI

    Hi.,
                  You can combine different orders in to one delivery ,But for the customer Order combination should be checked in  the sales area data of the shipping tab,we can combine orders but the ship to party,Route,Inco terms,Shipping date,shipping point should be same,you can do in T.code VL04 & VL10
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • Wrong VL-367 error while creating delivery from multiple sales orders

    Hi,
    We have a Z program* that runs BAPI_OUTB_DELIVERY_CREATE_SLS with multiple sales order items to create one delivery.
    The program runs as a job. The problem is sometimes Bupi turns "VL367 - an item with no delivery quantity..." error for some of the items. But actually we have no availability problem, after a minute in the next job the delivery is being created for those items.
    We couldnt find the the state that causes this wrong error. Have any ideas, is there any problem with the bapi ?

    Hi,
    You should check if you got other Sales Order that might be have items with quantities confirmed. Quantities confirmed in a sales order will be appear as unrestricted stock, although is reserved, and therefore for example:
    Sales Order A: item 10, quantity 10
    Unrestricted stock: 10
    Sales Order B: item 10 (Same material as Sales Order A), quantity 2
    Creating outbound delivery for Sales Order B will generate the message, because that stock is being taken for the Sales Order A already.
    Hope it helps.

  • How to create a Sales order from multiple quotations?

    Hi All,
    Please tell me how to create one sales order from multiple quotations?
    Regards,
    Maddy

    Hello Maddy,
    To create the sales order from multiple quotation, you should put the value "F - Only at item level: Always with selection option" under Quotation determination in your sales transaction type.
    It will give you a pop-up to choose your quotations item while creating the sales order.
    Some per-requisites are there:
    1. Copy control should be maintained between your quotation and sales order.
    2. Quotation should be error free and should have the status "Released"
    3. Sold to party and Organization should be same in both transaction.
    For more information you can check the below link:
    Processing Quotations - Sales Transactions - SAP Library
    Best Regards,
    Dinesh

  • DI: Create Purchase Order from Multiple Sales Order - Lines

    Hi all,
    I am trying to group multiple lines from multiple Sales orders concerning One given Vendor/Supplier so as to generate One Purchase order for this Vendor/Supplier
    oSalesOrder = (Documents)B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oOrders);
    oPurchaseOrder = (Documents)B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oPurchaseOrders);
    oPurchaseOrder.CardCode = 'Vendor1'
    oSalesOrder.getByKey("13");
    oSalesOrder.Lines.SetCurrentLine("4");
    oPurchaseOrder.Lines.BaseEntry = oSalesOrder.DocEntry;
    oPurchaseOrder.Lines.BaseLine = oSalesOrder.Lines.LineNum;
    oPurchaseOrder.Lines.BaseType = (int)BoObjectTypes.oOrders;
    oPurchaseOrder.Lines.Add();
    oSalesOrder.getByKey("14");
    oSalesOrder.Lines.SetCurrentLine("2");
    oPurchaseOrder.Lines.BaseEntry = oSalesOrder.DocEntry;
    oPurchaseOrder.Lines.BaseLine = oSalesOrder.Lines.LineNum;
    oPurchaseOrder.Lines.BaseType = (int)BoObjectTypes.oOrders;
    if (oPurchaseOrder.Add()!=0)
        MessageBox(B1Connections.diCompany.GetLastErrorDescription());     
    I get the following Error: <i>Base Document Card and Target Document Card do not match</i>.
    What more Should I do to avoid This?
    Regards,
    Emmanuel.

    Hi Emmanuel,
    As far as I know you cannot create a purchase order based on a sales order using the DI API. I know in SBO you can do this, but I don't think using the SDK. The reason why it's giving you the message "Base Document Card and Target Document Card do not match" is because one is a vendor and one is a customer.
    Hope it helps,
    Adele

  • Creating one Sales Order from Multiple Quotes

    Hello
    We are using SAP CRM 2007.
    I believe in CRM we can create one sales order from multiple quotes. We have a requirement where we need to create one Third party sales order from multiple Quotations.
    I have Item cat for Quotations and Sales Document maintained correctly.
    I also have copy control where ZQUO and ZSAL are maintained correctly. Where I have maintained settings for copying Transactions as well as Item Category.
    But when I go to CRMD_ORDER and retrieve quotes and try to do a follow on doc for sales doc , only the first Quote gets added into follow on document.
    Can someone tell me if I am missing any config?
    Thanks

    hello,
    in sap ui we use control button and select multiple quotes and then
    create the sales order as follow up as we have follow up button.
    Regards,
    Deepa

  • Automatic creation of intercompany PO when creating a Sales Order

    Hi Experts
    Is there a standard way of triggering an intercompany PO when creating a sales order to the final customer (or the other way around, triggering a sales order to the end customer upon creation of an intercompany PO)? Scenario: business has setup a logistics company (company code X), which its purpose is to deliver goods to the final customer (home customers). However, sales orders are created from seperate chain of stores which belong to another company code (company code Y). This chain of stores have one sales organisation (since there is over 1000 stores under a chain). I need a way to represent that a sale originated from a store/plant belonging to company Y to end customer A. Also, I need a billing document (intercompany) from company code X to store/plant beloning to company Y.
    Issues: in the intercompany config (assign intern customer numbers to sales org) - is there a way to assign a customer number at site/plant level so that when creating an intercompany billing it can be picked instead of the one assigned to the sales org and where can this be specified in the sales order (remember: in my scenario there are multiple stores/plants that belong to one sales organisation and it is not possible to use one customer number linked to the sales organisation.)
    Desired results:
    Sales order from store/plant YY belonging to company code Y to end customer A
    Intercompany billing from plant XX belonging to company code X to store/plant YY
    End customer billing from store/plant YY to end customer A
    Thank you in advance for your help.

    Hello Tsmash  
    I think you can acheive this with Regular Sales order + Inter Company STO combination.
    Maintain customer numbers for each of the Plants from Company Y for the sales area belonging to Company X.
    Then do the config for STO in MM using this menu path:
    SPRO/Materials Management/Purchasing/Purchase Order/Set up Stock Transport Order
    Here, in the activity 'Define Shipping Data for Plants',  enter each of the plant-customers and the Sales area belonging to Comany code Y. Carry out other activities in this area appropriately.
    Similarly set up Custom ( say Z1) Special Procurement type for Plant YY for stock transfer from XX using this menu path:
    SPRO/Production/Material Requirements Planning/Master Data/Define Special Procurement Type:
    Here maintain procurement type as F, Special procurement as U and plant as XX. You may need to repeat this config for each of the receiving plants (over 1000 stores under a chain)  from co code Y.
    In the material master MRP 2 for Plant YY,  maintain procurement type as F and Special Procurement as Z1.
    Sales order will be received under Co Code Y and sales area belonging to Y form customer A,
    Because of the MRP config, a PO (STO) requirement will be raised on Co code X and plant XX. XX will send the goods to YY via a STO delivery using the Shipping data from 'Set up STO' config,
    Plant YY will send the goods to A and bill that customer. Co Code X will raise an inter-comany bill on Co code Y.
    That's how it should work. Try it and revert with any issues.

  • Single idoc generation for multiple sales orders

    Hi,
    Pls let me know how do we generate single idoc for multiple sales orders.
    Its not collecting idoc. As we know we can generate an idoc for one sales order correspondingly
    my requirement is to generate single idoc number for multiple sales orders.
    Do we need to write a program.

    Amar,
    To understand take HRMD_A04 as example. Root segment has Maximum 9999999999 defined.
    Segm.type       E1PLOGI
    Minimum number  1
    Maximum number  9999999999
    Parent segment
    Hier.level      2
    This means that this IDOC types has capability to hold multiple HR Master data objects. PFAL program creates this IDOC and it has facility to mention the Objects per process, check selection screen.
    I checked for INVOICE01/02 its not possible there. Hope this clarifies.

Maybe you are looking for

  • Scroll bars in Lion - Not what I was expecting

    On upgrading to Lion, which was relatively painless, I was surprised at the lack of control that I now have with the scroll bars. Previous versions have always had some way to increment/decrement position using arrow heads, but Lion doesn't give me a

  • Creating a default User account for new users

    Today I tried creating a default setting for and account that could be used for all new users.  I did web searches after web serches and not luck.  In the old systems it was simple, but Mavericks made it difficult.  But after much hair pulling and pu

  • ABAP Query Doubt

    Hi All,        I am using the ABAP query using the infoset Logical database PNPCE. When i select the fields for the output i am getting it. But i need to make some of the fields as mandatory in the selection screen. How can i make it. Regards, Yogesh

  • Product creation in CRM system

    hi Guys, I created Attributes, Set Types, Category and hierarchy. Later I when to Product maintenance and created a product under the new Category I created. When I tried to save the product, it says 'saving is not possible'. The error message is "Da

  • Standby db in RECOVERY NEEDED switchover status

    HI, (db version:10.2.0.4 linux 64bit) My primary data guard is in SQL> select DATABASE_ROLE,switchover_status from v$database; DATABASE_ROLE    SWITCHOVER_STATUS PRIMARY          SESSIONS ACTIVEThe standby database shows: SQL> select DATABASE_ROLE,sw