‎2008 Aug 19 4:01 PM
Hi team,
I am new in ABAP and I want to do a very simple report and then call this report using a transaction code.
Steps:
1) create the report (SE38)
the report is: Z_DEMO
2) generate a transaction code for this report (SE93)
note: the transaction code is ZDEMO
3) call the transaction generated on step 2
When I execute the report using SE38, everythig is ok and the records are inserted in my table zdemo2.
But when I call my transaction ZDEMO there is no insertion. Why?
The report ask for parameters and then fowards me to SAP's main menu.
Thanks,
Walter.
The report is:
REPORT Z_DEMO.
tables: zdemo2.
parameters:
nombre like zdemo2-nombre,
edad like zdemo2-edad.
data:
begin of tabla occurs 0,
nombre like zdemo2-nombre,
edad like zdemo2-edad,
end of tabla.
zdemo2-nombre = nombre.
zdemo2-edad = edad.
insert zdemo2.
‎2008 Aug 19 4:06 PM
Hi,
While creating the transaction for your program
1>Make sure u give the program name and screen number
2>Important thing is a option "GUI SUPPORT"
Check all the checkboxes or atleast SAPGUI for Windows to ensure that the Code runs in SAP GUI.
Thank you.
‎2008 Aug 19 4:06 PM
Hi,
While creating the transaction for your program
1>Make sure u give the program name and screen number
2>Important thing is a option "GUI SUPPORT"
Check all the checkboxes or atleast SAPGUI for Windows to ensure that the Code runs in SAP GUI.
Thank you.
‎2008 Aug 19 4:15 PM
Solved.
The solution was changing the transaction type from "program and screen" to "program and selection screen".
Thanks,
Walter.
‎2008 Aug 19 4:15 PM
hi walter,
Please create report transaction for your report .
while creating a popup comes and ask which type of tcode you want to create, select second option, and select all gui support in your tcode, it will definitely work.
Yogesh N
‎2008 Aug 19 4:16 PM
Hi,
While creating a Ztransaction in SE93 select the start object as Program and Selection-screen (Report Transaction)..
Hope this would work and solve your issue....
Good luck
Narin
‎2008 Aug 19 4:19 PM
Hi,
While creating the Transaction in SE93.
1.Enter the discription.
2. You have to select the program & selection screen for report option.
3. You need to enter the Program Name & screen No. default 1000.
4. In the Below GUI Support Box. Select all the check boxs.
Regards
Rajendra