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.
Showing results for 
Search instead for 
Did you mean: 

about the ALV field

Former Member
0 Kudos

Hi all:


form frm_set_fieldcat .

clear: it_fieldcat[],wa_fieldcat,it_events[],wa_layout.

field_cat 'WERKS' 'Plant'(030).

field_cat 'VBELN' 'Invoice'(001).

field_cat 'POSNR' 'Item'(002).

field_cat 'FKSTO' 'Cancellation'(003).

field_cat 'FKDAT' 'Billing Date'(004).

field_cat 'FKLMG' 'Quantity'(005).


define field_cat.

add 1 to wa_fieldcat-col_pos.

wa_fieldcat-tabname = 'IT_OUT'.

wa_fieldcat-fieldname = &1.

wa_fieldcat-seltext_l = &2.

append wa_fieldcat to it_fieldcat.

clear wa_fieldcat." add by cc


what's the (030)/(001)/(002)... meaning?



Former Member
0 Kudos

The number in the () means the number in "Text Symbols" in your program. The text hard coding in the programing is default displayed text. While if you create a text symbol, the text according to language setting will replace the default text on the screen.