HR-PA Report. How to get persons with position but no task.

The code below selects the persons connected to a position but out of those i need to find which are not connected to a task.
+SELECT pa0000pernr pa0001pernr pa0001begda pa0000stat2
          pa0001sname pa0001orgeh pa0001~bukrs
          Pa0001~plans
   INTO CORRESPONDING FIELDS OF TABLE itask
              FROM pa0001
                INNER JOIN pa0000
                  ON pa0000pernr = pa0001pernr
                  WHERE pa0001~PLANS NE '99999999'
                  AND pa0000~stat2 EQ '3'
                  AND pa0001~VDSK1 EQ 'IT'
                  AND pa0001~PERSG in ('1','T')
                  AND pa0001~bukrs in
                  ('FR46','GB21','PL05','BE06','US22').
  IF sy-subrc = 0.
    SORT itask BY pernr begda DESCENDING.
    DELETE ADJACENT DUPLICATES FROM itask COMPARING pernr.
  ENDIF.+
To select the persons not connected to a task I think that i need to check against sobid in table hrp1001 and somehow according to the conditions below
select sobid from hrp1001 for persons NE to the conditions below. (i think)
rsign : B
relat 007
objid : position
sclas = T.
Or is there an other way to solve this issue?
I have looked at report RHSTRU00 to use Evaluation Paths is that possible?
Best Regards Claes
Message was edited by: Claes Widestadh

Hi Claes,
Your statement "The code below selects the persons connected to a position but out of those i need to find which are not connected to a position." is not clear.. What is your requirement? Do you want to find employees not assigned any position? or Positions not tied to a Job? What is task? A position is described by a Job via B007 relationship in HRP table.
Is this want you want?
Regards,
Suresh Datti

Similar Messages

  • In abap report how to get substitute Materials

    Hi Friends,
    In abap report how to get substitute Materials. Is there any function module or bapi available other than Function 'PRODUCT_SUBSTITUTION'
    Will appreciate your suggessions with poits.

    Hi anilkumar,
    1. u have the position
       u want the Job
    2. In hrp1001 table
       OTYPE = 'S' (for position)
       OBJID  = POSITION (AS ABOVE)
       SCLAS = 'C' (for finding job)
    <b>   SOBID = XXXXXX (here u will get the JOB)</b>
    regards,
    amit m.

  • How to get rozetta with lion?

    how to get rozetta with lion?
    I have put all of Snow Leopard on an external drive (checked to include Rozetta)
    but when I try to use it to start up my computer with Lion installed - it calls this external drive "Recover Drive" and
    it asks me to select from 5 options - all of which sound ominous

    gk5198 wrote:
    I have never used rpm files but Zipeg says it will open them - Zipeg.com
    I'm not really looking for decompressing the rpm, I'm looking for the other features like actually installing the rpm in place. There are a lot of utilities that would just "unzip" the rpm like Unarchiver, etc, but I'm looking for something that will do the rpm install...
    -Thanks

  • Report for listing contact person with customer

    Hello,
    we use the tables adrc, adrp, kna1, knvv and now I want to know if somebody has a ready report, where I can put the country-id in (f.e. 'it') , so that this reports lists all contact persons with their customer and their adress.
    Does anybody such a report ?
    Thanks
    Gerd

    again

  • PPR Report ,How to display Label with TOTAl

    Hi,
    How Can i display PPR Report ,How to display Label with TOTAl like
    [http://apex.oracle.com/pls/apex/f?p=267:30:]
    Thanks
    Edited by: 805629 on Jan 6, 2011 3:34 AM

    Hi,
    For PPR Report:
    Select "Yes" in "Enable Partial Page Refresh" item of "Layout and Pagination" region in Report Attributes of that report.
    For display Label with TOTAL:
    Use "Break Formatting" region in Report Attributes of that report.
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • How to get  data with the raw pattern from resultset ?

    would you tell me how to get data with the raw pattern from resultset ?
    thank you in advance!
    longgger2000

    I tried getBytes() and getObject()
    , but I can not get the right result , for example the
    data in oracle database is 01000000DFFF, when In used
    the method of getBytes() and getObject(), I get the
    result of [B@1c2e8a4, very different , please tell me
    why !
    thank you
    longgger2000
    [B is byte arrayseem that it return an bytes array for you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get the Useru2019s position when the user doesnu2019t have CP relation

    We have a custom program which will add / delete attributes (In transaction PPOSA_BBP). It is working fine for users which were assigned with CP relation But it fails for users which doesnu2019t have CP relation (since we are getting the position of users form HRP1001 then we are retrieving the existing attributes based on the position after that updating the attributes) as we are getting the position from HRP1001 it fails for users were no CP relation.
    Help us how to get the Useru2019s position when the user doesnu2019t have CP relation. Suggest us any function module or how to query the HRP1001 or some other table if exists
    Regards
    Paul

    Hi Paul,
    Have a look at these tables.
    Using table BUT000 the central business partner data are stored, f.e. partner type, partner names, partner number, partner guid, person number, etc. In table BUTBKK the bank data to a business partner are stored.
    Central business partner address data
    The table ADRC is used for the address of a business partner. Table BUT020 links the business partner number with the address number. Using table BUT021 several addresses to a business partner with different usages (modes), f.e. correspondence or delivery address, can be stored. The personal data of a business partner person are stored with key person number in table ADRP. The person number is assignd to a business partner person in table BUT000. Communication data of business partners as e-mail, telephone, fax, etc. are stored in the tables ADDR1 u2013 ADDR12. The business address of a contact person or an employee consists of the organization address (company resp. org.-unit) and of an address addition, which describes f.e. a building, a room number, etc. The address addition is stored in table ADCP and is identified by the keys address number of the organization address and person number.
    Relationships between business partners
    Table BUT050 contains the relationships between a business partner organization and a business partner person using relation types. The relation types are defined in table TBZ9, f.e. the relation type u2018has employeeu2019 corresponds to identifier u2018BUR010u2019, the relation type u2018has contact personu2019 corresponds to identifier u2018BUR001u2019. Table BUT051 stores communication data of a contact person relationship (compare to table ADCP). Table BUT052 stores several address numbers to one business partner relationship (including a standard flag).
    Hope this helps,
    Kind Regards,
    Matthew

  • Org Mgt-How to assign person for positions in bulk

    Hi Gurus
    Let any one share how to Assign persons to position in bulk manner
    i have tried lsmw program but not working properly.using ppom_old it is too difficult to assign for 250 persons.let any one sap hr doctor give me medicine to sort out this issue
    with regards
    partha

    Hi
    Very helpful sir
    and nicely worked
    keep sharing and mould sap aspirants like me
    with regards
    partha

  • In ABAP HR how to get job using position

    In ABAP HR how to get job using position (Using Infotype 1001)

    Hi anilkumar,
    1. u have the position
       u want the Job
    2. In hrp1001 table
       OTYPE = 'S' (for position)
       OBJID  = POSITION (AS ABOVE)
       SCLAS = 'C' (for finding job)
    <b>   SOBID = XXXXXX (here u will get the JOB)</b>
    regards,
    amit m.

  • How to get the baselinegrid position for a line?

    Hi All,
    How to get the baselinegrid position for a line in a paragraph?

    Hi,
    2nd line baseline grid for yourPara paragraph is:
    yourPara.lines[1].baseline;
    last line baseline is:
    yourPara.endBaseline;
    Jarek

  • Does anybody know how to get help with this one?

    Hello there!  
    I wanted to get an advice on how to get in touch with the appropriate person at BT that could help with my situation.
    I have tried telephone help, complaints by email and unfortunately still waiting for somebody from the customer services to help me out.
    I have recently moved home.  I contacted BT on 26th June to organise the line transfer to the new address. The date was set for 18th July. I also ordered line rental saver and paid for it over the phone. All went smooth, telephone and broadband was working fine at the new place, but on the 23rd July I was sent an email that "BT is sorry that I am leaving". 
    I thought it was a mistake, but the lady in the on-line chat said somebody stopped my service. Later she rang and left a message saying that I must have requested to move to another provider. Did not manage to speak to her again, but phoned the help line this time.
    There a gentleman was trying to convince me that I called BT and cancelled my service on the 18th July and to him I was not a BT customer anymore. The truth is that I did not request to stop my service, anyway - why would I do that after paying for a year in advance. This has no logic, but because computer says so then he thinks I did it.
    He also added that my account is a 'mess'. He then promised that somebody would get in touch to sort it out as my line rental was gone and my phone and internet could go off any minute.
    I did not get any help. After that I wrote to them  3 email complaints to request assistance. They called and aknowledge they will help, but 3 weeks down the line nothing was done to explain the situation. Left the messages to the person from email complaints to ring me or email me -never happened.
    Last week I got 2 emails welcoming me to BT and outlining the call plans that were diferent from each other and the one I agreed to on the 25th June. When I called help line 2 days ago a lady confirmed on which one I am on, but could not sort out the most annoying thing - the 'final' bill. 
    I was sent a bill for over 200 pounds due to premature termination of phone and broadband service , which I never ordered. They already took the money this week. My line saver is gone as well. So I am 360 pounds short. I aslo have no access to myBT to monitor my phone activity or make orders.They also did not send any confrimation of the call plan I am currently on.
    It is a very annoying situation, because somebody at BT made an error and I am unable to get to anybody that could help. Everytime you call the help line you speak to somebody else and despite me thinking the email complaints would be the way forward they are not. Would appreciate some advice on how to tackle these issues: false accusations from them, inappropriate billing, problem with myBT.
    Thanks Lukasz

    Hi lbadek
    I can help with this please send us an email using the contact the mods link in my proifle and we will investigated from there.
    Thanks
    Stuart
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • How to get person picker field to return as email instead of a string when emailing in a workflow?

    Hi, I have 3 person fields in Infopath 2013 form.  In the Form Option, Property Promotion, each of these people picker field, i selected the DisplayName,
    give it a column name and selected the Merge under Function.  
    In the workflow I created for this form.  Depending on selection from a radio button and a dropdown controls, I would email to one or 2 of the people selected
    from the people picker controls mentioned above.  
    In the Email To field, I select "Workflow Lookup for a User", select the field that I promoted (mentioned above), but the "Return field as"
    field is grey out, disabled. It doesn't allow the option to return as an email. I suspect it's because the 3 properties were promoted as concatenated string?  
    Now when my workflow is run, the workflow is immediately canceled.  I suspect it's the problem with the email field.  How can I promote a Person Picker
    field so it will return a email address when I use it in the email to user function in workflow?
    Thank you.

    The control I use is a Person/Group Picker.  I tried in Property Promotion selecting either DisplayName, AccountID or even the PCPerson but none of them would give me the "Return Field As" field enabled to select to return as email.   It stays
    as grey out, disabled, and return as string.  
    I suspect this is also why I'm not getting the email when workflow starts.  Where can I check if an email is sent?  I have it sent to myself, by selecting myself in the Person/Group picker but I haven't received any emails.
    Thank you.

  • How to get help with refund for in app purchase

    I downloaded the free app "Bakery Story" without realizing it was an app that allowed the user (in this case, my child) to run up a bill very quickly with in-app purchases (using my real money instead of the play money within the game). As soon as I received the statement from Apple about these unexpected purchases, I enabled the parental controls that block purchases from within apps like this. I am trying to use Apple website to find the rightbplace to request a refund on those purchases, but I only get so far with the express lane before I get a "server not responding" message. Any ideas for how to get help? (clicking the Report a Problem" link in the invoice email doesn't work either (and my WI fi Internet connection seems fine).

    These Links may be Helpful
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

  • Interactive Report: how to get value of given row/col cell in selected row

    Hi -- I have an interactive report. Instead of the default behavior of the link going to a single row view, I want it to
    go to a form for editing the row. This means I have to be able to populate the form w/ the correct row's information...
    so need to get the value(s) for the PK column(s) in the selected row of the interactive report, so I can select the row
    from the database.
    How can I do this? I see in the report attributes, Link Column section, I can set Rows Uniquely Identified by, and a Unique
    Column (though there could be more than one in a PK). I imagine I'd want to use the rowid, but I'm not sure how the
    rowid of the selected IR row can be referenced. And at that point, I'm not sure how to get the IR column value for
    that row. (Say I'm on the 8th row and I need the first column... How is the column referenced? By a number, it's name,
    its heading?)
    Or maybe I'm not on the right track at all...
    Ideas?
    Thanks,
    Carol

    Hi Carol,
    What I´m trying to do is: defining a button such as when you click it a pl-sql procedure is called, which needs as an input parameter the id of the row selected in my form. what I need first, then, is to get the id of the selected row. how did you get it?
    Thanks in advance
    Francesco

  • How to get started with iTunes/iMatch

    I am trying to import my library of 3000 mp3 songs into iTunes/iMatch/iCloud. I have subscribed to iMatch. The problem is that there doesn't appear to be any guidance about how to do this, what the difference between iTunes, iMatch, and iCloud is, where the music is stored, and so on.  The only thing I found was an article on the iTunes support site that said "Using iMatch is easy."  I didn't find that to be the case.
    I have now created an unholy mess that I have no idea how to get out of.   My iTunes media folder has four albums in it, all of which have one copy of some of the songs in AAC (m4a) format.  Meanwhile, in iTunes, I have seven albums, some of which are in my iTunes library and some of which aren't.  When I look at the music collection in iTunes, I have four or five copies of each song.  I am really unclear where these songs are residing (in the Cloud maybe?), why there are so many copies, and so on.
    Obviously, just randomly flailing is not going to solve this problem.  So are there in fact any instructions for how to do this rather simple task and keep everything organized and understand what is going on?

    First, iCloud and iTunes Match (not "iMatch") are not the same thing. Apple uses the term "iCloud" interchangably, but that is just confusing for most people, unfortunately.
    Enabling iTunes Match is as simple pulling down the Store menu in iTunes and selecting "turn on iTunes Match." That's all the guidance there is. The process will then scan the iTunes library and "match" or "upload" all the tracks it can. The original tracks on the computer's internal HDD stay right where they are and are not changed in any way. Nor is the location of the iTunes library magically changed to the cloud.
    I strongly suggest you stop being concerned with what the files in the iTunes Media folder look like and let iTunes manage the files. If you're going to use iTunes then you should only interact with the music through iTunes. Trying to manage the files in the Finder/Windows Explorer is only going to frustrate you. You can group albums together by editing the ID3 tags by highlighting the tracks of an Album and doing a Get Info...
    So if you post back with some specific questions we will do our best to help you.

Maybe you are looking for

  • Transport control program tp ended with error code 0208

    Hello I installed minisap NW2004s on XP/SP2 VMWARE 4.5. The installation it self's works fine, but have some problems in the stms. when i call the transport queue there appears an error as follow: System   NSP              Command  TMS_MGR_READ_TRANS

  • Not able to view original PDFdocument through EAI viewer Proj.system

    Hi, I'm not able to view the PDF original in project structure. I have attached one PDF file in project structure as an object link. When I'm trying to open the same file from project system, system display the error "cannot create temp File". Please

  • ITunes Library/iPod

    I have a 20GB iPod U2, and I was wondering if I have to store songs in my iTunes library in order to keep them in my iPod. I don't have 20GB on my PC that I can devote to files that can also access via my iPod and an audio CD. I'd rather upload the s

  • Installing Acrobat

    I am having trouble installing acrobat because creative cloud says it's still finishing the photoshop download even though photoshop has been downloaded on my computer for about a week and I've used it multiple times. So photoshop says "finishing" an

  • How do I re-import photos that Lightroom says it "cannot find."

    I have gone to a half-day workshop on Lightroom 5.  I have purchased and started reading Scott Kelby's Lightroom 5 for Digital Photographers, but find it rather cumbersome and unhelpful.  And all I am trying to do is ORGANIZE and import photos (I am