on 02-08-2007 5:54 AM
Hi Dev's,
Can anyone tell if it is possible to change paragraph format (or more specifically, font size for a paragraph format) mid sentence/mid line, and if so, how?
I have assigned a paragraph format for the MAIN data, of type Courier 8pt. In my footer, I want to display a text literal 'Total' of Courier 10pt, but have the totals in the rest of the line the same size as the data in the MAIN window (8 pt).
The SAPScript for this totals line looks like this:
,,<B>Total:</>,,&G_TOT_TRANS(R)&,,&G_TOT_TAX&,,&G_TOT_NET&
,
where to display the variables G_TOT_TRANS, G_TOT_TAX and G_TOT_NET on this line only as 8pt.
Points awarded for successful for solution.
Cheers,
Stephen
Hi,
I believe the character format should work..That is what the purpose of the character format..To format the character within the paragraph..
Did you activate the sapscript..Did you move the sapscript to the testing client..
The standard sap help definition for character formats..
<b>Character formats, as opposed to paragraph attributes, allow you to format entire blocks of text within a paragraph.
Character attribute groups can be:
Standard
Font</b>
Anyway check this link for character formats..
http://help.sap.com/saphelp_46c/helpdata/EN/d1/802e43454211d189710000e8322d00/content.htm
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Naren,
Thanks. Don't know why it didn't work initially, but I activated and re-transported it a coouple of times - and now it works. 10 Points and my thanks.
Stephen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Naren,
Thanks for that suggestion, but it doesn't appear to work for me. I've created a new character format called C8 and defined it as a type Courier 8.
Then I've gone into the SAPScript and entered
,,<B>Total:<>,,<C8>&G_TOT_TRANS(R)&,,&G_TOT_TAX&,,&G_TOT_NET&</>
Is this correct, or have I missed something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create a new character format with the font size you want..
Then use <C2> different font < / > to display..
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.