Current session language in reports HR_ALL_ORGANIZATIONS_UNITS_TL

hi
The current session language of application is not in English, but when i execute the report it is displaying English values for organization name which are taken from HR_ALL_ORGANIZATIONS_UNITS_TL. Is there any possibility to take data which belong to the current session language?????
Thanks

Use HR_ALL_ORGANIZATION_UNITS_VL instead of HR_ALL_ORGANIZATION_UNITS_TL.
The HR_ALL_ORGANIZATION_UNITS_VL view show the current session language data.
See the view definition below:
CREATE OR REPLACE VIEW HR_ALL_ORGANIZATION_UNITS_VL
(organization_id, row_id, business_group_id, cost_allocation_keyflex_id, location_id, soft_coding_keyflex_id, date_from, name, comments, date_to, internal_external_flag, internal_address_line, type, request_id, program_application_id, program_id, program_update_date, attribute_category, attribute1, attribute2, attribute3, attribute4, attribute5, attribute6, attribute7, attribute8, attribute9, attribute10, attribute11, attribute12, attribute13, attribute14, attribute15, attribute16, attribute17, attribute18, attribute19, attribute20, last_update_date, last_updated_by, last_update_login, created_by, creation_date)
AS
SELECT hao.organization_id,
hao.ROWID,
hao.business_group_id,
hao.cost_allocation_keyflex_id,
hao.location_id,
hao.soft_coding_keyflex_id,
hao.date_from,
haotl.NAME,
hao.comments,
hao.date_to,
hao.internal_external_flag,
hao.internal_address_line,
hao.TYPE,
hao.request_id,
hao.program_application_id,
hao.program_id,
hao.program_update_date,
hao.attribute_category,
hao.attribute1,
hao.attribute2,
hao.attribute3,
hao.attribute4,
hao.attribute5,
hao.attribute6,
hao.attribute7,
hao.attribute8,
hao.attribute9,
hao.attribute10,
hao.attribute11,
hao.attribute12,
hao.attribute13,
hao.attribute14,
hao.attribute15,
hao.attribute16,
hao.attribute17,
hao.attribute18,
hao.attribute19,
hao.attribute20,
hao.last_update_date,
hao.last_updated_by,
hao.last_update_login,
hao.created_by,
hao.creation_date
FROM hr_all_organization_units hao,
hr_all_organization_units_tl haotl
WHERE hao.organization_id = haotl.organization_id
AND haotl.LANGUAGE = userenv('LANG');

Similar Messages

  • Getting an error in KPI Modeler as "{"customMessage":"failed to detect the sap language of the current session language","status":500}"

    Hi Experts,
    We have installed UISKPI01 in SAP NetWeaver Gateway System for Fiori Analytical Apps (KPI modeler is necessary to model the KPI) but while trying to create and Save the Group, we are Getting an error in KPI Modeler as "{"customMessage":"failed to detect the sap language of the current session language","status":500}". Similarly, when we are trying to edit the existing KPI template and assigning the Variants and Evaluations, we are facing the same error as failed to detect the sap language of the current session language","status":500.
    Any idea on above error?
    Thanking you,
    ~ Mahendra

    Hello Mahendra,
    Check if you have entries in the T002 table of SAP_SSB schema.
    If not follow the steps mentioned in the admin guide of SAP Smart business to populate data.
    This should resolve this issue.
    Note: My assumption is that, you are accessing the KPI modeler in English Language.
    Thanks,
    Debasish

  • How to get current session language ?

    Hi,
    I want to get the current session's language.
    I'm using pageContext.getOANLSServices().toString() but its output is oracle.apps.fnd.framework.OANLSServices@f55137
    Any ideas ?
    Thanks

    Hi,
    Use the below code in CO for getting the Language.
    pageContext.getCurrentLanguage();Regards,
    Gyan

  • How do I get current session language  in the jsp page ?

    I have a simple jsp page which I called from the iProcuremnt. I need to display the session language, which user select from preference/login page .
    Here is my code snippet.
    <%
    WebAppsContext _ctx = null;
    _ctx = WebRequestUtil.validateContext(request, response);
    WebRequestUtil.setClientEncoding(response, _ctx);
    Connection conn = ctx.getJDBCConnection();
    String sql = "select fnd_global.org_id , 'FRC/US' from dual”
    //fnd_profile.value('ICX_LANGUAGE') always get AMERICAN
    _ps = _conn.prepareStatement(sql);
    _rs = _ps.executeQuery();
    out.println("The Org id is : " + corg + " , "Langage is : " + cLang);
    %>
    Thank you in advance.

    destination URI should have one more parametre, say lang IS ENG
    MyTestPage.jsp?MODE=U&RLI={$RequisitionLineId}&LANG=ENGLISH
    and get this param from url in jsp.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Set date to session language in Application report

    Hi All,
    I have a Oracle Apps report. Based on the OU language the report is run, the month of the date should be in that language.
    For EX: If the report is run from Italian OU, the date should be in the format 29-SET-2011 (SET is the Italian month for SEP). How can the date session be set in the report?
    Thanks

    Dear firiend,
    Try this code.
    Select REGEXP_REPLACE(Date_Column_Name, 'SET', 'SEP') From Table_Name;
    Good luck

  • A problem of using Connection session in Oracle9iAS Report

    I used Oracle Report6i Before. Report6i creates a database
    connection each time a user sends in a report request. So, each
    time the users send in request, they will have different connection
    session.
    But in Oracle9iAS report, things become different because Report9i
    is using the connection pool. It looks like, different users if
    they used the same database login ID will use the same connection.
    This means all these users will be in same connection session. Then
    if these users are trying to run a same report which uses some session
    temporary table for reporting, they will interfere with each.
    For an example,
    1) user A and B are going to run a report named rep_AB
    2) In rep_AB, a temporary table named t_table is used to store
    the query result for reporting. But this temporary table never
    get committed, so it's only valid for the current session. This
    is what I actually want.
    3) User A and B use the same user ID to login database
    4) When report server receives the request from A, it contructed
    a connection for A
    5) After get connected, User A begins to write into temporary table
    t_table in his session.
    6) Then comes the request from user B. Report server finds out user
    B has the same user ID, then assigns him the same connection used
    by user A. So user B gets into the same session as user A.
    7) User B begins to write into table t_table, but user A is going to
    output the data in t_table as reporting result.
    Then eventually, both user A and B give out the wrong report because
    actaully they have interefered with each other.
    Is there any workaround for this case? Any information and help is
    appreciated greatly.
    Yong Zhuge

    I think this is not possible
    Develop new program
    Use following Function module For Batch
    1.QRKS_CHARACTERISTIC
    Control chart for a characteristic
    2.QRKS_INSPECTION_LOT
    Control chart for a characteristic/inspection lot
    3.QRKS_MASTER_CHAR_MATERIAL
    Control chart for a master inspection characteristic/material
    4.QRKS_MASTER_CHARACTERISTIC
    Control chart for a master inspection characteristic
    5.QRKS_MATERIAL
    Control chart for a characteristic/material
    Regards
    Sanjay

  • Possible to get SID of current session when not logged on as SYS

    I would like to get teh SID of my current session, but access to V$MYSTAT is restricted:
    conn user/******@DB
    SQL> desc v$mystat
    ERROR:
    ORA-04043: object "SYS"."V_$MYSTAT" does not exist
    SQL> conn sys/******@DB  as sysdba
    Connected.
    SQL> desc v$mystat
    Name                                      Null?    Type
    SID                                                NUMBER
    STATISTIC#                                         NUMBER
    VALUE                                              NUMBERThanks

    Can you use [url http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/functions165.htm#i1038176]SYS_CONTEXT for getting DB_NAME, INSTANCE_NAME, SID etc?

  • How to find out the roles set for the current session?

    Hi,
    I wanted to find out the roles set to the current session. Which system view or table gives this info?
    Thanks
    Seshu

    SELECT * FROM session_roles

  • How to get the user of current session in EBS

    Hi everyone,
    I create a new form in EBS 11. I want to get user ID (or userName) of user who log in the current session of application for inserting into CREATE_BY field of table in database.
    How have i to get it
    thanks you and best regards

    Hi,
    It seems like your application variables have not been initialized. Has your form been registered in a menu under a valid responsibility? Give us more details of the form and where it is has been registered.
    Make sure you look at P29-3 of the Application Developer's Guide for WHO column maitenance as you should be populating other columns besides the USER_ID. (http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120devg.pdf)
    Cheers
    Dale

  • Use different column Name in Analytic View depending by logon session language

    Hi everybody.
    Is it possible to have different column names for ONE single Analytic View column depending by the Client session language?
    For instance:
    - we have one (only one)  column name let's say that is 'fatturato' (for an Italian Client session) and 'invoiced' (for an English Client session) etc.. etc..
    in other word the 'column name' changes depending by the language but the column is only 1 (one).
    Is it possible to manage this and how? In SAP Hana Studio?
    Is it possible to store in some way the different names of that column and relate them to the column itself?
    Thank you in advance
    Best regards.
    Sergio

    Hi Sumeet.
    We already did your suggestion...
    But after the action:
    " tab--> Migrate--> Add---> OK"
    what do you have to do to have a multi-language column naming?
    Let's say we have a column name = 'product' (in English).
    We'd like to have for the same column also the following name:
    - 'prodotto'  ->  for Italian
    - 'produit'  -> for French
    - 'produkt' -> for German
    .. and so on
    depending  by the Client session language (and this has to be done automatically of course).
    How this can be achieved?
    Thank you
    Sergio

  • How can I get a list of active savepoints for the current session?

    Hi,
    In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
    "Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"
    So how can I get a list of active savepoints for the current session?
    Could you please also let me know if there is any better way to debug this issue.
    Appreciate any quick response as the issue is very critical.
    Thanks,
    Soma

    user776523 wrote:
    Hi,
    In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
    "Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"It sounds like there's an execution path in the code where the SAVEPOINT is never issued.
    There is no way to get a list of active savepoints. Is this your code or a "canned" procedure? If it is your code you can go through the code looking for answers, possibly tracing execution using DBMS_OUTPUT.PUT_LINE or writing messages to a log table. If its a "canned" procedure you may need to open an SR with Oracle

  • My software is STUCK on "Retrieving current session status" What is this and how do I fix it? i am not able to convert any files at all!! Please help!

    My software is STUCK on "Retrieving current session status" What is this and how do I fix it? i am not able to convert any files at all!! Please help!

    Hi JulietaQ,
    In order to help you better.
    Please let me know which application or Service of Adobe you are using. If this is subscription i would request you to log-out and log-in back and let me know if that helps.
    ~Ajlan Huda

  • Using the current user in a Report Trigger (After Param)

    I'd like to give certain access based on the user that is currently logged into the report. We want admin users to have full access while lower users to have access up to a certain date. I'd like to bring the user that is currently connected to be able to be brought in for code comparison.
    I'd like to following code to only apply to certain users:
    DECLARE
    currDate date := to_date(SYSDATE, 'DD-MON-YY');
    currDateMinusMonth date;
    currDay number := to_number(to_char(sysdate, 'DD'));
    currMonth number := to_number(to_char(sysdate, 'MM'));
    currYear varchar2(20) := to_char(sysdate, 'YYYY');
    beginDateInSamples date;
    endDateInSamples date;
    MaxDateOutSamples date;
    BEGIN
    currDateminusmonth := (currDate - 30);
    if(currDateminusmonth >= to_date('01/01/' || currYear, 'mm/dd/yyyy') and (currDateminusmonth <= to_date('03/31/' || currYear, 'mm/dd/yyyy'))) then
    MaxDateOutSamples := to_date('12/31/' || (currYear -1), 'mm/dd/yyyy');
    elsif(currDateminusmonth >= to_date('04/01/' || currYear, 'mm/dd/yyyy') and (currDateminusmonth <= to_date('06/30/' || currYear, 'mm/dd/yyyy'))) then
    MaxDateOutSamples := to_date('03/31/' || currYear, 'mm/dd/yyyy');
    elsif(currDateminusmonth >= to_date('07/01/' || currYear, 'mm/dd/yyyy') and (currDateminusmonth <= to_date('09/30/' || currYear, 'mm/dd/yyyy'))) then
    MaxDateOutSamples := to_date('06/30/' || currYear, 'mm/dd/yyyy');
    elsif(currDateminusmonth >= to_date('10/01/' || currYear, 'mm/dd/yyyy') and (currDateminusmonth <= to_date('12/31/' || currYear, 'mm/dd/yyyy'))) then
    MaxDateOutSamples := to_date('09/30/' || currYear, 'mm/dd/yyyy');
    end if;
    dbms_output.put_line('currDate' || '=' || currDate);
    dbms_output.put_line('currDateMinusMonth' || '=' || currDateMinusMonth);
              dbms_output.put_line('MaxDate' || '=' || MaxDateOutSamples);
    dbms_output.put_line('currMonth' || '=' || currMonth);
    dbms_output.put_line('currYear' || '=' || currYear);
    dbms_output.put_line('currDay' || '=' || currDay);
                   if :INEDATE > (MaxDateOutSamples) then
              srw.message (200,'Please run this report with begin date after'|| MaxDateOutSamples);
                   return (FALSE);
              elsif :INEDATE < (MaxDateOutSamples) then
              return (TRUE);
              end if;
    END;
    Any and all help is MUCH APRRECIATED!!!!!!!!!!!
    Thanks,
    Mike M

    to get the login of the current user you just use USER like:
    IF USER='MYLOGIN' THEN
    .. do some stuff
    END IF;btw.: What do you except your dbms_output.put_line to do ? This will not show anything to the screen.

  • Error while trying to retrevie the Current Portal Language

    Dear All,
    In my present application,I need to pass the language as a parameter to the backend.As my application needs to support different languages.In this regard I need to capture the current user language and if the user language is not mentioned then it should take the Browser language and even if that is not present it should take the server language.
    I am Using XLF Files in Webdynpro for the language change in Appilcation Screen and it is working properly.
    The present code which I am using to get the language is:
    CODE:
    IWDClientUser user = WDClientUser.getLoggedInClientUser();
    IUser iuser = user.getSAPUser();
    String userid = iuser.getDisplayName();
    wdComponentAPI.getMessageManager().reportSuccess("userid"+userid);
        iuser.getLocale();
    But when i am trying to print it.I am getting an Null value.Can anybody please let me know if i am going the right way and help me in getting the language of the user.
    Thanks in Advance
    Thanks and Regards,
    Nishita Salver

    Hi,
    Try this code
    try {
    IUser user = WDClientUser.getCurrentUser().getSAPUser();
    wdComponentAPI.getMessageManager().reportSuccess( user.getUniqueName() + " " + user.getLocale().getDisplayLanguage());
    } catch (WDUMException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    Regards
        Vinod V

  • Cannot convert pdf to word - just spins and says retrievin current session status - has been doing it for days

    Cannot convert pdf to word - just spins and says retrievin current session status - has been doing it for days

    Hi da522811,
    Are you still having trouble converting files? It sounds as though you may be trying to convert via Reader, is that correct? If so, please try logging out, and then logging back in. You may need to log out via the web interface at https://cloud.acrobat.com if you don't have access to the Sign Out button in Reader.
    Please let us know how it goes.
    Best,
    Sara

Maybe you are looking for