Sunteți pe pagina 1din 1

A query can be created to extract information from master records i.e Infotypes.

For example, by creating a query , the data relating to an employee contained i n various Infotypes can be extracted. Proceedure : Decide on the various Infotyp es we want to make the query. Decide on the area where we want to query i.e Glob al area or Standard area. Standard area is client specific and globel area will include all clients. Menu : HR PM Admn - Information System - Adhoc Query Select area standard and select the user group already created Creation of new query : TC SQ03 - Select Environment Select Standard Area - Enter -- If new user group is to be created, enter name of the user group, click on create and enter necess ary information and exit after saving TC SQ02 - Enter name of the Infoset Create enter name of Infoset - Data source -- > Table join by basis table give name of table e.g pa0000 - Enter - Click on insert table if we want to include more tab les give name of table one by one and after finishing, place cursor on the joini ng lines and right click to delete unwanted relationships - check - and go back - field groups - include all table fields - click on generate button - go out TC SQ03 - Select user group - eg. Payroll Infoset - Enter name of newly created In foset Assign users and Infosets - Assign infosets - put tick on payroll - save a nd go back TC PAAH - Expand the nodes and put tick on relevant fields depending upon necessity Save the query by giving the same name as infoset for easyness.. Check the SDN Wiki https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=30 083 https://forums.sdn.sap.com/thread.jspa?threadID=768565 ABAP QUERIES: Many ti mes a need arises for SAP Users and Functional Consultants to generate quick rep orts without getting any ABAP coding done time taken to complete the coding in d evelopment, transport and test it in QA system and then transport to production is sometimes too long. In such cases, ABAP/4 query is a tool provided by SAP for generating these kind of reports. This document aims at explaining the concept of ABAP/4 query in a simple and straight forward manner. The reader of this docu ment should have a moderate knowledge of ABAP concepts and authorizations for un derstanding the concept of ABAP query. The various objects that form an ABAP que ry can be created in the following 2 ways: Tools => ABAP/4 Workbench => Utilitie s => ABAP/4 Query OR By executing the transaction codes mentioned below SQ01 ABA P/4 Query SQ02 Functional Area SQ03 User group Adhoc Queries: The ABAP Query was designed for all modules and the Ad Hoc Query was designed exclusively for the Human Capital Management module. Beginning with version 4.6, things have changed . The ABAP Query is now called the SAP Query and its features have been enhanced . Additionally, the Ad Hoc Query tool can now be used with all modules in SAP un der the name the InfoSet Query (although in the Human Capital Management module SAP still refers to it as the Ad Hoc Query).

S-ar putea să vă placă și