cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer custom item fields internal table on SC on SAVE button - Urgent

Former Member
0 Kudos

Hello friends,

I have some custom fields on a z component which i am using as a comp usage in std component at SC.

The std component is /SAPSRM/WDC_DODC_SC_I_BD, which is at item details level.

Now for each item.. user has to click the a custom button(which i have placed on std component) and called the z component for custom fields as a pop up to provide the required data.

Whenever a user supplies the info for custom fields fore each item,

I have managed to store all the details of the custom fields in an global internal table at view level.

When the user clicks on save button in the SC on portal, i have to pass this internal table for saving in the Std table BBP_PDISC.

(I have managed to define and add the my z fields using SPRO> extension & field control>define custom fields...etc.etc.

now the fields are in BBP_PDISC)

Now in std component.. in the portal application.. the context always.. contains only the current item data ie.. being processed at run time.

How does the std component does the saving of all the items(for example.. 3 or more items)?

Is there any FM and how can i do the same by passing my custom fields internal table when a user clicks the save button.

Regards,

Vinay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved by myself..

Used the set_changed_by_client method of the IF_WD_CONTROLLER.