‎2010 Jul 28 11:58 AM
Hi Expert,
I copied all Included , variants, documentation , screen and user interface from the standard SAP program to Zprogram via SE38 transaction , and then run Zprogram --> Choose SCOP OF LIST is BEST ALV but the program did not show ALV report.
How to show ALV ? Please help me ....
Any help will be greatly appreciated.
Thank you so much.
‎2010 Jul 28 8:29 PM
Hello
Is this program using REUSE_ALV_GRID_DISPLAY function?
This function has a parameters program name and include name,
maybe they were hardcoded in standard program,
convert them to your new program and include name.
Than make a global search in your program for that program name
it can be used in another steps.
‎2010 Jul 29 3:46 AM
Hi Bulent Balci ,
This program is using the function"REUSE_ALV_GRID_DISPLAY" .
Below is code which I copied from ME2W standard transaction.
data: g_callback_program type sy-repid.
data: l_is_layout type slis_layout_alv.
data: lt_fieldcat type slis_t_fieldcat_alv.
data: eb_variant like disvariant.
data: gt_outtab type table of gt_outtab_type.
data: g_exit_caused_by_caller.
data: gs_exit_caused_by_user type slis_exit_by_user.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_buffer_active = ' '
i_callback_program = g_callback_program
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND_ME2V'
i_structure_name = 'MERE_OUTTAB_ME2V'
i_background_id = 'ALV_BACKGROUND'
is_layout = l_is_layout
i_save = 'A'
is_variant = eb_variant
importing
e_exit_caused_by_caller = g_exit_caused_by_caller
es_exit_caused_by_user = gs_exit_caused_by_user
tables
t_outtab = gt_outtab
exceptions
program_error = 1
others = 2.
So I think they were not hardcodeed in standard program.
Do you have any solutions for that ? pls help ...
Thanks alot.
Karen
‎2010 Jul 29 7:39 AM
Than go to your copy program
and put a break-point on line call function 'REUSE_ALV_GRID_DISPLAY'
than display table gt_outtab in your debugger.
is this table empty or containing some entries?
‎2010 Aug 09 10:13 AM