cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding script print problem

0 Kudos

Dear all,

I was facing one problem in purchase order script.i was getting proper print out but

in case material is different the values are moving towards left side,

so the entire alignment is chaning.

means:

my PO contains two materials:

1 is : RA1303300 and 16071.

1st material : ra1303300 and descripton length is more than 20 char.

for this material i was getting proper output.

but 2nd material : 16071 and description length is less than 20 char.

fir this i was getting worg alignment.

description field is it_ekpo-txz01.

my script code is :

/E ELE

IN &IT_EKPO-CNT&,,&IT_EKPO-MATNR(20)&,,&SPACE(3)&

= &IT_EKPO-TXZ01+0(30)&,,&IT_EKPO-QVAL&,,&IT_EKPO-NETPR&,,

= &IT_EKPO-DVAL&,,&SPACE(9)&&IT_EKPO-TOT&

/: IF &IT_EKPO-TXZ01+31(40)& NE ' '

IN ,,,,,,&IT_EKPO-TXZ01+31(40)&

/: ENDIF

plese help me out in this matter.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can get the Perfect output by using suitable paragraph format with Correct Tab alignment.

0 Kudos

WHAT SHOULD I MENTION TO THAT TAB SPACE.

I HAVE TAKEN 'IN' - FOR THIS WHAT I HAVE TO ASSIGN TO GET PROPER OUTPUT.

Former Member
0 Kudos

Hi,

IN is here a paragraph format? Then you check the Tab spaces of that paragraph format. Otherwise Copy that Paragraph format and provide new tabs as per your requirement. For Tab spaces Click on Third push button which is TABs.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

It's depends on the tab positions. Check out Pragraph formats in the script and check the TABS.

Adjust them and try to print out.

See help for if needed further.

http://help.sap.com/saphelp_nw04/helpdata/en/b6/ff0d7c4b9e11d192f20000e829fbc6/frameset.htm

Former Member
0 Kudos

Hi,

IN is the paragraph format to that we can create tab spaces.

SAP Scripts tabs reference is taken from left side of the window, we have three alignments

1. left.

2. Right.

3. Center.

For example if we used 10 CM left then it start writing from 10 CM onwards in the forward direction.

If we used 10 CM right, then it start writing from 10 CM in backward direction such that writing of data will end at 10 Cm.

If we used 10 CM center as reference, then it take 10 CM as reference and writes such that center of the word should maintained at 10 CM.

Using this as reference create required tab spaces to you paragraph format IN and use those in appropriate places.

Hope this will give you some idea.

Regards,

Aswini.