Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Pass internal Tab

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 .

Former Member
Former Member replied


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.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question