Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Process order activity confirmations

Former Member
0 Kudos
256

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...

2 REPLIES 2

JeevanSagar
Active Contributor
0 Kudos
60

Function module documentation BAPI_PROCORDCONF_CREATE_TT is for Process Order.

0 Kudos
60

Thank you for your reply. That is working now.