Skip to Content
-2

Highlight a particular word in so10 in smartforms in sap

Oct 26, 2016 at 12:00 PM

106

avatar image

Hi Team,

I need to Bold the text of a particalur word which is used in so10 and used the same inside the smartform .

attached the screen shot for reference .

t1.png

Regards,

Karthik S

t1.png (23.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jānis B Oct 26, 2016 at 03:49 PM
2

It would depend on what format your SO10 text Style has for bold; in the one I'm using here (System style) it's <H>:

Result:


so10text1.png (18.0 kB)
so10text2.png (14.6 kB)
Share
10 |10000 characters needed characters left characters exceeded
Jelena Perfiljeva
Oct 26, 2016 at 02:55 PM
1

When you include a standard text (SO10) in a Smartform, the control statements are ignored, see documentation. Try a text module instead or just put the text in the form, depending on the scenario. Not the same, I know, but formatting within standard text won't work I'm afraid. It worked with SAPscript because it was different.

Show 4 Share
10 |10000 characters needed characters left characters exceeded

I thought this was what smart styles were for? I know those work in Adobe forms but don't they work in Smartforms too?

Regards,

Ryan Crosby

1

The Smartform runtime will parse the "Include Text" for paragraph and character formats (and variables) - and it's exactly this parsing, which will get rid of control statements, if I remember correctly. I'll try it in a minute to know for sure, but paragraph and character formats of "SO10 text" should work when included in smartform, as well as for "Dynamic text", I think. (Oh, no - linking to Archive will be "Catastrophe" as well... :|)

1

Ah, OK, style is the key here. Stand corrected. Thank you!

0

If I remember well, the tags of the sapscript text must be defined in the smart style with the same names, and it will work correctly (mapping of features by name). Of course, if U is used in sapscript as underlined, U must be defined in smart style as "underlined" too.

1
Kali Charan Oct 26, 2016 at 12:09 PM
-4

I hope What you used like <Bold>Accpet<> is the Exact solution, What is the problem.

Share
10 |10000 characters needed characters left characters exceeded