Application Development 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: 

Field Length

Former Member
0 Kudos
69

HI Frd

Can any tell me whether the statement is correct or not

HEADER-COL_POS = '7'.

HEADER-SELTEXT_L = 'PO NUMBER'.

HEADER-TABNAME = 'ITAB'.

HEADER-FIELDNAME = 'EBELN'.

HEADER-OUTPUTLEN = '15'.

HEADER-NO_ZERO = 'X'.

APPEND HEADER TO BODY.

CLEAR HEADER.

Thanks

By

Pari

3 REPLIES 3

Former Member
0 Kudos
49

hi this is so simple replace like this.....

HEADER-FIELDNAME = 'EBELN'.

HEADER-REPTEXT_DDIC= 'PO NUMBER'.

HEADER-NO_ZERO = 'X'.

APPEND HEADER TO BODY.

CLEAR HEADER.

regards,

venkat..

Former Member
0 Kudos
49

Hello,

In the field catalog the field name must be in UPPER CASE and you need to fill at least the fields:

If the field has DDIC reference:

FIELDNAME

REF_TABLE

REF_FIELD

If the field hasn't a DDIC reference:

FIELDNAME

INTTYPE

OUTPUTLEN

COLTEXT

SELTEXT

And I suggest you to read the following: [ALV Tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907].

Regards,

former_member212653
Active Contributor
0 Kudos
49

The statement is correct. Are you facing any problem?