Application Development and Automation 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: 
Read only

AVL display - field missing

Former Member
0 Likes
997

hi all,

can anyone tell me why one field is missing in alv display.

i have 12 fields in field catalog, among them 10 field (mard-labst)is noy getting displayed in alv, only 11 fields are getting displayed, but i can see that field in field catalog and also the values for that field in internal table which i am using to populate output.

when i replace that 10 field name (mard-labst)with anothe(say marc-eisbe) that is getting displayed.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
945

Hello,

Check the Layout of the ALV grid may be the feild might be hidden.

Also check the field catalog for the field LABST whether

NO_OUT or TECH is set.

Hope this will solve ur problem.

Cheers,

Vasanth

hi all,

can anyone tell me why one field is missing in alv display.

i have 12 fields in field catalog, among them 10 field (mard-labst)is noy getting displayed in alv, only 11 fields are getting displayed, but i can see that field in field catalog and also the values for that field in internal table which i am using to populate output.

when i replace that 10 field name (mard-labst)with anothe(say marc-eisbe) that is getting displayed.

6 REPLIES 6
Read only

Former Member
0 Likes
946

Hello,

Check the Layout of the ALV grid may be the feild might be hidden.

Also check the field catalog for the field LABST whether

NO_OUT or TECH is set.

Hope this will solve ur problem.

Cheers,

Vasanth

Read only

0 Likes
945

please find the below cod for layout

form build_layout .

gd_layout-no_input = 'X'.

gd_layout-colwidth_optimize = 'X'.

gd_layout-zebra = 'X'.

gd_layout-group_change_edit = 'X'.

endform. " BUILD_LAYOUT

and also field cat for labst

fieldcatalog-col_pos = 10.

fieldcatalog-row_pos = 1.

fieldcatalog-seltext_l = text-010.

fieldcatalog-fieldname = 'LABST'.

fieldcatalog-tabname = 'I_OUTPUT'.

append fieldcatalog to fieldcatalog.

clear fieldcatalog.

if i place eisbe in place of labst then it is working.

Read only

0 Likes
945

Hello Sippy,

CHECK ur I_OUTTAB declaration whether the fieldname u declared is LABST

ie:

LABST LIKE MARD-LABST.

Regards,

Vasanth

Read only

0 Likes
945

yes i have declared.

TYPES : BEGIN OF t_output,

select(1),

plnum(10) TYPE c,

matnr(18) TYPE c ,"plaf-matnr,

pwwrk TYPE plaf-pwwrk,

psttr TYPE plaf-psttr,

pedtr TYPE plaf-pedtr,

gsmng1 TYPE plaf-gsmng,

gsmng(10) TYPE n,

mdv01 TYPE mkal-mdv01,

lgort TYPE plaf-lgort,

eisbe TYPE marc-eisbe,

labst TYPE mard-labst, diff TYPE mbew-lbkum,

auffx TYPE plaf-auffx,

verid TYPE plaf-verid,

meins TYPE plaf-meins,

END OF t_output.

Read only

0 Likes
945

Hello Sippy,

This is little Strange.

Once the grid is displayed click the Icon change layout.

And see this field is located in the right side under Column set.

Regards,

Vasanth

Read only

0 Likes
945

hey,

thanks for help.

i got the field in ALV.

but i would like to know why it has happend, coz when i use other field in place of labst it was comming, why only with this field this effect is.

thanks alot once again.