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

Field Length

Former Member
0 Likes
459

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
Read only

Former Member
0 Likes
439

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..

Read only

Former Member
0 Likes
439

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,

Read only

Former Member
0 Likes
439

The statement is correct. Are you facing any problem?