cancel
Showing results for 
Search instead for 
Did you mean: 

how to exchange data between wda program and abap program?

Former Member
0 Kudos

Dear guru,

the situation is:

we have a abap program , which uses

CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'

EXPORTING

  • PROTOCOL =

  • INTERNALMODE = 'X'

  • SMARTCLIENT =

application = 'YHREFM_WD_APPROVE2'

  • CONTAINER_NAME =

PARAMETERS = lt_parameters

  • SUPPRESS_OUTPUT =

  • IMPORTING

  • OUT_URL =

  • CHANGING

  • VIEWER =

EXCEPTIONS

invalid_application = 1

browser_not_started = 2

action_cancelled = 3

OTHERS = 4

.

to call a wda application inside sapgui, and we want to get data return by the wda application in the program.

we tried to use EXPORT/IMPORT TO/FROM MEMORY, but failed.

could you please tell me how to do that?

br

zj

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

For integration between SAPGUI and WDA, the only supported solution is to have two iViews within the same portal page. As mentioned in the linked thread, this function module is not released for customer usage. You could setup a parameter transaction around WDYID and launch the WDA application from a SAPGUI transaction.

For communicaiton of data, I wouldn't suggest anything that relies on memory communication. In a multiple application server envinroment, there is no way to know if the two sessions will be on the same application server due to load balancing. Therefore you should fall back to communications at the database level. Write data into a temporary database table. Consider using Server Cookies.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi!

Which data-type has your table? TIHTTPNVP i think? Can u tell me how the parameters in the table look like for example?


PARAMETERS = lt_parameters

How can i use these parameters in the webdynpro?

Thanks

Philip

Edited by: Philip Schmidberger on Jun 10, 2009 11:08 AM

Former Member
0 Kudos

Hi,

You can use following link.

I hope it helps.

Regards,

Rohit