on 04-16-2008 8:50 AM
Hi all
What is the difference between these Assigning & Into in Loop?
Thanks in advance
Regards
az
you use an internal table with header line, you must use INTO and as the work area specify the same table name as in the input field Internal Table.
With ASSIGNING the field symbol specified in the work area points to the selected entry, which means that there is no copy process (important for large tables). Note that in such a case the field symbol must be declared in the global data of the form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if it is in form source code (Inside the loop) you should mention the objects in input parameters. and if you want to use resulted objects outside of the loop or node you should mention in output parameters.
If you define vaiables in form interface, then only you should define in print program.
Regards,
Hi Bhanu
So, you mean if we want to use internal table with header line (into) or field symbol (assigning), we also have to define it in print program besides defining in form interface (import tab) for it with header line while for fs defining in form interface (tables tab) and global definitions (field symbol tab).
Is it like that?
Please advise..Thanks
Hi,
I think the prob is not with the Itab and Field-symbol. The prob is seemed to be with the Function Calling. Do u call any FM in Smartform? If so, pls check the parameters for that FM.
Better u double click the error line, this itself ll lead u to the exact error code or window. From there u can proceed further.
Hope this ll help u
Regards,
Prabhu
Hi,
I hope u r working program which calls ur Smartform. To call ur smartform in ur program, goto 'Environment menu' in ur smartform and copy the name of the Smartform FM name (which gets generated by the system).
Now in se38, click the button 'Pattern' which is near 'pretty printer' icon. Dialog window appears, where paste ur Smartform FM name and proceed.
And also if u need to call a FM in the Smartform Program lines window, u can do it by clicking the "statement struc" icon which is next to "Check syntax" icon.
Regards,
Prabhu
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.