Zone and region fields ???

Hi all,
I am preparing a report for the salary of the employee, based on selection screen parameters (Org. Unit) -pa0001-orgeh.
Zone , and Region
But can someone tell where are these fields zone and region stored in the database???
LIke if we see pp61, and click on f4 help for the org. unit, then it shows a hierarchy, firstly is the zone and its corresponding id(orgeh) and then the region and its corressponding id(orgeh) and then the branch and its id(pa0001-orgeh).
Hope you understood my query.
Any help would be appreciated.
Regards
Tarun

Why do we require the reverse relation of rsign type 'A', what is the use of that?
So that all HR objects are linked in both way... depending on your reporting need you could start looking at org. structure from the bottom (e.g. from employee point of view) or top (Org. unit point of view)....
E.g, if you want to find the position of a given employee, better use the relation P->S (bottom up) than O->S->P (top bottom)since positon is not known...
What is sclas in hrp1001 field for??? Should it be 'O' for all, shall I use all these 6 fields, in the select query , if i chose to solve my problem by select queries???
Well why not just looking at his description ("Type of related object")....
Object O can be linked to another object O (then OTYPE = "O" and sclas = "O") -> this is the case of your zone/region...
But object O can be linked to an object S (position) (so OTYPE = "O" and SCLAS = "S") ....
to summary:
- SCLAS has the same meaning than OTYPE but for the linked object
- SOBID has the same meaning that OBJID but for the linked object
Let's say you want to check if relation exists between zone and region:
SELECT count(*) FROM HRP1001
WHERE OTYPE = 'O'
     AND OBJID = ID(Region)
     AND PLVAR = '01'
     AND SUBTY = 'B0002'   "(= concatenation of RSIGN and RELAT)
     AND ISTAT = '1'   "Active
     AND SCLAS = 'O'
     AND SOBID = ID(region).
cheers, I need to go now

Similar Messages

  • Map Zones and Regions to the PSAs

    Dear Experts
    Request your advice on the below query.
    My requirement is to map zone and region against the PSAs.
    In our current setting PA is name of the company.
    PSA is the geographic location - Now I want to maintain further indicators as Zone and Region for each PSA.
    Is there a standard solution available.
    Regards
    Sanjay.

    Hi,
    You already taken company as Personnel Area & Geographic location as Personnel Sub area.
    As further division of personnel sub area is not possible.You can do so in organisational management level.
    In order to link the org units to P.A u need to add new fields in organisational assignment infotype.
    You can control authorizations through structural authorisations.
    Cheers
    Ramesh

  • Snapshot zone and dataset

    Hi,
    I (try !!) to manage a X86-64 solaris computer. and I want to create à snapshot in a secondary zone..
    That zone exist is ready and booted and I can login on it. So I use zfs snapshot koonytan/root/datatank to create the snapshot. And I got an error saying that there is no dataset for the snapshot. OK
    I search for dataset and found in an oracle/sun documentation, that I have to use zonecfg to create the data set :
    zonecfg -z koonytank
    zonecfg:zion> add dataset
    zonecfg:zion:dataset> set name=koonytank/root/dataset
    zonecfg:zion:dataset> end
    verrify, commit exit : no error.
    Then I reboot the zone with zoneadm and I get en error "the zone koonytank" could not be verify. and the zone don't boot.
    I have to remove the dataset declaration to reboot the zone.
    So my question is : How to declare a dataset. I have heard of a flag in the global zone that will be inherited by the zone but I found nothing on that.
    I thank you in advance
    Pierre Léonard

    Why do we require the reverse relation of rsign type 'A', what is the use of that?
    So that all HR objects are linked in both way... depending on your reporting need you could start looking at org. structure from the bottom (e.g. from employee point of view) or top (Org. unit point of view)....
    E.g, if you want to find the position of a given employee, better use the relation P->S (bottom up) than O->S->P (top bottom)since positon is not known...
    What is sclas in hrp1001 field for??? Should it be 'O' for all, shall I use all these 6 fields, in the select query , if i chose to solve my problem by select queries???
    Well why not just looking at his description ("Type of related object")....
    Object O can be linked to another object O (then OTYPE = "O" and sclas = "O") -> this is the case of your zone/region...
    But object O can be linked to an object S (position) (so OTYPE = "O" and SCLAS = "S") ....
    to summary:
    - SCLAS has the same meaning than OTYPE but for the linked object
    - SOBID has the same meaning that OBJID but for the linked object
    Let's say you want to check if relation exists between zone and region:
    SELECT count(*) FROM HRP1001
    WHERE OTYPE = 'O'
         AND OBJID = ID(Region)
         AND PLVAR = '01'
         AND SUBTY = 'B0002'   "(= concatenation of RSIGN and RELAT)
         AND ISTAT = '1'   "Active
         AND SCLAS = 'O'
         AND SOBID = ID(region).
    cheers, I need to go now

  • TimeZone and Region

    Hello folks,
    This is regarding mapping of Date, Time Zone and Region.
    Currently our system receives an event. Our Current application captures the event reception time using Date constructor and saves it in DB. We also get the Region, usually Midwest or West. We have to convert the reception time using the Region field on the event.
    Since our app servers are in Midwest region, the reception time stamp value will be Central even though the region from which the event is received is West. We need to translate the reception time based on the region, in above case to US/Western time.
    Any pointers as to how to do this translation, so that it doesn't matter where our app. servers are running.
    JY

    get.it.over wrote:
    Hello folks,
    This is regarding mapping of Date, Time Zone and Region.
    Currently our system receives an event. Our Current application captures the event reception time using Date constructor and saves it in DB. We also get the Region, usually Midwest or West. We have to convert the reception time using the Region field on the event.
    Why?
    Since our app servers are in Midwest region, the reception time stamp value will be Central even though the region from which the event is received is West. No it won't. The java.util.Date data in the Sun VM is always in UTC (no daylight) timezone. Unless you are using a custom built VM or a different VM which doesn't do that, then that will be true.
    We need to translate the reception time based on the region, in above case to US/Western time.
    Any pointers as to how to do this translation, so that it doesn't matter where our app. servers are running.First I would guess you need to understand that you have one or both of the following problems.
    1. A display problem
    2. A storage/persistence problem.
    You solve them independently. For the display problem if you need someone in Kansas to see a timestamp value for a timestamp created in Floriday you must first insure that the business (not technological side) understands what it is exactly that they want to see. Presuming that they ALWAYS want to see a local value (which in many businesses is not the case) then you do one of the following
    1. Deliver the data (not string) to them and let their VM display it.
    2. Have the client deliver a timezone to you as part of the request and then you create an appropriate string using SimpleDateFormat.
    Note that option 2 is probably going to require a display format as well. Again however probably that requires business input.

  • Duplicate content of region fields in the region and keep some fields

    duplicate content of region fields in the region and keep some fields displayed in this region and some not.
    Our customer wants to duplicate the content of the region fields and 3 fields of this region (one of them is the key from the table ) have to be shown empty and have to be recreated when he does the next commit. The other 25 fields have to be filled with the content before. (I have to do a commit before I show the region again without these three fields)
    What I did:
    When I have a botton with request CHANGE then APEX does the change without emptying the fields. I tried to make processes on this request which should empty my three fields, but the processes never fire (I see it in the debug and I don't know why, I putted them on every process point for testing)
    The second try:
    On my button with request CHANGE , I filled the 'set these items ' with my three fields and the 'with these items' with 2 commas ,, to set these items null.
    I do no claer cache, but APEX empties the hole region.
    Can you help me??
    Thanks Uta

    Hi Uta,
    OK - This is what I did:
    1 - Page 15
    On the EMPNO column, I have a link to page 18. I set P18_EMPNO to #EMPNO#. I assume that you already have this functionality to link from the report page to the form page. There are no changes required to this page.
    2 - Page 18
    I have created a hidden field called "P18_EMPNO_COPY". There are no special settings for this item - I've just put it at the bottom of the region containing all of the other items
    I have created a button called "P18_COPY". This has a Conditional Display set with a Condition Type of Value of Item in Expression 1 IS NOT NULL and Expression 1 of P18_EMPNO. This has an Option URL Redirect set for it with the following settings:
    Target is a - Page
    Page - 18
    Set These Items - P18_EMPNO,P18_EMPNO_COPY
    With These Values - ,&P18_EMPNO.
    I have created a Process to run "On Load - After Header". The PL/SQL code for this is:
    DECLARE
    emp_rec EMP%ROWTYPE;
    BEGIN
    SELECT * INTO emp_rec FROM EMP WHERE EMPNO = :P18_EMPNO_COPY;
    :P18_EMPNO := NULL;
    :P18_JOB := emp_rec.JOB;
    :P18_MGR := emp_rec.MGR;
    :P18_SAL := emp_rec.SAL;
    :P18_DEPTNO := emp_rec.DEPTNO;
    END;
    This has a Conditional Processing Condition Type of "Value of Item in Expression 1 is NOT NULL" and Expression 1 shows P18_EMPNO_COPY
    Finally, for each field, I have added in a Default Value that points to itself (For example, the P18_JOB field has a Default Value of :P18_JOB) with a Default Value Type of PL/SQL Expression.
    Obviously you will need to replace the field and item names with those for your table and form.
    This process does the following:
    1 - The user clicks the link in the report on page 15. P18_EMPNO gets populated with the EMPNO value of the item select.
    2 - Page 18 is loaded with the data relating to the record with the ID found in P18_EMPNO
    3 - The Copy button is displayed only if P18_EMPNO contains a value
    4 - The user clicks the Copy button
    5 - The P18_EMPNO value is copied into P18_EMPNO_COPY and P18_EMPNO is blanked out
    6 - The page is submitted with these changes. When it reloads, the new process kicks in
    7 - This process will:
    (A) Create a variable based on the record structure for the EMP table
    (B) Fill this variable with the data in the table for the ID that's now in P18_EMPNO_COPY
    (C) Set the session state values for the fields that need to be repopulated with the data now retrieved into the variable
    (D) Clear the P18_EMPNO session state value
    8 - When the page starts to load the form, it will see that there is no P18_EMPNO value and, therefore, will not bring in any information from the table. However, as we have now set the Default Value settings for each field, this will force it to retrieve the values we've stored using the new process and display these values in the form.
    I think I've detailed everything - if this doesn't work, please let me know!
    Regards
    Andy

  • I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    Hi
    And if You change view - in main "window/view field" so that You see the box-plot structure.
    No exclamation marks there either ?
    and non at the front page ?
    iDVD do not copy Your material - only points to where it is stored. So if on any external hard disks, USB-memories, CDs or DVDs are missing - assetts are broken.
    Or if You changed location of any material or directed iPhoto or iTunes or GarageBand to a new Library - Then iMovie/iDVD also get's lost.
    Yours Bengt W

  • How to change report region fields in read only mode?

    How to change report region fields in read only mode?
    skud.

    add the following javascript fuction to page header(or Javascript function and variables section)
    function disableItems(pRegionStaticId,pDisableFlag) {
      $('#'+pRegionStaticId).find('[name^=f]').each( function(){ /* matches fxx */
        if( $(this).attr('name').match(/f[0-9][0-9]/) ){
          return $(this);
      }).attr('disabled',pDisableFlag);
    pRegionStaticId is the region's static Id+
    Note that this code specifically disables only application arrays. Disabled items are not available after submission (and hence are different from readonly) . But any page javascript can modify disabled or readonly items(client side), so you must check at the server side to validate the data.
    You can disable items using
    disableItems('MY_REGION_ID' ,true);and enable them by passing false
    disableItems('MY_REGION_ID' ,false);

  • Time Zone and WLS6SP1 and date time problem

    Hi,
    We are having our development WebLogic server on a Solaris 2.8 machine. The time
    zone of that machine is GMT+5
    How ever when we start weblogic in the telnet console, we see this
    LD_LIBRARY_PATH=.......
    <Jul 5, 2001 1:19:46 AM GMT-05:00> <Info> <Security> <Getting boot password from
    user.>
    Enter password to boot WebLogic server:
    It shows the time as GMT-5.
    All our application client machines are at GMT+5.30.So when we update from our
    application, the datetime fields go as one day lesser(we have our own serializable
    component which does the updating). If i enter Dec 10 2000 in our applet client
    and try updating, it goes as Dec 9 2000 into the database.
    We tried on a NT machine which had GMT+5.30 as the time zone and it showed GMT+5.30
    while starting weblogic. And the dates are updated properly.
    Does WLS on Solaris take the timezone,etc from some other place?
    Is there any workaround for this?
    Thanks in Advance,
    Ramkumar

    We had the same thing using ReflectionX to connect. Users connection with Telnet
    caused weblogic to log with the default timezone ( which included the effects of
    daylight savings time ), while those users who connected with Rexec caused weblogic
    to use GMT in its logging. This was with weblogic 6.0 sp2
    "Joe" <[email protected].spam.com> wrote:
    >
    How are you starting up your server? We had a similar situation at our
    site, and
    it was due to the fact that we were using exceed to log into our sun box.
    Exceed
    was grabbing the users timezone info off of his/her local windows box.
    is this what is happening for you?
    "Ramkumar" <[email protected]> wrote:
    Hi,
    We are having our development WebLogic server on a Solaris 2.8 machine.
    The time
    zone of that machine is GMT+5
    How ever when we start weblogic in the telnet console, we see this
    LD_LIBRARY_PATH=.......
    <Jul 5, 2001 1:19:46 AM GMT-05:00> <Info> <Security> <Getting boot password
    from
    user.>
    Enter password to boot WebLogic server:
    It shows the time as GMT-5.
    All our application client machines are at GMT+5.30.So when we update
    from our
    application, the datetime fields go as one day lesser(we have our own
    serializable
    component which does the updating). If i enter Dec 10 2000 in our applet
    client
    and try updating, it goes as Dec 9 2000 into the database.
    We tried on a NT machine which had GMT+5.30 as the time zone and it
    showed GMT+5.30
    while starting weblogic. And the dates are updated properly.
    Does WLS on Solaris take the timezone,etc from some other place?
    Is there any workaround for this?
    Thanks in Advance,
    Ramkumar

  • Country name and region name in smartform

    hi friends
    1.  In smart forms I want  to display country name and region name in template text . 
    can any one help me how could I write code for it and the procedure.
    2.  IN scripts  komk-fwkrt = '1.00.200,32'.  
       but it should be displayed as 1,00,200.32
    how should I make changes for this field?
    thanks and regards
    deepika.

    Hi deepika,
    For your first question, I happened to have written similiar codes recently.
    If you have the country code and region code, you can read the country name from table T005 and region name from T005s.
    You can create a new routine for this and call it from Initialization.
    Hope this helps.
    Shane
    Edited by: Shane Chen on Jul 15, 2009 10:35 AM

  • How to make Buyer and Planner fields in Master Items Form Required without

    How to make Buyer and Planner fields in Master Items Form Required without using personalization?
    1) Steps to Reproduce
    Under Application Developer Common Modules responsibility,
    1) Query Region MTL_SYSTEM_ITEMS
    2) Click on Region Items
    3) Add Buyer Id and Planner Code attributes with Required checkbox checked.
    4) Bounce iAS server and JVM and clear java cache
    5) Changes not taking effect
    Current Application Release: 11.5.10.2 (3460000)
    Current INV Rollup: INV.J RUP22 (9878808)
    Current WMS Rollup: WMS RUP19 (9951502)
    Product Installation List :
    Product Installation: 11i.BOM.J: Installed
    Product Installation: 11i.EGO.E: Installed
    Product Installation: 11i.ENG.I: Installed
    Product Installation: 11i.INV.J: Installed
    Product Installation: 11i.PO.I: Installed
    Product Installation: 11i.WMS.G: Installed
    client needs to make the Buyer and Planner fields under Inventory->master Items form to be required.
    He tried using the Application Developer Common Modules responsibility, to find the Master Items Region and added the Buyer Id and Planner Code attributes with the Required check-box set to Yes. He bounced the iAS server and cleared java cache, but the changes do not take effect.
    client does not want to use form personalization.
    Can you please provide more assistance for using Application Developer Common Modules responsibility?
    Edited by: jemar98 on Aug 9, 2011 1:44 PM

    A forms developer could make those fields required with a CUSTOM.pll extension if you didn't want to use forms personalization. Both are considered customizations to standard functionality and may or may not require rework after patching or upgrades.

  • Region Field Mandatory in TRIP in Travel Management

    Dear Gurus,
                 I have able to make region field mandatory in PR05 . In our client site all permutation and combination has been done according to region field. But I am unable to bring Region field in TRIP or TP04 and also I want that field to be mandatory . Could you please guide how to bring Region field in TRIP or TP04 and how can I make that mandatory too.
    Please suggest.

    Unfortunately this is a limitation of the backend functionality because the REGION field was a new functionality starting ERP2005 in Web Dynpro, and this field is only available in FITVFELD_WEB. The field was integrated with the "Country" field in Web Portal. The customising point for Travel Request was also added in Portal which as you see is not available in FITVFELD.
    And when you create expenses for the request, the REGION field can be input manually, the value is maintained in Table T702O.
    So as a standard solution so it is not possible without making a modification
    I mentioned modifying the table PTRV_T706Z_FLDS but actually just reading it again I dont think this will work for TRIP in this manner.
    Edited by: Sally Redmond on Dec 13, 2011 12:10 PM
    Edited by: Sally Redmond on Dec 13, 2011 12:11 PM

  • Region Field in COPA

    Hi,
    Requirement is to bring in Region Field in COPA..
    The Region field is available in Customer Master data.. so the relevant tables involved are:
    KNA1 - Customer, Address key
    ADRC - Address key, Region
    Check table: T005U
    Now, how do we create a COPA characteristic Region and what should be the derivation rules..
    Please suggest..

    HI,
    KEDR (Derivation)->Table lookup on table KNA1.
    Source
    KNA1-KUNNR = CO-PA-KUDNR (system proposes)
    Target
    KNA1-REGIO = CO-PA-WWREG (your region Characteristic in CO-PA).
    When Region field available n populated in KNA1, you don't need ADRC table.
    Hope this helps.

  • Other Region Field on Customer Master

    Hello,
    There is a "other region" field under the PO Box Address section in transaction XD03. Can somebody tell me which table it pulls this value from? It is not in KNA1.
    Thanks,
    Asheesh

    I think you refer to the field PO_BOX_REG and it refers to the Region for PO Box (Country, State, Province, ...) 
    Address data is usually maintained in table ADRC. You access this table via the address number of your customer/vendor/plant/etc...
    ADDRNUMBER = KNA1-ADRNR.
    Cheers!

  • Country key and region change

    Can any tell that how i can change country key and region of plant after some material master data is maintained? In spro sap is not allowing to change the country key and region of the plant.fields are in display only

    Dear,
    Go to OX10 transaction and select your plant - select details - once plant details displayed, click on address icon on (Shift+F5). Here you change the country in address.
    But consider different impacts of country change - like tax calculations, Sales etc.
    Regards,.
    Syed Hussain.

  • Can 'Region' field gets defaulted based on owner of account?

    Hi
    Can 'Region' field in Account sales information gets defaulted based on owner of account?
    Owner belongs to 'West' region then account should get defaulted with same region.
    I have defined 'West' as territory for this owner.
    Do anybody has expression available for making field default ?
    Thanks
    Santosh

    Mahesh,
    Read-only is an option, but only if you never want users to change the values. If your users always work in the same Div, Region, and Sub-Region, then it would be reasonable to lock it so they don't feel like they have to update it. If,however, you have users that work in more than one sub-region, and they need to update it, then you wouldn't make it read-only.
    As far as workflow is concerned, you would need it to update the values when the ownership changes, if that is a requirement. If you choose not to update it, then it might not reflect the correct values for the new owner. Your decision on whether or not to implement the workflow would be based on whether or not your business rules require it. Most of the time, customers want the data to reflect the correct values for the current owner, but not always, so check with your customers and let the requirements drive the decision.
    Good Luck,
    Thom

Maybe you are looking for

  • Child thread stopping a parent thread

    I have a java program which has to pick some list of records from table1 and iterate through the list and send a message to an external URL and after getting a response update the same table. The issue here is I use HttpUrlconnection and open an Inpu

  • Trouble using cfincludes with multi-folder structure

    We are rebuilding our site using <cfinclude> to pull in standard headers and footers for each page. The headers and footers each have many links in them. How can we deal with the fact that the pages calling the cfincludes are not all at the same leve

  • Comparing 2 sheets in Vlook up

    Hi  I am running report where I am comparing data from  last month to current month and want to see  1)if any changes happen and  where? 2) if a new account is in old sheet(Last month) not in new sheet(current) how can i identify that? 3) there are m

  • Performance problems on SEM-BPS

    Hello, I have long response times in a web application containing a web excel layout. So I analyzed the BPS_STAT0 and it indicates 2 seconds for the selection of a variable whereas my stop watch indicates 10 seconds. what is this delta of 8 seconds?

  • QRFC inbound issue

    I registered RFC destination in tcode SMQS and excuted report RSTRFCT0 in order to create an outbound queue qRFC. The result is that I can see the queue just created in SMQ1. However, I can have good understanding about inbound side. I also registere