Fetch the operating unit name based on the country name

Hi all,
I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
Can any one know how to get this thing.
any help or idea is appreciable.
Thanks,
Giri

Giri,
I don't think you will find such a link. One country can be used by multiple operating units.
Hope this helps,
Sandeep Gandhi

Similar Messages

  • Need to get the operating unit name for AP report

    Hi,
    I'm really new to XML/BI publisher. I have to customize a oracle report called Payables Posted Payment Register. The package XLA_JELINES_RPT_PKG ties into this report. Upon reading the package it's pretty confusing. Anyway, there is a parameter called P_SECURITY_ID_INT_1 which is the operating unit. I'm trying to display the operation unit in my report but it only returns the operating unit id and I need the name of the operationg unit. So I'm guessing im going to need to grab it somehow in the XLA_JELINES_RPT_PKG. Is this correct? Any suggestions on the best approach?
    Thank you!! Your help is so much appreciated!

    Hi,
    after time elavualtion use t code PT66,  in this t.code double click on the each month(period) then you can get the internal table like ZES, SALDO, ZKO. again double click on the each internal table, you can get the information through the time types.  Like , now you want the overtime hours, 0903, 0904 with this time types you can get the each employee no. of. overtime hours.
    ZL, ZES, SALDO, TIP entries are internal table , you could not get any results from this table with using se11, se16.
    With PT_BAL00 with this report also we can get the overtime hours with the help of time events.
    Good luck
    Devi

  • How to create an operating unit

    Please can someone direct me on how to create an operating unit and assign it to a ledger. I don't seem to get my way trying to do this. Thankyou.

    Navigate to, US Super HRMS Manager > Work Structures > Organization > Description. Create New. Then enter the Operating Unit Name, Location and Address. Now add a new record in Organization Classifications region and choose Operating Unit. It will add Operating Unit in the Organization classifications. Then click on Others and enter Operating Unit information.
    KG

  • R12 XML Report to Pick the Templates dynamically based on Operating Unit

    Hi,
    I have written a PL/SQL stored procedure to pick the layout based on the operating unit. We have three layout’s for three different operating units(US,UK,CHINA). For the PL/SQL Stored procedure I have registered a concurrent program. In this Procedure I am assigning the layout based on the request ID submitted for the child concurrent program. Finally to say I am running a program for PL/SQL stored procedure and in that procure I am calling the child program which is registered for RDF layout’s.
    But the client don’t want two concurrent programs. He asked to implement in one concurrent program and if possible add the code in RDF only.
    I have used the following code in After parameter form trigger but the code is not working.
    (IF p_org_id IN ('101')
    THEN
    v_layout :=fnd_request.add_layout ('AR',
    'RAXINVXML_US',
    'en',
    'US',
    'PDF'
    fnd_file.put_line (fnd_file.LOG, 'If P_ORG_ID in (602,1622)');
    ELSIF p_org_id = '102'
    THEN
    v_layout :=fnd_request.add_layout ('AR',
    'ARRAXINVXML_UK',
    'en',
    'US',
    'PDF'
    fnd_file.put_line (fnd_file.LOG, 'If P_ORG_ID= 1883');
    ELSIF p_org_id = '2006'
    THEN
    v_layout :=fnd_request.add_layout ('AR',
    'ARRAXINVXML_KT',
    'en',
    'US',
    'PDF'
    fnd_file.put_line (fnd_file.LOG, 'If P_ORG_ID in (2006)');
    ELSE
    v_layout :=fnd_request.add_layout ('AR',
    'ARRAXINVXML_US',
    'en',
    'US',
    'PDF'
    fnd_file.put_line (fnd_file.LOG, 'If Org_Id other than 1883,2006,602,1622');
    END IF;
    I have followed the Subtemplate concept, but it is also not working.
    (<?import:xdo://AR.RAXINVTST_M.en.US/?>
    <?if:P_ORG_ID1='101'?> <?call-template:RAXINVTST_S?> <?end if?>)
    Could some one suggest how to proceed on this. Please help on this.
    Thanks in advance.
    Warm Regards,
    Thirupathi

    Thanks for your reply.
    I have tried this logic in AFTER REPORT trigger also, but it is not picking dynamically and also not giving any output.
    Could you please let me know if there are any possibilities.
    Thank you,
    Regards,
    Thirupathi

  • How to use the same BSA with more than an operating unit ?

    we have three operating units, sometimes a sales agreement is released from the three operating units, is there a way i can use the same sales agreemnet with the three operating units?

    We had the same issue recently.
    Users wanted same locator in the same org under different subinventories.
    We suggested 2 solutions
    1) Make the 1st locator segment=subinventory name (e.g. East.A.3.10, West.A.3.10)
    2) Add a character to the first locator (e.g. EA.3.10, WA.3.10)
    They picked up the 2nd option.
    Hope this helps
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant
    513-325-9026

  • How to fetch the Alias column values based on different column values?

    Hello Gurus,
    I have a table with the following struture -
    "drop table T;
    create table T(Name, Symbol, Amount,dep) as select
    'Anderia', 'AA', 1050000,'HR' from dual union all select
    'Michael', 'ML',150000,'Sales' from DUAL union all select
    'Bill', 'BL', 1050000,'Finance' from dual union all select
    'Nancy', 'NY', 4000,'HR' from DUAL union all select
    'Anderia', 'AA',3000,'HR' from dual union all select
    'Michael', 'ML',1050000,'Sales' from DUAL union all select
    'Bill', 'BL', 1200000,'Finance' from DUAL union all select
    'Anderia', 'AA', 1200000,'HR' from DUAL union all select
    'Vish', 'VH', 1200000,'Marketing' from DUAL;"Ans try to find out the values of the column like
    Name,symbol,dep,Amount,%Total,$Cumm Total, Rank but some additional columns like -
    HR Amount, %HRTotal,$HR Cumm Total,
    Finance Amount, %FinanceTotal,$Finance Cumm Total
    Sales Amount, %SalesTotal,$Sales Cumm Total,
    Marketing Amount, %MarketingTotal,$Marketing Cumm Total
    then i am using the following query to fetch the Name,symbol,dep,Amount,%Total,$Cumm Total, Rank columns -
    select name
         , decode(grouping(symbol), 0, symbol, 'Total') symbol
         , dep
         , sum(amount) amount
         , sum(per_total) "% Total"
         , decode(grouping(symbol), 0, max(Cum_per_total), null) "% Cumm Total"
         , decode(grouping(symbol), 0, max(rank), null) rank
      from (
              select name
                   , symbol
                , dep
                   , amount
                   , per_total
                   , sum(per_total) over(order by rk) cum_per_total
                   , rank
                   , rk
                from (    
                        select name
                             , symbol
                    , dep
                             , sum(amount) amount
                             , round((sum(amount)/max(total_amount)) * 100,2) per_total
                             , dense_rank () over (order by sum(amount) desc) as rank
                             , row_number() over(order by sum(amount) desc) as rk
                          from (
                                 select name
                                      , symbol
                                      , amount
                          , dep
                                      , sum(amount) over() total_amount
                                      , sum(amount) over ()
                                   from t
                         group
                            by name, symbol, dep
      group        
         by grouping sets((name, symbol, dep), ())
      order by rank, max(rk) nulls lastBut i want to fetch the following columns as well.......how can i do it?-
    HR Amount, %HRTotal,$HR Cumm Total,
    Finance Amount, %FinanceTotal,$Finance Cumm Total
    Sales Amount, %SalesTotal,$Sales Cumm Total,
    Marketing Amount, %MarketingTotal,$Marketing Cumm Total
    as i want all of the records, then going to specific to the dep.....do i need to use the case here?
    Thanks for all of your time and effort in advance

    Hello Frank Kulash/Łukasz Mastaler,
    Thanks for your time and effort.
    I am using the Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    I am looking forward to have some additional columns (column alias) along with the the returned by the mentioned query - which are named as -
    1- HR Amount
    2- %HRTotal
    3- %HR Cumm Total
    4- Finance Amount
    5- %FinanceTotal
    6- %Finance Cumm Total
    7- Sales Amount
    8- %SalesTotal
    9- %Sales Cumm Total
    10 -Marketing Amount
    11- %MarketingTotal
    12- %Marketing Cumm Total
    based on the logic like -
    HR Amount = sum of amount case dep ='HR'
    %HR Total = % of amount case dep ='HR'
    %HR Cumm Total (cumulative % based on the cumulative total of %HR Total) = Cumm % of amount case dep ='HR'
    similarly rest of the column........
    Now how do i use case with a logic so that it returns me the columns as i want them ...using the above mentioned query .......
    Kindly help me .....thanks in advance for all of your time

  • How to fetch the data & display the data if fields got the same name in alv

    hi frnds, i need ur help.
    how to fetch the data & display the data if fields got the same name in alv grid format.
    thanks in advance,
    Regards,
    mahesh
    9321043028

    Refer the url :
    http://abapexpert.blogspot.com/2007/07/sap-list-viewer-alv.html
    Go thru the guide for OOPs based ALV.
    Use SET_TABLE_FOR_FIRST_DISPLAY to display the table:
    CALL METHOD grid->set_table_for_first_display
     EXPORTING
    I_STRUCTURE_NAME = 'SFLIGHT'     “Structure data
    CHANGING
    IT_OUTTAB = gt_sflight.          “ Output table
    You can also implement
    Full Screen ALV, its quite easy. Just pass the output table to FM REUSE_ALV_GRID_DISPLAY. 
    For controlling and implementing the FS-ALV we have to concentrate on few of the components as follows :
    1. Selection of data.
    2. Prepare Layout of display list.
    3. Event handling.
    4. Export all the prepared data to REUSE_ALV_GRID_DISPLAY.
    Regd,
    Vishal

  • How to change the "Operating Unit" in AP invoice?

    Dear all:
    when I login AP module, Invoice > Entry > invoices, found that "Operating Unit" is not the name what I want. I make sure I am login the right responsibility.How can I modify "Operating Unit" and change it to the right?
    My environment is : R12.1.3
    Regards
    Terry Chen

    Go to sysadmin >profile > system
    Check the responsibility checkbox; enter the resp. name
    Uncheck all others
    Enter profile name = MO: Operating Unit
    Hit find; enter the appropriate value and save
    Also check the security profile's setting , after change the setting, the issue solved.
    Thank you Sandeep Gandhi

  • Is it possible to display in a front panel indicator the units name (for instance, N "Newtons" or ºC) from a virtual channel that you previously defined using MAX?

    If possible, how can I do it?
    Thanks in advance With LabVIEW 6 it is clear that we can display the DAQ channel name of previously defined virtual channels, so it seems to be possible that we would be able to access to other information defined in MAX as channel units name...
    Thanks

    Yes it is possible.
    Locate the LLB:
    LV folder\vi.lib\daq\dqchnutl.llb
    There you find useful vis to handle virtual channel.
    The Get DAQ ChannelNames.vi return also the channel units

  • Out of scope error while attaching the attribute set and the operating unit

    Hi,
    Am getting the out of scope error when am trying to attach the attribute set "/oracle/apps/fnd/attributesets/HrOperatingUnits/OperatingUnitName_Transient"
    and the operating unit lov "/oracle/apps/fnd/multiorg/lov/webui/OperatingUnitsLovRN" from my page in JDeveloper.
    Can anyone help?
    Thanks

    Mostly
    It would just be a warning message you can proceed with it there are no issues.But if its an error please do as mentioned by Reetesh.
    Thanks
    AJ

  • How to fetch the junk values of a column and the column name in oracle

    Hello,
    Can anyone help me in writing a procedure/dynamic SQL to fetch the column where the junk values appears and its value. Eg: If emp table contains ID and Name columns, and ID column contains junk values, the result should be the Id column and the junk value/s. It should be dynamic because next time if the other column contains junk values(like $,%...), the query should display the other column too..
    Thanks in advance..

    Try this, I'm not sure if it'll help... and get some idea...
    try to modify it as per your requirement -
    select * from junk_vals;
    1     ranit1
    2#     ranit2
    3     ranit3
    4$     ranit@4
    5     ranit5
    6     r^anit6
    select 'ID', id, val from junk_vals
        where regexp_like(id,'[^a-zA-Z0-9]')
    UNION
    select 'VALUE', id, val from junk_vals
        where regexp_like(val,'[^a-zA-Z0-9]');
    -- "Output :"
    ID     2#     ranit2
    ID     4$     ranit@4
    VALUE     4$     ranit@4
    VALUE     6     r^anit6
    NOTE - I've considered anything other than Alphabets and Numbers as a Junk Value
    Edited by: ranit B on Jan 4, 2013 5:07 PM
    -- o/p added

  • Change the Operating Unit and GL set of books on a responsiblity

    Hi Every one
    few of the responsibilities which were configured have a either a wrong of set of books or a wrong operating unit
    For example a responsibilty which was suppose to have US Set of Books and US operating Unit has MX Set of Books and US Operating Unit
    though in Multi Org setup MX set of Books is associated to MX operating Unit. Also vice versa happened on other responsibilities for example right set of books but wrong operating unit.
    My question what is the impact of changing GL Set of Books, MO Profile Value to right one? we already have one year transactions on these responsibilities which are related Oracle Cost Management and Oracle inventory.
    Thanks in advance.

    I am running into similar question - I am on R12 and am back tracking some origional set up issues
    I want to change a opearing unit to report to a different GL ,I vcan change it in HR Organization profiles however If i post an entry via AP to GL it shows up in the (old ) GL
    Is there a process i can run to update ?

  • Receiving Error : Please set the Receivables system options for this operating unit and ensure that the MO: Operating Unit profile option is correctly set with an operating unit that is set up in Receivables. while trying to create a new Customer.

    Hi All,
    We have set up a new Operating Unit in Oracle Apps. Now when I am trying to create a new Customer in that Operating Unit, I am receiving following error:
    ERROR MESSAGE:-Please set the Receivables system options for this operating unit and ensure that the MO: Operating Unit profile option is correctly set with an operating unit that is set up in Receivables.
    We do have MO: Operating Unit and MO: Default Operating Unit set properly at Responsibility level for the Responsibility through which I am accessing this form.
    Your help is appreciated!
    Thanks in advance,
    SKA

    You can refer this thread and check your MO operating unit is set or not https://community.oracle.com/message/3937028 thanks

  • How to fetch the Date column(or Month column) from the file name from the specified path in ODI 11g

    Hi ALL,
    Can any one help us regarding How to fecth the Date column(or month column) from the file name specified in the path in a generalized way .
    For example :
    file name is :subscribers (Cost) Sep13.csv is specified in the below path
      E:\Accounting\documents\subscribers (Cost) Sep13.csv
    here I need to fetch the "Sep13" as a Date column in the ODI 11g in the generalized way.
    Can any one help us in this case as early as possible.

    I would suggest using a piece of Jython code for this.  Something like this...
    import os
    import os.path
    filelist  = os.listdir(E:\Accounting\documents\)
    for file in filelist:
    datestr = file[19:-4]
    You'd need to work out what to do with datestr next...  perhaps write it to a table or update an ODI variable with it.
    Hope this is of some help.

  • How to fetch the correct netprice based on contract item conditions

    Hi,
    When you display a contract using ME33K and you click on a item and view its conditions(shift+F6), there might be 2 validity periods for a given item.
    and each period will have different netprice in it.
    Let me describe the same.
    Suppose the PO creation date is 04.07.2007
    The conditions for an item in a contract for the PO are as follows;
    1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
    2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
    We need to always fetch the net price from the validity period which always matches with the PO creation date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
    But the program is fetching the netprice 200.000 which belongs to the second validity period. That is because the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.The fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrieves the net price of current data in contract validity and not with respect to PO creation date.
    This data is then used to fetch the get the netpr data from EKPO.
    what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date..
    Now I have the internal table which is having data retrieved from Ekko and EKPO table.
    Now how do I retrive the correct price by using the condition tables KONV and KONP.
    Can you pls give the code snippet..
    Thanks in advance.

    Hi,
    Please get the valid condition ( based on date ) from A016 (MK & LPA). With the appropriate KNUMH read the Condition header. You can access the different condition items viz., PB00, RA00 etc., for the values from table KONP. Further if you have Value scales / Quantity scales, you can read the data from KONM, KONW.
    An additional tips: in KONP, if you have a condition like RA00 - Rebate, the value will be multiplied by 10 and saven in database to accomodate the discount to the third decimal.
    I could not completely understand your requirements like nature of development ( Is it a Report / SAP Script ??) you are working etc., so that I could help you precisely.
    Hope this helps,
    Best Regards, Murugesh AS
    Message was edited by:
            Murugesh Arcot

Maybe you are looking for

  • How to automate a redundant task on PC to "Include Prefix when Numbering Pages"

    I work in book publishing and we're generating indices using the book feature. The big problem is that for the print version we need the folios styled a certain way "without a prefix" but to create our index in the book feature, the prefix needs to b

  • When CONNECT_BY_ISLEAF can't do the job?

    Hi everyone, I have an issue with CONNECT_BY_ISLEAF. I would like to add conditions on it. Can anyone help? I'm using Oracle 10g. Let's take the following scenario: DROP TABLE departments; CREATE TABLE departments   dpt_id NUMBER(10) UNIQUE,   dpt_na

  • Permissions cannot be edited after time machine backup

    Issue: Permissions cannot be edited on backups stored on an external drive after time machine restore and reinitializing my computer. Mac Book Pro Processor: 2.2 GHz Intel Core i7 Memory 8 GB 1333 MHz DDR3 Graphics AMD Radeon HD 6750M 512 MB software

  • Regarding the Time type

    Hello, I am note able to find, where the value comes in the time Type 9310. HRS field is compared based on this value. 9310 is attendance bonus time types not able to find where the value puts in and how? Can you please put some light on this.       

  • Automounts for specific groups

    Hi, I set up automounts via AFP on a 10.3.9 server, they work fine on Panther and Tiger clients. Now I want to assign the automounts to specific groups of users (or computers, as my users don't switch machines). Right now the automounts appear on eve