Show TOC Start of Content Area

Function documentation Field Formats  Locate the document in its SAP Library structure

Use

The field format determines how you edit the element attributes.

Features

A screen element can have one of the following formats:

Format

Description

Internal Format

ACCP

Posting period. Format: YYYYMM

C(6)

CHAR

Character string (in ASCII or EBCDIC format).

C(n)

CUKY

Currency key

C(5)

CURR

Currency field, corresponds to an amount field DEC, points to a field of type CUKY

P

DATS

Date, output determined at runtime

D(8)

DEC

Calculation field; calculation or amount field with decimal places and, if required, decimal point and plus or minus sign

P

INT1

1-byte integer

X(1)

INT2

2-byte integer

X(2)

INT4

4-byte integer

X(4)

LANG

Language key

C(1)

NUMC

Numeric field: field of any length comprising only numeric characters (for keys, not for calculation).

N(n)

PREC

Accuracy of a QUAN field

X(2)

QUAN

Quantity: points to a field in UNIT format and to a field in PREC format, which specifies accuracy.

P

RAW

Hexadecimal representation of the internal value (bit sequence) of any field.

 

STRG

String with variable length

 

RSTR

Byte sequence with variable length in hexadecimal format

 

TIMS

Time in format HHMMSS. If the user enters blanks or the reset character (!), the system returns blanks. The value must be numeric. The numbers on the left must not exceed 240000. The minutes and seconds should not be greater than 59.

If you want to prevent the use of blanks, you must prohibit the reset. To do this, choose the attribute No reset.

T(6)

UNIT

Unit key

C(n)

D34C

Decimal float, 34 digits, stored as DEC in the database

 

D16R

Decimal float, 34 digits stored as RAW in the database

 

D34S

Decimal float, 34 digits with scale field

 

D16C

Decimal float, 16 digits stored as DEC in the database

 

D16R

Decimal float, 16 digits stored as RAW in the database

 

D16S

Decimal float, 14 digits with scale field

 

 

End of Content Area