cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Scripts Output Alignment

Former Member
0 Kudos

I have four fields to be displayed in a line in the main window in the script. 3 of them are text fields.

the output is appearing as below

AAAAAAA-----22/04/2008-INVOICE TEXT1----


435.53

AAAA---22/04/2008


INVOICE TEXT DISPLAY--


21.00

I want it to be like below

AAAAAAA---22/04/2008---INVOICE TEXT1--


435.53

AAAA--


22/04/2008---INVOICE TEXT DISPLAY-----21.00

Note: the dotted lines separating the text is just drawn to show the space as it mixes the field in some browsers.

The problem is only with first and second filed.

I have used a paragraph format which has tab positions as

0.40 CM LEFT

3.00 CM LEFT

7.30 CM LEFT

13.80 CM LEFT

The code used in the script is as below

&xblnr&,,&v_date&,,,,&bktxt&,,&t_regup-wrbtr&

and I am specifying the llength in the Call Function as welll, as you can see below,

CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'

EXPORTING

name = '&xblnr&'

value = bkpf-xblnr

value_length = 16.

I have tried a lot, now i thought of seeking your inputs.

appreciate your help.

Thanks

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 22, 2008 12:18 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

j

Former Member
0 Kudos

Hi,

Code loos ok to me. Check the activation of the SAP SCRIPTand try again.

Thanks,

Greetson