Organizational structure data retrieval

Hi
I am trying to retrieve a list of the first level of employees reporting to a manager using the .Net Connector. I have used the HRWPC_RFC_GET_OBJECTS rfc used by the Team Viewer iView with viewid="A_ALL". This returns all the employees under the manager in the org structure, not just the first level under the manager. If I use VIEWID="Y_DIR" I get data that is related to organizational unit and position, not people. Does anyone know how to retrieve only one level of people reporting to a manager?
Thanks

Hi,
try with viewid="A_DIR".

Similar Messages

  • Structured data retrieval

    i have a small access database that contains organization
    info.
    so that I don't have to deal with multiple organization and
    sub-org tables, I have one table that has an org_id, org_nm, and
    parent_num. The parent_num id is a reference to the org_id of the
    next higher organizational level.
    example:
    org_id = 1
    org_cd = CIO
    parent_num = 0
    org_id = 2
    org_cd = IT Branch
    parent_num = 1
    org_id = 3
    org_cd = IT Sub-Branch
    parent_num = 2
    I need to be able to return results based on the org_id
    selected. Is there a way to do this w/o having to submit a form
    multiple times until you get to an org that doesn't have anything
    below it? (an org_id that isn't also a parent_num for another org).
    I thought of the ThreeRelatedSelects.cfm custom tag, but
    since all records have the same ID field, I can't seem to get it to
    work.
    I need to be able to select a top level org, see it's
    sub-orgs, then another sub-org under that. Thanks.

    > I need to be able to select a top level org, see it's
    sub-orgs, then another
    > sub-org under that. Thanks.
    I'd not use an adjacency list (id, parent_id), I'd use a
    nested set (not
    easily explained in one parenthetical comment ;-). It makes
    stuff like
    this much easier. Also adjacency lists don't scale very well
    (that said,
    neither does Access, so that might not be such a
    consideration for you).
    Reading:
    http://www.sqlsummit.com/AdjacencyList.htm
    http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=235427
    Adam

  • Sap  master data , differnt organization structure

    Sir,
    What are the different organization structure of SAP(Inbuilt), so that we can use in different scenarious. like company code, sales organization, etc
    Thanks and Regards
    Kamal

    Hello,
    Welcome to SDN,
    If you have access to SAP system or IDES.
    Then if you want know which existing org structure can be used in system then,
    There is two way:
    - Checking existing org structure in use through accessing Table VBAK (TCode SE16).
    OR
    - if its a fresh IDES then
    use TCode EC01. 
    click on Structure Button on organizational object company code screen.
    click on Navigation Button organizational structure for company code screen
    Accept the message
    Double click on standard Company code 0001 or 1000.
    I hope this can assist you.
    All the best.
    Keep learning and enjoy.
    Thanks & Regards
    JP

  • How to Link Organizational Structure to a report program

    Hi All,
              Can anyone pls help me out with my requirement. How can we link a organizational structure created in transaction PPOMW to a report program. Basically i want to send the report output as an XLS attachment to an external email id. For that i need to link Organizational Structure to the report program.
          There are many ways of doing it but i want it to be done by linking Organization structure to the report program. Pls help me as soon as possible as its a bit urgent for me.

    Hi,
    Please follow the below function modules and the paramters for reading archived data:
    CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
      EXPORTING
        OBJECT                   = archiving object name
    IMPORTING
       ARCHIVE_HANDLE           = archive read handle
    Then in the loop(DO-ENDDO), use this FM:
    DO.
      CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
           EXPORTING
                archive_handle          = archive read handle
    Then records from the data objects using this FM:
      CALL FUNCTION 'ARCHIVE_GET_TABLE'
           EXPORTING
                archive_handle        = archive read handle
                record_structure      = 'TABLENAME'
                all_records_of_object = 'X'
                automatic_conversion  = 'X'
           TABLES
                table                 = internal table for which you want to retrieve records.
    ENDDO.
    Then close the archive file using this FM:
    CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
         EXPORTING
              archive_handle = archive read handle
    This will help u in reading archived data from archive file.
    may give some idea also on how to code the read prgram.
    Thanks,
    Shamim

  • Error while creating the Organization structure.

    Hi,
    I am trying to create an Organization structure in SRM 5 sytem, I have created a Root for the structure and when i try to click on the Attribute Inheritance or the Check tab below i am getting an error "Start program BBP_LOCATIONS_GET_ALL first (see note 563180 and long text)" but i have replicated one plant from the R/3 system using BBP_LOCATIONS_GET_SELECTED and the material groups and all the other relevant datas from R/3. I can see in the table BBP_LOCMAP the plant been associated with the relevant company code. I am now struck in creating the organization structure. I am not sure where i am going wrong while creating the Org model.Please give me your valuable inputs to overcome this error.
    Regards
    GGL

    Go to transaction SM30, table T77S0
    Add an X to the following entry:
    Group = EBP          
    Sem abbr. = LMIGR        
    Val. Abbr. = X       
    Description = Locations Successfully Migrated
    This tell the system that the locations have been replicated and the error indicating location get all needs be executed will go away.
    thanks,
    justin
    Edited by: Justin Farley on Feb 25, 2009 7:16 PM

  • FI organizational structure in ECC 6.0

    Dear all,
    I would like to know what is the suggested organizational structure in FI in ECC 6.0. For example, whether it supports multiple company code or single company code. If a company code is situated out of India, how the taxation and all will be consolidated etc. etc.
    Kindly can any one provide me documents on the above subject related to Finance Module.
    It will be very helpful If anyone sends the required documents
    Email id : [email protected]
    Thanking you in advance
    Vijaya

    Hi Vijayalaxmi,
    SAP 6.0 ECC is supports what data you doing in previous versions like 4.7 or 5.0 etc
    you can set company in india or out of india and  taxation also same what you doing in previous versions
    differece is ECC 6.0 is some extra functions is added on advance purpose
    Organizational Units and Basic Settings
    Definition
    Elements of the SAP System logical structure, important for Financial Accounting.
    Organizational units are used to structure business functions and for reporting. The organizational units of Financial Accounting are used for external reporting purposes, that is, they fulfil requirements that your business is subject to from external parties, for example, legal regulations. The financial statements for example, are created based on the organizational units of Financial Accounting.
    Basic settings in Financial Accounting are Customizing settings that you have to make in order to be able to carry out processes in Financial Accounting.
    Use
    You create your company-specific organizational structure in the SAP System by defining the organizational units and making the basic settings. Defining organizational units for Financial Accounting is obligatory, that is, you have to define these units in order to be able to implement the Financial Accounting component.
    Organizational unit
    Definition
    Client
    Obligatory
    Company
    Optional
    Company code
    Obligatory
    Business area
    Optional
    Basic setting
    Chart of accounts
    Obligatory
    Fiscal year
    Obligatory
    Currencies
    Obligatory
    Integration
    In the SAP System, you define the relevant organizational units for each component that you are implementing. For example, for Sales and Distribution, you define sales organizations, distribution channels, and divisions (product groups). Similarly, for Purchasing, you define purchasing organizations, evaluation levels, plants, and storage locations. The organizational units are independent of one another at this stage.
    Components and Organizational Units
    Component
    Organizational unit
    Sales and Distribution
    Sales organization, ...
    Logistics
    Purchasing organization, ...
    Financial Accounting
    Company code, ...
    Controlling
    Controlling area, ...
    Human Resources
    Employee groups, ...
    To transfer data between the individual components, you have to assign the organizational units to each other. You only need to make these assignments once in the system. Whenever you enter data subsequently, it is automatically transferred.
    For example, invoices that are posted in SD are transferred to FI.
    Below link will give total structure of organisational structure
    http://help.sap.com/saphelp_470/helpdata/en/e5/0779ee4acd11d182b90000e829fbfe/frameset.htm
    Hope this infirmation will helps you
    Prem

  • ALE: e-recruiting organizational structure transfer

    Hi friends,
    I want to transfer the organization structure or the organization plan with O,S,C object types from one SAP system to another SAP system.
    I have done the ALE configuration and using PAFL transaction to do the same.
    I would like to know that model view i should use for the distribution also i would want to know the screen parameters in PAFL transaction.
    I am doing the same for E-recruiting separate instance.
    Regards,
    Divya
    Points would be given

    Hello,
    We are still having a problem with failing iDocs everytime we pass over IT0105 Sty 1 records from our SAP system to E-Recruiting.
    Would anyone happen to know where I should start looking to troubleshoot this error message?
    "Password is not long enough (minimum length: 6 characters)"
    Currently both systems require that your password be at least 6 characters long, which makes this message even more perplexing.
    Having a better understanding of how RBDAPP01 processes inbound IDOCS in status 64 would help.  We are using message type HRMD_ABA.  Our data filter looks like....
    Infotype: 1000
    Object Type: C, O, S
    Infotype: 1001
    Object Type: C, O, S
    Subtypes: A002, A007, A008, A012, B002, B007, B008, B012
    Infotype: 1001
    Object Type: O, S
    Subtypes: A003, B003
    Infotypes: 0000, 0001, 0002
    Object Type: P
    Infotype: 0006
    Object Type: P
    Subtype: 1
    Infotype: 0105
    Object Type: P
    Subtypes: 0001, 0010   
    So the question is how is IT0105 Sty 1 being processed when RBDAPP01 runs?
    Thank you for your help!
    Ryan
    Edited by: Ryan Hubbell on Mar 31, 2009 7:00 PM
    Edited by: Ryan Hubbell on Mar 31, 2009 7:47 PM

  • Calculation of minority interest in matrix organization structure

    Hello-
    We are currently implementing sem-bcs and have a matrix organization structure in place. We use company code and profit center as consolidation units. Company code being the currency carrying unit.
    We are facing an issue in minority calculation-
    Let us take the following example -
    Investee A - books equity in pc A
    Holding entity B books investments in pc B
    The above information were entered in AFD and was also pulled in BCS as RFD..
    The first consolidation happens as per our expectations.
    For subsequent consolidation, the retained earnings account (additions movement) could have multiple profit centers. The system calculates minority interest correctly for combination of retained earnings addition @ PC A. However for all other combinations (I.e retained earnings for PC other than A), the system treats the entire amount as minority interest (even though that's not the case)..
    Kindly advise.
    Thanks!

    Hi,
    Thanks for your reply...
    The PC hierarchy is already in place..I maintained Additional Financial Data for the other combinations (of Cons Unit and PC) with 100% share and zero value. The system considered that and calculated minority interest correctly.
    I wish to know if the above approach is ok..
    Thanks

  • Organization structure in CRM 7.0 from ECC and HR

    Hi,
    We are trying to download Org structures from ECC and HR. (CRM 7.0, HR & R/3 ECC 6.0)
    From HR
    The ALE distribution is set across the systems CRM and HR and I did the PFAL run as per the best practices BB C05. There are about 100,000 Idocs inbound to CRM system and out of which about 15K are in 51 status and the rest are in 53 status.
    Observations:
    The Organization structure from HR is not totally mapped in CRM but only a part of it is displayed in PPOMA_CRM.
    The remaining Org units are found in 'non-related objects' selection.
    All the Idocs in failure are in error "Error in subroutine read_namtb for structure  of infotype  ". When I go to the long text
    Message no. 5-109
    Diagnosis
    An error has occurred in subroutine read_namtb for structure  of infotype .
    Procedure
    Check the entry for infotype  in table T777D (structure, IDoc segment, expanded structure) and the corresponding structures.
    I am not sure which infotype needs to be checked in T777D.
    From ECC
    The CRM - ECC connectivity is set. Downloaded all the required customizing objects successfully. Switched the org model to "enhanced backend integration version " and then followed on to SPRO->CRM->Master Data->Organizational Management->Data transfer->Copy SAP ECC structure and selected all the available R/3 Organization assignments available and then selected the "generate selected lines".
    Observations:
    All the generated org units are in GREEN in SPRO but there are no assignments found in PPOMA_CRM not even in the unrelated objects
    Checked tables HRP1000 and HRP1001 from the CRM Sales org unit IDs (ex: O 5000012) created here and they are not found but the generation is in GREEN.
    I will appreciate any assistance I get here.
    << Moderator message - Everyone's problem is important >>
    Regards,
    DT
    Edited by: Rob Burbank on Oct 20, 2010 4:25 PM

    Hello DT,
    Could you please let me know the process how the problem is solved..
    even we are having the same issue like, we have downloaded the Org Model form HR to CRM system, till here it was fine.
    when we are trying to download the ECC sales structure(CRMC_R3_ORG_GENERATE) to CRM system, i have selected all the items and triggered the Gerenerated Selectd Lines, but after all the items are generating in a error with RED.
    Could you please share you knowledge, so that it will help me in figuring out the issue.
    Thanks in Advance DT. Hope you reply back.
    Regards,
    Ven

  • Working with NON-Structured Data

    Dear Colleague,
    I am preparing to build a Forms application (using Oracle 9i Developer Suite, Release 2, version 9.0.2.0.1).
    The application (and Data model) will need to associate SOPs (standard operating procedures) with certain measurements and treatments. It is planned to have the SOPs be, for example, MS Word documents, i.e. the SOPs will be non-structured data.
    What is best practice when handling this situation? Please advise.
    Assume I would like to view, print and (maybe) update the SOPs (Word files).
    1. Should I just store a link to the Word file and a corresponding description or is it better to store the Word file in the DB?
    2. If in the DB, which data type?
    3. If SOP not in the DB, but a file, what is the mechanism for retrieval and display?
    4. Printing the Word file via Forms - how? problems to avoid?
    5. Update of the Word document via Forms - possible? How?
    Best regards,
    Randy

    Hi Vijay,
    sorry
    please rewrite the formula for the button disable as::
    NOTE:: in the formula i have used '<''>'  which nothing but a lessthan symbol and greater than symbol without single quotes (i.e. not equal to)
    BOOL(IF(LEN(@Emp_code) '<''>'0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')<0 ,false,true))
    and make sure you have placed the date picker UI controls for your date functionality.
    this will not work for calender UI control on the form.
    and othe important point is the joining date should be less than ending date then only the button will be enable..
    if you want your joining date should be greater than ending date then write the formaula like this::
    BOOL(IF(LEN(@Emp_code)<>0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')>0 ,false,true))
    i tried this
    its working for me
    Regards
    Srinivas

  • Sales organization structure changes in COPA

    Hi All,
    My client like to change Sales organization structure like Distribution channel,division,sales office,sales group etc. and profit centers in sales orders.
    from 01/01/2011 we like to post all open sales order's settlments to new sales organization,distribution channel,division,sales office,sales group and profit centers in COPA.
    What is the best way to achieve this?
    Any help is appreciated.....
    Thanks,
    Anusha

    Hi,
    I think COPA realignment should work for you.
    If you can establish the exact relation ship between old Sales org structure  to new Sales org structure, you can design your realignment in such a way that the new sales data will reflect the new structure.
    For this,
    1.You need to select the sales documents for which you want to change the sales org.
    2. If you want to derive them again, you can do so
    3. If you want the sales org structure elements to be replaced by new ones, you can do so.
    Following a realignment, only the new assignment is known in the information system and in planning. The characteristic values valid at the time the original posting was made can only be analyzed in line item reports. Because the existing profitability segments are changed to adhere to the new assignment, all objects assigned to those profitability segments - such as sales orders or projects - and all existing SAP documents - such as billing documents or FI documents - reflect the new assignment as well.
    For more details, check the following link. [http://help.sap.com/saphelp_erp60_sp/helpdata/en/7a/4c48c64a0111d1894c0000e829fbbd/frameset.htm]
    Njloy
    Siva

  • Monitor changes in the Organizational Structure

    Hello All,
    What is the best way to monitor the changes made in the Organizational Structure.
    We are observing changes in the Org Structure in our system. We want to find out the User who made the change.
    Thanks

    Hi,
    I'm afraid the only way is tcode: SCU3 (Table History), but it's not user friedly.
    Most important info is stored in tables:
    HRP1000 ( object info ),
    HRP1001 ( relations ),
    HRP1222 ( general attributes - id's  ),
    HRT1222 ( general attributes - data ).
    Regards, Robert

  • Organizational structure creation

    [Organizational Structure creation using HRMD_ABA;
    Appologies if you saw this message on Friday, because I did originally post it under the general area. I was hoping that if I re-posted it under this area I might get a few more responses. I have included the one response I  got, plus my reponse, which does contain more detail about how I ran PFAL - program RHALEINI, and re poses the question about what needs to be created in SRM re an organisational structure, prior to doing an initial load using transaction PFAL.
    Many Thanks
    Claire
    I am trying to set up the organizational structure in our SRM 7.0 system using our ECC 6 organizational structure. I have created all the required distribution models for SRM and ECC 6, and have set up the switch settings in SRM. The number range settings have been set to external.
    As per OSS Note 36317, which concentrates on the initial distribution, and I am working through, I have run PFAL in ECC 6 only for object type O. The HRMD_ABA idocs have been successfully transferred to our SRM system, but all are at status 52.
    The message for all the idoc segments is:
    'You tried to create a relationship from object 01O 50000333 to object 01S 50000846. However, object 01S 50000846 does not exist or is not active in the period from 19000101 to 99991231'.
    One thing I haven't done, which might be incorrect, is create an Organizational Plan in SRM. I specifically haven't done this because I am wanting to use external numbering, and therefore thought the organizational plan would get automatically created as part of the initial distribution.
    Does any one have any idea how to resolve my problem?
    Many Thanks
    Claire
    Re: Organizational Structure creation using HRMD_ABA  
    Posted: Aug 21, 2009 6:03 PM    in response to: Claire Crosby-C...           Reply 
    Hello Claire,
    It looks like you are replicating "S". After the "O" replication you should run the "S".
    Please refer to the OSS note 934372 u201CSRM/CRM: HR integration for business partner u2013 new featuresu201D & SAP Note # 550055 EBP/SRM: New integration for business partner as well.
    Hope this is helpful.
    Thanks
    Ashutosh
    Claire Crosby-C...  
    Posts: 45
    Registered: 3/22/04
    Forum Points: 0 
       Re: Organizational Structure creation using HRMD_ABA  
    Posted: Aug 21, 2009 6:53 PM    in response to: ASHUTOSH TRIPATHI     Edit          Reply 
    Hi Ashutosh
    I intend to replicate 'S', as described in the note, but nothing has been created with my initial replication of 'O'. As per the note 363187 you are supposed to distribute type 'O' first before moving on to 'S'. Is there anything really fundamental I have missed that you are supposed to do in SRM either before or after the initial set of idocs for type 'O' are brought in?
    I have also read the other 2 notes you mention.
    Note 363187 stated:
    'Perform the following steps in the sequence given if the target system is a
    mySAP.com system (SEM, CRM, BBP/EBP):
    1. If you want to use the change pointers for later changes, activate
    them at once. During initial transport, you should not maintain the
    data in parallel in HR because the distribution takes the blocking
    mechanism into account, which can cause an incomplete initial
    transport.
    2. All objects of object type O are distributed with program RHALEINI. As
    a transfer mode, the update mode with infotype 1000 selection should
    be used.
    This way you make sure that all objects of object type O are created
    in the target system for existence checks.
    3. As previous step but for object type C.
    4. As previous step but for object type S.
    So far all I have tried to do is up to step 2.
    When running RHALEINI I have entered the following:
    Objects - Object Type = 'O'
    Reporting Period - Today is selected
    Transfer Mode - Insert is selected, with the Update Mode infotype set to 1000
    I did think making a setting under the Update Mode Infotype seemed a little odd, as I was doing an insert, but is this not what point 2 from the OSS Note is telling me to do?
    Any thoughts would be really helpful.
    Am I supposed to create a skeleton Org structure before pulling in the ECC 6 structure when I am using external numbering?
    Thanks
    Claire

    Hi Ashutosh
    I intend to replicate 'S', as described in the note, but nothing has been created with my initial replication of 'O'. As per the note 363187 you are supposed to distribute type 'O' first before moving on to 'S'. Is there anything really fundamental I have missed that you are supposed to do in SRM either before or after the initial set of idocs for type 'O' are brought in?
    I have also read the other 2 notes you mention.
    Note 363187 stated:
    'Perform the following steps in the sequence given if the target system is a
    mySAP.com system (SEM, CRM, BBP/EBP):
    1. If you want to use the change pointers for later changes, activate
    them at once. During initial transport, you should not maintain the
    data in parallel in HR because the distribution takes the blocking
    mechanism into account, which can cause an incomplete initial
    transport.
    2. All objects of object type O are distributed with program RHALEINI. As
    a transfer mode, the update mode with infotype 1000 selection should
    be used.
    This way you make sure that all objects of object type O are created
    in the target system for existence checks.
    3. As previous step but for object type C.
    4. As previous step but for object type S.
    So far all I have tried to do is up to step 2.
    When running RHALEINI I have entered the following:
    Objects - Object Type = 'O'
    Reporting Period - Today is selected
    Transfer Mode - Insert is selected, with the Update Mode infotype set to 1000
    I did think making a setting under the Update Mode Infotype seemed a little odd, as I was doing an insert, but is this not what point 2 from the OSS Note is telling me to do?
    Any thoughts would be really helpful.
    Am I supposed to create a skeleton Org structure before pulling in the ECC 6 structure when I am using external numbering?
    Thanks
    Claire

  • Changing organizational structure in SRM

    Hi All,
    We are in production with SRM 4.0 since 1.1.2006 and using R/3 since 2003.
    Our company intends to change the organizational structure (delete, merge, move
    organizational structure).
    We are going to copy our PROD systems (both R/3 and SRM) to other systems to be able to apply and check the changes.
    Problems:
    1.     How is it possible to replace “LogsysXXX” to that of the new backend for each attribute in the organizational structure, for every organizational unit? The attributes are not inherited data because they differ from one another, and there are many of them within the org structure (for example the attributes “plant”, “purchasing org and group” have the “LogsysXXX” defined as part of the parameter. There are about 600 users with 50 attributes each in all the org structure; therefore a manual process would not be acceptable. 
    Note: We didn’t copy the HR organization to the SRM org structure.
    2.     Documents which are being processed and at the time of “copy client” and were already created in SRM (PO, POR, SC), point to the old backend (“LogsysXXX”). 
    How do we change this pointer in existing documents to the new backend system? 
    Best regards,
    Rami

    Hi Rami,
    Please check former post :
    Re: Logical  system name to be updated while client copy--URGENT HELP REQUIRED
    Re: Exact copy of SRM PRD to DEV ? :-(
    Kind regards,
    Yann

  • Relationship of iViews with HR Organization Structure

    In an HR SAP Portal what is the relationship of iViews with HR Organization Structure.
    Does the iViews and org structure pull from tables or the infotype data?

    Hi,
    In SAP HR ESS, MSS all Iview links we see in Overview page are configured in spro.
    Yes there is relation exists in between portal I view and Hr infotypes. For portal Iviews Hr Infotypes acts like data providers and recivers.
    Regards
    Praveen

Maybe you are looking for

  • Photoshop crashes when using liquify & other tools, problems saving as well

    Hello I know others have posted re problems with Photoshop & liquify crashing but answers seem to be specific to computer spec etc. I use Photoshop CS6 and Windows 7. I have tried changing the 'performance' preferences and on one occasion I got the l

  • Looking for a HTTPS/HTTP mixed content "sniffer" tool

    I am hoping someone here can help me out. I am looking for a tool/addon that can point out exact what on the page is triggering a mixed content error. The browser will tell me that something on the page is not secure, but it won't tell me where or wh

  • Validation I/P Enabled field in the ALV grid

    Hi all, Which method is used for validating a value entered in a reprot output field of an ALV Grid OO report. can some one please throw some light on this. with a few example programs where it has been implemented. Regrds

  • Error with Posting

    Hi All I have a PL account which has no postings in year 2010 - however, when i run the report F.01 - i see the year end brought forward balance appearing in the 01/2010 column.. Can anyone shed some light as to why this might happen and how we can r

  • Photoshop and OS/X Mavericks - disappearing menus

    This may have been covered already, but I didn't see an answer for it in the forums. Basically, all of the menus in Photoshop CC seem to occasionally blank out, and this has only started happening for me since I upgraded to OS/X Mavericks. It doesn't