‎2009 Jun 01 4:39 AM
I generated the query program and copied it as to another as an abap program and linked it to a TCODE.
When I run in SE38, it is able to come up with a report but when I run as a TCODE, it pop up the screen for me to input my selection and then it ended when I execute it.
I checked that the sy-ucomm is always a "CRET" when I run from TCODE and "ONLI" when I run from SE38.
I managed to ovewrite it in the codes but it still doesnot work.
Can someone highlight to me what further changes do I need to do?
Thanks
‎2009 Jun 01 8:51 AM
Change the transaction type from
Program and Screen ( Dialog transaction ) to
Program and selection screen ( Report transaction )
‎2009 Jun 01 8:51 AM
Change the transaction type from
Program and Screen ( Dialog transaction ) to
Program and selection screen ( Report transaction )
‎2009 Jun 01 9:01 AM
HI,
Check and specify the correct radio buttons :
program and screen (dialog transaction)
program and selection screen (report transaction)
Method of class
Transction with variant
transaction with parameters
reg
siva
‎2009 Jun 01 9:19 AM
Hi,
Select program and selection screen (report transaction) radiobutton.
Regards,
Jyothi CH.
‎2009 Jun 01 9:32 AM
Are u trying to create a transaction code for a SAP query? If this is so, follow the steps below. You do not need to copy to another abap program:
1. Go to SE93 and enter the transaction code for the query and click 'Create' icon
2. Choose 'Transaction with parameters (parameter transaction)' on the popup
3. Type Transaction = 'START_REPORT'
4. Check 'Skip Initial Screen'
5. Check ' Inherit GUI Attributes'
6. Check SAPGUI for HTML, Java, Windows
7. Default Values as such:
D_SREPOVARI-REPORT = <User Group>
D_SREPOVARI-EXTDREPORT = <Query Name>
D_SREPOVARI-REPORTTYPE = 'AQ' (for Query)
‎2009 Jun 01 9:33 AM
Re-create the transaction with Program and selection screen (report transaction) instead of program and screen (dialog transaction).
‎2009 Jun 01 5:28 PM
‎2009 Jun 01 5:28 PM