cancel
Showing results for 
Search instead for 
Did you mean: 

ALIGNMENT PROBLEM IN customer balance confirmation

SrihariNerella
Participant
0 Kudos

Hi,

I am chaning standard script .We can change window size .

I am printing long text in script like

&CUR& &BALANCE(C)&/-<B> [&TEXT5& &TEXT1& &TEXT2& &TEXT3&]</> &TEXT4&

i am taking all the things in one line . If it is exceed morethan one line in printing it is printing in second line with some space .

and another problem Foriegn customers it is showing date format in yyyy/mm/dd

system date also showing for these foriegn customers .But i want in dd/mm/yyyy.

Can you please suggest me .

Edited by: srihari haranandan on Jun 19, 2009 12:33 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can shrink the text by using (C) in the variables. (eg. &TEXT1(C)& )

This commands deletes a lot of spaces.

about the date

you can use the sapscript statement /: SET DATE MASK

below a description of it.

success., Gr., Frank

/: SET DATE MASK = 'date_mask'

The following table provides templates may be used in the date mask:

Template Description

DD day (two digits)

DDD name of day (abbreviated)

DDDD name of day (written out in full)

MM month (two digits)

MMM name of month (abbreviated)

MMMM name of month (written out in full)

YY year (two digits)

YYYY year (four digits)

LD day (formatted as for the L option)

LM month (formatted as for the L option)

LY year (formatted as for the L option)

Any other characters occurring in the mask are interpreted as simple text and are copied directly to the output.

Example:

Assuming a current system date of March 1st, 1997.

/: SET DATE MASK = 'Foster City, MM.DD.YY'

&DATE&  Foster City, 03.01.97

&DATE(Z)&  Foster City, 3.1.97

/: SET DATE MASK = 'MMMM DD, YYYY'

&DATE&  March 01, 1997

You can revert to the standard setting by using the SET DATE MASK command again with an empty string in place of the date mask:

/: SET DATE MASK = ' '

Answers (0)