‎2006 Dec 07 2:35 AM
Hi,
Im new to ABAP and SAPScript. Right now I'm customizing the standard form order confirmation for SD. The requirement is to get/display the total ordered/confirmed qty for regular items and free/promotional items in the customized form. How could I get the total quantities? I've checked the structure KOMK wherein the Final Amount (KOMK-FKWRT) came from but I haven't found any column for total ordered quantity.
Your help is greatly appreciated.
Thanks in advance.
‎2006 Dec 07 2:40 AM
HI Fidel
Please check table <b>VBEP</b> - Shcedule Lines. Field <b>WMENG</b> is the Ordered Quantity and <b>BMENG</b> is Confirmed Quantity.
Kidn Regards
Eswar
‎2006 Dec 07 3:09 AM
Hi Eswar,
Thanks for the reply. What I mean is the total ordered quantity (sum of all ordered quantity) for a particular sales order not the ordered/confirmed quantity per item. And I'm making a customization for the standard form RVORDER01 which called by the SAP standard report program RVADOR01. Where can I get the column?
Thanks again...
‎2006 Dec 07 3:23 AM
HI Fidel
As far as i know, quantities can be produced at item level.
To suit your requirement, i guess you have to handle by changing the code.
Maybe adding up all values of KWMENG and KBMENG for each sales order.
A small doubt has raised, how do u handle for the cases of BOM's???
Do you count quanitities of Parent and Components as well to sum and display???
Kind Regards
Eswar