adhoc query

Upload: ramar-boopathi-s

Post on 11-Feb-2018

237 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/23/2019 AdHoc Query

    1/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    INCLUSIONOFINFOTYPESINSAP ADHOC- QUERY

    There lies a paramount importance for the organizations to have the reports

    at the tips. A glance into the reports lets the organizations to strategicallyplan for the next courses of business and activities. Reporting can become

    very challenging when the diering needs of many decision-makers are met.

    An easiest approach for accessing the data in dierent forms is through the

    ueries - Reporting !unctionality.

    "A# $R oers a variety of access methods in this regard for its users. %f

    which& one of the most prominent is the functionality of Ad-hoc uery. $R Ad

    $oc uery enables users to create company-speci'c reports that respond to

    their ever-changing needs for information about employees and the

    organization.

    The R() "ystem contains hundreds of thousands 'elds in logical databases.

    "ince the users cannot be presented with thousands of 'elds to choose from *

    even from one particular logical database& to create a report& functional

    areas(+nfosets are created. ,hen creating a functional area& 'rst a logical

    database is selected& such as ## which contains all the relevant tables for a

    particular module or sub-module. ,hen selecting ## which is relevant to $R

    master data& the administrator needs to pick which infotypes should be

    included in that particular functional area from the total number of infotypes

    attached to the logical database.

    !or the purpose of creating a uery& we 'rstly create user groups& which arethen assigned with the functional areas. A functional area can also be

    assigned to the existing user group. A functional area determines which 'elds

    of a logical database can be evaluated in ueries. The administrator can

    create the user group and the functional area using transaction codes "/)

    and "/0 respectively.

    Page 1 of 17

  • 7/23/2019 AdHoc Query

    2/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    PA! 1

    Step 1: Create User Group SQ!

    !ollow the menu path * "A# 1enu -2 Tools -2 A3A# ,orkbench -2 4tilities -2

    "A# uery -2 4ser 5roups

    Page " of 17

  • 7/23/2019 AdHoc Query

    3/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    +n the 4ser 5roups6 +nitial "creen -

    - 7nter 4ser 5roup 894"5R7,in this case:

    - ;lick on

  • 7/23/2019 AdHoc Query

    4/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    +n the ;reate %b?ect >irectory 7ntry pop-up window -

    - ;lick on

  • 7/23/2019 AdHoc Query

    5/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    Step ": Create I#$oset SQ"

    !ollow the menu path * "A# 1enu 2 Tools 2 A3A# ,orkbench 2 4tilities 2

    "A# uery 2 +nfosets

    +n the +nfoset6 +nitial screen -

    - 7nter +nfoset ;ode 89+!"7,:

    - ;lick on atabase "creen -

    - 7nter >escription of +nfoset in the

  • 7/23/2019 AdHoc Query

    6/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    C. >ata retrieval by program

    - ;lick on

  • 7/23/2019 AdHoc Query

    7/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    +n the +nfoset 6 +nitial "creen -

    - 7xpand the !olders and select the necessary +nfotypes to be added.

    - After transferring >ata !ields to !ield 5roups click on irectory 7ntry "creen -

    - ;lick on

  • 7/23/2019 AdHoc Query

    8/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    Page ' of 17

  • 7/23/2019 AdHoc Query

    9/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    Step !: Ass%%#& User Group to I#$oset SQ!

    !ollow the menu path * "A# 1enu -2 Tools -2 A3A# ,orkbench -2 4tilities -2

    "A# uery -2 4ser 5roups

    +n the 4ser 5roups6 +nitial screen -

    - 7nter the 4ser 5roup for which +nfoset is to be assigned

    - ;lick on

  • 7/23/2019 AdHoc Query

    10/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    +n the 4ser 5roup6 Assign 4sers "creen -

    - ;lick on

  • 7/23/2019 AdHoc Query

    11/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    "elect the +nfoset that is created for +nfogroup 94"5R7,

    Page 11 of 17

  • 7/23/2019 AdHoc Query

    12/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    Step ': Creat%#& t(e a)-(o* +uer, SQ1

    ;reate a uery 89RE7,in this case:

    ;lick on +nfoset uery

    Page 1" of 17

  • 7/23/2019 AdHoc Query

    13/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    "elect the correct 4ser 5roup B +nfoset name.

    Page 1# of 17

  • 7/23/2019 AdHoc Query

    14/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    Step : A**ess%#& t(e A)(o* Quer,

    The so created uery is ready to be accessed. The menu path for the same is"A# 7asy Access $uman Resources#ersonnel 1anagement

    Administration+nfo "ystem Ad $oc uery

    Alternatively the same can be directly accessed by using the following

    transaction code.

    T;6- "F#$/FCG///HD/

    Page 1$ of 17

  • 7/23/2019 AdHoc Query

    15/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    Page 1% of 17

  • 7/23/2019 AdHoc Query

    16/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    +n this info set all the infotypes are displayed. "elect the "election 'eld and

    tick mark. "elect the output 'elds and tick mark. +n the right side the input

    selection 'eld will appear. +n that give the reuired value. +f we want to know

    the total persons in the available report ?ust click the $it list button on the

    screen. The number of persons will be displayed.

    !or the complete report click output button in the tool bar. The output of the

    related information will be generated.

    The data will be displayed.

    Page 1& of 17

  • 7/23/2019 AdHoc Query

    17/17

    Inclusion of infotypes in SAP-Adhoc query Dr. Hari K Vollala

    The uery can be saved as below

    The Transaction #AA$can be invoked to access the ad-hoc uery.

    Page 17 of 17