cancel
Showing results for 
Search instead for 
Did you mean: 

Column wise text display / Multiple lines within Main Window in SAP Scripts

onnlight
Explorer
0 Kudos

Hi,

We are working on a modified form of MEDRUCK, in the main window we want the details of the PO to be displayed something in the format below (the underscore '__' is only for proper spacing)

It No.___Mat No.__PO Item Text_____________Qty_____Amount

-


10_______0000001__text in 1 line____________10______1000__

20_______0000001__text still in 1 line_________20______2000__

30_______0000001__text being truncated due to_30______3000__

40_______0000001__Multiple lines within tab____40______4000__

Now for 'PO item Text' having small description it comes properly but for those items exceeding the space provided it gets truncated.

we want something like

It No.___Mat No.__PO Item Text_____________Qty_____Amount

-


10_______0000001__text in 1 line____________10______1000__

20_______0000001__text still in 1 line_________20______2000__

30_______0000001__text being truncated due to_30______3000__

__________________space limitation that can be______________

__________________solved by ?_______________________________

40_______0000001__Multiple lines within tab____40______4000__

Is this possible in SAP script? i.e. the display of text in column format. If yes how?

Secondly we are getting the 'PO Item Text' through a subroutine call within the MAIN windoe and I understand that the maximum lenght of a Symbol, Standard text in a SAP script is 80 or something can we put in text with more than that many character.

Regards

onn

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Couple of questions before answering this ..,

1.Have u specified any limit on display of number of characters

eg : string(30) type c.

2. How hasve u defined ur paragraph type.

onnlight
Explorer
0 Kudos

Hi,

1. No I have not specify any limit on display of number of characters neither in my SAP script (if its possible) nor in my ABAP routine call, the variables I declared in my ABAP code to Pass back to the script are of TYPE ITCSY-VALUE whose limit is 255 (which is enough for my case).

2) The Paragraph defined for the MAIN window display is as follows

Standard

-


Left Margin 0.00 CM

Right Margin 0.00 CM

Indent 1st line 0.00 CM

Space before 0.00 CM

Space After 0.00 CM

Alignment LEFT

Line Spacing 1.00 LN

Font

-


Family

Font Size 0.0 pt

Tabs

-


Number Tab position Alignment

1 1.50 CM LEFT

2 11.00 CM RIGHT

3 15.00 CM RIGHT

4 18.00 CM RIGHT

Outline

-


Outline

Outline Level 00

Number margin 0.00 CM

Left Delimiter

Right Delimiter

Output length 00

Numbering Type CHAR

Fixed character

Character String

Regards

onn