2011 Sep 13 7:13 AM
I have a requirement to write a program which automatically confirms the secondary resources in an opeation, for a specific AUFNR. The manual confirmation is done using COR6N.
I am fetching all the relevant fields from gt_phase parameter of the bapi bapi_procord_getdetail. Now I have to do the calculations of each standard values for activity types mentioned in the secondary resources. If the total quantity to be produced is 100 kg, and if the yield is 5 kg, then I am calculating 5% time for each activities mentioned there.
For viewing all the operations and secondary resources, the tcode is COR3.
Now my confusion is, how should I confirm these activitis. THere are two function modules, BAPI_PROCORDCONF_CREATE_TT and BAPI_PRODORDCONF_CREATE_TT. Which one is the right one? Also, how will I pass my calculated values for activities. If we are specifying the yield parameter there, do we need to do the calculation really? Please help me...
2011 Sep 13 5:54 PM
Function module documentation BAPI_PROCORDCONF_CREATE_TT is for Process Order.
2011 Sep 14 5:09 PM