Application Development 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: 

Smartforms :How 2 Pass ITAB 2 layout plz look into this

Former Member
0 Kudos

hello Gurus

i need to pass a Internal Table(few selected fields form table LIPS ) with multiple records 2 my Smartforms Layout.

How do i do ? i cant use structure for the same since it can hold only one record .

Any sample code plz.

I have given points 2 u people .

Plz help .

Moni

Message was edited by: md monirujjaman

1 ACCEPTED SOLUTION

sergey_korolev
Active Contributor
0 Kudos

First, you have to define the structure of your itab in the dictionary - create a structure and a table type referencing the structure in SE11.

Second, you have to define table parameter in your smart form, typed with the table type created.

Third, in your program code you have to pass itab as the defined table parameter.

4 REPLIES 4

sergey_korolev
Active Contributor
0 Kudos

First, you have to define the structure of your itab in the dictionary - create a structure and a table type referencing the structure in SE11.

Second, you have to define table parameter in your smart form, typed with the table type created.

Third, in your program code you have to pass itab as the defined table parameter.

0 Kudos

Dear Sergei

Many many Thnnx 4 ur help.

Thnx again

0 Kudos

Dear Korolev

One small doubt related to this

What will be the data type 4 these Sales order text

Mark no : SO item text

Pack type : SO item text

Line Item Desc:SO item text

Plz help

0 Kudos

Look in your standard transaction and press F1 F9 (F9 is technical info) that will be your element text.

Frédéric.