Skip to Content
author's profile photo Former Member
Former Member

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

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.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2011 at 04:05 PM

    Solved by myself..

    Used the set_changed_by_client method of the IF_WD_CONTROLLER.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.