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: 

Smartform template background color and shading

former_member588480
Participant
0 Kudos

I am trying find out the color of the box of an existing template so that i can use the same color for the new column which i have created .

But I do not find anyway to know the color and shading details of existing template box.

Though i can see the color is grey for old column but when i use the same grey color in new column , While printing in user printer

new column coming bit black.

Inside smartform

After Print

So i want to know the old column color and shading details.

Please find attached screenshot and let me know for further concern.

14 REPLIES 14

DoanManhQuynh
Active Contributor
0 Kudos

smartforms is some kind of WYSIWYG so your screenshots make me confused. I think maybe your smarform have coding somewhere to dynamic the color:

https://blogs.sap.com/2014/06/17/dynamic-smartform-coloring-in-a-template/

you may try to export it to xml and read that file to findout more detail.

hedvig_rohonyi
Active Participant
0 Kudos

Hello,

Unfortunately the Table Painter is not very user-friendly. The tables got the possibility to have a framed and shadowed cells so any cell or combination of a cells can be framed and shadowed. This is the reason why you can not see the current settings of the cell.

You can checked the current setting for example via RAW data display of the spool request.

OTF command LI

LI 0659207659H0356100035

^^ 35 TW

LI 0120508559H0538600015

^^ 15 TW

Best regards,

Hedvig

0 Kudos

Thanks for the response.

Could you let me know how to check raw data of the particular spool in sp01.

0 Kudos

Hello,

I attach some screenshots about to Raw data display. But you can set the raw display other wasys also: go to transaction SP01 into the overview of the spool requests, go via the menu:


Goto - Display requests - Settings and set the display mode to 'RAW'.

Best regards,
Hedvig

0 Kudos

Hello Hedvig,

Thank you.

I got the RAW data of the smartform . I am able to figure out the column name of template (Highlighted in yellow) but can not able to find the color .

Regards,

Prabin

former_member588480
Participant
0 Kudos

Thanks for the reply .

As you mentioned I downloaded the smartform to XML file.

Here i am attaching the screenshot related to the column which is having issue .

Could you tell me know what is the difference between the old and new column with respect to color and shading ?

former_member588480
Participant
0 Kudos

Thanks for the reply .

As you mentioned I downloaded the smartform to XML file.

Here i am attaching the screenshot related to the column which is having issue .

Could you tell me know what is the difference between the old and new column with respect to color and shading ?

Here is the attachment of old column and old column.

old-column.png

new-column-1.png

former_member588480
Participant
0 Kudos

Another attachment for new column

.new-column-1-1.png

new-column-2.png

former_member259807
Active Participant
0 Kudos

Hi,

Can't you just fiddle around with the saturnation to see which color and shading meets your requirements?

0 Kudos

HI

I have tried to give similar color (Gray) but when User is taking print out through his printer ,

its coming little bit darker as I have shown in above picture.

0 Kudos

Yes, and that should be handled by the Saturnation. So if you play around with that percentage, you should be able to get the grayscale as needed.

DoanManhQuynh
Active Contributor
0 Kudos

You can see the tag FILLCOLOR in new column have value 212 212 212 => its gray.

But old column dont have value (000 000 000) then it should be no color...You can try to create one small smartfoms to check.

I think if shading is not set but it still have color then it probaly have coding somewhere to set the color for that cell.

DoanManhQuynh
Active Contributor
0 Kudos

You can see the tag FILLCOLOR in new column have value 212 212 212 => its gray.

But old column dont have value (000 000 000) then it should be no color...You can try to create one small smartfoms to check.

I think if shading is not set but it still have color then it probaly have coding somewhere to set the color for that cell.

former_member588480
Participant
0 Kudos

Now it's working fine . Thank you for your response Quynh Doan Manh.