Skip to Content
avatar image
Former Member

Adjusting FIN and CAP buckets when planned start changes

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 25, 2011 at 08:33 AM

    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

    Add comment
    10|10000 characters needed characters exceeded