on 11-15-2007 7:49 AM
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 .
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.