Skip to Content
0
Former Member
Jul 13, 2006 at 09:42 AM

Dynamic week calculation in updating info structure

230 Views

SAP uses program RMCBDISP to update information structure S094 (requirement and stock analysis in inventory controlling). To automatically update the info. structure a variant of the program is created and scheduled in a background job. Usually in this type of update you want to fill up the info structure with data for current week and e.g. the next 20 weeks. However, your only choice of period in the original RMCBDISP is to choose a start week and end week.

To solve this problem I have just installed Note 769747, which is supposed to help on this issue. A new program has been installed, Z_RMCBDISP. Now you can create variants where you choose a start date and instead of a end date you specify the total number of weeks. According to the note the program now determines the week following the start date you entered and builds the S094 information structure for that week and for all subsequent weeks up to the total number you entered.

My problem is that this really does not help if you schedule a variant of the program as a background job and want a dynamic week calculation. This because the start date that you specify will not change unless you manually change it in the variant, it does not help if you specify the total number of weeks instead of the end date unless the start date changes automatically to e.g.. current date.

Does anyone have a proposal how to solve this?

Thanks!