Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dnypro 100 Does not Exist?

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

It would appear that you have not create screen 100. Double click on the "100" in that statement. System will ask if you want to create it if it has not been created yet. Say yes, put your UI elements in the screen, check the flow logic.

Looks like you will need to put a custom container on your screen, name it as 'MY_CONTROL_AREA'

Makes sure that the flow logic code looks like this.

process before output.

  module setup .

process after input.

  module check_exit.

Regards,

Rich Heilman

6 REPLIES 6

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

It would appear that you have not create screen 100. Double click on the "100" in that statement. System will ask if you want to create it if it has not been created yet. Say yes, put your UI elements in the screen, check the flow logic.

Looks like you will need to put a custom container on your screen, name it as 'MY_CONTROL_AREA'

Makes sure that the flow logic code looks like this.

process before output.

  module setup .

process after input.

  module check_exit.

Regards,

Rich Heilman

Former Member
0 Kudos

FIrst Create the screen 100.

If already created activate the screen.

If useful reward points.

Regards,

Vasanth

Manohar2u
Active Contributor
0 Kudos

1. Doulbe click on 100 screen, then create it.

2. And create a custom control and name it to 'MY_CONTROL_AREA'.

3. Activate and test the report.

Regds

Manohar

Former Member
0 Kudos

How do I create the custom control?Thanks.

Former Member
0 Kudos

Tom,

In the screen painter, to the left there is an icon with a letter C written over it... Drag and drop the container into your screen. Now double click on the container, you will get the attributes, just give a name to the container.

Save and activate it...

Now execute the above said program.

You can go through this link for refering as to how to do using containers.

http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt

It will work..

Regards,

SP.

Former Member
0 Kudos

Hi Tom

I think either you have not created Screen 100 or have not actvated screen 100. First create screen 100 and then activate it. you can create custom control in screen-painter ( SE51 ).