Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Export internal table from report to web-dynpro

Danish
Explorer
0 Likes
915

Hi,

I am trying to export an internal table from a report to my web dynpro pragram however its not working.

Statement used in my report -

EXPORT it_ordbk FROM it_ordbk TO MEMORY ID 'ZORDBK'.

Statement used in my web dynpro program

IMPORT it_ordbk to it_ordbk FROM MEMORY ID 'ZORDBK'.

This dynpro application is being called in HTML container on the screen.

Kindly help.

Cordially,

Danish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
673

Hi Danish,

do not use export or import in Webdynpro.

try to create a class with global variables and in the report or at the place of Export fille the data .

and next in the place of Import memory to to call the global variable in the webdynpro and fill the internal table

go to se24> create a zclasss-> methods initialize>create a ztable same as export table and also declare in glaobal vairaible

--> next in the webdynpro program -->call the method retrive and push the global data to internal table.

Prabhudas

3 REPLIES 3
Read only

Former Member
0 Likes
674

Hi Danish,

do not use export or import in Webdynpro.

try to create a class with global variables and in the report or at the place of Export fille the data .

and next in the place of Import memory to to call the global variable in the webdynpro and fill the internal table

go to se24> create a zclasss-> methods initialize>create a ztable same as export table and also declare in glaobal vairaible

--> next in the webdynpro program -->call the method retrive and push the global data to internal table.

Prabhudas

Read only

0 Likes
673

Hi Prabhu,

Thanks for your reply.

You said to create a Ztable for this... so do i have to fill the data every time in the ztable whenever i want to export the data?

Cordially,

Danish

Read only

0 Likes
673

Hello ,

try like this , for more info , please see the KEYWORD documentattion .

EXPORT tab = itab

TO DATABASE indx(XY)

FROM wa_indx

ID 'TABLE'.