2009 May 18 1:25 PM
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.
2009 May 18 1:44 PM
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.
2009 May 18 1:48 PM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |