Org. Unit - List Values

How do everyone,
I have created a selection screen parameter based on objec-objid.
However, when I run the program the parameter is not providing a drop down list
containing all the organizational units within our org. structure.
I know you can use the PCH database but I just want a single parameter to
provide the org. structure.
Any ideas anyone??
Andy

Hi,
Use below FM for F4 help or check the standard program rhgrenz0
CLEAR: t_selobj,
         t_markobj.
Value help for orgunit field
  CALL FUNCTION 'RH_OBJID_REQUEST'
    EXPORTING
      plvar             = w_plvar
      otype             = p_otyp
      set_mode          = 'X'
      dynpro_repid      = sy-repid
      dynpro_dynnr      = '1000'
      dynpro_searkfield = c_orglow
      orgbeg            = p_date
      orgend            = p_date
    TABLES
      sel_objects       = t_selobj
      marked_objects    = t_markobj
    EXCEPTIONS
      cancelled         = 1
      wrong_condition   = 2
      nothing_found     = 3
      illegal_mode      = 4
      internal_error    = 5
      OTHERS            = 6.
Edited by: Jacks M on Jul 17, 2008 2:19 PM

Similar Messages

  • Shows all Org Structure in Org Unit Listing in Nakisa Org Chart

    Hi,
    We are using Org Chart 3.0SP2.
    The issue is when we search the Org Units in Org Unit listing it also shows other Org Units from other org structure which does not lie inside our selected Org Structure (already given the root org unit ID in Org chart config)
    But i cannot restrict the org unit listing because we cannot find any option to give root org unit ID in org unit listing configuration.
    How can we restrict this Org unit listing which should show only the org units below the selected org structure.
    Because already several org structure exists in back-end,but we have given one org structure (entered the root id) which we need for org chart.
    Thanks,
    Sakthi.

    Hi Sakthi,
    The search uses a listing report that pulls all active OrgUnits from HRP1000. This will include objects not within your org structure. The only way to do this is to add a data filter to the search data element that filters out these objects (e.g. filter by a short code or name). Please note that you cannot filter by the key field (ID).
    Best regards,
    Luke

  • Org Unit Listing is empty

    Hi everyone,
    We have the Nakisa 2.0 version, and the problem is, that the Org Unit listing doesn't work at all.
    There is no result for any kind of org Unit. (by name or id).
    The data connection is: BAPI_OrgUnit_SearchList
    I tried it with Data filter empty and with  Objecttype='O'  but the result was the same.
    Please Help
    Thanks
    N.G.

    Hi Luke,
    The log says:
    ERROR: BAPI_OrgUnit_SearchListing_New : Source {Nakisa.SAP.Proxy}: Message {[SAPConnector.Bapi_Pdotypes_Getdetailedlist]: Error retrieving data - No objects found}
    I created a test program in the R/3 system, and when I call the Function module, it returns the Org Units correctly (The FM returns an internal table with every org unit in the system.)
    The BAPI_PDOTYPES_GETDETAILEDLIST is a very simple  FM  you just give the OBJECTTYPE parameter 'O' then it returns every org Unit int the OBJECTS table
    The data connecton should be ok, because all the other connections (e.g. Employee listing) work fine.
    Kind regards
    N.G.

  • Directory - Org Unit Listing Not Returning Any Results

    Hello Everyone,
    We are using Nakisa v4.1 on EHP7.0 at the moment. In the user interface, Directory > Org Unit Listing is not returning any results while Employee and Position Listings are working just fine.
    What would be the cause ?
    Appreciate your help,
    Kind regards

    Hi,
    I am using a live build copied from SAP_Live_RFC.
    Below you can find what the cds.log says when I try to search an organizational unit.
    2289. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
    2290. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, deneme]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
    2291. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=deneme , decoded= deneme
    2292. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
    2293. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
    2294. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
    2295. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 32ms
    2296. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 86ms
    2297. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
    2298. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
    2299. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, test]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
    2300. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=test , decoded= test
    2301. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
    2302. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
    2303. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 28ms
    2304. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
    2305. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 73ms
    2306. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
    2307. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
    2308. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, kalite]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
    2309. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=kalite , decoded= kalite
    2310. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
    2311. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
    2312. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
    2313. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 43ms
    2314. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 94ms
    2315. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
    Regards.

  • WF error sending notification to org unit

    Hi All,
    I'm facing an amazing issue :
    I use my WF to send notification. The recipient can be a single user or an org unit(object O, in this case all people belonging to this org unit receive the notification in theur SBWP). It was running very fine before but newly my WF goes on error if the recipient is an org unit. I checked my structure, there is no issue, people are well assigned and have their users defined in the system.
    Could you please tell me what's the root cause of this issue? Is there a configuration of WF or rules I should verify?
    Many Thanks

    here is the last news, My WF runs correctly for another org unit. I went to the detailed log(transaction SWi2_freq) and found that for the container of my task(sending notification to the org unit ) some values of the structure "_Workitem" are diffrents :
    Field "callbackFM" which value is SWP_CALLBACK_WI_DONE for both WFs
    Field "return value" :
    the WF which ran correctly : 0000
    the WF which went on error : 1001
    So I guess that this FM causes the error, but I can't find this FM with transaction SE37
    How to reach it?
    Have you faced this error before?
    A colleague audited the OM structure, he confirmed that it's well set up, and the error is not due to wrong assignements or invalid dates.

  • HR ABAP Posiition Holder Org Unit value going dump

    Hi Experts,
    I am working now HR ABAP. My issue is,  I am using standard Program RHXPEP01. This Program is nothing but. Profile Match up Position/Holder.
    Once i execute this program and enter the  value of Org. Unit Value is 60010128. Then after 15mints it will be going dump.
    The error message is going to many iterations are going on.
    If I execute 60010129 it is working fine. This Org Units are avilable in Production.
    Can you plz help me on this.
    Thank You
    Sri

    Hi ,
    Please check this thread might be helpful.
    Runtime Errors STORAGE_PARAMETERS_WRONG_SET
    Regards,
    Siraj.

  • Org. Unit Listing Issue

    Hello Everyone,
    We are using Nakisa v4.1 and a live build. When we search an org.unit and click on the result, I know it is possible to find where that org. unit belongs in the org. chart but it only shows it's lower level org. units and positions in the hierarchy. My question is; is it possible to see also where our org. unit which we selected from the listing results belongs to, I mean the upper hierarchy levels ?
    Regards.

    Hi Tunc.
    If you hover over the top edge of the org unit box, you can navigate up one level at a time.  So this is good if you need to dig into the details or display the place in the wider structure.
    If you select a position/employee in the org unit, the details panel has a silo sub-tab under the structure tab.  This shows the linear hierarchy to the org root.  As a result this is usually quicker to see what the lineage is, but doesn't let you easily see the context of what else is at each level in the way that navigating the structure does.
    Regards,
    Stephen.

  • Report to the employee list under an org unit for a specific PSA

    Hello Experts,
    Is there any standard report to see the list of employees belonging to a particular sub org unit under a particular personnel sub area?
    For eg: There is a company X, and it has got 3 plants in blore, mumbai and chennai.
    Blore , chennai amd mumbai represent the personnel sub area for the company X.
    to see the list of employees working under operational sub org unit , under the org unit of company X in blore, is there any standard report in SAP??
    Helpful answers will be awarded
    thanks and regards,
    Pooja Dev

    Hi Pooja,
    Use Report RPLMIT00.
    Choose Org structure on it.
    Let me know.
    Arti

  • Operating Unit List Of Values is Null When Entering Transaction Types

    Hi,
    Operating Unit List Of Values is null when entering Transaction Types in Receivables Manager responsibility. I also re-checked MO: Security Profile and MO:Operating Unit Profile options that were set correctly. Please let me know how to troubleshoot the problem and fix accordingly.
    Thanks for the help.
    Regards,
    Sri

    There are some pointers in the below note
    Troubleshooting Transaction Types In Oracle Receivables [ID 1090878.1]
    Mahendra

  • Org Unit reporting under OM

    Hello All,
    I always get this request from most of my end users about running a report/creating an ad hoc query that will list the Employee details of the parent Org and subsequent child Orgs (O) untill the last one available. Everytime I put the Parent Org Unit no. in my input values and then select the (Reporting to or Incorporates) relationship, it returns with the PERNR details of the direct reports only. Where as I want the PERNRs and other details of these PERNRS for all employees who are in the child Orgs reporting to the Parent Org. (all IT0001 details) . I end up manually keying in the Org no. for all the child orgs in the report to get these details. This is cumbersome since few of our Org unit has at least 6 levels of reporting.Is there a easier way or standard report available to run these kind of queries ?
    Your help will be appreciated.

    Hi,
    Use t code s_ahr_61016533
    1. in object type give O (org Unit)
    2. Object ID = your parent Org Unit
    3. in structure parameters tab for EVALUATION PATH give O_S_P or O_S_P_O
    4. In PA reporting use RPLICO10
    Execute it and you might get what you want.
    cheers
    Ajay

  • Display of total ansal for each org unit using the sdepth (depth level)

    Hi all,
         We have a requirment in which we will be getting all the active employees related to a perticular org unit then  For every PERNR,we need to  find (as of run date) the org ID on PA0001- ORGEH and total the dollars at the org unit ID level started at the org unit defined on field ORGID and only as far down as defined on selection screen field SDEPTH.
           Example: $10k under Dept D, $9k under Dept C, $8k under Dept B and $7k under Dept A. If field SDEPTH was set to blank, each department would be assigned the above stated budget amount. If SDEPTH was set to 3, the budget would stop at the third level down the org chain (assuming A is the org unit defined in field ORGID, org unit C would be the third org down the chain). The total budget at level C would incorporate any dollars calculated from employees that fall below this org unit in the structure. In this example, the total for org unit C would be $19k, B would remain at 8k and A at 7k.
        We are making use of the FM :  RH_STRUC_GET  to get all pernr numbers related to a perticular org unit and sub level units separately and also RP_ANSAL_FROM_WAGETYPES for getting ansal based on the wahge types (multiple wage types can be provided by the user on the selection screen) .
    Please let me know how can i achive the requirement.
    Regards,
    Zareena.
    Edited by: zareena molla on May 20, 2008 7:14 AM

    Thanks Dan.
    Appreciate if you can help on the below points as well.
    1. As part of divestiture/transfer postings: The system is reversing some Previous Year(PY) equity accounts into themselves. How can we get the system to eliminate them by posting to COI Clearing account. Basically, we dont want the PY accounts to be touched?
    For the Retained earnings - PY account, the system is actually posting to COI clearing account.
    These PY accounts are part of some scopes for equitization.
    Is there any link between the "balance carry forward" - list of items table and the divestiture postings?
    Does the system check this table while posting/reversing the equity(PY) accounts?
    2. I want to understand the sequence in which the system posts the documents at the old parent and new parent (group) level.
    The same activity number is there  for Total Divestiture, total transfer documents posted at new parent level and total divestiture document posted at old parent level.
    Does the system follow bottom up approach? Thereby creating total divestiture document at old parent level.
    Followed by documents at upper level (new parent level)
    Also , at the upper level(new parent level), does it post documents in the way they are shown in the log? (We havent changed the default sequence maintained in UCWB - COI settings). so it will post first consolidation doc, followed by total divestiture, followed by total transfer docs at the new parent level?
    Is this the reason for the double value being posted at new parent for equity holding data?
    Will studying the statistical items (corresponding to eliminated equity holding items) be relevant here to understand why at upper level there is double the value being posted by system?
    Thanks.

  • Fm to get employee under manager of all org unit

    hi,
    i have requirement that i need list of all employee under particular manager i know abt HRWPC_PNP_MANAGED_EMPLOYEES but i don't know how to use it is thr any fm reg it .
    thanks in advance

    Hi Rajan,
    Below is the sample code for your reference...
    REPORT zrnd.
    *database tables used
    TABLES:pa0001, "Infotype 0001 (Org. Assignment)
    hrp1001, "Infotype 1001
    pa0002. "Infotype 0002 (Personal Data)
    *internal tables declaration
    **----internal tables for holding
    DATA:t1001 LIKE p1001 OCCURS 0 WITH HEADER LINE,
         t1002 LIKE p1001 OCCURS 0 WITH HEADER LINE,
         t1003 LIKE p1001 OCCURS 0 WITH HEADER LINE,
         t1004 LIKE p1001 OCCURS 0 WITH HEADER LINE,
         t1222 LIKE p1222 OCCURS 0 WITH HEADER LINE,
         t0001 LIKE p0001 OCCURS 0 WITH HEADER LINE,
         t0002 TYPE p0002 OCCURS 0 WITH HEADER LINE.
      DATA: w1222 TYPE hrp1222 .
      DATA : z1222 TYPE hrt1222 OCCURS 0 WITH HEADER LINE.
      DATA: res TYPE swhactor OCCURS 0.
      DATA: wa_res TYPE swhactor.
      Data : f_code type ABTNR,
            p_code type ABTNR,
            f_text type VTEXT,
            p_text type VTEXT,
            s_pernr type Pa0001-PERNR,
            s_name type  pa0001-ename.
    *variable declaration
    **---0 to capture the id of the object "may be orgunit, position, persion.
    DATA: g_sobid1 LIKE p1001-objid,
          g_sobid2 LIKE p1001-objid,
          g_sobid3 LIKE p1001-objid,
    *      *--to capture the personnel number
          g_pernr LIKE pa0002-pernr.
    Constants : c_function type c value 'F',
                   c_Proces   type c value 'P'.
    *selection screen paramters
    **----enter a valid personnel number
    PARAMETERS:p_pernr LIKE pa0002-pernr.
    *start of selection
    START-OF-SELECTION.
    *Get the Position for entered Personnel number
    *----RH_READ_INFTY function module is used for the OM infotypes ..starting with HRP
      CALL FUNCTION 'RH_READ_INFTY'
        EXPORTING
          plvar                = '01'
          otype                = 'P'
          objid                = p_pernr
          infty                = '1001'
          subty                = 'B008'
          begda                = sy-datum
          endda                = sy-datum
        TABLES
          innnn                = t1001
        EXCEPTIONS
          all_infty_with_subty = 1
          nothing_found        = 2
          no_objects           = 3
          wrong_condition      = 4
          wrong_parameters     = 5
          OTHERS               = 6.
      IF sy-subrc = 0.
    *    MESSAGE  'this number is not maintained in hrp1001' TYPE 'I'.
      ENDIF.
    *Get the latest record reading T1001 with following values
      SORT t1001 BY begda DESCENDING .
      READ TABLE t1001 WITH KEY objid = p_pernr "personnel number
      otype = 'P' "Person
      rsign = 'B' "hirarchy top down
      relat = '008' "Holder
      sclas = 'S'. "Position
      IF NOT t1001[] IS INITIAL.
        g_sobid1 = t1001-sobid. "ID of Related Object
    *Get Org unit for the position obtained from above
        CALL FUNCTION 'RH_READ_INFTY'
          EXPORTING
            plvar                = '01'
            otype                = 'S'
            objid                = g_sobid1
            infty                = '1001'
            subty                = 'A003'
            begda                = sy-datum
            endda                = sy-datum
          TABLES
            innnn                = t1002
          EXCEPTIONS
            all_infty_with_subty = 1
            nothing_found        = 2
            no_objects           = 3
            wrong_condition      = 4
            wrong_parameters     = 5
            OTHERS               = 6.
        IF sy-subrc = 0.
        ENDIF.
      ENDIF.
      SORT t1002 BY begda DESCENDING .
      READ TABLE t1002 WITH KEY objid = g_sobid1
      otype = 'S' "Position
      rsign = 'A' "bottom up
      relat = '003' "Belongs to
      sclas = 'O'. "org unit
      IF NOT t1002[] IS INITIAL.
        g_sobid2 = t1002-sobid.
    *Get position for the Org unit (Manager)
        CALL FUNCTION 'RH_READ_INFTY'
          EXPORTING
            plvar                = '01'
            otype                = 'O'
            objid                = g_sobid2
            infty                = '1001'
            subty                = 'B012'
            begda                = sy-datum
            endda                = sy-datum
          TABLES
            innnn                = t1003
          EXCEPTIONS
            all_infty_with_subty = 1
            nothing_found        = 2
            no_objects           = 3
            wrong_condition      = 4
            wrong_parameters     = 5
            OTHERS               = 6.
      ENDIF.
      SORT t1003 BY objid.
      READ TABLE t1003 WITH KEY objid = g_sobid2
      otype = 'O' "org unit
      rsign = 'B' "hirarchy top down
      relat = '012' "Manages
      sclas = 'S'. "Position
      IF NOT t1003[] IS INITIAL.
        g_sobid3 = t1003-sobid.
    *Get Personnel number for the Manager
        CALL FUNCTION 'RH_READ_INFTY'
          EXPORTING
            plvar                = '01'
            otype                = 'S'
            objid                = g_sobid3
            infty                = '1001'
            subty                = 'A008'
            begda                = sy-datum
            endda                = sy-datum
          TABLES
            innnn                = t1004
          EXCEPTIONS
            all_infty_with_subty = 1
            nothing_found        = 2
            no_objects           = 3
            wrong_condition      = 4
            wrong_parameters     = 5
            OTHERS               = 6.
    *    if sy-subrc <> 0.
    *       MESSAGE  'this number is not maintained in hrp1001' TYPE 'I'.
    *      endif.
      ENDIF.
      READ TABLE t1004 WITH KEY objid = g_sobid3
      otype = 'S' "Position
      rsign = 'A' "bottom up
      relat = '008' "Holder
      sclas = 'P'. "Person
      IF NOT t1004[] IS INITIAL.
        g_pernr = t1004-sobid+0(8).
    **--Get name of Manager(Supervisor)
        CALL FUNCTION 'HR_READ_INFOTYPE'
          EXPORTING
            pernr           = g_pernr
            infty           = '0001'
          TABLES
            infty_tab       = t0001
          EXCEPTIONS
            infty_not_found = 1
            OTHERS          = 2.
        SORT t0001 BY pernr begda.
        READ TABLE t0001 INDEX 1.
        IF NOT t0001[] IS INITIAL.
           write  t0001-pernr to s_pernr.
           write  t0001-ename to s_name.
         ENDIF.
        Perform get_function_code using  g_sobid2  .
      ENDIF.
    PERFORM display_results.
    *&      Form  get_function_code
    *       text
    *      -->G_SOBID1   text
    FORM get_function_code USING org_unit.
      PERFORM get_obj USING org_unit.
      PERFORM get_ab USING w1222-tabnr.
      PERFORM get_text tables z1222.
      IF z1222-attrib IS INITIAL.
        CALL FUNCTION 'RH_STRUC_GET'
          EXPORTING
            act_otype              = 'O'
            act_objid              = org_unit
            act_wegid              = 'A002'
    *   ACT_INT_FLAG           =
    *   ACT_PLVAR              = ' '
           act_begda              = sy-datum
           act_endda              = sy-datum
           act_tdepth             = 0
           act_tflag              = 'X'
           act_vflag              = 'X'
           authority_check        = 'X'
    *   TEXT_BUFFER_FILL       =
    *   BUFFER_MODE            =
    * IMPORTING
    *   ACT_PLVAR              =
         TABLES
           result_tab             = res
    *   RESULT_OBJEC           =
    *   RESULT_STRUC           =
         EXCEPTIONS
          no_plvar_found         = 1
          no_entry_found         = 2
          OTHERS                 = 3
        IF sy-subrc <> 0.
    *      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        LOOP AT res INTO wa_res.
          PERFORM get_obj  USING  wa_res-objid.
          PERFORM get_ab   USING w1222-tabnr.
          PERFORM get_text tables z1222.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "GET_TEXT
    *&      Form  GET_OBJ
    *       text
    *      -->P_OB  text
    *      -->P_OJ  text
    FORM get_obj  USING p_oj.
      SELECT SINGLE * FROM hrp1222 INTO w1222 WHERE otype = 'O'
                                               AND objid = p_oj.
    ENDFORM.                    " GET_OBJ
    *&      Form  GET_AB
    *       text
    *      -->P_TAB  text
    FORM get_ab  USING  p_tab.
      SELECT  * FROM hrt1222 INTO table z1222 WHERE tabnr = p_tab.
    ENDFORM.                    " GET_AB
    *&      Form  GET_TEXT
    *       text
    *      -->P_Z1222_LOW  text
    FORM get_text  tables p_txt STRUCTURE hrt1222.
    loop at p_txt.
    if p_txt-low+0(1) = c_function.
        write p_txt-low to f_code.
      SELECT single vtext FROM zfunctiont INTO f_text  WHERE abtnr = p_txt-low.
        ELSEIf p_txt-low+0(1) = c_Proces.
          write p_txt-low to P_code.
         SELECT single vtext FROM ZPROCESST INTO   p_text  WHERE abtnr = p_txt-low.
          endif.
    endloop.
    ENDFORM.                    " GET_TEXT
    form display_results.
      write :/ s_pernr,
              30 s_name.
      WRITE :/ f_code,
              30  f_text.
      WRITE :/ p_code,
              30  p_text.
      ULINE.
    endform.
    Thanks,
    Chidanand

  • How to update BP number of an Org. unit in Org. Model?

    Hi,
    In Org. Model we have organization units which has BP. They are list together in couple. Can I update BP number of an org. unit in Org. Model? I want change it to another BP. Is that possible?
    Best regards,
    Long

    Hi Long,
    For each organizational unit created in the organizational model a business partner is generated automatically. This number range that will be used for creating a org unit can be defined.
    If you are looking forward for creating a Org. unit with a specific number range, please following the below mentioned steps:
    Step 1: Defining Number Range for Org Business Partners
    Goto transaction BUCF or SAP CRM IMG Menu: SPRO-> Cross-Application Components ->SAP Business Partner -> Business Partner -> Basic Settings -> Number Ranges and Groupings -> Define Number Ranges
    Choose Change Intervals
    Choose Insert Intervals
    Assign an interval you need and provide values for the field No., From number, To number, and flag 'X' in EXT. if external number range is required.
    save your entries.
    Step 2: Defining Groupings for Org Business Partners
    Goto SAP CRM IMG Menu: SPRO ->Cross-Application Components -> SAP Business Partner -> Business Partner ->Basic Settings -> Number Ranges and Groupings -> Define Groupings and Assign Number Ranges
    Choose New Entries
    Enter Correspoding values in field
    Grouping: for ex. Z4
    Short Name: for ex Org BP
    Description: Give some description
    Number Range: Provide the number range defined in the previous step
    save your entries
    Step 3: Set up integration
    Activate the integration of organizational units and business partners and assign the number range defined in the preceding sections.
    Go to IMG: SPRO ->Customer Relationship Management -> Master Data -> Business Partner ->Integration Business Partner – Organization Management -> Set Up Integration with Organizational Management
    Enter the following values for the existing combination of Group and Sem.abbr.:
    HRALX-HRAC - X
    HRALX-OBPON - ON
    HRALX-ONUMB - 2
    HRALX-OSUBG - Enter your Number Range defined in the previous steps here.
    save your entries.
    Step 4: Execute Report for Changeover Classification
    Execute the report CRM_MKTBP_ZCACL_UPDATE_30 in transaction SE 38.
    I hope this will help you
    regards
    Srikantan

  • Function module to read positions in a Org unit

    Hi
    Is there any function module that gives list of positions in a  particular org unit.
    Or is there any other way?
    Regards,
    Krishna

    Hi Krishna,
    You can use "RH_STRUC_GET ". In import parameters pass the following values,
    ACT_OTYPE = 'O'
    ACT_OBJID = <Org Unit Object Id>
    ACT_WEGID = O-S-P
    ACT_PLVAR = 01
    ACT_BEGDA = <Start Date>
    ACT_ENDDA = <End Date>
    ACT_TDEPTH = 0
    ACT_TFLAG = 'X'
    ACT_VFLAG = 'X'
    AUTHORITY_CHECK = 'X'
    You will get all the positions and persons under that org unit in the RESULT_TAB table. You can read this table to read the positions alone.
    Thanks,
    Prasath N

  • Any report to see what are the users assigned to an org-unit ?

    Hi All,
    Is there any standard report available to see what are the users assigned to a particular org-unit?
    I'm looking for complete list of users assigned to a particular org-unit both directly and indirectly/
    Thank you so much in advance !!
    Cheers,
    Gyan.

    Hi,
    None of them actually helped.
    Trx PC00 is not available in 4.0 sytem. And from the table mentioned i don't see the org-unit value. Could you please elaborate on this.
    Thanks,
    Gyan.

Maybe you are looking for

  • Getting the MDX query select error when running a webi report on BI query

    Getting the following error when running a webi report on BI query : A database error occured. The database error text is: The MDX query SELECT  { [Measures].[D8JBFK099LLUVNLO7JY49FJKU] }  ON COLUMNS , NON EMPTY [ZCOMPCODE].[LEVEL01].MEMBERS ON ROWS

  • Hi how to create logical systems.

    Hi,    how to create logical systems. Do we need to create logical system name for creating RFC destinations? plz help me out. thanks dhanush.

  • What are the required things to do the debug?

    hi Experts, What are the required things to do the debug? thanks in advance sekhar

  • Date field disabled(0580)

    Dear Friends,                        I am putting master data for hiring process using PA40 transaction but in 0580 infotype(Previous Employment Tax Detail) the start date fields  is disabled am not able to put the date i don't know why it's coming i

  • Uploading to Lightroom

    I am fed up with the upload times from my Nikon D4 and Nikon D800E cameras to Lightroom, they have the latest firware....yet it is taking 15 hours sometimes much longer to upload 10 Gig of images it is time i can ill afford....im tempted to dump my L