‎2008 Aug 17 5:57 PM
Hi
I am trying to create program using /nse80 or /se38, something it should start like this.
PROGRAM demo_dynpro_input_output .
I am unable to do so, but I am end up creating
REPORT demo_dynpro_input_output .
Please help what is that I am doing wrong. ?
I want to create the program not the report ?
thanks
siva
‎2008 Aug 17 6:10 PM
Hi,
For user created program, the program name should start with 'Z'.
In SE38, give program name as follows 'zdemo_dynpro_input_output'
Thanks.
‎2008 Aug 17 6:10 PM
Hi,
For user created program, the program name should start with 'Z'.
In SE38, give program name as follows 'zdemo_dynpro_input_output'
Thanks.
‎2008 Aug 17 6:19 PM
Yes, I did. may be something I am doing it not correct.
Here is what I did.
1. In se38 enter the program name "zdemo_dynpro_input_output" and hit "create" button.
ABAP Program attribute screen pops-up.
2. I input he following filed
Title: demo_dynpro_input_output
TYpe: Executable Program
Status: Test Program
Applcation: Basis
and hit "tick" mark to save.
A pop-up opens.
3. Input package : $TMP and "local object" It generated the following output.
&----
*& Report ZDEMO_DYNPRO_INPUT_OUTPUT
*&
&----
*&
*&
&----
REPORT ZDEMO_DYNPRO_INPUT_OUTPUT.
4. I wan to create the program not the report.
Please advice ?
thanks
siva
‎2008 Aug 17 6:28 PM
U dis correct, now start ur coding after this statement
REPORT ZDEMO_DYNPRO_INPUT_OUTPUT.
REPORT is the first KEY statement of any Executable ABAP program.
Edited by: Bala Krishna on Aug 17, 2008 11:03 PM
‎2008 Aug 17 7:11 PM
Bala,
Hope, I did correct. Please note , my program should start with
"PROGRAM demo_dynpro_input_output ." instead of
"REPORT demo_dynpro_input_output ." As per the book example below.
How do I get this ?
Example"
=================
PROGRAM demo_dynpro_input_output .
DATA: input TYPE i,
output TYPE i,
radio1(1) TYPE c, radio2(1) TYPE c, radio3(1) TYPE c,
box1(1) TYPE c, box2(1) TYPE c, box3(1) TYPE c, exit(1) TYPE c.
CALL SCREEN 100.
MODULE init_screen_100 OUTPUT.
CLEAR input.
radio1 = 'X'.
CLEAR: radio2, radio3.
ENDMODULE.
MODULE user_command_0100 INPUT.
output = input.
box1 = radio1.
box2 = radio2.
box3 = radio3.
IF exit NE space.
LEAVE PROGRAM.
ENDIF.
ENDMODULE.
Edited by: Sivanantham kandan on Aug 17, 2008 8:11 PM
‎2008 Aug 17 7:53 PM
hiii
This is not an executable program of type 1.your example is of module pool program..so you need to create it by using SE38 or SE80.
go to SE38
Enter program name that starts with 'Z' or 'Y' because SAP will not allow you to create any program without Y or Z...
now for program type you need to select Module pool program from that drop down box.
now press enter so your program will be created.
regards
twinkal
‎2008 Aug 17 9:02 PM
>
> Hi
> I am trying to create program using /nse80 or /se38, something it should start like this.
> PROGRAM demo_dynpro_input_output .
>
> I am unable to do so, but I am end up creating
> REPORT demo_dynpro_input_output .
>
> Please help what is that I am doing wrong. ?
>
> I want to create the program not the report ?
>
>
> thanks
> siva
You are doing nothing wrong. It is the way SAP works. If you want PROGRAM rather than REPORT, change it in the editor. And while you're at it read the ABAP help for PROGRAM and REPORT
Oh - and to all intents and purposes, there's no difference between the two statements.
matt
‎2008 Aug 17 9:08 PM
Thanks Solved.
How doI execute the module pool program When I try to execute it says, it is not a report program".
Here is the error message:
===================
ZDEMO_DYNPRO_INPUT_OUTPUT is not a report program (type 'M')
Message no. ED811
thanks
siva
Edited by: Sivanantham kandan on Aug 17, 2008 10:26 PM