Skip to Content
author's profile photo Former Member
Former Member

about the ALV field

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

end-of-definition.

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

thanksss.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 03:27 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.