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: 

How to apply character format in Control Command line in SAPSCRIPT

Former Member
0 Kudos

Hi experts,

I want to bold the address title being displayed in the form.

Currently I am using the following code, but the title is not getting displayed as bold.

/:  ADDRESS PARAGRAPH AS

/:  TITLE       <B>&DKADR-ANRED&</>

Kindly help me on how to get the address title displayed as bold.

Regards,

Lucy

4 REPLIES 4

former_member1716
Active Contributor
0 Kudos

Try this Code,

/:  TITLE       <B>&DKADR-ANRED&</B>

0 Kudos

Hi Satish,

just tried your code, but no luck

Former Member
0 Kudos

Hello Lucy,

You first need to create a character format using t-code: SE71 in that script :

and then set in FONT attributes to BOLD.

So , Suppose you created a character format B0 as in above screenshot.

So now save it and use it like below :

/:  TITLE       <B0>&DKADR-ANRED&</>


Hope it Helps


Regards,

Navneet

0 Kudos


Hello Lucy,

/:  TITLE       <B>&DKADR-ANRED&</> code works for SAP Script.

For smartforms-> create a sepearetd character format with Bold 'ON' option and use it as below

/:  TITLE       <Created Character Format>&DKADR-ANRED&</>