How to find delimited ORG unit in a report?

Hi All I need to find the org unit's which doesn't have end date as 12/31/9999 and delimited within 2 years in my report?
How can we achieve this ...waiting for reply
PS: I believe there is no LDB required..
Regards
Sas

>
> Hi,
> Where are you stuck?
>
>
HRP1000 table, field - OTYPE(check for "O" for org unit).
> get the difference between BEGDA and GDATE(delimited on) and check if it's more than two years.
>
> Regards,
> Sumit
I want ORG UNITS whose END DATE is within 2 years????
I Will give you scenarios
If HRP1000 table has changed for some reasons'  and 5000(ORG UNIT) will create 2 records
Ex: 5000  jan 1 2005 dec 31 2009
                jan 1 2010 12/31/9999
This 5000 should't pick up as it has end date 12/31/9999 ok...
EX: 5001         JAN 1 2006  OCT 1 2007
                       OCT 1 2007   MAY 5 2009
Last record:    MAY 6 2009  Feb 6 2010
So this 5001 org unit should pick up as this last date is FEB 6 2010.
Sas
Edited by: saslove sap on May 3, 2010 1:59 PM

Similar Messages

  • How to find the Org.key based on Job key and Org Unit.

    Hi,
      Please Let me know how to find the Org.Key based on the Job Key and org Unit.
    Regards
    nagendra.

    On recent ThinkPad, the Product ID Key sticker has been moved from the bottom of the unit to behind the battery.
    You need to contact Lenovo technical support directly to ask about recovery media.

  • For an Org Unit, how do we get all Reporting Org units (Also employees reporting to the sub org unit) & Employees ?

    Hi Experts,
    I have a very common requirement in SAP HCM ABAP development.
    For an Org Unit, how do we get all Reporting Org units(Also employees reporting to the sub org unit) & Employees ?
    I have tried using RH_STRUC_GET_MULTIPLE_ROOTS and RHPH_STRUCTURE_READ, but the evaluation path is insufficient to get all objects under it. I tried with both O-S-P and O-O-S-P evaluation paths and as per some constraints, I can’t create a customized evaluation path for a reason.
    I am using PNPCE database for user selection screen and user would be advising the Org unit. I even referred the standard transaction ‘S_AHR_61016495’ which is using PCH logical database.
    I would really appreciate if anyone could provide a solution for this. (Rewards guranteed )
    Kindly help.
    Thank you.
    Regards,
    Mahesh Konade

    Hi Alexandre,
    Although I could not respond in time, thank you so much for your prompt reply.
    I had used the same RHPH_STRUCTURE_READ and passed the appropriate values to it, but it did not populate the required results. I cross checked the results manually, may be some relations issue. But later I tried using RH_STRUC_GET_MULTIPLE_ROOTS and it worked fine.
    Meanwhile I had done a workaround with PCH and RH_STRUC_GET and it served the purpose of getting all the Org units, it’s reporting sub-org-units, positions and persons (The deepest structure from the root org unit advised on selection screen).
    The solution I used is, I captured the org-units advised on selection screen by user using PCH logical database and then by looping on sub-org units reporting to the main org-unit I populated related positions and persons holding them and assigned it to the PNPCE logical database.
    Thank you so much for the help.
    Regards,
    Mahesh Konade

  • How to get subordinate org units for a given org unit within specific dates

    hi,
    How to get subordinate org units for a given org unit within specific dates

    Use the following Func module ..
    HRWPC_RFC_STRUCTURE_GET
    *--Get the sub org.unts for the given selection.
        CALL FUNCTION 'HRWPC_RFC_STRUCTURE_GET'
          EXPORTING
            ROOT           = root_org   <-- Give the Org unit 
            EVPATH         = 'O-O_DOWN'
            BEGDA          = s_date-low
            ENDDA          = s_date-high
          TABLES
            T_OBJEC        = t_objec
            T_STRUC        = t_struc
          EXCEPTIONS
            NOTHING_FOUND  = 1
            INTERNAL_ERROR = 2
            OTHERS         = 3.
        IF SY-SUBRC <> 0.
          MESSAGE i000 WITH 'No Sub Orgunits for ' s_objid-low.
        else.
    *--Prepare final sub org.units tabl.
          loop at t_objec.
            if t_objec-objid ne s_objid-low.
              it_orgunit = t_objec-objid.
              it_orgunit-begda   = t_objec-begda.
              it_orgunit-endda   = t_objec-endda.
              APPEND it_orgunit.
            endif.
          endloop.
        endif.

  • How to set multiple operating units in before report trigger

    hi all
    can any one help me out in getting clear in how to set multiple operating units in before report trigger in oracle report.
    as we set single operating unit (mo_global.set_policy.context('S',81); as 81 is my operating unit).then who to set for multiple operating unit at run time.

    Sounds like eBusiness Suite, right? Better ask this in the appropriate forum.

  • Delimiting Org Unit

    Hi All,
    i have an issue. When i am delimiting an org unit using Po10 system is giving me a meassgae that
    "IT1000 can only be delimited via Delimit Objects."
    What does that mean? Also How can I delimit an object?
    Regards
    Aryan

    Hi,
    No it does not allow me to delimit object using Po10, PP01 or PP02.
    Also in main screen of Po10 is i select the IT1000 and go to delimit icon in the proceeding screen i cant delimit
    org unit.
    Does it has to do anything with some logic or concepts?
    How can i delimit object?
    Aryan
    Aryan

  • How to enter customised Org Units in R/3 system

    Dear Members,
    Can we have our own Org Units in R/3 apart from the standard ones that are supplied by the SAP?
    If so how can we maintain in R/3 systems, when we tried to enter to have own values for
    WERKS for MM01 transaction via M_MATE_WRK object from SU22/SU24 transactions.
    The system is throwing that we cannot enter maintain Org Unit it manually,
    Could you please provide us the information and it would be highly appreciated,
    Regards
    Ratan.

    Hi Ratan,
    Can we have our own Org Units in R/3 apart from the standard ones that are supplied by the SAP?
    Yes. You can convert a field into Org Unit using PFCG_ORGFIELD_CREATE. However, if you are converting an existing field, you should adjust the existing roles manually.
    If so how can we maintain in R/3 systems, when we tried to enter to have own values for
    WERKS for MM01 transaction via M_MATE_WRK object from SU22/SU24 transactions.
    You can't maintain the values in SU22/Su24. They should be maintained individually at the role level.
    The system is throwing that we cannot enter maintain Org Unit it manually,
    Yes. This is the behavior.
    As mentioned, the org.values should be maintained at the individual roles.
    Regards,
    Raghu

  • Activities under a delimited Org unit

    Hello,
    We have recently implemented EIC.
    Have a simple query,if we delimit a particular Org unit,whether activities under that Org unit can be processed or not.
    Thanks & Regards,
    sushil

    >
    > Hi,
    > Where are you stuck?
    >
    >
    HRP1000 table, field - OTYPE(check for "O" for org unit).
    > get the difference between BEGDA and GDATE(delimited on) and check if it's more than two years.
    >
    > Regards,
    > Sumit
    I want ORG UNITS whose END DATE is within 2 years????
    I Will give you scenarios
    If HRP1000 table has changed for some reasons'  and 5000(ORG UNIT) will create 2 records
    Ex: 5000  jan 1 2005 dec 31 2009
                    jan 1 2010 12/31/9999
    This 5000 should't pick up as it has end date 12/31/9999 ok...
    EX: 5001         JAN 1 2006  OCT 1 2007
                           OCT 1 2007   MAY 5 2009
    Last record:    MAY 6 2009  Feb 6 2010
    So this 5001 org unit should pick up as this last date is FEB 6 2010.
    Sas
    Edited by: saslove sap on May 3, 2010 1:59 PM

  • How to assign & changed org. unit to employee Id

    Hi
    We want to move some employees from one organizational unit to newly created one in transaction code PPOM_OLD.
    In PPOM_OLD i created new Org. unit ,assign position then assigned existing employee pernr.
    But when i see in PA30 the organizational unit remains same.
    Even when i observed in PA0001 table i can see two entries for one employee number the old entry is with organizational unit where as new one doesn't have organizational unit at all
    Please guide me how can i do changes.
    Best Regards

    Dear Raza,
    Go to pa30- given the Perner-select infotype action 0000-period- all-click on overview
    Now you can view all records related to infotype action-select the new created records-choose icon delete.
    Now create the new organization unit, Position & their relationships through t-code pp01.
    now transfer of employee from old position to new position through action tcode –pa40- select appropriate personal action (promotion, reorganization, transfer etc.)
    Put the perner and effective date –execute –in next steps change details as per requirement i.e. in second part- organ. Assignment –
    New position details –xxxxxxxx  /Personnel area-xx/Employee group-x/Employee sub group-xx
    Save.
    System goes to next info type  0001-
    In the same way give the require details & save.

  • How to specify multiple org-unit in "dsadm request-cert"?

    Hi,
    We are trying to use dsadm to create a certificate request for one of our SunDS instances, and our CA requires that, in our case, the certificate subject string has multiple "org-unit"s, i.e, the cert subject string in the request needs to have something like "CN=myhost.whatever.com,OU=xx,OU=yy,etc.".
    However, when we try to run dsadm with more than one "--org-unit" parameter, it doesn't seem to allow this.
    Does anyone know what the command line for dsadm would be in this case?
    Thanks,
    Jim

    Use option --subject : it let you compose the subject DN freely.                                                                                                                                                                                               

  • I have created org units wrongly in om, how to delete these org units ?

    plz can anyone help me.

    Hi,
    go to PPOME transaction code select org unit right click and delete.
    you can try this report RHRHDL00 but you need to delete or delimit existing relationship first.
    Regards

  • Hierarchy org unit to wad report from MSS

    Hello to all.
    I have a WAD Report that the parameters for it are: Org unit - as the root, and a year/month.
    The report receive an org unit and display data for it and for all org units under it in the Org. structure.
    I start the report from the MSS on portal.
    In R/3 in table T77MWBBWS I created an entry for that report with Reference char. = "ORG_STRU" instead of "0orgunit".
    The report ignores the Org unit that I choose from the MSS selection screen, and starts with the Root Org unit of my Org structure.
    What to do in order to start the report with the Org unit that i select and to get results for all the org. units under it ?
    Thanks, Pazit Atar

    I am also facing same problem.
    I want to know how the org unit which is selected on MSS screen is passed to backend R/3 report (which is using PNP logical db)
    PLEASE HELP.

  • Org.Unit with attributes report ? :-)

    Hi guys,
    Quick question,
    The support people wants to see a report of the users and their attributes assigned (cost center, catalogs, etc).
    I cant find anything similar.. I just know that in PPOSA_BBP we can "visualize" the org unit...but a report ? =(
    Anybody knows anything ? =)
    Thanks for your help guys !
    Regards
    Diego

    Hi Diego,
    A long time ago in a old release , i came across some usefull Org structure reports.
    Maybe, one of them is still working... please test and tell us 
    RHXSTR00 - Organizational Structure
    RHXSTR01 - Organizational Structure with Positions
    RHXSTR02 - Organizational Structure with Persons
    RHSTRU00_ATTRIB - Org Structure and Attribute Allocation
    transaction PP7S or REPORTING
    kind regards,
    Yann

  • How to Find the Hostname / IP Address of Reports Server From Forms

    Hi
    We have following query to find out on which machine form server is running,
    but how to find hostname/ip address of reports server (if there are more than one reports server running and on different machines).
    SELECT SYS_CONTEXT('USERENV','HOST'), SYS_CONTEXT, SYS_CONTEXT('USERENV','IP_ADDRESS')
    from dual.
    can anybody answer?
    rocky rocks.

    Our oas name is the same as the box name, and the report server naming convention is rep_(oas name) so that makes it easy to find out.
    I have a pll attached to my form that contains the following function, which works for PC or UNIX based app server:
    -- get_oas_name - Returns OAS name. 
    -- caveat:  Can't be run from pre-form, when-new-form-instance or when-new-block-instance of first
    --          block on the form due to webutil limitation.
    FUNCTION get_oas_name RETURN varchar2 IS
      fp text_io.file_type;
      oas_name varchar2(30);
      op_sys varchar2(30) := get_application_property(OPERATING_SYSTEM);
    BEGIN
      if op_sys = 'WIN32COMMON' then                    
        oas_name := webutil_clientinfo.get_host_name;
      elsif op_sys = 'SunOS' or op_sys = 'UNIX' then
        host('/bin/uname -n > /tmp/oas_name');
        fp := text_io.fopen('/tmp/oas_name','r');
        text_io.get_line(fp, oas_name);
        text_io.fclose(fp);
      end if;
      return oas_name;
    END;Then in when_timer_expired (first place you can use webutil functionality) call it accordingly. I also use it to set platform dependant variables so the form will run
    when I'm working on my PC or deployed on UNIX:
    declare
      :control.op_sys  := get_application_property(OPERATING_SYSTEM);
    begin
          :control.oas_name := get_oas_name;
          :control.report_server := 'rep_'|| :control.oas_name;
          if :control.op_sys = 'WIN32COMMON' then        -- For running locally during development.                     
            :control.close_page := 'http://127.0.0.1:8889/forms90/common/window_close.htm';
            :control.rpt_temp := 'c:\temp\';
          elsif :control.op_sys = 'SunOS' or :control.op_sys = 'UNIX' then
            :control.close_page := 'http://'||:control.oas_name||'.yournamehere.com:7779/forms90/common/window_close.htm';
            :control.rpt_temp := '/appl/oas/yournamehere/reports/cache/';
          end if;
    end;Good luck,
    Gary

  • How to find SAP notes in the standard report

    How to find the SAP notes in the Std program? what is the use of SAP notes ?
    Edited by: SAK krish on May 21, 2011 12:48 PM
    Moderator message: please search for available information/documentation.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 21, 2011 12:56 PM

    Hi Sylvain,
    As you told that in the standard webcomponent is HRRCF_C_SEARCH_UI.
    There is a view named VW_REG_SRCH...
    In this view, there is a ViewContainerUIElement named VC_SRCH_CRITERIA.
    You are not able to find the layout inside this ViewContainerUIElement.
    For your information the ViewContainerUIElement is used to embed a view , so within this you will not able to view the layout.
    When You look in the Tab WINDOWS,you see that for VC_SRCH_CRITERIA, there is
    an embed view(or view use) named VW_SRCH_CRITERIA_USAGE_3.
    So to find the View - VC_SRCH_CRITERIA, you have to go to the view section within this View - VC_SRCH_CRITERIA is exists there in the component and there you can also see the layout there in the view editor
    Regards
    Manoj Kumar

Maybe you are looking for

  • How to find number of users logged into ODI

    Hi Experts, I am using ODI 11g in linux environment. I have created 15 users in system manager tab. My query is, how to find ODI11g logged in users list For Example, out of 15 users, 7 users are accessing ODI, how to fetch 7 users name list. Is there

  • HT5628 Security after Boot Camp 5 / Windows 8

    After installing Windows 8 using Boot Camp 5 on my MacBook Pro (Mountain Lion), do I need to worry about virus protection, increased vulnerability, etc. on either side?

  • Can i use mac mini as external dvd burner for my ibook?

    i was wondering if i could hook up my dad's mac mini to my ibook in target disk mode to my ibook and if that would allow me to use his mac mini as an external dvd burner. if anyone knows if this would work or how to do it, let me know, thanks

  • New Q5 battery problem

    Hello, I am new to Blackberry and have just started using Q5 (it is brand new), I have had it for a week and unfortunately it switches off every 10-12 hours. I am not using the phone at all so it is mainly on standby, I do not understand what is drai

  • To seacrh for a user exit from the program

    HI friends, i want to search the  user exit which is present in a standard program "RFITEMAP"........so please help me out thanks and regards, rajeev