cancel
Showing results for 
Search instead for 
Did you mean: 

sap scripts problem(urgent help required)

Former Member
0 Kudos

hi abapers,

i have a problem in excise register report. this report have a standard sap scripts form.

the problem is that when i am printing the data (output on script form) the output is not properly alligned. if all the fields have data in the tables then output is fine. if any field is empty in the ddic table then the allignment is distrubed.

thnks in advance to co-operate with me for this problem

pardeep kumar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

you can use tabs for perticular positions for fields.

or

use length of field in window.

it display empty space.

Former Member
0 Kudos

Hey pardeep,

You need to use th tab concept of Sap Scripts to fulfill this:

Create a Paragraph format for ex, S1 with Tab positions pre-defined in the attributes section. Let's say, you create Tab position 1 as 2.0 CH, Tab 2 as 20.0 CH, Tab 3 as 40.00 and so on...and give the alignment as LEFT...Check any of the standard scripts to get more idea for eg, Form name: MEDRUCK and language: EN...Check how S1, S2 and S3 Paragraph formats are defined and used in the Main Window..

Hope this helps...

Vivek

Former Member
0 Kudos

Hi,

Give the default length with ur field.

for example..

Matnr field length is 18.

In script u have to give like &ITAB-MATNR(18)&.

reward if useful...

Regards,

Billa

Former Member
0 Kudos

then u need to use tab positions

in paragraph formats - down u r having Tabs button

there u can assign tab settings

this paragraph u can use in ur window