cancel
Showing results for 
Search instead for 
Did you mean: 

Passing values from custom wdp to stand wdp component

Former Member
0 Kudos

Dear Experts,

Can anyone tell me " how to pass values from custom wdp component to standard wdp component?"

Example : Standard wdp component has Text edit UI element.Now my requirement is i need to create custom wdp component say with Text edit UI element.When i enter some text in custom component and after click on SAVE button,it should get reflected in  Standard wdp component has Text edit UI element.

Please guide me how to do this.

Thanks

Santhosh

Accepted Solutions (1)

Accepted Solutions (1)

mh97
Contributor
0 Kudos

Which standard component are you using?

Are you embedding the standard component in your custom component as a component usage?

Try this section of the SAP Help:

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/a7/1d8b412bb5b35fe10000000a1550b0/content.htm?frame...

Answers (2)

Answers (2)

former_member197425
Active Participant
0 Kudos

Hi Santhosh,

From your requirement i assume that Std.component is being called from custom component after entering some data in Text edit of Custom component.So in order to achieve this follow below steps:

1. Create a Class having an attribute of type STATIC.And fill that attribute in Custom object.

2. In the Std.component in MODIFYVIEW/INIT method whatever it is according to your requirement find the proper Hook method create Enhancement for the Hook method and write the code in POST-EXIT method to fill the data of the Text Edit UI related node attribute with Static attribute of the Class.

Thanks,

Nandi.

Former Member
0 Kudos

Thanks All,

Issue resolved.

Regards

Santhosh

Former Member
0 Kudos