Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript: Possible to change character format "inline"?

andrew_jacobs2
Participant
0 Kudos

Hello,

I'm creating sentences from strings in ABAP and passing those to SAPScript for printing. This works just fine.

I want to boldface some of the words in the sentence.

Are there commands I can add "inline" to the sentence string that will cause SAPScript to turn boldface on and off for certain words?

Thx.

Andy Jacobs

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI Andrew,

You can use Character formats for that.just give what ever you want in bold in <XX>... </>,Create the XX with properties of Bold.

3 REPLIES 3

Former Member
0 Kudos

HI Andrew,

You can use Character formats for that.just give what ever you want in bold in <XX>... </>,Create the XX with properties of Bold.

Former Member
0 Kudos

In SAP Script Create Character format with name "B" with characterstics as bold.

then in the string where you want to Bold that insert

<B>String</B>

Regards

Aman

alejandro_lpez
Contributor
0 Kudos

Hi Andrew,

Try using concatenate, example:

data: w_word type string.

CONCATENATE 'Example format ' <CR> 'word' '<\>' INTO w_word.

When <CR> is a character definition in Sapscript

Print w_word in the Sapscript using &w_word&

regards,

Alejandro