on 06-10-2008 10:44 AM
Dear Friends,
I am new to SMARTFORMS and trying to build a simple form as a starter.
In main window i wanted to display the attributes of internal table.
So , i declared an internal table in -> Form Interface->Tables ITAB type Table type of my ztable.
Global definitions i declared a work area(wa) which is of same structure of above mentioned Ztable.
In main window i created a Loop, in that in Operand, i gave ITAB into wa.
i created a text and in that editor i wrote..
&wa-field1& &wa-field2&..
when i activate and execute, smart form is generating a FM, and there i am manually giving data for the interface table ITAB, but i am not able to see the input data and instead i am seeing the text like &wa-field1& &wa-field2& in print preview.
what could be the problem?
I know my query would be v trivial but still i am not able to proceed..
Appreciate and reward your help.
thanks,
Simha
Edited by: Simha on Jun 10, 2008 11:54 AM
Hi
Try to check if you have write the text correctly, u make sure to have to write &WA-FIELD1& and not something like <(>&<)>WA_FIELD1&.
If you see &WA-FIELD1& in printpreview it means the smartform sees &WA-FIELD1& as text and not as variable.
Try to use the old type of editor
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Max,
thanks for the update.
I have given the place holder correctly(&wa-field1&)..but still the smartform is considering it as text as you said.
why is it so?
how will i know whether the data that is input to the form interface table is being passed and is present in this loop?
i am using old abap editor on 4.7 EE
regards,
Simha
Problem solved:
Yes in text editor, i was giving &wa-field1& but it is treated as text only, i should have tried in editor->Go to->change editor , which gave me an editor with lines, there it appeared as Max said <&><...
i removed all those and gave only & and its fine..
its that i am unaware about this..
thanks max
regards,
Simha
User | Count |
---|---|
86 | |
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.