on 04-28-2007 9:01 AM
hi all
am printing a line in smartform with field GS_it_KOND_W-vtext but displaying the first line in that field..but my requirement is i need only second line to be printed.please pass on the code...like how can i print the line that is der in the next row...please help
vijay
hh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
for this you will have to hard code the 2nd line.
For this what you can do is read the length of the description and fix the length of the line which is to be printed.
From that particular length take the description into a variable and u can print that variable.
If g_length is the length of the line, then
gv_2nd_line = GS_it_KOND_W-vtext + 250(250).
This will give you the second line.
Regards,
Lavanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay ,
If i got it right " u expect to skip the first line of the text " .
for this , try to get the string length of the Text and split the text into other variables .
say , if gv_text2 is the variable declared in global properties ,
and first line of text "GS_it_KOND_W-vtext " as length of 250 and second with other 250 ....
now,
if STRLEN ( GS_it_KOND_W-vtext ) > 250 .
gv_text2 = GS_it_KOND_W-vtext_250(250) .
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
You can create acounter and in the condition tab u can give that counter = 0.
When the condition is satisfied it will print the text.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just use a loop for dispalying the text field.
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.