2006 Mar 30 9:46 AM
Hi again,
I am having a problem in displaying the values in my ALV grid. It displays the rows but not the values, but the output table contains values. How come I can't view it in the grid? How can I solve this?
Thanks,
Atel
2006 Mar 30 9:51 AM
Munar,
Well if you have values in the data table, then you should see them in the output as well.
Please check the table structure is same as the fieldcat data. It might help posting the code here.
Regards,
Ravi
Note : Please mark the helpful answers.
Hi again,
I am having a problem in displaying the values in my ALV grid. It displays the rows but not the values, but the output table contains values. How come I can't view it in the grid? How can I solve this?
Thanks,
Atel
2006 Mar 30 9:49 AM
Hi,
Any error code? Have you tried debugging? Post some code to have idea...
Regards,
Mireia
2006 Mar 30 9:51 AM
Munar,
Well if you have values in the data table, then you should see them in the output as well.
Please check the table structure is same as the fieldcat data. It might help posting the code here.
Regards,
Ravi
Note : Please mark the helpful answers.
2006 Mar 30 9:52 AM
Hi Mariestel,
if you are using REUSE_ALV_GRID_DISPLAY.
i faced a similar problem.
just check whether the structure (fieldcat) you are passing to the FM is similar to the internal table.
regards,
Kinshuk
2006 Mar 30 9:52 AM
Hi,
Can u give us the code so that we can find out any errors.
Regards,
Sylendra.
2006 Mar 30 10:12 AM
Hi mariestel,
1. there might be some minor mistake.
2. just check out if it is
like this.
3. just copy paste in new program.
REPORT abc.
TYPE-POOLS : slis.
*----
Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : END OF itab.
DATA : alvfc TYPE slis_t_fieldcat_alv.
*----
Select
SELECT * FROM t001 INTO TABLE itab.
*------- Field Catalogue
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
*----
Display
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
regards,
amit m.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |