on 10-13-2010 10:27 AM
Hi,
Iam using smartform which is having header text.
Is it possible to print the header text displayed in tabular format.
yes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The issue is Iam having header text which is as follows:
asdf $1234 qwer
wert $2345 poiu
poiu $3456 yuio
wert $4567 erty
pert $2345 poiu
asdf $1234 qwer
So now I want that text to be
asdf $1234 qwer
wert $2345 poiu
poiu $3456 yuio
wert $4567 erty
pert $2345 poiu
asdf $1234 qwer in smartform output...
Is it possible and how?
i dont really get your requirement, sorry for that.
at first, a header text doesnt differ from any other text from form perspective.
So there is no difference between formatting a header text and any other text.
if you just need 1 space between the values, then you dont even need tabulators, you just need to put out your values separated by space. Tho i would only propose this if your values are all of same length, otherwise it would look much better making use of tabulators.
Hi,
Thankyou for your update.
The issue is Iam having smartform output having one column as description.
In description column Iam displaying the header text info.
In my case there is one header text having 10 lines.
Each line having lets three words.
But now the issue is those 3 words are not in the same vertical line in specific header text having 10 lines.
So is it possible to make all 10 lines in same vertical lines for each word in the line...
No it is not possible to create a nested table/template. But you can use your column by dividing it further into new columns. you simply don't set any grid for these new columns, so the columns will be there but will display as one combined. Then address each new cell individually showing respecitve header text part in each.
Regards
Marcin
if your confused with pragrap-h and charecter format and tabs in smartstyles,,,,just give abap code lines logic
like if it_tab consists of headertext.
loop at it_tab.
concatenate string it_tab into it_tab separated by space.
condense string,.
endloop.
in text element give &string& global variable
it will print based on the templete or itab line cell of text elemt as continuous text
with onespace in between lines,.
hope it may provide u some help.
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 | |
10 | |
10 | |
9 | |
7 | |
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.