Application Development and Automation 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: 
Read only

How to get program which is been processed in background

Former Member
0 Likes
569

Hi Experts,

While doing PI sheet (CO60) the document gets posted for movement type 101 in MIGO which is processed in background. I need know which standard program is processed to get the document posted in background.

The two function modules are configured for this i.e pi02-COCM_PROCESS_RECORD

pi05 - COCI_CONFIRM_OPERATION. I tried to debugg by setting break point in these two funtion module but it is not getting triggered.

The reason might be because the process ia automatic or any other. How can i find out how the document is getting posted the break point is not get triggered for any cases .Please suggest.

Hi Experts,

While doing PI sheet (CO60) the document gets posted for movement type 101 in MIGO which is processed in background. I need know which standard program is processed to get the document posted in background.

The two function modules are configured for this i.e pi02-COCM_PROCESS_RECORD

pi05 - COCI_CONFIRM_OPERATION. I tried to debugg by setting break point in these two funtion module but it is not getting triggered.

The reason might be because the process ia automatic or any other. How can i find out how the document is getting posted the break point is not get triggered for any cases .Please suggest.

2 REPLIES 2
Read only

Former Member
0 Likes
467

Hi Harshitha ,

The FMs pi02-COCM_PROCESS_RECORD and pi05 -COCI_CONFIRM_OPERATION

are called at multiple locations .Might be the place where u hav set the break point the FM is not getting triggered from that location but from the location where u hv not set the break point for the same FM.

Instead set the break point in the FM definition. or set the debugging swith again where actually the posting is done.

regards,

ajit.

Read only

Former Member
0 Likes
467

Put a break-point into your code and check the system varibles:

sy-cprog

sy-repid

sy-calld

sy-batch

I don't know exactly what kind of test you and to do, but the combination of these 4 variable will solve you problem for sure.