cancel
Showing results for 
Search instead for 
Did you mean: 

Adjusting FIN and CAP buckets when planned start changes

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

anuradha_majumdar
Active Participant
0 Kudos

parent_guid should be item guid

object guid should be category guid - so you need to fetch all categories first

object_type should be for item

Regards,

Anuradha

Former Member
0 Kudos

Thank you, Anuradha. Your response was very helpful! I have awarded points.

Pat