cancel
Showing results for 
Search instead for 
Did you mean: 

How can I assign value to different dynpro componet field

Former Member
0 Kudos

Hello ,

I have a web dynpro component( RMAN_PRSPCONFMAIN_COMP from ECC6.0) which displayes information for confirmation on a screen using window. This window is made up of 4 different dynpro components.

4 th dynpro component( RMAN_PRSPCONFBUTTON_COMP from ecc6.0) displays 2 buttons (final confirmation,partial confirmation). I need to create third button next in this component. once user clicks on next button , service order's next operation details should be populated in above first 3 dynpro components.

How can i assign value to different componet field from this buttons dynpro component.

Pl can you suggest on this.

thanks,

Sharada

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sharada,

One of the ways could be .. raise event, one for each component, when the user clicks on button .. now you can upload the data that you desire in these components ..

This should work .. incase it doesnt keep the thread open

Regards,

Anoop

Former Member
0 Kudos

pl can anyone suggest on this.its bit urgent.

thanks in advance,

Sharada

Former Member
0 Kudos

pl can anyone suggest on this.

thanks,

Sharada

Former Member
0 Kudos

Hi Sharada,

You can pass the values from one WDP component to another using assistance class.

Create a "Z" subclass using CL_WD_COMPONENT_ASSISTANCE as Super Class.

In the Attribute Tabpage define a variable "pernr"which will hold the data from one application to another.

Steps for assigning the class to you application

1) Select the Web Dynpro Component

2) You will see a field for Assistance Class--> enter the name of your ZClass.

You can directly access the variable in you application as

wd_assist->pernr

Hope this helps you.