Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

In the main window of WD component define importing parameter (for example SYSTEM_ROLES with type IHTTPVAL (predefined type - string):

  

Add the parameter to the WD application

In the ABAP code (the place where the WD application is called) define table – type TIHTTPNVP, line type IHTTPNVP.

 

In this example information which is needed to run the WD application form ABAP is in the table IT_SYSTEM_ROLES – type ZSYSTEM_ROLES_TT, line type ZSYSTEM_ROLES

Use the following code to move the content of table ZSYSTEM_ROLES_TT to TIHTTPNVP.

Note: Use different separators to divide the values of the fields in one row and the content of the rows in the table. In this example for fields is used space and for rows is used comma.

Now call the application using FM WDY_EXECUTE_IN_PLACE

 

In the WD component, either in WDDOINIT method of the VIEW or in WDDOINIT method of the COMPONENTCONTROLLER, you can get the application parameters using the following code:

And in the end, move back the parameters to the table ZSYSTEM_ROLES_TT

 

Labels in this area