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

Form interface attributes ?

Former Member
0 Likes
855

Hi all,

I am just having a doubt regarding the SAP smart forms i am just trying the select options in smartforms  for that i created a structure and the i just passed the structure name in the form interface table  column i specified

I_vbeln  type  zselect_opttest

When i tried to activated it. It throwing .  Only table types may be used as the reference type for a table parameter. it throwing error what i have to do for this .

With thanks,

Maha.

5 REPLIES 5
Read only

archanapawar
Contributor
0 Likes
794

Hi Mahalakshmi,

Use TYPES there and declare internal table in GLOBAL DATA.

Read only

Former Member
0 Likes
794

Hi,

If you want to declare internal tables in table parameters of the form interface then use Type statement with refer to structure and if you declare parameters in global data then those internal tables are local then you cant use in driver program.

Thanks,

Sree

Read only

former_member191761
Active Participant
0 Likes
794

Hi Mahalakshmi,

Please declare a table type for your structure in SE11 and use that table type her in form interface.

Hope this helps.

Regards

Sri

Read only

Former Member
0 Likes
794

Hi,

Use LIKE instead of TYPE. When using a structure to define a table in TABLES section of interface use LIKE and not TYPES.

Regards,

Ashish

Read only

prk1989
Explorer
0 Likes
794

Hi,

If you want to pass the strcture to the smartform, please pass it as import parameter rather than Tables parameter.

If you want this strcture as a table parameter, then create a table type for this strcture using SE11 and use this table type in declaration.

Please let us know if your question is solved or not.

Regards,

Praphulla