‎2010 Jul 18 4:21 AM
Hi Experts,
I have installed SAP Mini Basis in my computer and I am learning ABAP. As such, I am new to ABAP. I did my first Hello Program in it and it gave an error. I did not change the code in any aspect, but it gave an error. I simply copied it. I can understand that there is some error on statement CALL SCREEN 100. I do not know how to correct it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Hello Program is given below:
REPORT ZKAN.
Selection Screen
PARAMETERS input(12) TYPE c DEFAULT 'Hello World!'.
Dynpro
CALL SCREEN 100.
List
SKIP TO LINE 10.
POSITION 40.
WRITE input.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The error is given below.
ABAP runtime errors DYNPRO_NOT_FOUND
Occurred on 17.07.2010 at 20:09:43
Screen does not exist
What happened?
The current ABAP/4 program "ZKAN " had to be terminated because
one of the statements could not be executed.
This is probably due to an error in the ABAP/4 program.
The program had to be terminated.
What can you do?
Note the actions and input that caused the error.
Inform your SAP system administrator.
You can print out this message by choosing "Print". Transaction ST22
allows you to display and manage termination messages, including keeping
them beyond their normal deletion date.
You can print this message by choosing "Print".
Transaction ST22 allows you to display and manage short dumps. It
is especially useful if you want to keep a particular message.
Error analysis
Program "ZKAN" tried to use screen 0100.
The screen does not exist.
How to correct the error
If the error is in one of your own ABAP programs or an SAP program that
you have modified, try to correct it.
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"DYNPRO_NOT_FOUND"
"ZKAN " or "ZKAN "
"START-OF-SELECTION"
"START-OF-SELECTION"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
-
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "46D"
Application server....... "ganesh"
Network address.......... "10.10.0.10"
Operating system......... "Windows NT"
Release.................. "5.1"
Hardware type............ "Intel 80686 (Mo"
Database server.......... "ganesh"
Database type............ "MSSQL"
Database name............ "MBS"
Database owner........... " "
Character set............ "English_United State"
SAP kernel............... "46D"
Created on............... "Oct 22 2000 19:55:29"
Created in............... "NT 4.0 1381 Service Pack 5 x86 MS VC++ 12.00"
Database version......... "SQL_Server_7.00 "
Patch level.............. "242"
Patch text............... " "
Supported environment....
Database................. "MSSQL 6.5.213 or higher, MSSQL 7.0.1 or higher"
SAP database version..... "46D"
Operating system......... "Windows NT 4.0, Windows NT 5.0, Windows NT 5.1, ,
System build information:, , LCHN :
330950"
User, transaction...
Client.............. 000
User................ "BCUSER"
Language key........ "E"
Transaction......... "SE38 "
Program............. "ZKAN "
Screen.............. " "
Screen line......... 0
Information on where termination occurred
The termination occurred in the ABAP/4 program "ZKAN " in
"START-OF-SELECTION".
The main program was "ZKAN ".
The termination occurred in line 10
of the source code of program "ZKAN " (when calling the editor 100).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks in advance,
With kind regards,
Shreeem.
Edited by: Shreeem on Jul 18, 2010 5:22 AM
‎2010 Jul 20 6:54 AM
Hi Shreem
as you said that you are new to ABAP.
in your code you have written.
The Hello Program is given below: REPORT ZKAN. * Selection Screen PARAMETERS input(12) TYPE c DEFAULT 'Hello World!'. * Dynpro CALL SCREEN 100. * List SKIP TO LINE 10. POSITION 40. WRITE input.
PARAMETERS statement creates a screen with input field to enter some values by user.
you are setting the default values for your parameter as 'Hello World'.
after that you have called a screen 100.
and you are getting the error becasue before calling the screen you need to create a screen through SE51 and assign a number to your screen.
and while calling mention that screen number in your program.
suppose you have created a screen with number 200, then
write. call screen 200.
here in your code
the program is not able tofind the screen hence it is giving you that error.
before posting your question please read SCN rules and go through the topic deeply.
learning about the screens is not so easy. So start with simple programs
Thanks
Lalit Gupta
‎2010 Jul 18 5:31 AM
Hi,
please read before post the top entried in this forum:
Thread Locked How to post code in SCN, and some things NOT to do... sahinn Nimbus 11,597 5
Jun 6, 2010 4:04 PM
Last Post By: Rob Burbank »
Read
Sticky Thread Please read "The Forum Rules of Engagement" before posting! HOT NEWS!! Pages: Jan Stallkamp Moderator SAP Employee 28,855 106
May 17, 2010 12:20 AM
Last Post By: Barry Neaves »
Read
Resolved question Sticky Thread Thread Locked FAQ's, intros and memorable discussions in the ABAP General Forum Julius Bussche Moderator 15,886 2
Jan 22, 2010 10:41 PM
Last Post By: Mat
Always use preview tab before posting.
Regards,
Clemens
‎2010 Jul 20 6:54 AM
Hi Shreem
as you said that you are new to ABAP.
in your code you have written.
The Hello Program is given below: REPORT ZKAN. * Selection Screen PARAMETERS input(12) TYPE c DEFAULT 'Hello World!'. * Dynpro CALL SCREEN 100. * List SKIP TO LINE 10. POSITION 40. WRITE input.
PARAMETERS statement creates a screen with input field to enter some values by user.
you are setting the default values for your parameter as 'Hello World'.
after that you have called a screen 100.
and you are getting the error becasue before calling the screen you need to create a screen through SE51 and assign a number to your screen.
and while calling mention that screen number in your program.
suppose you have created a screen with number 200, then
write. call screen 200.
here in your code
the program is not able tofind the screen hence it is giving you that error.
before posting your question please read SCN rules and go through the topic deeply.
learning about the screens is not so easy. So start with simple programs
Thanks
Lalit Gupta