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
Similar Messages
-
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 -
How to create a Sales Order with external number using BAPI
Hi People,
I am wonderning how to create Sales order using external number range by BAPI (SALESORDER_CREATEFROMDAT202).
I tried search but could not succeed in finding the solution.
Please share if anyone has some info.
Thanks in advance.
Regards,
PraveenAs per my understanding, the BAPI
SALESORDER_CREATEFROMDAT202
mentioned by you, is not BAPI. In fact, that is basic IDoc Type. For processing an Inbound IDoc, we use FM IDOC_INPUT_ORDERS.
If you want to create sales order other than IDoc, refer FM BAPI_SALESORDER_CREATEFROMDAT2. There you can provide external sales order no in SALESDOCUMENTIN. In addition to that check whether your sales doc type is relevant for external number range or not. If yes. then make sure you are providing external number according to the number range maintained.
If you still have any concerns, please revert back.
Thanks, JP -
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 -
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 -
How to create a Sales order with ref to Contract using Function Module
How to create a Sales order with ref to Contract using Function Module BAPI_SALESDOCU_CREATEFROMDATA ?
We have a unique situation where we like change the sold-to customer of the sales order
once order has been created. These orders have been created using either by function module
BAPI_SALESDOCUMENT_COPY or using BDC (VA01, Copy with reference).
These two processes work abosolutely fine except someone might have change the sold-to
customer of the ship-to customer of the original sales order. If this the case then the new
sales order will be created with the old sold-to and with not the new sold-to.
We tried using BAPI_SALESDOCUMENT_CHANGE and commit afterwards. We checked
the returned parameteres of the BAPIs and they are all successful but sold-to remains the
same old one.
Any help would be much more appreciated. -
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 -
Create Sales Order with type "return" using API
Dears ,
I tried to create a sales order with type Return using oe_order_pub.process_order but the order is not created .
There is no error msg returned .
Can anyone help me to solve this .?Hi 2800842
Please use the following link for your issue;
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=539354996395765&parent=DOCUMENT&sourceId=746787.1&id=292…
or visit metalink: How to create an RMA via Process Order API ? (Doc ID 292743.1)
Thanks
Mirza Tanzeel -
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.. -
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 SonavaneHello,
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************ -
Urgent: How to copy multiple sales order items into a return sales order?
Dear developers,
I have a requirement to copy multiple sales order items into a single return sales order. For example, generated return sales order have 2 items, item 10 is created with reference to sales item 2610/10 and item 20 is created with reference to sales item 2611/20. What's more, when it happens, copy control should be taken care of. I know it is possible to create this kind of order by transaction. But how to do it in coding?
In current SAP release, there is only BAPI for creating with reference on 1:1 relationship which means copy one document to another but what I need is N:1 copy.
Any suggestion is high appreciated!!
BR,
Tony.Hi ,
If you are creating sales order by using bapi then after calling bapi you can check import parameter <i><b>SALESDOCUMENT</b></i> in the bapi function module .If this parameter is not initial then sales order is created in this case you can create return order. If this import parameter is initial then sales order is not created and you cannot use return bapi function module.
Bapi is simple method than BDC.
In above case it is required to call BAPI_TRANSACTION_COMMIT after every successful sales order creation.
One more important point is you have to clear import parameter <i><b>SALESDOCUMENT</b></i> before calling sales order creation function module.
Thanks,
shyla -
Multiple sales order with single invoice
Hi !
For the same dealer can we make single Invoice dispatching with multiple sales order ??? and How ?
Thanks.Hi Indrajit
If you want to create a single sales order into Multiple delivery then make sure that the delivery split should take place
The following are the parameters for the delivery split
Ship to party , route , delivery date, Shipping point ,Confirmed quantity date , Delivery priority
Example :
Say you have line item 1 & line item 2 , for line item 1 you have different ship to party and for line item 2 you have different ship to party then delivery split will take place for this two line items
Regards
Srinath -
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 Generate sales orders with custom Fields using BAPI_BUSPROCESSND_CREATEMULTI
Hi,
I need to generate sales orders with custom fields on table CRMD_ORDERADM_H using BAPI_BUSPROCESSND_CREATEMULTI, after changing the structure BAPI_TE_CRMD_ORDERADM_H, and feed the EXTENSIONIN table of the BAPI with data, the order is created, but any value on custom fields.
After debuging, I saw that the BAPI search for structure conversion in table CRMC_OBJECTS_GEN, but we haven't entry with BAPI_TE_CRMD_ORDERADM_H in this table. is that the problem ?, Is there any way to fix it?
Best Regards,
Salah.That depends on where do you have the customer fields, check the table CRMD_CUSTOMER_H, if your custom fields are there, you need to use the changing parameter CUSTOMER_HEAD, I guess your already checked that one, right? but there's no custom fields, well...AET/EEWB doesn't enhance the strcuture of the BAPI, so you should do it manually, check the note following note for further details.
988410 - FAQ: User-defined fields in the BAPI
If you don't have access to the SAP Marketplace, in resume you should create an append on the structure BAPIBUS20001_CUSTOMER_H and include the following strcutrue CI_EEW_CUSTOMER_H
Cheers!
Luis -
1. Multiple Sales Orders with single billing .
Hi gurus,
I am doing in EC6. how can i get single billing document for multiple sales orders. please tellme that configuration settings i need to do.
I am wating for reply
Thanks and regards
DVSkHi,
Order-to-Bill Copy Control Settings are maintained in
T. Code: VTFA
But Header Data, say exchange rate differences or Payer or Terms of Payment, for both the Orders must be same in order to avoid Invoice split.
You may write routine, based upon your requirement in VOFM and attach it to Field: Data VBRK/VBRP (Under "Item" - left hand tree structure).
for your Order-toBill combination.
Best Regards,
Amit
Maybe you are looking for
-
I've tried for several days to open my iTunes Store on my iPhone. Every time it opens, but with a blank white screen.
-
Node removing in a Tree, for loop, and Enumeration
Hi there it should be pretty easy, however i'm stuck with this code: public void supprNode(DefaultMutableTreeNode node){ for(en = node.preorderEnumeration();e.hasMoreElements();){ DefaultMutableTreeNode tmpNode= (DefaultMutableTreeNode) en.nexElement
-
Changing the printer cartridges for a HP laserjet 2840
Having a problem with the wheel not going to the next cartridge...there is a message on the display saying "incorrect yellow" but the yellow cartridge has been taken out and it will not go to the next slot. I am out of warranty and need my printer ca
-
Change color of data in a column
Hello experts, i am trying to change the color of data being displayed in a column based on the condition that it the value is 0 then it should be in red i have tried the following but it does not work. when-validate-item trigger on data block level
-
How do I get rid of "get started with Lightroom mobile" text in LR 5.4?
All seems fine in LR 5.4 except I have the above text where my progress bars used to display. It's dispupting my workflow. I don't see a checkbox in prefs to remove this. Any idea how I get rid of this advertisement?