Updating user with Org Units using NSAPI

We have a requirement where we need to update users with different Organizational Units using an external system. The integration guide lists an NSAPI that might be used for this operation, Create/Update Person. This just says that we need to use the XML received from a Get person details API and use it as a request XML.
The problem we are facing is figuring out where to place the new Org Unit details in the request XML.Would anyone know about that detail.
Is this even the correct API for achieving the requirement or are we looking at the wrong thing here

Hi,
I've changed the input type to select(multiple) for that field and it works fine when I order it from the portal directly. Its able to set multiple values into the field when an sql query return more than one row.
The problem only occurs when I use the RAPI for making a request to that service.
The structure I use for passing data to that field is:
                   <req:Field>
                         <req:name>FieldName</req:name>
                           <req:value>                             
                              <req:string>Value1</req:string>
                              <req:string>Value2</req:string>
                           </req:value>
                    </req:Field>
which is what you've pasted above.
Even if I stop sending any value to this field and only send values to other single value fields, it still gives the same error message.

Similar Messages

  • 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.

  • Unable to create org unit using RH_INSERT_INFTY

    All,
    We are using internal number range to create Org Units in the SAP System. However, there are some org objects present in a legacy SAP system that we need to upload to the new ECC system and create relationships for them .
    Following is my code for the RH_INSERT_INFTY function module :
    w1000-mandt = sy-mandt.
    w1000-plvar = '01'.
    w1000-otype = 'O'.
    w1000-OBJID = ''.
    w1000-infty = '1000'.
    w1000-ISTAT = '1'.
    w1000-begda = '20090101'.
    w1000-endda = '99991231'.
    w1000-langu = 'E'.
    w1000-short = 'HR_AST5'.
    w1000-stext = 'HR Assistant 5'.
    append w1000 to i1000.
    CALL FUNCTION 'RH_INSERT_INFTY'
      EXPORTING
       FCODE                     = 'INSE'
        VTASK                     = 'S'
       ORDER_FLG                 = 'X'
       COMMIT_FLG                = 'X'
      TABLES
        INNNN                     = i1000
    IF SY-SUBRC <> 0.
    ENDIF.
    I am however unable to create the org units as i get an error saying "Creation of object ID 00000000 is not allowed".
    I know im getting this error because im leaving the objid field blank, but I figured since  it is internal number range, i would have to give this as blank .
    Could somebody please help me figure out how to load these Organizational Objects and their Relationships ?
    Thanks,
    Amit

    Hi Amit
    try to use 'D' as a value of VTASK
    or use FM
    call function 'RH_OBJECT_CREATE'
        exporting
          langu                     = l_langu
          plvar                     = plvar
          otype                     = c_otype
        EXT_NUMBER                = '00000000'              "???
        SHORT                     = ' '
          stext                     = stext
          begda                     = begda
          endda                     = endda
          ostat                     = l_istat
          vtask                     = 'B'
        GUID                      =
        KEEP_LUPD                 = ' '
       importing
          objid                     = objid
       exceptions
          text_required             = 1
          invalid_otype             = 2
          invalid_date              = 3
          error_during_insert       = 4
          error_ext_number          = 5
          undefined                 = 6
          others                    = 7.
    In this FM u dont need to pass the Object ID and call function
    *---if the above steps are succesful update the database
      call function 'RH_UPDATE_DATABASE'
        exporting
          vtask              = vtask
      BUFFER_UPD         = ' '
      ORDER_FLG          = 'X'
      COMMIT_FLG         = 'X'
      CLEAR_BUFFER       = 'X'
      KEEP_LUPD          =
      WORKF_ACTV         = 'X'
       exceptions
         corr_exit          = 1
         others             = 2  .
    as VTASK 'B' will create the entry in buffer and it will only commit to database after the secondFM
    or u can try with 'D' as VTASK
    Hope this will resolve ur issue
    Regards
    Guds

  • Obtain users from Org Unit.

    Hi all,
    Which tables I must know to obtain all users (purchasers) from Org unit?
    I can't use a FM. I need to obtain this data from R3, not SRM.
    Thanks!
    Regards,
    David.

    Hi. All links are in table HRP1001. You will have to go back to this table many times.
    Firstly you can get all the positions under the org unit from HRP1001, then you will have to go back to HRP1001 with the position numbers to get the person numbers and so on.
    Regards,
    Dave.

  • More than 200 users per org unit

    Hi Experts,
    We are implementing SRM 5.0 and replicating org structure from HR systems. We have some org units which have more than 200 users. Please advise if there is any issue with it.
    Regards,
    Kamal

    Hi,
    The  200  limit is for users generated through trasnc USERS_GEN.
    If an organizational structure with a large number of dependent nodes is displayed in the overview area, access to the transaction can take a very long time.
    Please refer to the following SAP OSS Notes ->
    Note 503915 - PPOMA_BBP: performance improvement overview area
    Note 389869 - Organizational unit with many employees
    Note 405806 - Transaction PPOMA_BBP for new material group attributes
    Note 864221 - EBP 4.0+: Performance location
    Note 920158 - EBP 4.0+: Shopping cart performance
    Note 1044096 - RSWUWFMLEC: Wrong Emails and/or Bad Performance
    Note 1095895 - Slow response times for several SRM transactions
    BR,
    Disha.
    Do reward  points for useful answers.

  • How to read employee user's Org unit name,Org unit add and user position

    Hi ,
    Is there any Function module or a class-method to read a user assinged Orgunit name ,Org unit address and the user position at that org unit.
    i have a given out a search on sdn but could not get the answer.
    Thanks for your time
    Seema

    Eswar,
    Thanks for your fast reply.
    I found this table before.But i do not have idea of passing what paramters to get my specific org and position of an employee data from this table.
    Let say i know my BP number for employee and Username of him.
    i could find out his Obj id using EMP user name.
    When i look into table HRP1001 using above Obj id, i could see there are 3 entries exist in table , among one of them is talking about position  as
    Sclas = S  and SOBID = 50020832.
    So how would i know by having this number , is it dealing with position and what kind of position it is,,,whether a manager or something else?
    Hope you got me.
    Basically am aslo looking for a FM where in i cold porvide aBP number or EMP username, where inturn i ll get a Emp position his org details.
    Seema
    Edited by: seema rajjot on Apr 9, 2010 8:40 PM

  • Webi report publication with org unit personalization mapping

    Hi everyone,
    I have an HR Webi report whose source is a Bex query and is scheduled (published) weekly. The report is meant for managers so in the dynamic recipient report (another webi report) I have manager's name, email and org unit. Right now the bex query does not restrict by organizational unit, the filtering by unit is done in webi through the 0employee's org unit attribute. This works, each manager only sees data of her own employees.
    However, managers would like to see not only their direct people (employees belonging to her own org unit) but also submanagers, ie, managers of subordinate org units. I tried filtering through the org unit of 0ORGUNIT, not the employee's o.unit attribute, but that doesn't work. The same manager shows up multiple times in the report.
    Has anyone managed to publish a webi report (or Crystal if that's possible) that shows the chief hat's subhierarchy?
    thanks

    Hi Graham,
    The publication should work in the same way for a user or a group.
    Can you please elaborate on u201Cassigning a user to the groupu201D, I believe this is probably where you go wrong. 
    Please test same workflow I suggested yesterady, but instead of user, use the group:
    1. create the profile
    2. add the group to the profile
    3. assign the profile value to the group for that profile
    4. add the group to the publication as Recipient
    Does it work or not?  If so, then do as follow for the user and group:
    1. create the profile
    2. Add user and group to the profile
    3. assign the profile value to the user and group for that profile
    4. add the user and group to the publication as Recipient
    Please note that in the above steps, you donu2019t have to assign the user to the group.
    Regards,
    Jeff

  • OM - Multiple Cost Centres link with Org Unit/Position not to employee

    Hello gurus,
    In OM there can only be one relationship at a time between an organizational unit and cost centre (A011). For those areas where there is a requirement for the position to have control over more than one cost centre, there are multiple options.
    Option 1 - If only one of the cost centres is used for employee cost incurrence, this should be the main cost centre, and the others controlled through authorizations.
    Option 2 - If more than one cost centre is used for employee cost incurrence, a subordinate organizational unit is created into which those positions are placed.  In this scenario, the  subordinate  organizational units would not have a chief, and the reporting structure would go up to the more senior organizational units.
    Option 3 - Use Cost centre distribution infotype 1018 (A014)
    My question: is there a standard way through which we can show multiple cost centres attached to a position/org unit such that cost incurred by employees goes to master cost centre attached to org unit or positon and other cost centres are just attached to position/orgunit (just to show the org unit/position is managing these other cost centres as well).
    Any thoughts? Anybody has used Enterprise Organization in CO to achieve this?
    Regards,
    Ahmad

    To capture more than 1 cost center, you have to specify them in IT-1018  but employee's cost will be split based on this.
    For data maintanance alone cost distribution is not possible (based on my knowledge).
    May be equivalent custom infotype similar to 1018  @ Postiion / Org Unit level may work.
    along with Master Cost center.

  • Display of total ansal for each org unit using the sdepth (depth level)

    Hi all,
         We have a requirment in which we will be getting all the active employees related to a perticular org unit then  For every PERNR,we need to  find (as of run date) the org ID on PA0001- ORGEH and total the dollars at the org unit ID level started at the org unit defined on field ORGID and only as far down as defined on selection screen field SDEPTH.
           Example: $10k under Dept D, $9k under Dept C, $8k under Dept B and $7k under Dept A. If field SDEPTH was set to blank, each department would be assigned the above stated budget amount. If SDEPTH was set to 3, the budget would stop at the third level down the org chain (assuming A is the org unit defined in field ORGID, org unit C would be the third org down the chain). The total budget at level C would incorporate any dollars calculated from employees that fall below this org unit in the structure. In this example, the total for org unit C would be $19k, B would remain at 8k and A at 7k.
        We are making use of the FM :  RH_STRUC_GET  to get all pernr numbers related to a perticular org unit and sub level units separately and also RP_ANSAL_FROM_WAGETYPES for getting ansal based on the wahge types (multiple wage types can be provided by the user on the selection screen) .
    Please let me know how can i achive the requirement.
    Regards,
    Zareena.
    Edited by: zareena molla on May 20, 2008 7:14 AM

    Thanks Dan.
    Appreciate if you can help on the below points as well.
    1. As part of divestiture/transfer postings: The system is reversing some Previous Year(PY) equity accounts into themselves. How can we get the system to eliminate them by posting to COI Clearing account. Basically, we dont want the PY accounts to be touched?
    For the Retained earnings - PY account, the system is actually posting to COI clearing account.
    These PY accounts are part of some scopes for equitization.
    Is there any link between the "balance carry forward" - list of items table and the divestiture postings?
    Does the system check this table while posting/reversing the equity(PY) accounts?
    2. I want to understand the sequence in which the system posts the documents at the old parent and new parent (group) level.
    The same activity number is there  for Total Divestiture, total transfer documents posted at new parent level and total divestiture document posted at old parent level.
    Does the system follow bottom up approach? Thereby creating total divestiture document at old parent level.
    Followed by documents at upper level (new parent level)
    Also , at the upper level(new parent level), does it post documents in the way they are shown in the log? (We havent changed the default sequence maintained in UCWB - COI settings). so it will post first consolidation doc, followed by total divestiture, followed by total transfer docs at the new parent level?
    Is this the reason for the double value being posted at new parent for equity holding data?
    Will studying the statistical items (corresponding to eliminated equity holding items) be relevant here to understand why at upper level there is double the value being posted by system?
    Thanks.

  • 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 find if a user with fullaccess permission used a mailbox ?

    Hi,
    We used Exchange 2010 in my organisation
    We defined a lot of generic mailboxes and some of them have a lot of users with fullaccess permission
    We think that some of them don't really used this mailbox
    Is it possible to find, with powershell, information of usage of a mailbox by users which have this fullaccess permission ?
    Thanks

    Hi,
    Get-MailboxPermission <Identity>
    or
    Get-Mailbox | Get-MailboxPermission | ?{($_.AccessRight
    s -eq "FullAccess") -and ($_.User -like 'DOMAIN\user') -and ($_.IsInherited -eq $false)} | ft Id*

  • Problem with Org Unit Change

    Hello Experts.
    We have a problem here.
    There is an employee say : X in position ABC which belongs to Org Unit XYZ.
    Now, there is a change in the Org Structure. The postion has not changed, the employee belongs to the same position. But the Org Unit has changed to PQR and has a new chief.
    The problem is, in the SAP Portal, the Organization assignment is picking up the Chief of XYZ instead of the new chief.
    What could be the reason for this?
    Regards
    Avik

    Hi Avik,
    Check dates on records for ABCu2019s A|003 relationship to PQR and chiefu2019s A|012 relationship to PQR. Maybe the old records were not delimited and hence they are getting picked up.
    Donnie

  • 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

  • Parter determination - User's org unit

    Hi Gurus.
    I am using rule 10000194 to obtain the Org. Unit a user is assigned to, but I have realized that no pop-up is prompted so that users select the appropiate Org. Unit whenever he is assigned to more than one Org. Unit. However this is working fine In GUI.
    Any idea? Thanks and regards,
    Pablo

    Hi Pablo,
    Check in debugging what are the values stored in structure CRMST_ORGSET_BTIL for BOL entity *BTOrgSet *. This is the ORGMAN entity.
    Check if NO_DETERMINATION = X,
    SALES_ORG_ORI = A (Auto Determination) or B ( User Selection ) or C (Manual Input)
    DIS_CHANNEL_ORI = A (Auto Determination) or B ( User Selection ) or C (Manual Input)
    These values come SPRO settings.
    Regards,
    Masood Imrani S.

  • [ESSO issue] Moving user from Org Unit

    hi all,
    i've met an issue at a customer site.
    eSSO has been deployed, synchronisation done with ESSO eDirectory.
    Users are now using it but recently some users have moved from an OU to another (something that happens frequently everywhere).
    The problem is that ESSO seems to keep the initial user location in the Current User registry and seems to always want to use this entry even though authentication fails (since user is not at the same ldap location).
    So authentication failed and users get an "Failed To Connect To Directroy".
    We don't want to change directly the registry since we think it's not really nioce and shouldn't be done.
    Is there something that must be setup to search again in the ldap structure to find when authentication with synchronizer fails ?
    ps : it's not a problem with the location parameter. It's pointing at the ldap root entry.
    thanks for the help
    -regards.

    I haven't come across the issue myself but I think if you move a user, you need to create a 'User Pointer' SSOLocater object that points the agent to where you have moved the user to.
    Good luck.

Maybe you are looking for

  • Passing parameter to a report

    i need to add a parameter to report. please help me how to do that? Please add a parameter to the attached report that will allow the user to select u201CSummaryu201D or u201CDetailu201D.  Entitle the parameter: Report Type If the user selects u201CD

  • What's Wrong With My iPhone 4? Sometimes I Can't Make or Receive Calls and I Also Can't Send or Receive Texts!

    Recently, I've been having issues with my iPhone 4. A few weeks ago, out of the blue, I could not send or receive texts, and I couldn't make or receive calls. If I tried to send a text, the little bar will go almost all the way to the end and just ha

  • Does iLife 11 have iDVD?

    I cannot find iDVD on my new iMac with iLife11. How can I burn a movie to DVD using iMovie?

  • W2338h scaling doesn't work for 1600x1200

    I have a w2338h. 1024x768 and 1280x1024 display as I want them to (square), but 1600x1200 stretches to fill the monitor, and I can't change it. I see Custom Scaling/Fill to Aspect Ratio, but it doesn't actually do anything - both settings look the sa

  • Can't set up my router..

    Hi all, first time poster. This has been driving me crazy over last 2 hours. We had 1 laptop and 1 desktop.  We used to have router hooked up to the desktop. However, due to personal reasons, I'm having router connected directly to my laptop and have