Skip to Content
0
Former Member
Jan 24, 2011 at 09:02 PM

Adjusting FIN and CAP buckets when planned start changes

41 Views

Hello,

I have a task to update the financial and capacity buckets when the planned start date of a project is changed. For instance, if the planned start date is moved out two months I need to move all of the data in the buckets out two months and clear the original buckets. I am writing a function module that will be triggered when the /RPM/ITEM_MODIFY function module is executed and the start date has changed. My function module will execute the following:

/RPM/CAP_GROUP_GETLIST (to get the original data)

...custom code to build the table of adjusted data to be passed to the next FM

/RPM/CAP_GROUP_MODIFY (to update the buckets after I have adjusted the data)

/RPM/SAVE_CHANGES

Is anyone aware of a function module that will give me the appropriate entries required for the IS_CONTEXT parameter when executing /RPM/CAP_GROUP_GETLIST. I believe I need the 'Parent GUID', 'Object type' and 'Object GUID'.

The appropriate function modules would be used for the same process to update the Financial buckets

Thanks in advance for any direction that you can give me.

Pat