cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a Word protection in SAP script?

Former Member
0 Kudos

Hi guys,

I have a main window in sap script . My issue is that in the first column if there is a long text, part of the text gets printed on the second column and the rest is printed on the second line of the first column,

For example, if the word is 'Corporate Taxes' ,

Corp gets printed in the first column

ora goes to the second column

and ate gets printed again on the second line of the first column

As a result of this,texts in the second column get moved slightly and few characters of it appear on the third column,

Is there a word protection or some other concept to get this fixed so that the entire text appear only on the first column?

Thanks,

Prem

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Tried with protect and end protect . It doesnt work.

Thanks,

Prem

Former Member
0 Kudos

Hi,

Use the PROTECT command.

/: PROTECT

Text

/:END PROTECT

Hope this helps you.

Regards,

Rajani

Former Member
0 Kudos

HI,

there is no specific code i have written for this.The texts are in a field in a work area and i am looping the internal table and in se71 i have called the &work area-fieldname& in the first column.

The whole of the item table are in Protect and Endprotect. I would like to know how to get the texts to print in the first column and not exceed to the second column.

Thanks,

Prem

Former Member
0 Kudos

Hi,

Try placing the text in PROTECT and ENDPROTECT.

Regards,

jaya

Former Member
0 Kudos

could u paste ur code for this..

Rgds,

Pavan