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: 

regarding 'LOCAL_FIELDCAT-ROW_POS'

Former Member
0 Kudos
110

HI ,

what is the functionality of this ' LOCAL_FIELDCAT-ROW_POS' in alv grid .plz explain me.

2 REPLIES 2

Former Member
0 Kudos
38

that is mainly used for "Heirarchycal ALV" ..

Dont get confused with that.

Former Member
0 Kudos
38

CLEAR LS_FIELDCAT.

LS_FIELDCAT-FIELDNAME = 'CARRID'.

LS_FIELDCAT-TABNAME = 'SPFLI'.

LS_FIELDCAT-ROW_POS = 1.

LS_FIELDCAT-OUTPUTLEN = 1.

APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.

CLEAR LS_FIELDCAT.

LS_FIELDCAT-FIELDNAME = 'CONNID'.

LS_FIELDCAT-TABNAME = 'SPFLI'.

LS_FIELDCAT-ROW_POS = 2.

LS_FIELDCAT-OUTPUTLEN = 1.

APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.

We will use that to specify the Position of the FIELD in the output (Row Number)

reward if helpful...