Merge multiple sales orders in One
Hi All,
I want to merge multiple sales orders into a sales order (new), with all pricing details. How do I do that by using standard SAP BAPI 's or FM's.
Currently I am doing it through BDC programing which is taking long time.
Kapil Shivaji Sonavane
Hello,
1. use FM to get all sales order information.
loop at it_sales_order_numbers.
user FM to get sales order info.
endloop.
2. use BAPI to create new sales order and combine all above information into one internal table.
**********Poorna************
Similar Messages
-
Deletion of multiple sale orders at one shot
Hi Friends,
Can anyone tell me how to delete multiple sale orders at one shot?
Friendly
Rama RaoHi
Try doing it through LSMW, I used LSMW for deleting deliveries in mass and it worked
Anurag -
Combing multiple sales order into one delivery - help needed!
basically, this is what im doing and maybe someone can direct me in the right direction?
i goto vl10c, enter the shipping point and then goto the sales order tab and enter one sales order in sales document 1st field and then in the second field for sales document i enter the second sales order. it then opens up a list of the 2 sales order and i can check mark one or both sales order here. after i check mark both, im not sure what to do to combine the 2 sales order into one delivery document. anyone???
thanks!I will suggest you to go through the link [http://help.sap.com/saphelp_erp60_sp/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm]
I request you to search the SD forum before posting the issues. You will get plenty of treads on this subject.
Check the required confiquration for "combing multiple sales order into one delivery" and if still problem persists then you post the error you are getting for resolution.
Best Regards,
Bashir
Edited by: Bashir on Oct 16, 2009 8:58 AM
Edited by: Bashir on Oct 16, 2009 8:58 AM -
COPA - Multiple Sales Order with one wbs element. COPA does not reference
COPA - Multiple Sales Order with one wbs element. COPA does not reference of reference of sales order.
Hi All
Currently we are in process of implementation of project related to Club Service for one of the client.
Concept of this project is - there is "X" company engaged in supporting the different shared services for their client e.g. Client IBM - Shared Support Services of IBM is
u2022 IDM
u2022 Software Installation
u2022 Help Desk
u2022 Maintenance
Co.. "X' is performing these services for IBM. So for Co. "X" - IBM is one engagement. Like this way Co. X is performing such activities for many companies e.g. microsoft, HP, ABN AMRO etc.
Objective - Get the consolidate report from COPA (Customer wise/services wise/sales order wise e.g. IBM/HelpDesk/10002/10).
We propose a solution to create a project for each engagement and with WBS element. Each WBS element of different services e.g.
Project IBM Inc. 100.100
WBS Element 100.100.IDM
WBS Element 100.100.SoftIns
WBS Element 100.100.HelpDesk
WBS Element 100.100.Maintainance
For this engagement (IBM), we are creating a sales order with line items (for services) and account assignment is WBS element. In a sales order, there may be two lines for one services. In a particular period, there are many such sales orders for this engagement... Milestone billing/period billing is used depending upon the services rendered.
Now Cost Object will be WBS Element. So cost and revenue will posted to WBS and from this it goes to COPA. In a month of May 2009 two - sales order is booked with three different line items with account assignment is WBS element.
Sales Order Line Item No.....Item Account Assignment Revenue
10000 100 IDM 100.100.IDM 1000
10000 200 HELPDESK 100.100.HelpDesk 2000
10000 100 Maintenance 100.100.Maintainance 3000
Another Sales order booked with two different line items
10000 100 IDM 100.100.IDM 3000
10000 200 HELPDESK 100.100.HelpDesk 4000
Cost will be booked directly against WBS element.
In sales order level, there is no profitability segment, as cost object is WBS element.
Billing, revenue will be posted directly to wbs element, from this revenue and cost of sales goes to COPA.
Now in COPA,
1.There is only one line for WBS element ex. 100.100.IDM with revenue 4000 (combing both the sales order)
2.There is only one line for WBS element ex. 100.100.HelpDesk with revenue 6000 (combing both the sales order)
3.There is only one line for WBS element ex. 100.100.Maintainance with revenue 4000
In above case 1 & 2 we will not have reference of sales order and sales order line item in COPA table. There is only one line for this. So we can not have reporting to sales order level.
Is there any way by this the reference of sales order and sales order line will come in COPA for case 1 & 2.
Please help in this issue.
Regards
Abhay Dev
Ph:- 91-22-67782229
Cell:- 91-9819175185Hi,
For these case (multiple materials with different characteristics); have you consider going to next level of WBS Elements. Meaning; lets say currently you are assigning WBS "Engineering (which is a level 2 WBS)" to all the items in SO. Instead under "Engineering" create 2 or 3 level 3 WBS Elements as E1, E2 etc and assign them 1:1 to your sales order line items. This would eliminate the exit as welll as complex development option. And also will let you get all the data in COPA and in turn you can pull to BW as well for reporting. Just a thought.
Regards
Sreekanth -
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 PMHi,
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.. -
Multiple Sales Order in one Delivery Order
Is it possible to create a delivery order with multiple sales order in it ? Does it need any additional configuration or the basic SD Module in SAP can support this kind of transaction?
Anyone can advise me on this issue as my experience in SAP SD Module is not more than a year. Thanks a lot in advance.Hi Heng,
The sales orders can be combined in one delivery if the following parameters are same for those orders:
1) Delivery date for the materials( schedule line tab)
2) Ship to party is same for them
3) Shipping point is same for all of them.
If all the above parameters are same then you can goto transaction VL10A and can put your aboce 3 parameters and execute the transaction.
All the orders will have one delivery order in that case.
Reward points if it helps.
Regards
Karan -
How to update multiple Sales Orders with one IDOC using IDOC_INPUT_ORDCHG
Hi Gurus,
Here's my scenario:
Consider there are 2 Sales Orders for same Purchase Order -
Open Quantity
Sales Order 1
Article A1
1
Sales Order 2
Article A2
1
Say if I want to change Open Quantity of both SO 1 & SO2 by dispatching 1 Quantity each for Article A1 and A2 via ORDCHG, observed that in Include LVEDBF0N, XVBAK-VBELN is checked for only 1 Sales Order.
Whether it is possible to update multiple SOs with one IDOC using IDOC_INPUT_ORDCHG?Hi,
Check out this link, this deals with the problem you are facing.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
Regards,
Runal -
BAPI/Pointers on merging multiple sales orders
Hello Gurus,
I have a requirement to create a sales order with reference to multiple orders. I have used BAPI_SALESDOCUMENT_COPY to create the first order with reference to the original order, saved this order and then modify this order with the data from the remaining orders (by reading the data from the order using BAPI_SALESORDER_GETDETAILBOS). This is turning out to be very complicated as we are using BOM and I have to change the item number and the higher line item number of subsequent order data that I am including in the merged order.
Is there a better way of doing this? Is there a BAPI/Function Module available to create a sales order with reference to multiple orders?
Any help or pointers to achieve this requirement will be helpful to me.
Thanks in advance.
Thanks,
SandeepThanks Rob. We have the copy controls set so we will need the data to be transferred from the original document to the copied document.
In Createfromdat1 or createfromdat2, where do I specify multiple referenced orders?
As an example if I have the following orders in my system:
Order 1000 line 10
Line 20
Line 30
Order 2000 Line 10
Line 20
Now I need an order which has the line items from both these orders:
Order expected: Line 10
Line 20
Line 30
Line 40 which is Line 10 of order 2000
Line 50 which is Line 20 of order 2000 -
Combine multiple sales order in a single delivery
Hi Experts,
As per standard SAP we have a facility to combine multiple sales order in one delivery if orders have same shipping point,ship to party & delivery date.
But we have a requirement that the orders should get combine in a delivery only when shippping point,ship to party,delivery date & pricing date are same for orders.
Please let me know is there is any standard config available or do we need to write any exits & so...
Please reply ASAP .Hi,
I think this is not there in standard functionality.
In this case you need to go for user exit for delivery routine 101, include program FV50B101
Check delivery routine 101 in VOFM and with the help of your abap consultant this can be done.
Thanks,
Swamy H P -
Print MULTIPLE sales order for a given date
Hi Gurus,
My requirement is to print sales order for a given date like the one given below.
VL71 - Output from Outbound Deliveries
VL74 - Output from Handling
VF31 - Output from Billing
VOK4- Output Determination: Inventory mgmt.
Is there any T.code for printng multiple sales order instead one-by-one printing using VA02/VA03?
Please hlep me in this regard.
Regards,
AnbuHi anbu,
This is very much possible to mass printing for sales orders.
Goto SE38 T.Code.
Enter the program name as "RSNAST00".
Press Execute or F8
Select output application as "V1" which is sales.
Enter your object key here.
Enter your output type.
Select the transaction medium as "1".
Tick "send again".
Press on Execute or "f8".
Regards,
Krishna. -
Regarding single deliveries for Multiple sales order
Currently i m doing multiple sales order into one delivery & one invoice but we r facing that after doing the delivery in VL10A for the same custoemr still one delivery was not in the same delivery also i have confirmed the following criteria also
1. Delivery due date for the materials( schedule line tab)
2. Ship to party must be same in all Sales Orders
3. Shipping point must be same for all of them.
4. Incoterms should also be same.
5. Shipping Point should be same.
6. Confirmed quantity date at schedule line level
7. Delivery Priority
Pls helpHi,
is there any routines used in Copy controls from order - delivery .- re-check once.
as your post, everything seems fine. I didnt see any reason for not creating single delivery.
is it happening only with this customer or respective ship to's? if yes, something gone wrong in CMR - i.e. complete delivery / order combination etcc., ( just an assumption)
Regards,
ReazuddinMD -
HI,
Could anyone please let me know what are the configurations to be done to combine multiple sales orders into one delivery?Hi,
1. Click on <b>"order combination"</b> in the customer master in sales area data - shipping screen.
2. The following details should be same:
ship to party,
payment terms,
inco terms,
3. Go to <b>VL0A</b> - <b>enter shipping point</b>, calculation rule as <b>"2"</b> and click on <b>"F8"</b> Select the required sales order nos. and click on "background". Go back to initial screen & click on <b>"collectve processing logs"</b>. Press <b>"F8"</b> then datewise and time wise you can see the no. of delivery documents generated.
4. Go to <b>VA02</b> seelct any sales order no. and click on <b>"document flow"</b> and copy the delivery number.
5. Go to <b>VL02N</b> - paste the delivery number and press enter. Do the picking and PGI.
Your work is done.
Reward points if solution helps.
Regards,
Allabaqsh G. Patil -
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 -
Merge sales orders into one document
can sales orders be merged into one sales order or even one AR invoice?
Hi Jonathan,
You can link multiple Sales Order belongs to one customer code to Single Invoice.
1)Open AR Invoice window, 2)Select customer code 3) click copy from Sales Order 4) Ctrl+ Mouse select to select multiple Sales orders
Thanks
Unnikrishnan -
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!
Rakeshhi
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
Maybe you are looking for
-
Visual Basic 6.0 Portable UAC?
Aloha, II hhahavhavee received a copy of Microsoft Visual Basic 6 Portable. I noticed that the program has the UAC shield on it. What is going to happen that will change anything to the computer; if nothing, just what will it do? Please note: It is r
-
Dear All, Hi, I was a d2k person untill 2 yrs ago. I have 4 years of exp right from forms 4.5 to forms 6. I have created thousands of reports some very complecated ones in this tenure. Took a break of 2 yrs. Now i see a lot has changed. Could somebod
-
These two problems take please with a frequency that has nearly rendered this thing useless. The platform is Wondiws XP Pro (all current patches). Plug the Nano in, not logged ini yet, 50% of the time the Nano turns on and then just hangs. Does not a
-
Regarding Automation scope on Mac....
Hi, Actually i want to get some knowlege about automation scope on Mac. Say i have native Mac application with thousands of test cases do we have scope to automate. I have heard multiple things like applescripts, automator etc but dont know will it w
-
Wondering if a few of the more seasoned Aperture users with Nikon D2x cameras would share some of their fine tuniong presets. I know it can better a matter of personel taste as landscapes would be diffrent than people just lookng for some starting po