cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms

Former Member
0 Kudos

hi,

I want to print only two(any) columns from makt table in smartforms.

I made an internal table of two columns.

Error is occured while passing this internal table to form interface.

What should i write in form interface of smartform.

Tell me some modifications in internal table of report, if necessary.

Edited by: Nitin toraskar on Feb 28, 2008 6:09 AM

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

hi

solutin given by p31879.. is righttry that ,

create z-structure in SE11 with fields u have in ur internal table , and in same sequence as in internal table ,

in SF form interface define ITAB LIKE Z-structure.

this will solve ur prob

reward if helpful.

Former Member
0 Kudos

hi,

create a table type and declare it in the tables option of the form interface.

fill the internal table and pass it from the driver program to the smartform.

sreelatha_gullapalli
Active Participant
0 Kudos

hi

To get the values from any table we have to write code and in that call the smartform.

Regards,

Sreelatha Gullapalli

Former Member
0 Kudos

Hi Nitin,

Declare a ITAB in the form interface of the smartform,

create a z structure for your itab.define a table type for the same z structure.table type for the structure can be created in SE11.

now define the itab as mentioned.

ITAB type z structure-table type

work area for the same itab will be defined in global definitions.

wa type zstructure.

hope this will solve the problem.

Former Member
0 Kudos

Hi Nitin,

You must be having material number printed in smartforms..so try to write the code inside smartforms rather than passing it from print program...

if u don't have material number than have to define internal table of type makt..

hope this may help u...

thanks and regards,

prashant

Former Member
0 Kudos

is it possible without writing any code in smartforms?

Former Member
0 Kudos

hi Nitin,

it is possible but then u will have to pass values from print program...

thanks and regards,

Prashant

Former Member
0 Kudos

Hi,

The easiest way as said above is to create a structure of your table in se11 and then making use of that in declaring the internal table at your form interface. By this way you avoid coding but will have to create a new structure.

Regards,

KK

sreelatha_gullapalli
Active Participant
0 Kudos

hi

in form interface declare the workares type as your table in import.

hope it will help you.

Regards,

Sreelatha Gullapalli