Skip to Content

PP/DS - CDP - Batch Maintenance of Blocks

Hi experts,

We have implemented PP/DS in a CDP scenario where we need to schedule multiple resources based on the same block constraints. Hence, we have defined one dummy MAIN resource which only serve the purpose of maintaining the master block schedule. The block definition on the MAIN resource needs to be copied in near real time to multiple CHILDREN resources. After the blocks are copied, standard rescheduling function of orders are being done by the planners to take into account any changes of blocks schedule.

In order to accomplish that, we are using Badi /SAPAPO/MC01_BLK with method BLOCK_CHANGES_PUBLISH.

  • User modifies block definition characteristic and/or time interval on the MAIN resource
  • The system enters in the Badi to capture all modifications which occurred on the MAIN resource
  • The system then loops through all the CHILDREN resources which need to be updated and proceeds with copying blocks from the MAIN to each CHILDREN, using standard functions CALL FUNCTION '/SAPAPO/MC01_RUL_DELETE' and CALL FUNCTION '/SAPAPO/MC01_RUL_TR_COPY'

The changes are committed to the data base and the relevant tables which store blocks definitions and intervals are successfully updated

However, we realize that the changes are somehow only updated on the database side and not on the Livecache when trying to perform rescheduling functions. The Livecache still has in memory the previous block definitions, even though the tables are up to date.

It seems we are missing some function to force the livecache update, however we have not been successful with that so far. Does anyone have any ideas to force livecache update? We have tried the transaction /SAPAPO/OM17, the program /SAPAPO/MC01_DB_INCONSISTENT, but we did not have luck with any of those.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers