cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in SAP Script

Former Member
0 Kudos
45

Hi all,

I am printing my own customised form for PO. The problem here is there are times when text ID are also displayed at item level. I am extracting the long text using INCLUDE statement in SAP Script. I have to restrict the lenght of the text id. Only 30 characters per line should be displayed. I cannot create a seperate window for this ID because it is in the main window as it gets displayed after each line item. What can i do..?

View Entire Topic
Former Member
0 Kudos

instead of calling the include

write a perform statement and in the called program use function module read_text

here cut the lines at every 30 characters and pass them into different variables of length 30.

export them to your script and display them.

Put a condition to check if the variable is initail or not before printing to avoid blank lines.

this should help.

Regards,

Ravi