Help in Ad-hoc query and Hr form editor

any body have material links of Ad-hoc query(it means how the reports are generated with Ad-hoc query) and Hr form editor(with examples) plz forward it to me???????????

Hi,
HR Ad Hoc Query is the special version of InfoSet Query with the HR object selection.
You can find the system documentation here:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/f9/cc9138e4a0341fe10000009b38f8cf/frameset.htm
However I doubt the use of documentation of the query generator. So what is your concrete question?
Or in any R/3 via application help of transaction SQ01.
Also HR580 is a good course.
Regards,
Michael

Similar Messages

  • Different LOVs in af:query and af:form for the same VO attribute

    Hi,
    We need to display different LOVs in af:query and af:form for the same attribute in VO.
    Is it possible to use LOV Switcher for this ?
    What condition can we use in LOV Switcher attribute to check if it is View Critearia row or VO row ?

    We have a VO attribute "User" which needs to be displayed as LOV in a Search Panel ( af:query component created using View Critearia ) and in a af:form.
    When this VO attribute is displayed in search panel, in LOV, we need to show all users.
    When this VO attribute "User" is displayed in a form for editing, in LOV, we need to show only active users.
    For this, we created two LOVs "ActiveUsersLOV" ( which shows only active users ) and "AllUsersLOV" ( which shows all users ) on VO attribute "User".
    LOVSwitcher attribute should return "ActiveUsersLOV" if the LOV is displayed in form and "AllUsersLOV" if the LOV is displayed in search panel.

  • Plese help on AD-HOC query

    hi experts,
       plaese give the step by step procedure to for creating Ad-hoc query & what is the use of Ad-hoc query.I have seen some Threads but i didnt get . so please give me step by step procedure .
        If anybody having screen shots please send me to my mail id : [email protected]
    full points will be awarding.
    Thanks & regards,
    kiran

    You can create an appropriate ad hoc query to specify parameters for Web target iViews.
    In logical SAP R/3 Systems of Release 4.6B or higher, transaction SPO0 contains an Ad hoc Query tab. This uses the concept of InfoSets, which are usually based on table joins or logical databases, to create abstract definitions for fields that the system can read. You have to enter parameters for the individual fields. The ad hoc query delivers values that can be passed to the portal.
    Transaction SPO0 also contains a buffer for ad hoc queries. This improves system performance by avoiding the need to put together the query every time it is used.
    You can delete the contents of this buffer by choosing Delete Buffer for AdHoc Query on the start screen of transaction SPO0. This removes the index entry and the generated queries from the system
    chk this link also,
    http://help.sap.com/saphelp_nw70/helpdata/en/15/00a042b443c56ae10000000a155106/frameset.htm

  • Advanced Ad-Hoc Query and formulas

    Hi experts,
    I need to track new hire HR data on a report but am struggling to do this without some excel style formulas...
    Can you use excel style formulas in Ad-hoc query?? E.g. today(). I have run some tests and don't think it is possible...
    So if the hire date is less than 2 months old (from a calendar perspecitve) then I would want the new hire to show with only their current employee data (i.e. reporting period of 'today').
    Does anyone have any ideas of how I can do it or will this require some ABAP to work properly??
    Thanks!

    Hi,
    You can use SQ01, which is actually an enhanced Ad Hoc, but without using ABAP programming.  All Ad Hoc Queries are available via SQ01, but if you make certain entries SQ01 reports are not accessible via PQAH. 
    For your request to bring in data only on new hires within a certain period, you can first create the output you want in Ad Hoc.  Also add the selection fields for Action Type (enter the type for New Hire) and Start Date of the IT0000.  Save your query.  Now access the report via SQ01 entering the User Group and scrolling down to find your report.  Execute the report (green check with clock).  This will bring up a selection screen with your entries from Ad Hoc.  Select the "Save" button.  This will bring in a screen for you to name the selection varient. Name it "STANDARD".  Below this you will see all the selection fileds available with a number of boxes.  Scroll down to the field for your Start Date and under the "Selection Variable" column select "D-Dynamic date calculation".  Then in the far right column (Name of variable) select "Current date +/- days".   Enter the number of days you want to go back - say "-30" for new hires in the past month.  Then save the variable. 
    Now when you run the report (via SQ01) you will automatically select those individuals with a start date within the past 30 days.  No programming needed.
    Paul

  • Ad hoc query and Sap query

    Hi all
    What are Ad hod query and sap query? Why we use these two?
    thanks and regards
    Seenu

    in order to get the reports as per the client requiremnt
    we use the queries
    and the the data from these queries will be taken form PNP logical data based tables
    EX: in the standrad report for Absences
    the client may ask for
    PERNR   NAME    position   Department  Absence type start date Endate
    in the standrad report u can get the PERNR and Absence type and start date and end date
    but u cannot get position and department
    so we use  Queries we select the feidls from various reports and get a farmot as per the client reqiremnt
    Check SQ01  02  03 tcoeds
    u can alsoc check SQVI

  • Need Help! Ad Hoc Query in HR Tables

    Dear Friends,
    I need to create a adhoc query for the following tables.
    PA*
    HRP1000
    HRP1001
    But I could select only PNPCE LDB... I do not know how to define one and get the information out from PA* and HRP1000 and HRP1001 info types....
    Please help.
    Thanks,
    Joy

    Hi Joydip,
    Go to transaction SQ02, from the Edit menu go to "Change Infotype Selection" step. Go to the end of the tree structure. From "Infotypes of related objects" select the respective organizational object (e.g. org unit, position) & respective relationship. When you click on these items & confirm your selection, they all apeear in the infotype tree structure at the left part of the SQ02 screen. You can use them just like other info types of PNPCE logical DB.
    Regards,
    Dilek

  • Plz help prob with a query and.. a trigger

    hi..
    1)i've created a view.gave the commit..
    now when i execute this query i get no rows selected...
    sql>select text from user_views where view_name='d1_v';even when i give sql>select * from user_views; all i see are column names and nothing else..
    do i need to grant my user any privilige. my user has create any view privilige.
    2)
    is it possible for me to create a trigger that updates records by itself for every 6 months by adding 1000 to the sal field
    i tried
    create or replace trigger after logon on emp ..............like that
    but i receive an error saying system triggers cannot be based on tables or views..
    plz help me out..
    thank u
    rajiv

    1. Try "select text from user_views where view_name='D1_V';
    BTW, no need to use "commit", CREATE VIEW is a DDL command, and DDLs do implicit commit.
    2. Why do you want to use triggers ? You can do that in at least two other ways : cron jobs and Oracle jobs.

  • Cfoutput query and form field names

    I have a form that have two field inputs. I would like to repeat the form fields as part of a cfoutput query. The first field of the form automatically populates the different person's name (via cfoutput query) and this form field is called "tenant". The next field of the form is called "sales". The sales field is left open for user imput. The entire form is in between the cfoutput query tags. When the cfoutput query is executed, Both form fields of the form is displayed with each tenant name listed in each of the first form fields of each row. The problem I'm running into is that even though the form elements appear to display correctly, I would like the name of each of my form elements in the cfoutput query, of each row to have a different form field name like, tenant2, sales2, tenant3, sales3 etc. is that possible?
    Here's what my code look like.
    <cfform action= "addsales.cfm" method="post">
    <cfoutput query="tenantsales"><Input name="tenant" type="text" value="#office.tenant#" size="32" />
    <select name="sales"><option>$5</option><option>$10</option><option>$12</option></br></cfoutput>
    <input name="submit" type="submit" />
    </cfform>

    I cannot imagine why you would want to show a list of pre-populated input fields. What makes sense to me is a select-box. If that is indeed what you want, then you could do something like this:
    <cfform action= "addsales.cfm" method="post">
    <cfselect name="tenant">
        <option value="">Tenant</option>
    <cfoutput query="tenantsales">
        <option value="#tenantsales.tenantID#">#tenantsales.tenantName#</option>
    </cfoutput>
    </cfselect></br>
    <cfselect name="sales">
    <option value="">Sales</option>
    <option value="5">$5</option>
    <option value="10">$10</option>
    <option value="12">$12</option>
    </cfselect></br>
    <cfinput name="submit" type="submit" value="Submit" />
    </cfform>
    Like Dan, I have assumed your database table has a column for tenant ID.

  • AD HOC query (coding)

    Hi,
    I have Ad hoc query and in the selection screen I have  field(select option) for language , what I am trying to do is to make a login language  as default value for language field ,I tried throw SQ01 the only thing I could do is to add fixed value (for example 'EN') but need it to be login language.
    Its seems to be the only way is to write code But I donu2019t know how?
    PLEASE HELP.

    Defining ad hoc query you can select personnel number as output field by right clicking on "Personnel number" in "Key fields" group. In the context menu you can find "Output" and three possibilities:
    1. Only text - which is default and means an employee's name,
    2. Only value - which means personnel number,
    3. Value and text - in this case two columns are displayed: personnel number  and the employee's name.
    Regards,
    Renata

  • Ad hoc query report geneartion

    Hi Guys,
    I am seeking your help on ad hoc query report generation.
    My requirement: There is a customized table maintained to fetch the description and the relevant data.. For ex: 
    Type of Vehicle
    Description
    XYZ
    Test description1
    ABC
    Test description 2
    The requirement is to fetch the description using ad-hoc query for all the type of vehicles. I have created a type of vehicle field and included in the field group. So far, I am able to get the type of vehicle on my ad-hoc report. But, the description fails to retrieve. Please note I have also created an additional description field on ad-hoc reports to fetch the description.. After the generation of the info set, I am unable to fetch the type of vehicle with the description.
    Can anyone please guide the field code that needs to be maintained specially to fetch the contents all together?
    Thanks.
    BP

    Hi,
    I have already mentioned that "Please note I have also created an additional description field on ad-hoc reports to fetch the description."

  • Ad-hoc Query & Ad-hoc Query Designer

    Hi Experts,
                   Please present some information about following question:
    1) Ad-hoc Query and Ad-hoc Query Designer.
    2) Under which senario we go for Ad-hoc Query instead of normal query.
    3) How it will be effective in reporting.
    4) How to get into Ad-hoc Query Designer, coz i couldn't  find anything in the Bex
    points vl be rewarded.thank you.
    Regards,
    Vasanth.D

    Hi,
    Check out the following link:
    http://help.sap.com/saphelp_nw70/helpdata/en/08/965b423be8de54e10000000a155106/frameset.htm
    Regards,
    Kishore

  • Scheduling Ad hoc query

    Dear all,
    I have created Ad hoc query and I would like to schedule a job to run this query and export the result into a local file (Unconverted txt file).  I would appreciate your letting me know the useful links to guide me the procedures to take.
    Thank you,
    Kiyomi

    On the selection screen of an ABAP query there is the field "file store" which I am guessing you can use to save the file to.
    In SM36 it is fairly easy to set up a job
    You need a job name and then go to the step list.
    You need to enter the program name, which if you save a variant of the query beforehand it should populate the query's program's name. You then need to add the variant. (have a look at the external command option)
    Once this is all done you then need to define the frequency of the report, this is done in the start condition screen. You need to select the date and time icon.
    Hope this helps more.

  • Transaction Code to AD Hoc Query

    I have created an Ad Hoc Query and Given it a name and saved it.
    Next Time when I wanted to execute that query I go to S_PH0_48000510 - Ad Hoc Query , select that query and press on Output to get the result. In between I have selected the setting "Start via selection screen" in Extras>Settings.
    Hence I get into the selection screen and while I execute, I go to the output result.
    What I am looking for is how to assign a transaction code to this query that I have created, so that I execute that transaction code I am directly into the selection screen. By means of this I can skip some of the steps like going to S_PH0_48000510 - Ad Hoc Query and then selecting the query and then the other steps.

    Both the ad-hoc and the SQ01 queries create a program that can be assigned to a transaction.  However, the program name that is generated contains a 2 digit code that is specific to the client you are working on.  This makes it hard to run the same transaction in DEV, QAS, and PRD.  Instead, create a parameter transaction that runs the START_REPORT transaction with parameters set that run the D_SREPOVARI-REPORTTYPE=AQ, D_SREPOVARI-EXTDREPORT=<sap query name in SQ01>, D_SREPOVARI-REPORT=<user groups belonging to the query>

  • Outputting System User Name in Ad Hoc Query (S_PH0_48000513)

    I am trying to create an HR Ad Hoc Query and one of the fields that I am trying to output is System User Name from infotype 0105 Communications.  If I choose this field and do not choose the Communication Type, I get two records per employee - one record with the System User Name populated and one record with a blank value for System User Name.
    If I choose the System User Name field for output and also make a selection on Communication Type (= subtype 0001), employees with no System User Name (i.e. no Infotype 0105, subtype 0001) are eliminated from the report.
    I want the report to show all selected employees, including those without a System User Name; however, I do not want the same employee to appear on the report twice.
    Has anyone else experience this problem?  If so, have you figured out how to eliminate the extraneous record for each employee when you do not select the Communication Type?
    Thanks in advance.

    Hi,
    Love to know if you managed to find a solution for this issue as I'm experiencing the same problem.  However I'm reporting on both system user and email address which are distinct fields and would prefer to see this information only on a single line.  With my report I get communication system user on one line and then email address on the another, I'd also like to be able to include those users where the info types have not been maintained.
    With the query I have created I also included logon data from the USR02 table.
    Cheers
    Bill

  • Ad-hoc query's program lost in SAP 4.7 upgraded box.

    Hello,
    Does anybody know what happen to the ad-hoc query programs
    after upgrading the box of SAP 4.6c to the SAP 4.7 ?
    What happen is that I had a transaction that would exec  the program created based on an ad-hoc query and now, after the box was upgraded to 4.7 the program doesn't exist.
    Can anybody give me an answer, please?
    Regards,
    Oli

    Hi Oli,
    Depending on how AD-HOC it was created.
    - If created within DEVELOPMENT CLASS $TMP, sorry mate, but this cannot be upgraded with the system.
    - If ad-hoc created as personalized to one user, sorry mate, no automated upgrade possible.
    Other causes might be, that your query uses data objects that no longer are available on the system (likely customer developed structures).
    Hope this gives you some hints.
    Regards,
    Rob.

Maybe you are looking for

  • Two sided printing on an HP Officejet 6500 Wireless

    When I print using two sided the printer cuts off the top half of the second side. It misses several lines of print. If I print the same document and do not make it two sided it prints properly. If I try to print 4 pages two sided - it will print the

  • Can't open attachments in mail

    Mac OSX 10.9.4 Can't open any attachments in mail by double clicking. Was able to do previously. Now need to click on attachments, download, then open from application (word, acrobat, excel, etc). Even when attachment is in downloads folder, double c

  • Get Parent Document set information in Infopath Template

    I have a Document Library in which Document set is activated  and InfoPath content type is added to the document set. When user try to create an InfoPath template inside the document set ,I need to populate the details of parent document set in the I

  • Has anyone ever got the error message "illegal region number"?

    it happens everytime i stop recording something, and it never did it before today. and do you guys think this firepod is a perfect match with GB?

  • FM12.0.2 crashes on exit

    Hi All, Has anyone else had problems with FM 12.0.2 crashing every time you exit the program, regardless of whether any files are open? I just installed it on a new Dell Precision M4800 w/ Win7Pro and spent literally all day yesterday on the phone wi