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: 

SAP Script : Pre- Formated Standard text

Former Member
0 Kudos

Dear All,

I am having a formated standard text but when I include this. text appears to be with out format.

how can I get preformated text in form.

meanwhile let me inform you all that I am using variable to get standard text.

please advice me further.

Thanking you.

Regards

venkat.

5 REPLIES 5

Former Member
0 Kudos

Venkat,

I am not sure if this can be done in SAP Script, but definitely you CANNOT DO this in SMART forms. Unfortunatley, SMART Forms ignore the formatting done on the text.

Regards,

Ravi

Note : Please mark the helpful answers

former_member181966
Active Contributor
0 Kudos

What if you format the data in your ABAP program and send back to SAP script OR create "standard text " in SE73 .

Just give it a try and let’s see!!

Hope this’ll give you idea!!

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Some are wise and some are otherwise"

0 Kudos

Dear Ravi / Khan,

Thanks for your replies.

Ravi, are you sure that it can not be done in Smart forms ???

Khan, Actually I did not get your point, I am soory for that.

Actually, I have created a Standard text in se73 with some fommating, ie I made some text as bold and Unlined.

Now I would like to print this standard text as it is formated.

As We are having more than 10 texts, I am using varible to retrive this standard text using

Include &var1& object 'text' id 'St' language 'EN'.

output is without format .i.e Without bold and unline.

Please advice me.

Regards

Venkat.

0 Kudos

Well, your requirement is thankless. I don’t think so we can handle it in this way .But you can use FM "SAVE_text" and fill your internal table with '----


" line like unline and call the FM "save_text " with your include attributes and print it on SAP script . But as far Bold is concern , I’m not seeing option .

Well, lets hope possibly some body out there have good idea !!

Good luck !

Thanks

SK

0 Kudos

Hi Venkat,

For enabling formatting of text within a include

1). Create a style with the required formatting options and attach it to a std text.

2). Where ever the INCLUDE is called in the sapscript just above that the last used paragraphs should have the formatting options enabled.

I would go with option 1, since u have mnetioned u have more than 10 std text.

Cheers

VJ