Function to find organization unit

Hi all,
I'd like to know if functions exist in R/3 to find easily an organizational unit in the tree of the relationship between organizational unit.
For example, you have the id of an OU and you need to know the top of the list of this OU in the hierarchical structure (the list of the OU depending between them).
I'd appreciate very much if anyone could provide some help regarding this topic.
Thanks in advance.
Daniel

Use Function Module RHPH_STRUCTURE_READ with parameters
PLVAR                           01       
OTYPE                           0U        (Business Unit) OBJID                           50050001  (example)
WEGID                           Z-0U-O (Custom Eval Path)
BEGDA                           12/06/2005
ENDDA                           12/06/2005
This will return an internal table of all Orgs under the Business Unit. You should sort the table by SEQNR & get the first Object type O record. Thats your Chief Org Unit for the Business Unit.

Similar Messages

  • Assignd functions to an org unit

    Hello,
    Which functions can I assign to an org unit?

    Hi Iris,
    Functions are possible applications in which the organizational unit is valid.
    With these functions you can control which attributes are available and which properties the attribute have.
    You can assign one or more functions to an organization unit. This means you can use one org unit for different areas, for example, an org unit can be a sales organization in the Sales scenario and a service org in the service scenario.
    You can maintain different attributes depending on the assigned function.
    You have three options to select on the Function tab in transaction PPOMA_CRM (Maintaing Org units)
    Sales, Service, Marketing
    The corresponding attributes can be maintained on the attribute tab page by selecting one of the three attribute maintenance scenario Sales, Service, Marketing.
    I hope your query is answered.
    regards
    Srikantan
    Reward Points if useful

  • DirectorySearcher for an Organizational unit

    &(objectClass=user)(memberOf=cn=MyGroup,ou=West,dc=MyDomain,dc=com) work great for a group.What syntax do I use for an Organizational unit?
    Certified Geek

    Hello Arne,
    >>What syntax do I use for an Organizational unit?
    If you mean you want to do a query against a OU, you could check this link:
    https://technet.microsoft.com/en-us/library/cc755655(v=ws.10).aspx#BKMK_4
    Search for “dsquery ou”, it shows how to
    find organizational units in the directory that match the specified search criteria.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Reg:finding out the function module to manager of organization unit

    Hi Experts,
    Is there any function module for finding out the Manager to organization unit.

    RH_GET_LEADING_POSITION gives you the position of the manager

  • Function module for automating creation of organizational unit

    Experts,
    I am using SRM 4.0. In my system R/3 is acting as backend.
    For creation of new organisational unit in SRM, which is not present in SRM but present in R/3 side i have to do the manual activity every time.
    Is there any function module? Which can automate this process. If there is any function module which i can use please let me know. and how can i use that also please let me know.
    By this automation every time through the program the new organization unit should created in SRM side.
    Please let me know..
    Thanks in advance. I will appriciate through rewards points.

    Hi,
    Thanks for your input. But i am planning to send one file for HR records and then from that file through program i will upload the file. IF for some user the orgaisation unit will not be found then there itself it would create the OU through Function module(If Any)... I am doing like this as the HR system is some legacy system not the R/3 system.
    So Please help me to find out  function module.
    i will appeciate for you help.
    Thanks

  • PPOMA_CRM - System does not find the correct Organizational Unit

    Dear Experts,
    we have done the following:
    1. We created a new Z-Field within table CRMD_ORDERADM_H with the Application Enhancement Tool. The name of the field is: ZZFLD000000.
    2. The we changed the View-Cluster T77OMATTR and added the attribute ZZFLD00000 (Name Postal Code).
    3. We added the attribute to the View in Component BT126H_APPT.
    4. In PPOMA_CRM we added the Z-Attribute to the Organizational Unit 'A' with a number range from '08030' to '08035'.
    5. Then we changed created a new Org. Determination Rule and assigned the new Determination Rule to a new Org. Data Profile which we assigned to the transaction type. We made a try and the determiantion rule is working!
    The point is, when we create an activity the user puts the postal code (in this example '08032') into the created Z-Field and then we expect that the specific organizational unit 'A' will be assigned like Service Organization.
    To solve the problem we put a breakpoint to all SET and GET Methods of the Attribute but the system is not stopping there. We missed something but we can not find really the problem.
    Which method we have to redefine so that SAP CRM is looking at the new created Z-Field and is searching within the Organizational Structure for the correct Organizational Unit?
    Best Regards
    Oliver

    Hi,
    This is my idea, I don't check this.
    But, I think it's have to work.
    Pass guid to CRM_ORDER_READ, and get parameters.
    After that, check where you can read postal code.
    I think it's in lT_CUSTOMER_H
    For example,
    call function 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid = ZGUID
        IMPORTING
          ZCUSTOMER_H        = lT_CUSTOMER_H
        EXCEPTIONS
            DOCUMENT_NOT_FOUND = 1
            ERROR_OCCURRED = 2
            DOCUMENT_LOCKED = 3
            NO_CHANGE_AUTHORITY = 4
            NO_DISPLAY_AUTHORITY = 5
            NO_CHANGE_ALLOWED = 6.

  • How to find cheif of Organization Unit.

    Hi,
    I am developing a report related to HR org management. Could anybody suggest me how to get chief of a organization unit using function module or select stmt. I have PERNR and I need to get who if the chief of that PERNR.
    Thanks,
    Ram

    Hi,
    - read EE's current org unit
    - use i.e. FM HRCM_ORGUNIT_MANAGER_GET passing it as objid and otype = 'O'  .
    You will get this org unit Manager.
    Note!
    There are plenty of functions you can use to achieve the same. The above is just an example.
    Regards
    Marcin

  • Retrieve Organizational Unit ID from ECC Purchase organization ID

    hello Experts!
    I am facing an issue. In SRM - given the ID of the Purchase Organization downloaded from ECC, I need to retreieve the related SRM Organizational Unit ID.
    I have found a FM (BBP_CTR_UI_BE_PORG_DETERMINE) that is doing exactly the other way around, but coudln't find a function module / alternative way to satisfy my requirement.
    Doesn anybody have an idea?
    Thanks!

    Hi
    You can retrieve it using table HRV5500A to get the Org. unit ID for the corresponding backend pur org. If you want description of the Org unit then you can use table HRP1000.
    Regards,
    Sanjeev

  • How to get Personnel Numbers from Organizational Unit ?

    Hello All,
    I have a requirement in the HR module to get a list of all the personnel numbers maintained for a Organizational Unit.
    Is there any Function Module to find out the Personnel Numbers assigned to a Organizational Unit for HR module ?
    Thanks,
    Ketan.

    Hi Ketan,
        I'm not sure that there is any Function Module available for finding the Personnel Numbers. I have listed some Tables in HR Module try whether this will help you in finding Personnel Numbers for Organizational Unit.
    DD01L Domains 
    DD02L SAP tables 
    DD03L Table Fields 
    DD03T DD: Texts for fields (language dependent) 
    DD04L Data elements 
    DD04T R/3 DD: Data element texts 
    DD05S Foreign key fields 
    DD06L Pool/cluster structures 
    DD20L Matchcode Ids 
    DD24S Fields of a matchcode ID 
    T000    Clients 
    T001    Company Codes 
    T001E  Company code-dependent address data 
    T001P  Personnel Areas/Subareas 
    T012    House banks 
    T012K House bank accounts 
    T012T House bank account names 
    T500L Personnel Country Grouping 
    T500P Personnel Areas 
    T500T Personnel Country Groupings 
    T501    Employee Group 
    T501T Employee Group Names 
    T502T Marital Status Designators 
    T503    Employee Groups / Subgroups 
    T503K Employee subgroup 
    T503T Employee Subgroup Names 
    T504A Benefits - Default Values (NA) 
    T504B Benefit Option Texts (North America) 
    T504C Benefit Type (NA) 
    T504D Benefit Credit Group Amount 
    T504E Benefit Amount 
    T504F Benefit Costs 
    T508A Work Schedule Rules 
    T508T Texts for Employee Subgroup Groupings for Work Schedules 
    T510   Pay Scale Groups 
    T510A Pay Scale Types 
    T510F Assign Pay Scale > Time Unit, Currency 
    T510G Pay Scale Areas 
    T510H Payroll Constants with Regard to Time Unit 
    T510I Standard Working Hours 
    T510J Constant Valuations 
    T510L Levels 
    T510M Valuation of pay scale groups acc. to hiring date 
    T510N Pay Scales for Annual Salaries (NA) 
    T510S Time Wage Type Selection Rule 
    T510U Pay Scale Groups 
    T510Y Special Rules for Wage Type Generation 
    T511    Wage Types 
    T512R Cumulation Wage Types in Forms 
    T512S Texts for Cumulation Wage Types in Forms 
    T512T Wage Type Texts 
    T512W Wage Type Valuation 
    T512Z   Permissibility of Wage Types per Infotype 
    T513    Jobs 
    T514S Table Name Texts 
    T514T Field Name Texts 
    T51D2 Wage Type Classes 
    T51D3 Reduction Rules 
    T51D4 Cumulation Rules 
    T527X Organizational Units 
    T528B Positions - Work Centers 
    T528C Wage Type Catalog 
    T528T Position Texts 
    T529A Personnel Event 
    T529F Fast Data Entry for Events 
    T529T Personnel Event Texts 
    T52BT Texts For HR Objects 
    T52C0 Payroll Schemas 
    T52C1 Payroll Schemas 
    T52C2 Texts for Personnel Calculation Schemas 
    T52C3 Texts for Personnel Calculation Schemas 
    T52C5 Personnel Calculation Rules 
    T52CC Schema Directory 
    T52CD Schema Directory 
    T52CE Directory of Personnel Calculation Rules 
    T52CT Text Elements 
    T52CX Cross References via Generated Schemas 
    T52D1 Valid Processing Classes 
    T52D2 Valid Values for Processing Classes 
    T52D3 Valid Evaluation Classes 
    T52D4 Permitted Values for Evaluation Classes 
    T52D5 Wage Type Groups 
    T52D6 Wage Type Group Texts 
    T52D7 Assign Wage Types to Wage Type Groups 
    T52D8 Valid Processing Classes - Texts 
    T52D9 Valid Values for Processing Classes - Texts 
    T530 Reasons for Events 
    T530E Reasons for Changes 
    T530F Reasons for Changes 
    T530L Wage Types for Special Payments 
    T530T Event Reason Texts 
    T531 Deadline Types 
    T531S Deadline Type Texts 
    T533 Leave Types 
    T533T Leave Type Texts 
    T539A Default Wage Types for Basic Pay 
    T539J Base Wage Type Valuation 
    T539R Events for Standard Wage Maintenance 
    T539S Wage Types for Standard Wage Maintenance 
    T548 Date Types 
    T548S Date Conversion 
    T548T Date Types 
    T548Y Date Types 
    T549A Payroll Areas 
    T549B Company Features 
    T549C Decision Trees for Features (Customers) 
    T549D Feature Directory 
    T549L Date modifiers 
    T549M Monthly Assignment: Payroll Period 
    T549N Period Modifiers 
    T549O Text for date modifier 
    T549P Valid Time Units for Payroll Accounting 
    T549Q Payroll Periods 
    T549R Period Parameters 
    T549S Payroll date types 
    T549T Payroll Areas 
    T549M Monthly Assignment: Payroll Period 
    T549N Period Modifiers 
    T549O Text for date modifier 
    T549P Valid Time Units for Payroll Accounting 
    T549Q Payroll Periods 
    T549R Period Parameters 
    T549S Payroll date types 
    T549T Payroll Areas 
    T554S Absence and Attendance Types 
    T554T Absence and Attendance Texts 
    T554V Defaults for Absence Types 
    T554Y Time Constraints in HR TIME 
    T555A Time Types 
    T555B Time Type Designations 
    T559A Working Weeks 
    T559B Name of Working Week 
    T572F Event Texts 
    T572G Allowed Values for Events 
    T572H Event Value Texts 
    T582A Infotypes 
    T582B Infotypes Which Are Created Automatically 
    T582S Infotype Texts 
    T582V Assignment of Infotypes to Views 
    T582W Assigns Infotype View to Primary Infotype 
    T582Z Control Table for PA Time Management 
    T584A Checking Procedures - Infotype Assignment 
    T588A Transaction Codes 
    T588B Infotype Menus 
    T588C Infotype Menus/Info Groups 
    T588D Infogroups for Events 
    T588J Screen Header Definition 
    T588M Infotype Screen Control 
    T588N Screen Modification for Account Assignment Block 
    T588O Screen Modification for Assignment Data 
    T588Q Screen types for fast entry 
    T588R Selection Reports for Fast Data Entry 
    T588S Screen Types for Fast Entry 
    T588T Menu and Infogroup Designations 
    T588V Business object type 
    T588W Event types for infotype operations 
    T588X Cust. composite definition of event types for IT operations 
    T588Z Dynamic Events 
    T591A Subtype Characteristics 
    T591B Time Constraints for Wage Types 
    T591S Subtype Texts 
    T596F HR Subroutines 
    T596G Cumulation wage types 
    T596H _Cumulation wage type texts 
    T596I Calculation rule for cumulation wage types 
    T596U Conversion Table 
    T599B Report Classes 
    T599C Report Classes 
    T599D Report Categories 
    T599F Report Classes - Select Options 
    T777A Building Addresses 
    T777T Infotypes 
    T777Z Infotype Time Constraints 
    T778T Infotypes 
    T778U Subtypes 
    Error Messages tables 
    T100 Messages 
    T100A Message IDs for T100 
    T100C Control of messages by the user 
    T100O Assignment of message to object 
    T100S Configurable system messages 
    T100T Table T100A text 
    T100V Assignment of messages to tables/views 
    T100W Assign Messages to Workflow 
    T100X Error Messages: Supplements

  • Relationship Organizational Unit and BP

    Hi experts,
    How can you find the address of an Organizational Unit when you know the ID of it?
    For example, the ID of the Org Unit is o 50000011, in which table can you see the address nr of it?
    Thanks a lot in advance.
    Yongmei

    Hi,
    I have SRM 3.0 System in my Company.
    This FM belongs to Package CRM_COM_ORGMAN (last hanged by: 10.01.2003)
    Try use Function Module RH_GET_ADDRESS:
    call function 'RH_GET_ADDRESS'   
          exporting                   
               plvar   = 01        
               otype   = O
               realo   = 50000011    
               begda   = sy-datum       
               endda   = sy=datum      
               istat   = '1'          
          tables                      
               address = your_addr_tab.    
    Regards,
    Marcin

  • CATC  report using Organizational unit

    hello friends,
    I am coming across one problem in CATC.
    Here i give following data input:
    Data selection period: give dates from & to
    Company code: 009
    Organization unit: 2022400
    Period type: 1 (Daily data entry)
    When I executes the transaction, the error is seen as:
    System error:
    Message no. LR666
    Diagnosis
    An internal error has occurred.
    on investigation, Org 2022400 has 50 persons assigned and in those, only for one personal number, this error is coming.
    If i exclude this person and execute the tode, it is running fine.
    (But, If we execute the Tcode with Period type as 2- Weekly data entry, then report is executing without any problem for this person also)
    But we want to have the report executed with giving orgunit as input and Period type: 1.
    can we find out what will be the problem with this single person? why it is not supporting the period type 1.
    Thanks,
    Madhu

    Hi Robert,
    it should be possible to do that by modifying your method filter. Method filters are used to control the range of models, objects, relationships and attributes that can be used. You can change an existing filter or create a new one depending on your requirements. Go to the Administration modul and expand "configurations/filter" for your server.
    I don't know anything about your requirements but let me add one more comment. If you add the organisation object as mentioned above, your BPMN model will not be standard conform anymore. From my point if view this is something you really need to consider in advance (and you should avoid). If you change the range of objects the model might not be readable for other (future) modelers in your team. You also need to document all of these modifications in your personal "method manual". Overall I would not recommend it!
    The Function Allocation Diagrams are very similar to the EPC. The FAD has nearly all objects available as the EPC, and has the same connections between functions and other objects. This is why you can use the Organizational Unit there - it uses another "standard". The FAD has been developed in order to restrict the detail of EPCs. Use FADs to further describe a function - as it is for the SOA Extensions (Automated Activity, Human Task, Business Rule, Notification).
    Please let me know if you need some more details.
    Best regards,
    Danilo

  • Getting organizational unit with API in OBPM 11g

    Hi all,
    I'm not able to find the way to get the organizational unit of a participant using the OBPM 11g API. Can anyone tell me how can I do that?

    Organizational Unit API was included in 11.1.1.5 FP4 - see : http://www.oracle.com/technetwork/middleware/soasuite/documentation/11gr1ps4featurepackdoc-462677.html and download BPM Java API Reference. Within the download you will find oracle.bpm.services.organization.IBPMOrganizationService interface that contains method getOrganizationalUnitForUser which should do the job.
    For the process there is an XPath method bpm:getUserOrganizationUnit() that according to documentation:
    "Returns the fully qualified organization unit name with the parent hierarchy The signature of this function is bpm:getUserOrganizationUnit(userName, realmName, parentPath). The arguments to the function: 1) userName - a user name 2) realmName - The realm name. This is optional and if not specified default realm is assumed 2) parentPath - This is optional and if sepcified, would be used for resolving conflicts if the user belongs to more than one organizational unit. For example if user belongs to OUs americas/north/us/NY/sales and americas/taskforce/globalsales then americas/north or americas/north/us or americas/north/us/NY can be used as parent path. Note that longer the path, more efficient it is to search."

  • PL/SQL: Could not find program unit being called: mydb.pkg_alert (newbie)

    This is my first attempt at a pretty in debt package. All the procedures and functions work successfully on their own. When i try and put them into a package and run the package, i get these errors?
    ORA-04063: package body "mydb.PKG_ALERT" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "mydb.PKG_ALERT"
    ORA-06512: at line 6
    Here's my package:
    create or replace PACKAGE pkg_alert AS
    FUNCTION fcn_chck_dt(p_date date)
    RETURN VARCHAR2;
    FUNCTION fcn_chck_decline(p_date date)
    RETURN NUMBER;
    PROCEDURE sp_run_alert(p_date date);
    END pkg_monitor;
    Here's my package body code: Your assistance is greatly appreciated:
    create or replace
    PACKAGE BODY PKG_ALERT AS
    FUNCTION fcn_chck_dt(p_date date) return VARCHAR2 is
    --DECLARE
    v_table_name VARCHAR2(35);
         v_string VARCHAR2(1024);
         v_result number;
         v_output VARCHAR2(1024);
    v_date VARCHAR2(100);
    v_dt VARCHAR2(100);
         CURSOR c_table is
              select table_name
              from user_tab_columns
              where COLUMN_NAME = 'date'
              and table_name NOT LIKE '%BIN%';
         BEGIN
    OPEN c_table;
         loop
              FETCH c_table into v_table_name;
              exit when c_table%NOTFOUND;
              v_string:='select decode(to_date(max(date),''yyyymmdd''),'''||p_date||''',1,0)'|| ' from ' || v_table_name;
    execute immediate v_string into v_result;
    v_date:='select max(date)'|| ' from ' || v_table_name;
    execute immediate v_date into v_dt;
    if v_result=0 then
              v_output:=v_output||CRLF||v_table_name||': '||v_dt;
    end if;
    end loop;
    close c_table;
    return v_output;
    END fcn_chck_dt;
    FUNCTION fcn_chck_decline(p_date date) return NUMBER is
    --DECLARE
         v_dt NUMBER;
         v_active NUMBER;
         v_delta NUMBER;
         v_perc_delta NUMBER;
         v_old_s varchar2(1024);
         v_old_dt number;
         v_string varchar2(1024);
         v_result NUMBER;
         CURSOR c_prev IS
              select date,daily_active,
              daily_active-lag(daily_active) over(order by date),
              trunc(((daily_active-lag(daily_active) over(order by date))/daily_active)*100,2)
              from pop_stats
              where to_date(date,'YYYYMMDD') between p_date-1 and p_date
              order by date desc;
    ---bringing back two rows and all records on purpose.
         BEGIN
              OPEN c_prev;
              FETCH c_prev INTO v_dt,v_active,v_delta,v_perc_delta;
         close c_prev;
         v_old_s := 'select max(date) from alert_stats';
         execute immediate v_old_s into v_old_dt;
         if v_dt!=v_old_dt then
         insert into ALERT_stats(date,
                   daily_active,
                   daily_delta,
                   daily_delta_percent)
                        values(v_dt,
                        v_active,
                        v_delta,
                        v_perc_delta);
              end if;
         v_string:='select value from config_tbl where name=''decline''';
         execute immediate v_string into v_result;
         if v_perc_delta <= v_result then
         return v_perc_delta;
              end if;
         END fcn_chck_decline;
    PROCEDURE sp_run_alert(p_date date) IS
    --DECLARE
    v_result varchar2(1024);
    BEGIN
         insert into ALERT_stats(date)
    values(p_date);
    CRLF char(2) := chr(10)||chr(13);
    v_result :='';
    v_result := v_result||fcn_chck_dt(p_date);
    v_result := v_result||fcn_chck_decline(p_date);
    if v_result.length > 0 then
    utl_mail.send('alerts@localhost','[email protected]',NULL,NULL,
    'Alert','Alert Summary: '||v_result,'text/plain; charset=us-ascii',NULL);
    end if;
    END sp_run_alert;
    END PKG_ALERT;

    Take a look at the bolded sections of your code especialy the last line of your package spec
    create or replace PACKAGE pkg_alert AS
    FUNCTION fcn_chck_dt(p_date date)
    RETURN VARCHAR2;
    FUNCTION fcn_chck_decline(p_date date)
    RETURN NUMBER;
    PROCEDURE sp_run_alert(p_date date);
    END pkg_monitor;

  • 11.5.10.2 to R12.1.1 upgrade: Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called

    Hello,
    EBS version : 11.5.10.2
    DB version : 11.2.0.3
    OS version : AIX 6.1
    As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ATTENTION: All workers either have failed or are waiting:
               FAILED: file glsupdas.ldt on worker  3.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 adwork003.log
    Restarting job that failed and was fixed.
    Time when worker restarted job: Wed Aug 07 2013 10:36:14
    Loading data using  FNDLOAD function.
    FNDLOAD APPS/***** 0 Y UPLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -
    Connecting to APPS......Connected successfully.
    Calling FNDLOAD function.
    Returned from FNDLOAD function.
    Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
    Error calling FNDLOAD function.
    Time when worker failed: Wed Aug 07 2013 10:36:14
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 US_glsupdas_ldt.log
    Current system time is Wed Aug  7 10:36:14 2013
    Uploading from the data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
    Altering database NLS_LANGUAGE environment to AMERICAN
    Dumping from LCT/LDT files (/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to staging tables
    Dumping LCT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0) into FND_SEED_STAGE_CONFIG
    Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt into FND_SEED_STAGE_ENTITY
    Dumped the batch (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS , GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS ) into FND_SEED_STAGE_ENTITY
    Uploading from staging tables
      Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called
    Concurrent request completed
    Current system time is Wed Aug  7 10:36:14 2013
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Below is info about file versions and INVALID packages related to GL.
    PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG is invalid with error component 'GL_DEFAS_DBNAME_S' must be declared.
    I can see GL_DEFAS_DBNAME_S is a VALID sequence accessible by apps user with or without specifying GL as owner.
    SQL> select text from dba_source where name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG') and line=2;
     TEXT
    /* $Header: glistdds.pls 120.4 2005/05/05 01:23:16 kvora ship $ */
    /* $Header: glistddb.pls 120.16 2006/04/10 21:28:48 cma ship $ */
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */ 
    SQL> select * from all_objects where object_name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG')
      2 ; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1118545 PACKAGE 05-AUG-13 05-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1118548 PACKAGE 05-AUG-13 06-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1128507 PACKAGE BODY 05-AUG-13 06-AUG-13 2013-08-06:12:56:50 INVALID N N N 2 
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1128508 PACKAGE BODY 05-AUG-13 05-AUG-13 2013-08-05:19:43:51 VALID N N N 2 
    SQL> select * from all_objects where object_name='GL_DEFAS_DBNAME_S'; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    GL GL_DEFAS_DBNAME_S 1087285 SEQUENCE 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    APPS GL_DEFAS_DBNAME_S 1087299 SYNONYM 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    SQL> conn apps/apps
    Connected.
    SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, STATUS
    FROM DBA_OBJECTS
    WHERE OBJECT_NAME = 'GL_DEFAS_ACCESS_SETS_PKG'; 2 3 OWNER OBJECT_NAME OBJECT_TYPE STATUS
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE VALID
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE BODY INVALID SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE; Warning: Package altered with compilation errors. SQL> show error
    No errors.
    SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE BODY; Warning: Package Body altered with compilation errors. SQL> show error
    Errors for PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG: LINE/COL ERROR
    39/17 PLS-00302: component 'GL_DEFAS_DBNAME_S' must be declared 
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>cat $GL_TOP/patch/115/sql/glistdab.pls|grep -n GL_DEFAS_DBNAME_S
    68: SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
    81: fnd_message.set_token('SEQUENCE', 'GL_DEFAS_DBNAME_S');
    SQL> show user
    USER is "APPS"
    SQL> SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
      FROM dual; 2                         -- with GL.
      NEXTVAL
      1002
    SQL> SELECT GL_DEFAS_DBNAME_S.NEXTVAL from dual;               --without GL. or using synonym.
      NEXTVAL
      1003
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdab.pls|grep '$Header'
    REM | $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ |
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdas.pls |grep '$Header'
    REM | $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ |
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */

  • How do I activate the object history for an organizational unit ?

    Dear experts,
    we're using organizational units, positions, persons and users of the
    organizational management (Transactions PPOCE and PPOME) for
    the determination of (possible) agents in our Workflows.
    The objects seem to have an object history, at least you find such an
    option in the "find by" window on the left hand side of the maintenance
    transactions, but in our system there are no entries and I can't figure
    out how to activate history entries to be written.
    Do you ?
    Thanks in advance
    Andreas

    Hi,
    In OM all relation have a validity. I think you mean this with object history.
    If you double click an organizational unit for instance and then open the detail tab (if it wasn't open already)
    there you'll see Valid On with todays date this is the date which is used for determining the organizational structure, also you'll see No Periods with a green square to the left of the text.
    Just above the text Valid On, you'll see a button, when you click on the display periods button you can change the date to see what the relation of the object was at that time.
    You can also search the HR forum for more on organizational management.
    Kind regards, Rob Dielemans

Maybe you are looking for

  • New Administration Landscape in PI 7.1

    Anyone know how to create a New Administration Landscape in NWA in PI 7.1? Can someone provide step by step? I need this for configuration of NWA for Java System. I don't have any Landscape defined for use as it is a new system. Thanks, John

  • Are Smart Guides no longer reliable? Free transform is finnickey as well....

    I've noticed that, since downloading CC on its release last year (and keeping consistent with updates), there has been a noticeable unreliability with Smart Guides. I will have a rectangle, for example, that I want to snap to a guide or another shape

  • Cannot add a place even connected to the web

    When I want to add a place the sytem tells me that the map cannot be displayed as there is no web connection. My web connection works and is active. How to force the system to recognize the connection ? I am using PSE 11 thanks

  • Hi, My iPhone 4s does not work properly with the sound.

    Hi, My iPhone 4s does not work properly with the sound. It just ring. Any other app it doesn't make sound unless I have my headset or bluetooth. And it make me choose between "DOCK CONECTOR" or my "APPLE TV". Why? Or any sugestion plz

  • Month-end and year-end valuation differences!

    Hı Friends, What are the differences between Month-end and year end valuation in the system? Thank you!