cancel
Showing results for 
Search instead for 
Did you mean: 

how to pass int.table in smartform

Former Member
0 Kudos

hi guru

please tell me how to pass int.table in smartform

i want to print only 50% of tha page ,how to do this.

regards

subhasis

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi subhasis,

u can define internal table at smartforms in two ways , either in form interface or global definations,

if u want define internal table in smartforms alone then u can define in Global definations where as if u want define internal table which has relation between driver program and smartforms then u can define in Form interface tab.

at the form painter itself u can adjust your main window for the print.

regards,

seshu.

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

follow the below steps.

1) in global settings -


> select form interface

2) at parameter name give your internal table name

3) type assignment as 'LIKE'

4) giv the reference type which type u r taking

5) go to first page

6) select main window

7) in main window select the DATA tab

😎 check the box internal table

9) giv the name of the internal table at internal table

10) in next box giv into

11)in next next box giv the workarea name

<b>To print 50%</b>

1) u can calculate the windows height

2) just check the page height and set how much u want

3) otherwise u can set pege break also.

Reward if useful.

Thanks,

Madhukar.

Former Member
0 Kudos

HI,

For passing the internal table into the Smart form

First you need to <b>create a Structure</b> of the same fields as in internal table.

After doing that goto <b>Form Interface</b> of the Smart form and in the tables tab define

internal table type that Structure.

For getting a output in 50% of the page you need to Set the width of the table accordingly.

sachin_soni
Active Participant
0 Kudos

hi subhashish,

First declare an internal table in your print program.

2nd fetch appropriate data into it.

3rd declare it in the form interface part of your smartform.

4rth looop at it by any way and display wherever u want.

this will help

regards

sachin

Former Member
0 Kudos

U need to declare a internal table in the smartform definition. this will accept the internal table u pass from the driver program.. u can use looping within smartform and then print the internal table. u can print the internal table within the main window. if u want it to occupy only 50% then u can set the window size accourdingly

Come back for any queries

reward if useful