2015 Nov 03 11:29 AM
Hi.
Input values from my ALV Report are not getting populated in the output. It is an M Report for Trading Purchase.
Can someone help me out with this?
--Sonam.
2015 Nov 03 11:40 AM
hi,
to use ALV functionality your program type must be '1' ie executable type..
M type is module pool programs which must have screens and transaction code.
and you cannot Execute M type program without Transaction code.
so kindly mention what exactly you are doing???
thanks!!
2015 Nov 03 11:45 AM
I have used executable type.
When I execute my program, the values do not get populated in the output grid. They are blank.
2015 Nov 03 11:46 AM
2015 Nov 03 11:53 AM
2015 Nov 03 11:55 AM
Hi Sonam,
You must be passing workarea of table to field t_outtab .
Use []
TABLES
t_outtab = <table_name> []
Thanks.
Regards,
Ashish Desai
2015 Nov 03 11:58 AM
Did that. The program gets executed. Just that my output table appears blank.
Is there some FM used to enable viewing of the output?
2015 Nov 03 12:01 PM
Hi Sonam,
Please mention FM you are using.
Thanks.
Regards,
Ashish Desai
2015 Nov 03 12:08 PM
hi Sonam,
Also check that you are passing field catalog correctly or not.
it_fieldcat = lt_fieldcat
or
it_fieldcat = lt_fieldcat[]
If you are using OO method then you might not have created object for class CL_GUI_ALV_GRID
Regards,
Ashish Desai
2015 Nov 03 12:09 PM
I have only used "REUSE_ALV_GRID_DISPLAY" for displaying my ALV output.
2015 Nov 03 12:09 PM
2015 Nov 03 12:28 PM
Even if no data is displayed, are you able to execute The Consistency Check, look for error in field catalog, layout, actual internal table to display, etc.
Did you read the FM documentation and many documents available in scn or online help on definition of ALV grid, execute report BALVBUFDEL ?
Also you should provide much more information, were you previously able to display data, etc.
Regards,
Raymond