Split one sales order line into multiple item line on invoice
Hi,
When create proforma invoice from sales order (TCode, VF01), we can have multiple batches for on sales order item line. On invoice, we have requirement to make each batch become a single invoice line. Any help on how to do the split?
Thanks.
--Wenning
Are you talking about a report to show all the line items of the order. MAy be I didnt understand you correctly.
The key to both the tables is VBELN.
However for any Invoice the line item in in VBRP tbable and the corresponding Header in VBRK.
You could write to query to combine the lines in VBRP to one line based on your requirement.
Shreekant
Similar Messages
-
Create ecatt script for one sales order creation with multiple line items
Hi ,
I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
This selection of data will be from an external file/ variants which will have only one row of data in it.
Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
Second: I have to create sales order for those many line items having same PO Number.
Best Regard
TaranumHi Micky
Firstl you should upload the Line items for a particular sales Order in an Internal table
and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
In case of any issues pls revert back
Reward points if helpful
Regards
Hitesh -
Open Sales Order table with multiple schedule line....
YUSUF BHORI wrote:
Hi Experts,
In Sales Order there are multiple schedule line for single item.
Where and in which table i can find open qty for order ,material, item and schedule line items.
I Want open items for each schedule line. For One vbeln, posnr there multiple etenr.
Urgent,
Yusuf.Hai,
Join VBAK & VBAP and store data in an internal table GT_VBAP to get Sales order numbers, items, materials.
Get Open Sales order items from VBUP into GT_VBUP where VBUP-GBSTA NE 'C'.
LOOP at GT_VBAP.
Read table GT_VBUP with key vbeln & posnr.
If sy-subrc <> 0.
delete GT_VBAP.
endif.
****Fill your Final Report Internal table with required field values **Append into that internal table
ENDLOOP.
Now Select WMENG BMENG from VBEP into GT_VBEP for all entries in GT_VBAP.
LOOP AT GT_VBEP.
*******Again Modify your Final Report internal table with these values
***VBEP-WMENG is Ordered Qty
***VBEP-BMENG is Confirmed Qty
************Open Qty = Ordered Qty = Confirmed Qty***
************Open Qty = VBEP-WMENG = VBEP-BMENG.***
ENDLOOP.
Edited by: Eswara Rao Aakula on Dec 24, 2007 9:56 AM
Edited by: Eswara Rao Aakula on Dec 24, 2007 9:57 AM -
I'd like to order several books, and different prints and different sizes, etc through iPhoto. But it appears I can only order/buy/ship one item at a time... is there a way to get a "shopping cart" going so I can keep adding to it and then just do one big order and have one shipment arrive (or at least some consolidated shipments). I don't want a separate package for each print I am ordering... will Apple do this automatically if I order 15-20 items within one hour...?
Thanks.Afraid not.
Regards
TD -
One sales order and two invoces - Invoice split
We have a order that is being split into two invoices. There are two plants involved in one sales order... part is shipping from US and labor is performed in Korea. The invoice split analysis reveals that the tax departure countries of the line items are different. The plants are in different countries.invoice based on different tax departure countries.
The problem is we have a user that is requesting to have both of these items on the same invoice.
I have two questions:
1) Is it possible to have these items on the same invoice?
2) Even if we could put these items on the same invoice, is it a good idea? What are the negative consequences of doing this, etc.?
I was thinking to acheve this through copy control. ?To my knowledge, it is not advisable to combine the line items that are being serviced from different countries .
As you would be aware that all sellers would be submitting their statutory sales tax statements to their local sales tax authorities periodically where they need to give invoice wise tax break up. Here in the above case, if you club different tax structure in one billing document, it is not possible to show invoice wise break up. Moreover, at a later date, in case of returns also, this will have an issue from tax point of view.
So in all the probabilities, it is possible to force the system in such a way to combine into one invoice, but it is not adviceable to do so.
thanks
G. Lakshmipathi -
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?
Thankshello,
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 -
Only one delivery to be allowed against one Sales order at item level
Hi,
I have a requirement for some material in sales order if SO quanity is 25 we want that system should allow to create delivery of all 25 quanity one time we try to use Max.Part.Deliv. at item level by amking as 1 but system is juts giving the message and alowing to create multiple delivery, can we map as per our requirement.
regards,
zafarHello Zafar,
your requirement of complete delivery required for some materials only, so it has to be taken care manually when user creates sale order, for those specific items complete delivery should be marked at item level (run availability check for the item and mark for complete delivery).
If you want a permanent solution, please go for a development - define a table & maintain all the materials which are required to be delivered as complete delivery and then modify the sales order program, there is a specific include where the abaper can do this code change.
Regards
Suresh. -
How to restrict two items in one sales order.
Hi ,
My client wants that in one sales order two material say Mat -A and Mat-B should not go together. It should go in seprate sales order due to chemical nature both product should go seprately.
Kindly advise me how to configure it. Give full details
Regards,
BaluHi
Chemical in nature will have reaction when the some chemical composition are similar or opposite group this logic will apply to maintain the inventory for those materials at storage location level
If A and B materils should not be in one deliver means we should nt put them closer same will apply at the time of inventory and same wil be different storage locations, provided that if we worst case producing same in single plant
Hence if any customer may order for the above two materials those two are determining different shipping points in the Order and subsequently delivery split will take place but in order to achecive this we need to maintain the different shipping points for those nature chemicals.
Regards,
Ram. -
Split at sales order item level
Hi SD gurus...
Iam trying batch determination at sales order item.
I could get every thing except batch split/ Even though required split are maintained in batch search record, it is getting as 001 only at the time of determination during sales order.
I think this is a standard phenomena. is there any work arround possible to get the required batch split at sales order item level.
warm regards
sairam akundiHi Sairam,
Contrary to deliveries, batch splits are not possible for sales orders (as opposed to delivery). Even if you have defined a certain number of batch splits in the batch search strategy, the system overrides this default setting.
Maybe you can explore USEREXIT_MOVE_FIELD_TO_KOMPH -
Sales order delete and rejecting the line items
Hi,
1 )What is the difference between deleting a sales order and rejecting all the line items of a sales order.
2) Are there any pre-conditions for deleting a sales order.
3) why there is a need to reject line items of a sales order
regardsWhat is the difference between deleting a sales order and rejecting
If you delete a sale order, you cannot retrieve it or view it. On the other hand, if you reject any sale order, at any point of time, you can retrieve that sale order and analyse as to why it has been rejected.
Are there any pre-conditions for deleting a sales order.
Certainly not. Its all depends on the discretion of the user. Of course, you cannot delete a sale order if any subsequent document exists.
why there is a need to reject line items of a sales order
Customer has placed an order and at a later date, due to some reason, they have asked the client not to proceed with production against that sale order. Now if the Management decides to track such of those sale orders, you can assign reason for rejection and have it in system for record purpose.
thanks
G. Lakshmipathi -
Multiple quotation for one sales order
Hi all,
My requirment is to create one sale order that reference from many quotations. From what I try in CRM, when I want to create a follow-up document, I have to start from the quotation and choose create follow-up document then the sale order will be created. However, that's only good for one quotation one sale order.
What I want is to have a sale order that referenced from many quotations, is this possible in CRM?
Thanks in advance for all the helps.Hi Gilbert,
As u rightly said one quotation one sale order as a folow up.
But u can make use of <b>Object Relationship Profile</b>, to be added in ur transaction type of sales order.
So after creating a sales order in refernce to a quotation, u can add other quotation in the Relationship tab which gets added to the Transaction screen.
This will also update the document flow.
The object Relationship Profile can be added in trnasaction type as well as Item Category.
Regards,
Shalini Chauhan -
Change the sales order reason for rejection for line item
Hi,
i want to change the sales order reason for rejection for line item.
iam using bapi_salesorder_change.but i unable to change the sales order.
if possible please provide me what are the fields necessary for changing
sales order reason for rejection for line item.
Regards,
SureshThis is the standard config to supress printing on the rejected item. Are you using standard programs or customised ?
-
Multiple Production ordersfor one sales order.
Hi Gurus,
We have a typical MTO scenario where depending on the requirement, a planned order is converted in to production order using MD04 or using CO08.
But when both are done, system is not throwing any error message or information message that the production order is already raised. Instead both the production orders are raised and in MD04 for one sales order we can find 2 production orders. i.e the required quantity is doubled. Even system is accepting the confirmation of these production orders.
In this case an end user can raise any number of production orders for one sales order using CO08.
Kindly suggest me any settings which could restrict the raise of multiple production orders for one sales order.
Thanks in Advance.
Warm Rgds,
Ganapathi VarmaHy Ganpathi,
CO08 is manual Creation , so it is difficult to put such a control.Why you are not using sales order ---> Plan order --- >Production order means proper channel of MRP?
Pls try to control it by using Following User Exits.
- PPCO0006 Enhancement to predefine fields in order header
- PPCO0021 Enhancement for Order Release
But I this type of control creates problem when you really required new prod Order due to Malfunction or any other problem earlier order gets stuck up (less yield to complete the sales order)
Regards,
Dhaval -
Sales order : Creation of VBAP main lines from VBEP schedule lines
Hello , I am working on SAP sales order interfacing with legacy system. This is the scenario where legacy system orders will come to SAP system for availability check. I mean , the legacy system sales order are replicalted in SAP system. and the availability check runs for it in APO.
Based on the SAP system stock availability , the sub item or sub items ( schedule lines) will be created in the sales order. Here is one example of partial quantity availability.Below example shows that sap system has received a order of quantity 100.
SAP stock available is only 20 for 29th may. Another quantity 80 will be available on 30th May.
So system will create two sub items or two schedule lines.
But when I save the sales order the sub-items lines should be converted into main item lines as shown in the below example in after save.
I tried this developement by using MV45AFZZ. User exit - SAVE_DOCUMENT_PREPARE. But I am not getting right results.
I short , I would like to have single schedule line for one item line. And if there are multiple schedlue lines then for each schedule line one item line should be created automatically by the system
Before Save
Item
Schedule line
Req Date
Req Qty
Rounding Qty
Confirmation Qty
40
1
29th May
100
100
20
2
30th May
80
After Save
Item
Schedule line
Req Date
Req Qty
Rounding Qty
Confirmation Qty
40
1
29th May
20
20
20
41
1
29th May
80
80
2
30th May
80Hi Ravindra,
I think this is not possible . If the stock is not available this will display in same passion.
Regards,
Madhu. -
One sales order with number of Ship to party??
hi Experts
one customer has 10 plant . Customer give 10 PO from 10 plant to client . now my client want to create one sales order for for that customer and delivery goes to respective 10 plants (ship to party) for that customer
and
same customer can give single PO to my client but inform delivery has to place for 10 ship to party
is it possible ???
we can give one ship to party but can we put multiple ???
thanks in advanceHi Hanumant
Answer for you first question is,
you can achieve this by creating individual sales order wherein ship-to party at header level is used for delivering the line items. this is standard process.
Answer for your second question is,
This is possible by assigning multiple ship-to parties at item level. Means you can have/assign different ship-to parties for each line item of the sales document manually provided you should have assigned all the ship-to parties in the customer master data first.
You can create each plant as a ship-to party and assign them to a main sold-to party customer master.
so whenever you create delivery for this sales order the deliveries would be split since different ship-to parties and you can deliver to different plants.
Hope this helps you to understand.
Regards
Rajkumar K
Maybe you are looking for
-
Can I connect ADC monitor to new Aluminum iMac?
Is it possible (with some adapter) to connect an Apple Studio Display with ADC to the Aluminum iMac's Mini-DVI output port?
-
Acrobat crashes when using the Instance Manager
I am using Designer 7.0/Acrobat 7.0.1 on Win XP SP 2 (and tested on two other machines with the same config), and also Mac OS X 10.3.9 with Acrobat 7.0.1. The crash occurs when my script tries to hide a subform, but only when the script is called fro
-
Rate amendment for depot material
Dear all, as per my scenario we have sent some items to depot before 5 month with excise invoice the price is at 150rupees per unit. and the BED at 16% now the company want to amend the price of the product by 50rupees more. and the excise is to be c
-
Material master table/field that can store a value that indicates the sales
Hello Gurus.... My Client is looking for a material master table/field that can store a value that indicates the sales volume (quantity) of a material. If the sales volume of a material falls within the top 80% of the total sales volume, then the mat
-
All, I am using fuction module ALINK_DOCUMENTS_DISPLAY to display Content server Documents. So my question is 1. This function module have option to display only 1 document at a time. Is any other function module that can display multiple documents ?