on 10-25-2007 2:38 PM
Hi all,
I want to print the header detail (in a secondary window) from the internal table of my driver program. Is this possible . How should i do this.
Where should i declare my internal table.
Regards,
Priya
When i am declaring the form interface --> internal table type similar to the structure created in se11. It is giving an error " Only table types may be used as the reference type for a table parameter"
How to overcome this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You should create a dictionary structure as that of your internal table structure.
In the form interface in the smartform, under import tab, you should give internal table name and the type as the dictionary structure type.
Then from your driver program you should pass the internal table to the smartform function module and use the same in the smartform.
Regards,
Jayanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have done similar to what u have told.
In my driver program
i have written as
call function fm_name
exporting
itab = itab
In the smart form, I have declared as u told
I create a secondory window and a text element
in the text element i am prinitng as &itab-field&.
But in the ouput screen it is showing as blank,.
What could be the problem
Priya,
If your requirement is just to print the header before printing the table, then you don't have to print it in the secondary window, just create a table under your main window, create a line type and fill out the header node under the 'table' node. Let me know if this works out for you.
Vinod.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.