cancel
Showing results for 
Search instead for 
Did you mean: 

Any bapi or funcion can be used to create a project in xRPM ?

Former Member
0 Kudos

we want to upload batch projects into our xRPM using local file. so we

need

a bapi or function to do this work.

we find a function module which is 'RPM_CREATE_PROJECT_DATA'

but the problem is we are not sure the mandatory import parameter in thestructure IS_ATTRIBUTES.

we also try to fill the two fields which are 'PORTFOLIO_GUID' and

'PARENT_GUID', the result is we can find the new created project in the

satabase table. but unfortunately we get an error said that'The

project's

guid is missing' when we open the new project in portal

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

thanks,all guys.

I decide to use sap standard function to upload the items in xRPM.

The transaction code is : RPM_DX

thanks very very much,

love u. haha

former_member386290
Participant
0 Kudos

Dear Experts (especially Prashanth and Sharad if you are still here),

I want to create (and / or modify) a Portfolio Item via a program. One possible way of doing it by using the function module /RPM/ITEM_MODIFY to create an item but it I can not get parameters to this function modules right and as a result getting error that "Exception occurred in the update of the application object".

Can somebody help me please by giving some example of using ths function module or something else?

Best Regards,

ABAper

raj-bups AT excite.com

Former Member
0 Kudos

Michael,

You may use function module /RPM/ITEM_MODIFY. You need to fill the at least the following.

-Portfolio GUID,

- Parent GUID ( Bucket GUID where you want to place your item)

- Project external Id

- Project Description

- Item Type

Once you save the items, you may need to change decision points ( /RPM/DECISION_POINT_GETLIST, /RPM/DECISION_POINT_MODIFY ).

You may need to change Access Control Lists ( permissions) using /RPM/ACL_DISPLAY, /RPM/ACL_MODIFY.

You may need to populate Financial planning data using /RPM/FIN_CATEGORY_GETLIST, /RPM/FIN_GROUP_GETLIST, /RPM/FIN_GROUP_MODIFY.

You may need to populate the Capacity Planning Data using the function modules similar to financial planning.

And never forget function module /RPM/SAVE_CHANGES'.

Former Member
0 Kudos

Hi Michael,

You could use the function module /RPM/ITEM_MODIFY to create an item.

Additionally, you could also use the API class of item to create the item. Please search for the class /RPM/CL_ITEM*API. If I remember right, it should be /RPM/CL_ITEM_O_API. There should be a modify method in this which you can call. This is what will also be called from the top level /RPM/ITEM_MODIFY RFC.

Best Regards,

Prashanth

amit_maheshwari2
Contributor
0 Kudos

Hi,

You can use standard upload functionality to upload portfolio items in PPM.

Get the data in excel template and upload the data.

Regards

Amit