Confirmed quantity field
Dear Guru ,
We are developing an abap program that can do the the production order confirmation ( like CO15 ) .
In order to calculate the open quantity ( "Current to Confirm" field in CO15 ) , we need the "Already Confirmed" field .
Is the "Already Confirmed" field saving in table "AFRU" ? I saw there have two fields : GMNGA & LMNGA , But i am not sure which one can be used .
And i am also not sure the relation-ship between AFPO & AFRU , because in my abap program , i only have the production order number as a parameter .
If i search the record on AFRU table with production order number , the performance will be very bad ... Does another solution can improve the performance ?
Many thanks .
There is no fuction module for check open order quantity. You can check into Table AFKO. Put your order no. and it will give you the quantity already confirmed ( Field Name : IGMNG).
Fuction Module to create confirmation: BAPI_PRODORDCONF_CREATE_HDR
Hope it soles your problem