How we will create relationship with org unit and task catalog

HI Experts
How we can create relationship between Org unit and Task Catalog in Organisation management once we grouped all the tasks in one group.
For Example we have one org unit under that we have 3 depts those will consider as org units only.under 3 depts we have professor,Lecturer,Reader as jobs and positions also.If we create Professor tasks in task catalog which all the tasks will be assigned to positions as well.
If it is Org unit and Task catalog how we can create relationship.
Thanks
Rajji

Hi,
Please try.
  DATA: lt_hrp1001 TYPE STANDARD TABLE OF P1001.
  DATA: lw_hrp1001        TYPE p1001.
  lw_hrp1001-mandt = sy-mandt.
  lw_hrp1001-plvar = parent_pos-plvar.
  lw_hrp1001-otype = parent_pos-otype.
  lw_hrp1001-objid = other_pos.
  lw_hrp1001-istat = parent_pos-istat.
  lw_hrp1001-begda = sy-datum.
  lw_hrp1001-endda = lc_endda.
  lw_hrp1001-infty = '1001'.
  lw_hrp1001-aedtm = sy-datum.
  lw_hrp1001-uname = sy-uname.
  lw_hrp1001-rsign = codes.
  lw_hrp1001-relat = relats.
  lw_hrp1001-sclas = lc_sclas.
  lw_hrp1001-sobid = cord_pos.
  append lw_hrp1001 to lt_hrp1001.
      CALL FUNCTION 'RH_INSERT_INFTY'
        EXPORTING
          fcode               = 'INSE'
          vtask               = 'S'
          commit_flg          = 'X'
        TABLES
          innnn               = lt_hrp1001
        EXCEPTIONS
          no_authorization    = 1
          error_during_insert = 2
          repid_form_initial  = 3
          corr_exit           = 4
          begda_greater_endda = 5
          OTHERS              = 6.
Hope this helps.
regards,
Xiang Li

Similar Messages

  • Org Unit and Cost Center not displaying in 0001 with A012 relationship

    Hi Guru's,
    Kindly help me in this regard ,
    Whenever i hire a person to a position which has an A012 relationship (Chief Position) then Org Units and Cost centres are not getting displayed in IT0001 .
    But when i hire a person in the same org unit with A003 relationship ; both Org units and Costcentres are getting displayed
    I have used an LSMW for uploading relationships and objects and i have also run integration reports for the same but still i am not able to display org unit and cost centre in it0001 when i hire a person with A012 relationship .
    Kindly Help

    both great advice, also, check this link:
    http://help.sap.com/saphelp_45b/helpdata/en/14/d22fe48435d111950d0060b03c6b76/content.htm
    within this information there are various reports to run, which help recon OM and PA integration.  it will help you find your data problem and then fix the data for you if you follow step by step.
    best regards,
    michael

  • Link Cost center with Org unit

    Hi experts,
    I have one question. I have create org unit for the past 2 month (May 2009). However I don't create relationship with cost center. After 2 month I decided to create cost center for the org unit. The date of relationship based on creation of org unit.
    The question is, what the impact  to the payroll since I have run payroll for 2 months.

    What ever date you maintained in relation ship for create cost center the same date will get updated in IT0001. If you set Retro date ( In PA03) based on that system will go for retro calculations. In retro calculation only CC will update net amount remain same.
    As of now how did you maintain cost center?

  • How to Assigning Qualification to an Org unit?

    Guyz,
    I am trying to assing a common qualification to an entire organization so that all the employees are covered with the required Qualfiication at a single go.
    Please let me know the process and related configuration.
    Regards
    G

    Hi Gopi,
    You can certainly create a new relationship between the Org.Unit objects (O) and Quelification objects (Q), but this customization will not resolve your request.
    That is because the system only resolve the inheritance of qualifications between functions objects (C) and positions (S), but no between org. units and positions.
    The right steps are assign the quelification to the functions of the positions you have in the organizational unit you want to update.
    If you have no created enough functions or not use it at all, you can make a batch input via transaction PP02 to assign qualifications to positions in a massive process.
    Hope this can help you.

  • For an Org Unit, how do we get all Reporting Org units (Also employees reporting to the sub org unit) & Employees ?

    Hi Experts,
    I have a very common requirement in SAP HCM ABAP development.
    For an Org Unit, how do we get all Reporting Org units(Also employees reporting to the sub org unit) & Employees ?
    I have tried using RH_STRUC_GET_MULTIPLE_ROOTS and RHPH_STRUCTURE_READ, but the evaluation path is insufficient to get all objects under it. I tried with both O-S-P and O-O-S-P evaluation paths and as per some constraints, I can’t create a customized evaluation path for a reason.
    I am using PNPCE database for user selection screen and user would be advising the Org unit. I even referred the standard transaction ‘S_AHR_61016495’ which is using PCH logical database.
    I would really appreciate if anyone could provide a solution for this. (Rewards guranteed )
    Kindly help.
    Thank you.
    Regards,
    Mahesh Konade

    Hi Alexandre,
    Although I could not respond in time, thank you so much for your prompt reply.
    I had used the same RHPH_STRUCTURE_READ and passed the appropriate values to it, but it did not populate the required results. I cross checked the results manually, may be some relations issue. But later I tried using RH_STRUC_GET_MULTIPLE_ROOTS and it worked fine.
    Meanwhile I had done a workaround with PCH and RH_STRUC_GET and it served the purpose of getting all the Org units, it’s reporting sub-org-units, positions and persons (The deepest structure from the root org unit advised on selection screen).
    The solution I used is, I captured the org-units advised on selection screen by user using PCH logical database and then by looping on sub-org units reporting to the main org-unit I populated related positions and persons holding them and assigned it to the PNPCE logical database.
    Thank you so much for the help.
    Regards,
    Mahesh Konade

  • How can i create messenger with java tv API on STB

    deal all.
    how can i create messenger with java tv API on STB.
    how can Xlets communicate each other?
    how?
    i am interested in xlet communications with java tv.
    is it impossible or not?
    help all..

    You can create a messenger-style application using JavaTV fairly easily. JavaTV supports standard java.net, and so any IP-based connection is pretty easy to do. The hard part of the application will be text input, but people have been using cellphone keypads to send SMS messages for long enough that they're familiar with doing this. This doesn't work well for long messages, where you really need a decent keyboard, but for short SMS-type messages it's acceptable.
    The biggest problem that you need to work around is the return channel. Many receivers only have a dial-up connection, ties up the phone line and potentially costs people money if they don't get free local calls. Always-on return channels (e.g. ADSL or cable modem) are still pretty uncommon, so it's something that you nee to think about. Of course, if you do have an always-on connection then this problem just goes away.
    This is really one of those cases that's technically do-able, but the infrastructure may not be there to give users a good experience.
    Steve.

  • I lost my iphone, got a new sim card and put it in my boyfriend's old iphone. When I synch it in itunes it will only synch with his stuff and not mine. Any ideas how I can get it to synch with my itunes??

    I lost my iphone, got a new sim card and put it in my boyfriend's old iphone. When I synch it in itunes it will only synch with his stuff and not mine. Any ideas how I can get it to synch with my itunes??

    Are you using a Mac? It sounds like you are using his computer to sync to. If this is the case, then it will sync to all of his stuff unless a new user is created with your personal stuff on it.
    When you want to sync your iPhone to that computer, switch to your user first, and then everything will sync with your stuff. If he wants to hook up his iPhone to sync it, then he needs to switch back to his own username first.

  • How i can create table with data

    How i can create table with data from dev to production?

    How i can create table with data
    [url=http://en.wikipedia.org/wiki/Black_Beast_of_Aa
    aaarrrrrrggghhh]from dev to production?
    [url=http://img2.travelblog.org/Photos/3800/14977/t
    /64816-Col-Kurtz-0.jpg]The horror, the
    horror.lol, you gonna scare somebody here.
    Are we helping devil?

  • Org Mgmt Report with Org Unit, Position, Person and Chef Position

    Does anyone know a good report that shows an org structure with Org Unit, positions, person, and also highlights the chef positions?
    I would like to link this to our portal, so would prefer a report to transaction PPOME.
    Thanks,
    Dianna

    Hi,
    You can generate the required report from reporting tool HIS. select the org structure for which you want the report to be generated.
    In the graphical view select the org unit and in the reporting window select organizational plan and select staff assignment as task function.

  • HOW TO GIVE EXTERNAL NUMBER FOR ORG UNIT

    HOW TO GIVE EXTERNAL NUMBER FOR ORG UNIT
    Regards,
    Kumar

    HAI..
    External number assignment
    If you want the user to assign the numbers, enter "EX" in the 'NR' field. The number ranges are then indicated by the letters "EX".
    Number assignment for plan version 10 / object type S: Subgroup 10S

  • How can I create banners with 100% height?

    I want the homepage to load with 100% height and there buttons that anchor to sections further down the website that I also want to be 100% height when scrolled to.

    3rd post on same question by same user :
    Re: how can I Create function with an  out Parameter
    how can I Create function with an  out Parameter

  • How I can create view with parameters?

    I have very big query (2000 rows) and 2 parameters.
    How I can create view with parameters?

    If I use this small part of my query than I have error :
    java.lang.NullPointerException
         at oracle.javatools.db.ora.OracleSQLQueryBuilder.buildQuery(OracleSQLQueryBuilder.java:199)
         at oracle.javatools.db.ora.OracleSQLQueryBuilder.buildQuery(OracleSQLQueryBuilder.java:147)
    What does it means?
    select
    ' Payroll ' as Revenue
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and ( nvl(a.scode, 0) between 60000 and 6009000 )
    union all ---------------------------------------------------------------------------------------------------------------------------------
    select
    ' Payroll Taxes '
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and
    (nvl(a.scode, 0) between 60100 and 60690 )
    union all -------------------------------------------------------------------------------------------------------------------------------
    select
    ' Workers Comp/Disability '
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and
    ( nvl(a.scode, 0) between 61200 and 61260)
    union all -------------------------------------------------------------------------------------------------------------------------------
    select
    ' Pension and Hospitalization '
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and
    ( nvl(a.scode, 0) between 61000 and 61550 )
    union all -------------------------------------------------------------------------------------------------------------------------------
    select
    ' Other Labor Costs '
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and
    ( nvl(a.scode, 0) between 616000 and 616400 )

  • How can I Create function with an  out Parameter

    how all
    how can I Create function with an out Parameter
    I try to create it it sucess but how can I CALL it , it give me error
    please I want A simple example
    thanks

    3rd post on same question by same user :
    Re: how can I Create function with an  out Parameter
    how can I Create function with an  out Parameter

  • Mismatch between Employee Org Unit and HRP1001

    Hi,
    I am facing one peculiar issue. The Org Assignment for a person is showing a set of Position, Job and Org Unit. But when I check the HRP1001 table for that position, the OU Relation shown is different.
    On prodding, user told me that, they have deleted the relations table completely and renamed Org units and loaded fresh relations (O-O, O-S).
    My understanding is: PA0001 will pickup the relationship from HRP1001.
    Please correct me if I am wrong and how do I rectify this issue,
    Thanks & Regards,
    Vijay

    HI,
    Look out for RHINTE Reports ( RHINTE00 -40) REports.
    ( T code - SA38) - RHINTE00... )
    For more details on RHINTE reports look for existing posts on SDN.
    Thanks & Regards,
    Param

  • Org. unit and associated material groups download from Org. structure

    Hi,
    I want to download the material groups and associated material groups(Defined in External attributes) from organisation structure.
    Please suggest how to do it.
    Best regards,
    Sambit

    Hi. There's a point. You said you wanted to download a list so I presumed you wanted all the org units and all the material groups assigned to them.
    If you only want to do it 1 org unit at a time the function will work perfectly.
    I f you do want to see all I have had another thought actually.
    You could run program RHOMATTRIBUTES_REPLACE.
    This allows you to replace 1 attribute with another, but if you do not press the "change" button it works as a good report on attributes.
    If you just put in attibute PRCAT and then Old Value = Logical System of backend and New Value = Logical system of backend and tick substring then execute, it will show you all the org units and all the material groups.
    Just be careful not to press the replace button on the output, that would actually change data.
    Regards,
    Dave.

Maybe you are looking for

  • Source system 8(ODS name) does not exist

    Hi experts! When I transport some Process Chane from DEV to PRD I faced with issue that the source system 8(ODS name) does not exist. Is anyone faced with same error? Thx!

  • Using an Osprey 100 card with Acrobat Connect Pro and Vista

    Intrigued by a comment I saw on another forum, I tried setting each of the EXE files associated with an Osprey 100 card install in Vista to run in compatability mode for XP SP2, and my Osprey card analog inputs started working (at LAST!!) with Acroba

  • Sccm console machine showing Client=yes Active =no

    Sccm console machine showing Client=yes Active =no any troubleshooting tips also machine was pingable and with current hardware inventory

  • How can I expand the storage on my iPad Air 8GB ?

    What are some ways I can expand the storage on my i Pad Air that has 8GB ?

  • Logic X Keeps Crashing

    Hello, I keep having a problem with logic crashing every time i move the time bar to around half way through one of my compositions, I still have 13GB of RAM free when i get there, all the VST's i am using are East West (play engine) (all licenses mi