cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Task Container in ABAP Webdynpro

Former Member
0 Kudos

Hi All,

I have to read the task container in ABAP Webdynpro to show the details on a ABAP interactive form which is embedded in WDA. For this I have approached in the following way.

1) Task is configured in SWFVISU with DYNPARM = WI_ID=${item.externalId}

2) Workitem is obtained in UWL and ABAPWebDynpro is launched when Task is executed from UWL

3) START is the "startup" plug that triggers the HANDLESTART method

This method has WDEVENT as a standar parameter. Then the following code is for reading the URL parameters.

wdevent->get_data(

EXPORTING

name = if_wd_application=>all_url_parameters

IMPORTING

value = l_url_parameters ).

READ TABLE l_url_parameters WITH KEY name = 'WI_ID' INTO l_url_parameter.

4) Set the WI_ID to a componentcontroller attribute

5) This attirbute is now binded to the WDDOMODIFYVIEW method of the View

6) Finally set the form elements attributes of the VIEW by reading the container based on the WI_ID

Problems:

1) I am not getting the form populated

2) The form is getting populated if I hardcode the WI_ID and execute the application directly from backend.

Please tell me where I might have gone wrong.

Thanks

Deb

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

solved by self