cancel
Showing results for 
Search instead for 
Did you mean: 

Positioning cursor in Main window for Table

Former Member
0 Kudos

Hi Experts,

I am printing an internal table's content in the Main window and I need the table alignment properly.

It means that every column of the table should start in the same position of x axis into the main window.

According to the length of previous field value, next field value starting position should not change.

How to position.

I wrote like

POSITION XORIGIN '2' CM.

but it is not working.

Kindly help me out.

Thanks and regards,

venkat.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

Please go through the following link it may help you.

http://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript#SAPscript-HowdoIsettabsbetweenthefieldsindisplay...

Regards,

Kiran

arul_murugan
Active Participant
0 Kudos

HI,

First create a paragraph format in your script and mention the tab position for each of your column (you can see a button at the bottom of the screen while creating the paragraph format)

Example

P1 as paragraph format and mention as two position. first tab as 1CM and 2 tab as 5CM.

then in your script text element, declare your variable using the paragraph format like below.

P1 ,,&var1&,,&var2&

Note: but before creating the tab postion check the maximum lenght for each variable to avoid the overlapping with other variables

Thanks

Arul