Skip to Content
0
Former Member
Feb 18, 2009 at 02:59 AM

field catalog macro

810 Views

hi to all experts ,

im writing a macro to populate the field catalogue

but facing this problem

DEFINE m_fieldcat.
    add 1 to wa_fcat-col_pos.
    wa_fcat-checkbox.
    wa_fcat-fieldname.
    wa_fcat-seltext_m.
    wa_fcat-edit.
    wa_fcat-reftabname.
    append wa_fcat to it_fcat.
    CLEAR wa_fcat.

but when passing 'X' to checkbox.

m_fieldcat : 'X' 'CHECKBOX''SELECTION' 'X' ' ' .

im getting an error message that unable to intrepret "X" comma or spelling error .

help me out of this