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

Passing table to smartform?

Former Member
0 Likes
546

Hi,

I want to pass table to smartform from print program.

But in table tab of form interface when I am trying to define table there it is accepting only system defined types.

Is there any other way to define table in form interface of smartform without system defined types? I mean I want to pass table to samrtform without defining type in system & then defining table of that type in form interface.

Anybody knows how to do this?

Regards,

Prafulla

Hi,

I want to pass table to smartform from print program.

But in table tab of form interface when I am trying to define table there it is accepting only system defined types.

Is there any other way to define table in form interface of smartform without system defined types? I mean I want to pass table to samrtform without defining type in system & then defining table of that type in form interface.

Anybody knows how to do this?

Regards,

Prafulla

3 REPLIES 3
Read only

Former Member
0 Likes
515

Hi

In the form interafce you have to use tables/structure defined in SE11 only.

You can define your custom structure in SE11 or custom table type in SE11 . Hope this helps.

Cheers

Read only

former_member221770
Contributor
0 Likes
515

Hi Prafulla,

I don't believe you can pass a table into a SmartForm without defining it as a Table Type.

You only need to use the Table Type definition inthe SmartForm. From your APplication Program (print program) it can be a locally defined internal table.

To create a Table Type, goto SE11 and select Data Type. Choose "Structure" and define your fields, save and activate. Now go back to SE11 and select Data Type. Enter in your Table Type name. Now when it asks what type you want choose "Table Type". Enter in your Structure as your line type.

Hope this helps.

Cheers,

Pat.

Read only

Former Member
0 Likes
515

hi,

It's not possible, you must use system defined table only, the object must be available in SE11. this is not necessary to be a table/view, you define one strcture and that can be linked in form interface .

Cheers,

Sasi