2008 Jan 30 4:12 PM
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.
2008 Jan 30 4:17 PM
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.
2008 Jan 30 4:17 PM
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
2008 Jan 30 4:30 PM
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.
2008 Jan 30 4:35 PM
Hello Sippy,
CHECK ur I_OUTTAB declaration whether the fieldname u declared is LABST
ie:
LABST LIKE MARD-LABST.
Regards,
Vasanth
2008 Jan 30 4:40 PM
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.
2008 Jan 30 4:49 PM
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
2008 Jan 31 6:09 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |