cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script

Former Member
0 Kudos

Hello All,

Can you tell me how to set color( for ex. green) for a heading in SAP Script? Also how to set the background color for a box to black?

Thanks,

Sobhan.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sobhan,

With SAP script you can only do black and grey.

To make a box black, just use the INTENSITY option of

BOX command.

/: BOX FRAME 10 TX INTENSITY 100.

Above command will make the box black.

Check this for more help.-

http://help.sap.com//saphelp_470/helpdata/EN/d1/803293454211d189710000e8322d00/content.htm

Cheers.

( Dont forget to rewrad points if answers helped )

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Up to my knowledge there is no flexibility of choosing the colors in Sap Scripts.

But according to your requirement you can go a head with Background color of a box.

/: BOX YPOS ' 'CM/MM XPOS ' 'CM/MM WIDTH ' 'CM/MM HEIGHT ' 'CM/MM FRAME 0 TW INTENSITY 15.

So with in the box you can code as per your requirement like full intensity or alternate intensity of your box background.

CHEERS

Former Member
0 Kudos

Hi Deepak,

Thanks for the answer. I can't see black shade when I displayed in the print preview. Is that correct?

or should it be visible in the print preview also?

Thanks,

Sobhan.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Yes, you should be able to see it in print preview.

Regards,

Rich Heilman

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Don't think that you can do that in Sapscript. You can do it with SmartForms.

Regards,

Rich Heilman