on 09-21-2009 6:48 AM
Dear Abapers,
I am working on smartform . I am printing LONGTEXT in my O/P in Table .User entering @ after every line. I am spliting text at @ into different six text fields . when i am displaying the data if text is initial also it is taking space line . I donot want to display extra line when i am printing . I used the Initialization also ( &text1(i) ) it is not giving the result .
Please give me your suggestions.
Regards
Nandan.
HI
Use Conditions TAB in the TEXT which ur printing i.e the WA_TDLINE-TEXT # initial then only print ..
IF it is not initial then only print else dont ,
surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In smartforms, if you do not want to display any field which is initial then in the conditions tab use the condition as e.g TEXT1 # INITIAL for that text node.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what type of variable are they? if its char** variable then ofcourse it will keep the spaces. try by taking them as string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Under Table -> Row lines, you have a "CONDITIONS" tab. Key in your required conditions for having the table dispalyed. i.e. fieldname (XYZ) NE '@'.
This essentially checks of this particular line needs to be printed or not.
Let me know if this helps or if you need further assistance on the same.
Thanks,
Varna
HI VARUN,
Thanks for your reply . I am using workarea having 5 fields . When i am giving row condition like it is not equal to space . It is not displaying any thing .Because every time any one of the field should be space , long text not more than 5 lines and some times it be 1 or 2 or 3 or 4 . If i give condition of fieldname ne space. It will not work .
Regrads
Nandan.N
"I am working on smartform . I am printing LONGTEXT in my O/P in Table .User entering @ after every line. I am spliting text at @ into different six text fields . when i am displaying the data if text is initial also it is taking space line . I donot want to display extra line when i am printing . I used the Initialization also ( &text1(i) ) it is not giving the result .
"
if @ is what is used to jump to the next line, try having the condition as the field Contain Pattern (CP) '@'.
If this doesnt help, please help describe your problem more explicitly, so that we could help you with the same.
Cheers,
Varna
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.