on 02-28-2007 11:01 PM
Hi Experts,
For displaying standard texts in Smartforms, I am using text type :Dynamic Include.
when i am giving the field name as &gvar1& and language as &gvar2& of specific types (TDOBNAME & TDSPRAS) it is throwing an error as :
"Type Specification TDSPRAS not allowed"
"Type Specification TDOBNAME not allowed".
I have my standard texts created in So10. Even if i use field name of type C also its throwing such kind of errors.
Could someone tell me what are the type specification that i use.
thanks
Dany
Hi All,
DYNAMIC TEXTS in smart forms.
The title is slightly confusing, One will be under the assumption that the text name is passed dynamically at runtime so the smart form starts processing the text in the text name passed.
It is not so . USAGE: You can use this function to compile the text lines dynamically and pass it to the NODE Text you define on the smart form.
Settings:
Definition of TEXT variable anywhere in Interface or Global definitions.
Variable name : TEXT
Type assignment : TYPE
Associated tyep : TSFTEXT
In text node you need to have the following settings:
Text type : Dynamic Text
Field Name : &TEXT&
Language : EN
Program lines anywhere before the node is processed:
DATA : LS_LINE TYPE TLINE.
LS_LINE-TDFORMAT = '*'.
LS_LINE-TDLINE = 'LINE1'.
APPEND LS_LINE TO TEXT.
LS_LINE-TDFORMAT = '*'.
LS_LINE-TDLINE = 'LINE2'.
APPEND LS_LINE TO TEXT.
LS_LINE-TDFORMAT = '*'.
LS_LINE-TDLINE = 'LINE3'.
APPEND LS_LINE TO TEXT.
You will see the output generated:
LINE1
LINE2
LINE3
Hope the concept is clear.
Suresh Bapanapalli.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi dan,
have pressed the button looks like<b> ">"</b> at the right side of the box which u have entered the &gvar1& and &gvar2& ..
if you do like this u r problem will be solved.
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
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.