Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sap scripts formatting options

Former Member
0 Likes
319

what r formatting options in a sap script where r these symbols used///////////pls lemme know

1 REPLY 1
Read only

Former Member
0 Likes
282

Hi,

Formatting options.....

&DATE&

The default behavior is that the system date is printed according to the setting in the user master record or according to the country-dependent formatting specified in a SET COUNTRY command.

If a date mask has been defined (using SET DATE MASK), then the formatting specified there is used for the output.

&TIME&

The default behavior is that the current system time is printed in the form

hours:minutes:seconds

If an alternative time mask is specified (using SET TIME MASK) then this mask overrides the default setting.

&PAGE&, &NEXTPAGE&

This symbols are initially converted using the options specified in the form of the page definition.

&LDATE&

This date representation is always formatted using the JPDAT conversion routine.

S

NO-SIGN

Z

NO-ZERO

.

DECIMALS

E

EXPONENT

I

A check is made for an initial value by using an IF statement to do an IS INITIAL comparison.

If the C option is used, a space compression is performed.

If the L option is used, local date formatting is performed.

If an offset is specified, the offset is interpreted.

If an output length is specified then the length is interpreted.

If a fill character is specified (the F option), these are added to the formatted value.

If pre-texts and post-texts are soecified, they are processed and added to the formatted value.

Regards,

Sankar