How we create abap query

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

Similar Messages

  • 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

  • How to execute ABAP QUERY.

    Hi all,
            I know how to create ABAP QUERY using transactions SQ01,SQ02 and SQ03.But after creating it how to and where to use it.
    Rgds,
    Tkp

    Hi,
      Check this link..
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    Thanks,
    Naren

  • How to create sap query

    how to create sap query if any one has the documentation pls foward to this mail id [email protected]
    thanks
    avinash

    check these links...
    http://www.sap-basis-abap.com/sapquery.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    http://help.sap.com/saphelp_nw04/helpdata/en/25/8f4dd72b0f9f4fa6712fcf2f65f505/frameset.htm

  • How to create a query view in sap bw?

    can any one please tell me how to create a query view in sap bw 3.5?

    Hi,
    you can do this by using Bex analyzer and WAD ..
    gop through this link ..
    http://help.sap.com/saphelp_nw70/helpdata/en/0e/1339427f82b26be10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    hope this helps you ..
    Reagrds,
    shikha

  • How to create a query to see Opening stock and closing stock as on particul

    Hi All,
    How to create a query to see Opening stock and closing stock as on particul.
    Regards
    Albaik

    Hi,
    In BI 0IC_C03 will provide u the  required information and also having standard queries provided by the SAP.
    Plz find the list of Queries provided by the SAP.
    =======================================================================================================
    Inventory turnover      0IC_C01_Q0001
    Range of coverage - quantity      0IC_C01_Q0002
    Range of Coverage - Value      0IC_C01_Q0003
    Range of coverage of finished goods - quantity      0IC_C01_Q0004
    Range of Coverage of Finished Goods - Value      0IC_C01_Q0005
    Range of coverage of raw materials - quantity      0IC_C01_Q0006
    Range of Coverage of Raw Materials - Value      0IC_C01_Q0007
    Obsolete Stock on Hand      0IC_C01_Q0008
    Period-dependent requirement coverage      0IC_C01_Q0009
    Value of stock on hand      0IC_C01_Q0010
    Quantity of stock on hand      0IC_C01_Q0011
    Material consumption      0IC_C01_Q0012
    Material Movements      0IC_C01_Q0013
    Consignment stock: receipts and issues      0IC_C01_Q0014
    Valuated stock: receipts and issues      0IC_C01_Q0015
    Material stock and movements      0IC_C01_Q0016
    Material Movements (Healthcare)      0IC_C01_Q0020
    Material Consumption (Healthcare)      0IC_C01_Q0021
    Material Availability      0IC_C01_Q0022
    Inventory Turnover Frequency (Value)      0IC_C01_Q0023
    Consignment Stock Received and Issued per Unit      0IC_C01_Q0024
    Material Consumption (Quantity)      0IC_C02_Q0001
    Valuated Stock Receipts and Issues (Quantity)      0IC_C02_Q0002
    Range of Valuated Stock (Quantity)      0IC_C02_Q0003
    Inventory Turnover      0IC_C02_Q0004
    Receipt and Issue Consignment Stock at Customer      0IC_C03_Q0001
    Receipt and Issue Quality Inspection Stock      0IC_C03_Q0002
    Vendor Consignment Stock Receipt and Issue      0IC_C03_Q0003
    Receipt and Issue Stock in Transit      0IC_C03_Q0004
    Receipt and Issue of Blocked Stock      0IC_C03_Q0005
    Valuated Stock      0IC_C03_Q0006
    Stock in Quality Inspection      0IC_C03_Q0007
    Stock in Transit      0IC_C03_Q0008
    Blocked Stock      0IC_C03_Q0009
    Vendor Consignment Stock      0IC_C03_Q0010
    Consignment Stock at Customer      0IC_C03_Q0011
    Stock Overview      0IC_C03_Q0012
    Stock Overview (as of 3.1 Content)      0IC_C03_Q0013
    Quantities of Valuated Project Stock (as of 3.1 Content)      0IC_C03_Q0014
    Valuated Stock (as of 3.1 Content)      0IC_C03_Q0015
    Quantities of Valuated Sales Order Stock (as of 2.1 Cont.)      0IC_C03_Q0016
    Inventory Turnover      0IC_C03_Q0017
    Days' Supply      0IC_C03_Q0018
    SUS: Vendor Consignment Stock      0IC_C03_Q0019
    Scrap      0IC_C03_Q0020
    Inventory Aging      0IC_C03_Q0021
    Stock Overview - extended      0IC_C03_Q0022
    Demand Supply Match      0IC_C03_Q0023
    Warehouse Stock Analytics – Inventory Turnover      0IC_C03_Q0024
    Warehouse Analytics - Obsolescence and Variance      0IC_C03_Q0025
    Stock Overview: Materials      0IC_C03_Q0030
    Average Stock Value Over Time      0IC_C03_Q0031
    Stock Overview Over Time      0IC_C03_Q0032
    Range of Coverage Over Time      0IC_C03_Q0033
    ==================================================================================================
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Jan 18, 2010 8:06 AM

  • How to create sap query with "or" relationship

    dear experts,
    I need a report to display the employee whoese WSR is
    changed in the month for infotype 0007.
    that is ,we want to search with selection
    begda OR endda between 2008-01-01 and 2008-01-31.
    how to create sap query with "or" relationship?

    hi use like this,
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr                 =  p_pernr
        infty                   =  '0007'
       BEGDA                =  p_date1
       ENDDA                 = p_date2
      TABLES
        infty_tab             = itab .
    hi use this by passing the pernr to fm and giving the dates low and high in the p_date1 and p_date2.
    loop at itab where condition.
    endloop.
    may it helps u,
    regards,
    venkat.

  • How to create quick query region?

    Hi,
    How to create quick query region?
    I have got some tip from OAF developer guild:
    OAPageLayoutBean pageLayout = pageContext.getPageLayout();
    pageLayout.setQuickSearch(quickSearchRN);
    But I don't know how to create 'quickSearchRN'.
    So, I try to create a stacklayout region as quickSearchRN, and add it into pageLayout.
    But there are two stacklayout region displayed. One in qucik query region, other in main region.
    please give me some sample code.

    OAFlowLayoutBean quickQueryRN = (OAFlowLayoutBean)createWebBean
    (pageContext,OAWebBeanConstants.FLOW_LAYOUT_BEAN, null, "QuickQueryRN");
    OAMessageTextInputBean condition = (OAMessageTextInputBean)createWebBean
    (pageContext,OAWebBeanConstants.MESSAGE_TEXT_INPUT_BEAN, null, "condition");
    condition.setPrompt("Name");
    quickQueryRN.addIndexedChild(condition);
    pageLayout.setQuickSearch(quickQueryRN);

  • How to create sql query for item master with operator LIKE with variables?

    hi all,
    How to create sql query for item master with
    operator LIKE(Contains,Start With,End With) with variables using query generator in SAP B1 ?
    Jeyakanthan

    Hi Jeyakanthan,
    here is an example (put the like statement into the where field)
    SELECT T0.CardCode, T0.CardName FROM OITM T0 WHERE T0.CardName Like '%%test%%'
    The %% sign is a wildcard. If you need start with write 'test%%' and otherwise ends with '%%test'. For contains you need '%%test%%'. You also could combinate this statements like 'test%%abc%%'. This means starts with test and contains abc.
    Regards Steffen

  • Steps for creating abap query

    hi sap gurus,
    can i steps for creating abap query
    plz help me on this.
    regards,
    balaji.t
    09990019711

    Hi
    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 publish ABAP query to MSS/Portal

    Hi,
    Can someone please guide me on how can I publish a ABAP query to web using MSS.
    Thanks
    Salim

    Hi,
    You can display the reports in the portal directly or through creating the iviews in the PCD content.
    Directly Displaying the query in the portal options:-
    Option 1. Go to the query designer >Open any Query>Select Execute.
    The report will be displayed in the portal.
    Option 2. Go to the query Designer> open any Query>In tool select Query.select Publish>To Portal.
    Creating the Iviews:-
    1. In your portal PCD content create the iview for the xisting query and assing the iview to page anf page to workset .
    Assign th page to any role in the portal , through tis roles you can directly log in  to the portal and access the query in the portal.
    Ram.

  • How to create infoset query

    Hi,experts
    Can anybody give me documents on infoset query and step by step showing how to create infosetquery. I will really greatful to you all.
    Thanks
    Preeti

    Hi Preeti,
    1. You can query the data using 'Listcube' transaction.
    2. Instead of builing on tables, it sits on ODS (no need to worry about underlying tables).
    3. Visible on the Bex 'info area' as like other infoproviders.
    4. It generates additional key figure called 'Number of records' in the Bex. This will be useful for query.
    5. No additional ABAP can be used. But in RSQ02, you can use piece of ABAP.
    6. Queries created on data provider infoset can work like other queries including transport functionality.
    Hope helps.
    For more info check Re: Query on Infoset
    Bye
    Dinesh

  • How to create a Query iView based on user's parameter?

    Hello,
    I've created a Query iView which depends on a Costumize parameter that the user enters - On stage 5 of the wizard I've entered a customize parameter on a certain field and called it "user_param". The wizard entered the Query: WHERE... = {$user_param}. So far so good...
    My question is, after creating this iView, how Do I implement it at the Portal so the user will have a place to enter his parameter and receive the result?
    when opening the Query I don't see such place. According to SPA's documentation, the user should enter the parameter at the "personalize" menu. When I put this iView in a page and open the "Personalize" menu there is no such place.
    Which further configurations should I do in order it to work?

    If you open the iview, there should be a personalize property or setting for the URL parameter. Make sure that it is set to read/write. I just got off a portal project where I did a few of these, but I don't have access to one right now, so I can't give you the exact steps, but you should get the idea.
    Good luck,
    Tom \

  • How To Create ABAP Code For HR Context Sensitive Structural Authorization

    Hello,
    We have created a HR Custom Program which IS NOT built off the PCH or PNP Logical Database. As a result, we need to manually create ABAP code for HR Context Sensitive Structural Authorization Check in our custom HR program. Via HR Context Sensitive Structural Authorizations, we are restricting access to personnel numbers and the underlying HRP* tables.
    Any assistance would be greatly appreciated with the identification of the SAP standard function modules (Ex. RH_STRU_AUTHORITY_CHECK, HR_CHECK_AUTHORITY_INFTY, HR_CHECK_AUTHORITY_INFTY , etc) used in HR Context Sensitive Structural Authorization Check, how they are used to control HR Structural authorization (P_ORGINCON), and some sample code.
    Thank you in advance for all your assistance,
    Ken Bowers

    Hello Ken
    You can use the interface methods IF_EX_HRPAD00AUTH_CHECK to get the same structural authorization as you can see in PA20/PA30. You need to use the methods set_org_assignment and check_authorization for this purpose. For more information you can refer to include FP50PE21 from line 237 onwards till 270.
    Regards
    Ranganath

  • How to transfer ABAP query from one server to another server

    Hi all,
    I have a ABAP query in development server and i need to transport it to production server.
    I have attached a transaction to it using the program which got generated in the back ground
    from the abap query in the developemnt server.
    I have downloaded and uploaded  a ABAP query from one server to another server.
    But the program which got generated in the back ground in the production server is different from
    program which is generated in the development server.
    But my transaction is attached to the program in the development server.If i transport the transaction
    to production server,it is giving error since that program is not present in the production server.
    Am i going in the right way......? 
    Is there any problem in my upload/download procedure ?
    Is there any way to achieve my purpose ...............?
    Please kindly reply me at the earliest.

    You have different ways to call a query using a t.code. One way is to create a pgm with the following code and attach a t-code to it.
    data: gv_test type sy-repid.
    DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
          GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
          GV_RNAME TYPE AQADEF-PGNAME .
    CALL FUNCTION 'RSAQ_REPORT_NAME'
      EXPORTING
        WORKSPACE        = ''
        USERGROUP        = GV_USERGROUP
        QUERY            = GV_QUERY
    IMPORTING
       REPORTNAME       = GV_RNAME
    * For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
    gv_test = GV_RNAME.
    SUBMIT (gv_test) via selection-screen and return.
    Alternate way is while creating T-Code you choose option Transaction with parameters.
    Transaction as START_REPORT and in default values table control at bottom give as follows
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-REPORT = User group
    D_SREPOVARI-EXTDREPORT = Your Query name
    Regards
    Sathar

Maybe you are looking for

  • Invalid path to MS-Word templates folder

    Hi all!!! I set in System Initialisation -> General Settings -> Path -> Microsoft Word Templates Folder: "C:\Program Files (x86)\SAP\SAP Business One\WordDocs\". When i click on the MS_WORD icon on a Sales Order i get the message "Invalid path to MS-

  • Error when logging to BPM Worklist

    Hi! When trying to login to the bpm workspace (http://localhost:7001/integration/worklistapp/), of course Oracle BPM 11g, few seconds after clicking the button "Conectar"(Connect in English I guess) it shows a message with the text: java.rmi.ServerEr

  • Lightbox animation jerky in Firefox 3, smooth in Safari and Firefox 2...

    I have an iMac G5 2.1Ghz with 2.5Gb of RAM running OS X.4.11. I have recently installed Firefox 3 on my mac. It's a very nice browser but I am somewhat disappointed with its performance as it's not faster than FF2, especially with Lightbox. When I cl

  • Error java.sql.exception when setting up repository for OWB 11g

    Hey all, I am encountering the following error on the last step of Repository Assistant, that is, while trying to set up the design repository in OWB 11g: "The Warehouse Builder workspace installation failed java.sql.SQLException : ORA-00942 table or

  • Error 0CFM_INIT_POSITIONS Extractors

    Hi experts, I active the standard data source 0CFM_INIT_POSITIONS in  R/3 system (this system is not connected with BW). When I do a extraction test (transaction RSA3) I get this message: RSQU 024. Could not determine BW release of logical system. Mu