How to get the Base quantity for a given production orders?
From the production order t-code CO02/CO03, I have a requirement to pull the base quantity from the
Operations details screen. Any ideas how to pull this value? My requirement is to pull this Base quantity value for a given order number and put it in a separate flat file and download the file to local disk. I am writing a new program to do this.
Here is the path:
T-code : co02/co03 Enter production order number . This will take to the header screen
Then click on the operation overview icon on the toolbar.
Then double click on one of the line items. This will take to the operations details screen.
Then click on standardVals tab. There is a base quantity.
Thanks for all the great help,
Vikram Jalali replied
AFVV is a transparent table with description "DB structure of the quantities/dates/values in the operation" with key field as AUFPL (Routing number for operations in the order). SO once you have the routing #(AUFPL) from table AFKO (Order header data PP orders), retrieve AFVV-BMSCH field from AFVV tbl based on AFKO-AUFPL field value. Both AFKO and AFVV are transparent tables.
Hope it clarifies.
Do let me know in case of any concern
Pls reward helpful answers!!