Can we assign Transaction code to created ABAP Query of SQ01
Hi ,
Friends I want to run the abap query assigning t.code to it .. i will be thankfull if any body give me the steps or remedy .
thanks
Hi you there.... you can try this
1) create an abap report with the following source code
REPORT ZRUN_QUERY .
DECLARACIÓNES *
DATA:
REPORTNAME LIKE AQADEF-PGNAME.
PANTALLA DE SELECCION *
SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS: P_BGNAME LIKE AQADEF-BGNAME OBLIGATORY,
P_QUNAME LIKE AQADEF-QUNAME OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN END OF BLOCK B0.
CUERPO DEL PROGRAMA *
CALL FUNCTION 'RSAQ_REPORT_NAME'
EXPORTING
WORKSPACE = SPACE
USERGROUP = P_BGNAME
QUERY = P_QUNAME
IMPORTING
REPORTNAME = REPORTNAME.
CALL FUNCTION 'RSAQ_SUBMIT_QUERY_REPORT'
EXPORTING
QUERYREPORT = REPORTNAME
VARIANTE = SPACE
EXCEPTIONS
ONLY_WITH_VARIANT = 1
VARIANT_NOT_EXIST = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
2) Create a transaction for this program
3) Create a parameter transaction and execute this report passing by parameter the usergroup and Query, then, the program will automatically solve the program name and execute it.
Regards,
Daniel
Similar Messages
-
How to assign transaction code to a ABAP program?
Hi,
Need help in assigning transaction code to a ABAP program. Any method that will do the job?>
sainath raj wrote:
> hi
> within my knowledge
> Any ABAP program can have its own transaction code if and only if it is of type 'MODULE POOL' .
> An EXECUTABLE program cannot have a transaction code.
>
> So try with this .
> 1) Go to the attributes of the program and change the program as type module pool
> 2) then execute transaction SE93.
> 3) give the appropriate program name and assign a transaction code as ur wish.
Well Sainath,
What u said is not correct, an executable report can have a transaction code, difference between module pool and executable program is that u neccesarily need to have a tcode for module pool but that doesn't mean that only module pool can have tcode.
And secondly u should not answer these kind of simple questions, as people then continue posting simple questions without making an effort to serach for themselves.
кu03B1ятu03B9к. -
How can i get access code to create ABAP Program ?
hi guys ,
How can i get access code for creating ABAP Program in my System.
I am using SAP IDES 4.6 Version
Please Help me out .
Regards
RaghuHi Raghu,
- license your system (http://service.sap.com/licensekey)
- create a developer key (http://service.sap.com/sscr)
- create a key for your ABAP program (httP://service.sap.com/sscr)
Markus -
Can we give Transaction code for an SAP Query(SQ01)..?
Hi All,
Can we assign an Transaction code for an SAP Query...?If yes, How..?
Waiting for your valuable replies.
Thanks and regards,
Rahul.Hi Rahul,
In SQ01,
go to menu path
Query--->morefunctions -
>Display report name.
Copy this program name. then
GotoSE93 .enter a tcode name .press create.
select program and selection screen option .
enter the Program name.
Reward points if helpful.
regards,
Hemant -
Reg calling Transaction code in Webdynpro ABAP
Hi All,
Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
Thanks.
Kumar Saurav.Hi,
The most easy Way is here:
1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
Copy its HTTP link, Suppose we get the below link
http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN ) with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
So that the newly generated link is such that the below one:
http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
Note in place of PA30 you can put any of your desired tcode.
3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
4) Activate and test your webdynpro Application. -
Transaction code to create virtual interface.
I want to create a web service from a RFC. For that first, virtual interface needs to be created which will be linked to the RFC. Can u please tell me what is the transaction code to create a virtual interface.
Thankx for ur reply.
Now I have created the Web service. To do this I have done the followings-
1. created one RFC enabled Function Module.
2. Created one virtual interface
3. Created Web service defination.
4. Released Web service from the wsconfig transaction.
Then from The transaction wsadmin I have opened the browser by clicking Web Service > Web Service Homepage (from menu)
After logging in it , shows the web service and RFC with in it. Now after clicking the Test link from the browser it asks for the parameter of the RFC. But After populating the parameters and clicking send button. it gives NullpointerException.
exact err message is --
An error has occurred. Maybe the request is not accepted by the server:
java.lang.NullPointerException -
Transaction Code to create new fonts.
Hello,
Please tell me a Transaction Code to create new fonts.
Regards,
Roshan Lilaram Wadhwani.Hi Roshan...
Please check se73.. but I dont think u can create any new.. just can change the values.
Regards,
Vishwa. -
How to create ABAP Query for vendor open items
HI,
My client has requested me to create ABAP Query for vendor open items . So that it will be usefull for the users . Could anyone help me with this. I will assign you points.Thanks in advance.Hello,
Use Table BSIK <Open Items of AP > & BSAK <AP Cleared items>......
For Query you can use SQ01.
USE BSID & BSAD for AR open/clear items...
LFA1, LFB1 are vendor master data tables
This is FYI
Hope this helps.
Rgds
Rajendra -
Can we join two totals tables in ABAP Query
Hey Gurus!
Can we join two totals tables in ABAP query.
I am tyring to join FAGFLEXT with internal orders totals table.
Thanks
SHi,
Report painter majorily operates around characteristics and key figures.
ABAP query comes even more handy. The advantage is -
1. You can link many tables
2. Create selection screen as you like to have
3. User friendly report creation
4. Logic can also be coded.
5. Authorization can be set
I have written a article in SDN, which gives you an idea as to how to go about using ABAP query. Have a look on this - [Article - Practical Usage of ABAP Query|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f6b256-23be-2b10-8b93-cad83a617634]
Regards,
Sridevi -
Need transaction code for opening Bex query designer?
Hi ALL,
Can anyone help me with the transaction code for opening Bex query designer?
Like RRMX for Bex Analyzer similarly i want for Bex query designer.
Thanks & Regards
Sameer KhanTHERE IS NO TCODE FOR QUERY DESIGNER. BUT THERE IS AN ALTERNATIVE..
OPEN BEX ANALYSER THROUGH RRMX
OPEN A QUERY
CLICK ON TOOLS-> EDIT QUERY
THIS OPENS QUERY DESIGNER AND YOU CAN USE IT NORMALLY.. -
how we create abap query can any1 tell me?
Reporting tool :Standard reports
Purpose :Provide solutions for your most frequent reporting requirements
Advantages :Can be used immediately
No developments required
Limitations :Limited flexibility
Output fields cannot be selected as required
HIS
Purpose :Hierarchies are displayed as graphics
Reports are executed using selected structures or substructures, that is, using preselected sets of objects
Advantages :User-friendly method of displaying hierarchical structures
Integration with InfoSet Query and standard reports
No need to switch from one HR application to another if you want to execute reports from different applications
Little training required
Limitations : Limited flexibility
Tool is used to execute standard reports and customer reports
It cannot be used to create reports
InfoSet Query
Purpose :Intuitive, general SAP reporting tool used to create customer reports
Enables you to create reports for all areas of HR
When InfoSet Query is accessed from Human Resources (HR), the Query area and User group parameters already contain values and you can only perform ad hoc reporting. If InfoSet Query is accessed this way, it is called Ad Hoc Query in HR (see HR in InfoSet Query).
Advantages :User-friendly interface
Very easy to use
No programming required
If integrated with SAP Query, you can continue processing queries using SAP Query
Set operations enable you to create sets of objects as required for which data must be output
Can be included in roles using a suitable InfoSet
Limitations :InfoSets and user groups must be defined in SAP Query before you can use InfoSet Query
Multiline lists cannot be displayed
SAP Query
Purpose :General SAP reporting tool used to create customer reports
Individual definition of user groups, InfoSets, and queries
Advantages :Extremely flexible
No programming required
Queries can be provided in the SAP Easy Access menu
Includes numerous options for aggregating data, performing calculations, and displaying graphics
Enables you to display multiline lists
Enables you to define one basic list and several statistics and ranked lists for each query
Limitations :Restricted to data from the R/3 System
Each HR query can process data from just one HR logical database:
PNP: Administration, Time Management, and Payroll
PCH: Generally for all areas, but particularly suitable for reporting on data from Personnel Planning
PAP: Recruitment
Requires much more training than other options
Limitations:Data is extracted from OLTP systems, that is, real-time data is not accessed
Business Information Warehouse
Purpose :Analytical reporting tool used for information and decision-making purposes
Advantages : Extremely flexible
Facilitates complex calculations (calculation of averages, time series comparisons)
Enables you to access non-SAP data
Easy to use
Uses OLAP technology
Includes detailed Business Content (HR extractors, InfoCubes, key figures, and standard queries
i think it is adhoc query not abap query -
hi sap gurus,
can i steps for creating abap query
plz help me on this.
regards,
balaji.t
09990019711Hi
Please check this link for a document on ABAP query. It explains the process step by step with screen shots..
http://www.auditware.co.uk/downloads/SAPQuery_step_thru.pdf
Thanks,
Ravi -
How to assign transaction code to report group.
hi experts,
i used report painter to create some reports and assign these reports to a report group, i want to assign a transaction code to the report group, how can i do that? hunger for your adivces, thanks a lot!!Hi Liu,
when you change an area menu, you can add transactions that launch ABAP/4 reports, Query lists or report writer's. You can use it for your purpose:
1. Enter transaction SE43 and change a Z* area menu (no matter which one, you will not change it in the end)
2. Click on "Add entry as subnode" or "Add entry at the same level" (no matter which one of them)
3. When SAP shows the popup "Add new entries", click on "Add report"
4. On the next popup, click on radio-button "Report Writer". Then you will be asked foe the code of the report group.
5. Then save, and... that's it! SAP will automatically create a transaction for the report group
6. Now you can cancel the changing of the area menu
I hope this helps. Best regards,
Alvaro -
Assign Transaction Code to own Vendor open items report
Hi,
I have created my own version of S_ALR_87012078 by copying the report and the form and making necessary changes in the report and form etc.
Now, I would like to assign a transaction code to my report, could you please let me know how I can do that.
Thanks,
SandeepHi Sudheer,
Thanks for the information.I have figured it as under,
SU53, create transaction code,
Select Transaction with paramters
Transaction: START_REPORT
Copy screen and values as in the standard program and replace standard report with your customer report name and it works brilliant. -
Assign Transaction Code for Report Painter generated program
I am trying to assign a transaction code for report painter generated program... I assigned the transaction code in Development for the generated program but the program name changes in every system and I get a runtime error...
Can you please guide me on how to handle this problemhttp://dap-consulting.com/yahoo_site_admin/assets/docs/Report_Painter_Reports.47142031.pdf
Found my answer in the above link
Maybe you are looking for
-
Is there a way of telling if tables in a schema are not being used?
I've thought about using the AUDIT_TRAIL. Is there any query that you can run to tell this, without setting this up?
-
Self-assigned IP problem - still no resolution!?
I have a Macbook which is about two and a half years old. I have never experienced any real problems with it, especially regarding connections. I have been connected to my home wireless network (BT homehub) ever since I got the laptop with no issues.
-
Initialize Sync - bad start!
Hi, Not having the best of starts to this Webtools project!. The initial synch was running quite happily until our addon module license expired at the stroke of midnight!. The Synch manager had closed itself down by the time I came in today. Having c
-
How do i get past "waiting for activation" on iphone 3 ?!?!
i've been trying since last night to get it working. my cousin gave me her old iphone 3 to use as an itouch and i am trying to get imessage to work, but it won't stop saying "waiting for activation". i've tried everything, i've tried veryfying my ema
-
Making sense of iCal to do a Time Machine restore
I have an old "To Do Item" that I wanted to restore from a Time Machine backup. But when I go to my Library/Calendars folder I get a number of .calendar folders (presumably connected to the different iCal Calendar Groups I have)--but all of the folde