Dear Gurus,
i have declared a field as below:
data: bpvno as bseg-belnr,
I case in fieldcatalog when i declared as below:
fieldcatalog-fieldname = 'BPVNO'.
fieldcatalog-seltext_m = 'BPV No.'.
fieldcatalog-seltext_L = 'BPV No.'.
fieldcatalog-col_pos = I1.
fieldcatalog-emphasize = 'X'.
append fieldcatalog .
clear fieldcatalog.
I1 = I1 + 1.
in the o/p - The Heading of the field is 'BPVNO'
II case but when i declared as below:
fieldcatalog-fieldname = 'BPVNO'.
fieldcatalog-ref_tabname = 'BSEG'.
fieldcatalog-ref_fieldname = 'BELNR'.
fieldcatalog-seltext_m = 'BPV No.'.
fieldcatalog-seltext_L = 'BPV No.'.
fieldcatalog-col_pos = I1.
fieldcatalog-emphasize = 'X'.
append fieldcatalog .
clear fieldcatalog.
I1 = I1 + 1.
here I am expecting the field heading to be 'BPVNO' but it is giving as 'DOCUMENT NO'
when both 'ref_tabnameref_fieldname' and
'seltext_l , seltext_m'
are declared which text(either user specific text or table-field text which) is given priority to be displayed in the o/p heading.