cancel
Showing results for 
Search instead for 
Did you mean: 

Item Description Printing in SAPscripts

Former Member
0 Kudos

Hi All.

I want to print Item Description in multipple lines in a Column, but whats happening is the description is getting printed in a single line and thats why it is exteding from that column and flowing over to next columns.

For Ex:

To Print:

abcdef

ghijklm

Currently Printing:

abcdefghijklm

Kindly give the solution,

Points are assured !!!!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

u can try this

<field>0(4)

<field>4(10)

this will help ......

if it is useful Plz reward

Regards

Anbu

Former Member
0 Kudos

Hi,

/: perform sub in program ztest

/: using &text field name&

/: changing & text1&

/: changing & text2&

/: endperform

( instead of that text field directly write this in two lines.)

  • &text1&

  • &text2&

in the program ztest write the coding as follows

report ztest.

Form sub tables input structure itcsy

output structure itcsy.

read table input with key name = ' < text field name >'.

if sy-subrc = 0.

loop at output.

case output-name.

when 'TEXT1'.

output-name = 'TEXT1'.

output-value = input-value+0(20).

modify output.

when 'TEXT2'.

output-name = 'TEXT2'.

output-value = input-value(20).

modify output.

endcase.

endloop.

endform.

Thanks,

NN.