cancel
Showing results for 
Search instead for 
Did you mean: 

GATP: How to know when BOP result has been posted completely to R3 ?

thomas_schulze2
Active Participant
0 Kudos

Hello experts,

we are using a GATP-BOP process in SCM-APO to reschedule SD Orders daily. We would like to make a follow-on job dependend on the fact that the BOP has finished in SCM. In SM37 the BOP run gets status "finished" but the posting of the Sales order changes goes on for while in R/3 if one observes SM13 (posting queue in R3). Is there a systematic way to know when a BOP has completed including posting the sales order changes to R3 ?

There is a BOP status = "X" which indicates in SCM the completion of the posting to R3 for a BOP run ... but obviously this is being set later after the background run of /SAPAPO/BOP has finished in SM37 ..

Regards

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Thomas

As you have mentioned, BOP status "Update Ended" (X) indicates that the updates are actually complete in R/3. Job completion in SM37 does not gurantee the completion of update. When you are running a significant volume of orders or you have some isue with CIF, there may be time lag between the two. I think you can fetch it from Table /SAPAPO/BOPHEAD field STATUS.

Thanks,

Prasun

thomas_schulze2
Active Participant
0 Kudos

Hi Prasun,

thanks for the hint ... we will check how to catch the /SAPAPO/BOPHEAD status field.

Regards

Thomas

Former Member
0 Kudos

Hi Thomas,

You could go with the option of checking the status in the table, which would require a program which keeps checking for the status in Table- /SAPAPO/BOPHEAD for the latest BOP run -If you have multiple BOP runs then probably more coding.

Or

Another Option which does not require coding- Time the BOP Runs and check to see how long it takes to update the Sales Orders from APO to ECC, you can check the stats in /sapapo/bop_monitor. Let us say it takes 30 mins for the status to go from I to U.

Then put a dependency of more than "30 mins+ some buffer time" before the next job.

We have the same requirement and our BOP finishes in less than 30 mins(Max limit) and we use Process chain and put a dependency of 45 mins for the next job to start- Both ECC remote job and APO local chain.

Thanks

Kumar

thomas_schulze2
Active Participant
0 Kudos

Hello Kumar,

we will setup an ABAP program waiting for the status = X for a certain BOP TRGUID. The report will then finish to indicate a follow up job to proceed.

Process Chain is an option but company has decided to use an external job scheduling tool .. unfortunately. And my fear is that the runtime for the BOP to finish into status X might vary significantly so that a save runtime estimation becomes difficult.

Regards

Thomas

Answers (0)