Application Development and Automation 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: 
Read only

ABAP DYNPRO DOES NOT EXIST

Former Member
0 Likes
2,340

I cannot run this simple abap program:

REPORT  ZSAM11.

data: ok_code type sy-ucomm.

parameters: p_carrid type sflight-carrid.
start-of-selection.
  call screen 100.
*&---------------------------------------------------------------------*
*&      Module  STATUS_0100  OUTPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module status_0100 output.
  set pf-status '0100'.
*  SET TITLEBAR 'xxx'.

endmodule.                 " STATUS_0100  OUTPUT
*&---------------------------------------------------------------------*
*&      Module  USER_COMMAND_0100  INPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module user_command_0100 input.

  case ok_code.
    when 'BACK'.

      set screen 0.
      leave screen.
  endcase.

endmodule.

I am getting:

The system attempted to use dynpro 100 in program zsam11. This dynpro does not exist.

Maybe I do not have dynpro installed in sap or something. you know how to add this dynpro or screen to sap or how else this can be fixed?

2 REPLIES 2
Read only

jitendra_it
Active Contributor
1,595

You have to create screen 100 under your program. You can learn more about dynpro on https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapcall_screen.htm

Read only

RaymondGiuseppi
Active Contributor
1,595

You only copied one of the objects required (the main code source, but forgot Dynpro and probably menu, texts, etc.

Double-click on the 100 after call screen, or use SE51 to create the dynpro with attributes, fields, layout and execution logic.

Do the same operation for the menu after set pf-status or use SE41.

(Or use SE80 and its contextual menu/tree display for navigation)

But, first, find and read some book or course on Abap.