cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass an internal table from a report to smartforms.

Former Member
0 Kudos

Hello,

I want to pass an internal table from a report to smartforms i have declared the structure same as the internal table but still it is giving me error.Please kindly help me with it.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ajinkya,

Could you post the error that you are getting ?

Thanks,

Tooshar Bendale

Former Member
0 Kudos

Hey thanks for replying,I passed the table to the smartform but in the

global setting>form interface>tables>the table which i have assigned the type it is accepting is just

a itab like strut_name.

nw i m trying to define work area for that it is not accepting it

Former Member
0 Kudos

If you want to declare a workarea to handle the loop inside the smartform you have to declare it in
Globla Definition>Global Data and then place ls_workarea TYPE strut_name.

If you want to declare a workarea and pass any value from a report you have to declare the structure in Form Interface>Import  using TYPE and not LIKE

gouravkumar64
Active Contributor
0 Kudos

Hi,

What I have done in one project,

Suppose one structure zhrlv ,within that,i declared all fields,as per required.

Then go to smart forms>form interface>import.

write the work area for the structure.

like this

U can do like this.

Hope it helps.

Thanks

Gourav.

vinoth_aruldass
Contributor
0 Kudos

pass your internal table in the correct format.

cheak all your data element and domain in the structures.

every attributes of the field should be the same then it will surely work.

put the debugger in smartform and check whether the entry is passing correctly or not.

hope this will helps,

Vinoth