cancel
Showing results for 
Search instead for 
Did you mean: 

Pass internal Tab

Former Member
0 Kudos

How can I pass an internal table to SmartForm.

If its one table with 3 fields I know how to pass

EG : i_mara with matnr , Meins , Mbrsh.

In smart form in Import parameters ,under tables tab i declare a table "i_mara like mara".

That is fine.

But if i have an internal table like this

data : begin of i_itab occurs 0,

matnr type mara-matnr,

maktx type makt-maktx,

ebeln type ekko-ebeln,

meins type mara-meins,

End of itab.

In my se38 using select queries I can populate i_itab with respective matnr maktx ebeln meins,

If requirement is such that I dont a have a common structure for all these fields, then how do i pass it to smartform,

In import parameters under tables tab, how do i declare i_itab. What should be in associated type .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You will need to define this set of fields as a structure in SE11, then declare your print program structure and smartform interface structure using this central definition.

Regards,

Nick

Answers (0)