Skip to Content
0
Former Member
Jul 10, 2006 at 01:36 PM

Dnypro 100 Does not Exist?

622 Views

Experts,

The following code is a simple query extract. Why am I getting the error in the subject line and dumping? Does anybody know?

Thank-You.

REPORT zmm_zrecipes_errs_query.

DATA: ok_code LIKE sy-ucomm,

lt_zrecipes_errs LIKE TABLE OF zrecipes_errs,

grid1 TYPE REF TO cl_gui_alv_grid,

g_custom_container TYPE REF TO cl_gui_custom_container.

START-OF-SELECTION.

******************************************************************

  • Fill report table and call screen to display alv *

******************************************************************

SELECT * FROM zrecipes_errs INTO TABLE lt_zrecipes_errs.

CALL SCREEN 100.

******************************************************************

  • Process Before Output Modules *

******************************************************************

MODULE setup OUTPUT.

SET PF-STATUS 'MAIN100'.

IF g_custom_container IS INITIAL.

CREATE OBJECT g_custom_container

EXPORTING container_name = 'MY_CONTROL_AREA'.

CREATE OBJECT grid1

EXPORTING i_parent = g_custom_container.

CALL METHOD grid1->set_table_for_first_display

EXPORTING

i_structure_name = 'ZRECIPES_ERRS'

CHANGING

it_outtab = lt_zrecipes_errs.

ENDIF.

ENDMODULE. "setup OUTPUT

*******************************************************************

  • Process After Input Modules *

*******************************************************************

module check_exit input.

case ok_code.

when 'EXIT'.

leave program.

endcase.

clear ok_code.

endmodule.