on 10-09-2007 6:24 AM
Hi,
Can't we use a command line inside a text element in smartforms?
I want to put some IF conditions inside the text element. However.
All the IF condtions are simply being ignored and the values are being printed unconditionally.
I use the SAPscript type of editor where I can choose /: for command
so it looks like this
/: IF &VARA& EQ &VARB&
P1 &PRINTDATA& where P1 is a paragraph type
/: ENDIF
However the IF condition is simply being ignored.
and PRINTDATA is always being printed. I dont want to use the conditions tab
for the text element. I need this inside the text element
I guess toy cannot use conditions inside text element as you use in your SAPscript editor, smartforms are provided with many options for placing conditions, you can place your condition in condition tab or you can create alternative which give us an option of true or false... not only this you can create program lines and place your conditions and basing on the condition you can populate the field.
Lastly, smartform concept is entirely different from SAPscript, once smartform is activated function module is generated in backgroud...
Close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
CREATE the PROGRAM LINES and write the Code using IF condition and populate that PRINTDATA field there
and in smartform window you dispaly that field with the required Paragraph format, which you have to get from the smartstsyles.
Regards
anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
u remove p1 and try .
Assign points if useful.
Regards
(YUGANDHAR)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.