on 06-01-2007 3:03 PM
Hello All,
I am having a problem with smartforms and loop. I have a code defined in the smartform that call a function module and fetches data into a table in smartform, now this table is NOT a part of standard form interface, I have defined as a global paramter but not in standard form interface, now i want to loop in that table, what i think is that i can use loop only if the table i want to loop is in standard interace of form, please advise if thats the case and alternative solutions would be great,
thanks,
RS
Hi ,
Declare the internal table in Global Declarations .
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI reena,
U hav no restrictions like that. We usually use a form interface to pass internal tables or other values from the driver pgm bcoz that is what SAP recommends. u can also do it the other way ie by calling a FM within pgm lines so as to get the data. Once u have the data fetched using this method, u can use it like any other internal table that u fetch using the form interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no such restriction.
Define internal table and its work area in Global definitions.
Create a LOOP construct using these internal table and work area.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
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.