cancel
Showing results for 
Search instead for 
Did you mean: 

Function module for portfolio item.

0 Kudos

Hi All,

Task:

Use Function module to get details of a portfolio item.

What we did:

1. In portal, under portfolio management.

2. we created a portfolio items with Bucket type.

3. It generates a ID and we are filling the details, saving the portfolio item.

what we tried:

In se37, /rpm* tried many. But here we have portfolio id, guid, object id,guid. But we didt find any simple FM which takes ID only.

Doubt:

1. Can we get the details of portfolio item using a function module with item ID which was created.

2. We have lot of information like decision points, notes and miscellaneous. Each has individual tabs again for item, can we get it with function modules.

Help us please.

Accepted Solutions (0)

Answers (1)

Answers (1)

amit_maheshwari2
Contributor
0 Kudos

You can get the item details using function module /RPM/ITEM_DISPLAY.

Cheers

Amit

0 Kudos

Hi,

Thanks for your reply.

We all ready gone through this function module /RPM/ITEM_DISPLAY.

What we found:

1. In FM /RPM/ITEM_DISPLAY, Import parameters- IS_CONTEXT have fields like PORTFOLIO ID,PORTFOLIO GUID,PARENT ID,PARENT GUID. we dont find field called EXTERNAL ID.

2. But if we are giving the above details for the IS_CONTEXT, in Export parameters- ES_ATTRIBUTES we can find EXTERNAL ID.

3. Or if we are giving the GUID in import parameter, in exporting we receive the EXTERNAL ID.

Doubt:

1. Can we give the EXTERNAL ID as import parameter and recive the details of an portfolio item.

2. On research we found that the details can be get through the Classes and method. Is this possible in this way.

0 Kudos

Hi,

We find a Form : /RPM/FORM_PFS_ITEM.

1. In this form it as all the details about an portfolio item.

2. when i click on print, it gets all the details of portfolio items in a PDF format.

Process:

1. I placed a break point in Web Dynpro component /RPM/UI_FACTSHEET,

  • get single attribute

lo_el_print_params->get_attribute(

EXPORTING

name = `PRINT_TEMPLATE`

IMPORTING

value = lv_print_template ).

2. lv_print_template = /RPM/FORM_PFS_ITEM.

Doubt:

Here we cant find how data is exactly filling the relevant filled for the form /RPM/FORM_PFS_ITEM.

Can you explain how.

help us.

Regards,

Ravindrakvs

Edited by: ravindrakvs on Oct 23, 2011 6:11 PM

amit_maheshwari2
Contributor
0 Kudos

You can pass external id of item as object id in the function module /RPM/ITEM_DISPLAY to get item details.

Cheers

Amit

0 Kudos

Hi Amit,

we found that form /RPM/FORM_PFS_ITEM, filling using methods, We don't find any FM in the program level.

My Doubt:

how data is exactly filling the relevant filled for the form /RPM/FORM_PFS_ITEM.

Answer: code from /RPM/UI_FACTSHEET (web dynpro component).

1. In the Class Interface: CL_INM_SESSION_STATE , method : GET_INSTANCE.

getting the details for the Portfolio Id, parent_guid, object_guid.

2.In the Class Interface: /RPM/CL_PFS_FORM_MODEL_ITEM, method: GET_DATA.

Complete details for the portfolio item. gets the external id, general and additional information.

Regards,

Ravindrakvs.

Edited by: ravindrakvs on Oct 25, 2011 4:12 AM

Edited by: ravindrakvs on Oct 25, 2011 4:15 AM