Organizational units and number range

Hi
how to maintain number ranges for organizationl units.. can someone explain?

IMG>Personnel Management>Organizational Management-->Basic Settings>Maintain Number Ranges
~Suresh

Similar Messages

  • Linking between organizational unit and workflow

    Hi
    I have created my organizational unit and workflow.
    Can anyone tell me how to link workflow with organizational unit?

    Hi Azra,,,
             You can link oraganisational unit and workflow by specifying the  organization unit name in the task screen.....
               Assgin values:
             Recipient type = organisational object.
             Then Select Position from Drop down list and then select the
             organisational number with f4 help.
    Simillarly assing the abbrevation of the task of workflow to the Oranisational
    plan position.
    If answer is suitable do give points.
    Thanx ....
    Mandeep      .....

  • CRMD_BUS2000108 - organizational unit and attributes for org. unit

    Hi all!
    As I'm customizing Lead creation (and in a second step lead generation)
    I would like to receive tips about "selection of organizational unit and attributes for org. unit".
    I expected that, by entering a BP number of a prospect or sold-to party, the organizational unit and its attributes would be displayed automatically on the tab "organization".
    This is not the case. When I start the lead creation, there is a pop-up screen inviting me to choose the organizational unit. afterwards a pop-up screen for the attributes of the org unit. Only after setting a flag in both pop-ups, I see the actual "lead" transaction. When I enter a BP number, the sales assistant and sales rep are found automatically.
    Could anybody please explain how to change the customizing?
    I would like to see the lead transaction (create) first, enter a bp number and than have the org unit and its attributes, the sales rep and sales assistant found automatically.
    Any usefull answer (would make my day ), will be rewarded.
    Thank you very much for your suggestions and time in advance!
    I. Van Acker

    hi
    this is happening because you have not done the org data determination in your transaction,just go to SPRO and there in org data determination ,you have many standard ORGMAN rules available which you can use which will pick the data according to the user ,BPs etc.
    it will enable you to first give BP and then the org data will be driven automatically from the system according to the rule in org data determination.
    so first go and use rule ,try using rule ORGMAN_12
    then attach this rule to the org data profile and then add this org data profile to the transaction in basic settings in transaction where you have defined your lead transaction.
    it will solve your purpose
    best regards
    ashish

  • Could you check our source? (To determine the PR type and number range)

    Hello.
    We use SRM Server5.5 with Classic Scenario.
    We will use the BADI BBP_SC_TRANSFER_BE to determine the PR type and number range according to your recommend.
    We have two PR type in R/3.
    1) KGPR
    2) KTR1
    As you know that shopping cart has no type. So we add customer field to mapping to R/3 PR type and this field has two values.
    1)     PR01: mapping to KGPR
    2)     PR02: mapping to KTR1
    We will use the method GROUP_RQ to determine the PR type.
    If customer field is PR01, PR type is determined KGPR
    If customer field is PR002, PR type is determined KTR1.
    To determine the PR number range, we will use the method GET_NUMBER_OR_RANGE.
    If PR type is KGPR, Choose the No key 12
    If PR type is KTR1, Choose the No key 16.
    Configuration step:
    1.     Maintain the PR number range in SRM.
    No key: 12  (for KGPR) internal NR
    No range: 2520000000 – 2529000000
    No key: 16 (for KTR1) internal NR
    No range: 2560000000 – 2569000000
    2.     Maintain the PR number range in R/3
    No key: 12  (for KGPR) Ext NR
    No range: 2520000000 – 2529000000
    No key: 16 (for KTR1) Ext NR
    No range: 2560000000 – 2569000000
    3.     Assign the PR number range to PR type in R/3
    KGPR – 12 (EXT)
    KTR1 – 16 (EXT)
    4.     Maintain the attribute in SRM
    Document type in R/3
          Add KGPR and KTR1
    We developed this logic, but it’s not working.
    LOOP AT ct_proc_item INTO ls_proc_item “ Where is no date in ct_proc_item:
    We can not find out the reason.
    Could you check our source?
    METHOD if_ex_bbp_sc_transfer_be~group_rq.
      DATA:
           ls_proc_item           TYPE bbps_procurement,
           lv_number_int          TYPE bbp_item_no,
           ls_item                TYPE bbp_pds_transfer_item,
           lv_group_counter       TYPE numc5,
      CONSTANTS:
          lc_on(1)               VALUE 'X'.
      SORT ct_proc_item BY obj_to_gen.
      CLEAR: lv_group_counter.
    LOOP AT ct_proc_item INTO ls_proc_item  
    where obj_to_gen eq iv_object_to_generate.
    get item data which includes customer fields
        MOVE ls_proc_item-preq_item TO lv_number_int. " convert
        READ TABLE it_item INTO ls_item WITH KEY number_int = lv_number_int.
        IF sy-subrc = 0.
          IF ls_item-pr_type EQ 'PR01'.
            ls_proc_item-doc_type = 'KGRP'.
          ELSEIF ls_item-pr_type EQ 'PR02'.
            ls_proc_item-doc_type = 'KTR1'.
          ENDIF. " lv_cust_field
          lv_group_counter = lv_group_counter + 1.   " increase counter
          ls_proc_item-group_1 = lv_group_counter.
          MODIFY ct_proc_item FROM ls_proc_item
                 TRANSPORTING group_1.
        ENDIF.  " sy-subrc
      ENDLOOP.
      cv_method_active = lc_on.
    ENDMETHOD.
    method IF_EX_BBP_SC_TRANSFER_BE~GET_NUMBER_OR_RANGE.
      if is_item-pr_type = 'PR01'.
         CV_NUMBER_RANGE = '12'.
         CV_NUMBER = '2520000000'.
      elseif is_item-pr_type = 'PR02'.
         CV_NUMBER_RANGE = '16'.
         CV_NUMBER = '2560000000'.
      endif. " is_proc_item / is_item
    Thank you
    Best Regard
    SH

    Hi
    Please find some suitable sample code, which might help you out.
    method IF_EX_BBP_SC_TRANSFER_BE~GET_NUMBER_OR_RANGE .
    * IV_OBJECT_TO_GENERATE
    *   '1' Reservation
    *   '2' Purchase Requsition (BANF)
    *   '3' Purchase Order
    *   '4' Customer Object
    * 1. current item data are in structures
    *    - IS_ITEM shopping cart item data including Customer Fields
    *    - IS_PROC backend relevant item purchasing data
    * 2. accounting data in tables
    *    - IT_ACCOUNT all shopping cart account. data with Customer Fields
    *    - IT_PROC_ACCOUNT backend relevant accounting data for current item
    *  - key criteria between this tables are
    *    - it_proc_account-preq_item
    *                     -serial_no (numc 2)
    *    - guid from is_item
    *    - it_account-p_guid
    *                -accno(numc 4)
    * A) example to use current item data + item customer fields
    *  if is_proc_item-DOC_TYPE = 'ABCD' AND
    *     is_item-<field of CI_BBP_ITEM> = .
    * set own number range
    *  CV_NUMBER_RANGE = .
    ** set own number
    ** .. ==> if initial SAP Standard with no.range will be processed
    *  CV_NUMBER = .
    *  endif. " is_proc_item / is_item
    * B) example to use only proc_account no accounting customer fields
    *data:
    *     ls_proc_account   type bbp_bapipogna.
    *  loop at it_proc_account
    *            into ls_proc_account.
    *    if ls_proc_account-BUS_AREA = '9988'.
    ** set own number range
    *  CV_NUMBER_RANGE = .
    ** set own number
    ** .. ==> if initial SAP Standard with no.range will be processed
    *  CV_NUMBER = .
    *     endif. " ls_proc_account
    *  endloop.
    * C) example to use only accounting customer fields, no other accounting
    *data:
    *     ls_account        type bbp_pds_acc.
    *  loop at it_account
    *            into ls_account
    *            where p_guid = is_item-guid.
    *    if ls_account-<field of CI_BBP_ACC> = .
    ** set own number range
    *  CV_NUMBER_RANGE = .
    ** set own number
    ** .. ==> if initial SAP Standard with no.range will be processed
    *  CV_NUMBER = .
    *   endif. " ls_account
    *  endloop.
    * D) example to use proc_account + customer fields for accounting
    *data:
    *     lv_serial_no      type bbp_bapipogna-serial_no,  " sequence num 2
    *     lv_acc_no         type bbp_pds_acc-acc_no,       " sequence num 4
    *     ls_proc_account   type bbp_bapipogna,
    *     ls_account        type bbp_pds_acc.
    *  loop at it_proc_account
    *            into ls_proc_account.
    *    move ls_proc_account-serial_no to lv_acc_no.
    *    read table it_account
    *         into ls_account
    *         with key p_guid = is_item-guid
    *                  acc_no = lv_acc_no.
    *    if sy-subrc = 0.
    **     if ls_account-<field of CI_BBP_ACC> = .
    ** set own number range
    **  CV_NUMBER_RANGE = .
    ** set own number
    ** .. ==> if initial SAP Standard with no.range will be processed
    **  CV_NUMBER = .
    **      endif. " ls_account
    *    endif. " sy-subrc
    *  endloop.
    endmethod.
    method IF_EX_BBP_SC_TRANSFER_BE~GROUP_RQ .
    * 1. current item data are in structures
    *    - IT_ITEM all shopping cart item data including Customer Fields
    *    - IT_PROC_ITEM backend relevant item data of current log.system
    *    key criteria between this tables are:
    *    - IT_ITEM-NUMBER_INT (numc 10)
    *    - IT_PROC_ITEM       (numc  5)
    * 2. accounting data in tables
    *    - IT_ACCOUNT all shopping cart account. data incl. Customer Fields
    *    - IT_PROC_ACCOUNT backend relevant accounting data for current item
    *  - key criteria between this tables are
    *    - it_proc_account-preq_item (numc 5)
    *                     -serial_no (numc 2)
    *    - is_item-guid
    *             -number_int (numc 10)
    *    - it_account-p_guid
    *                -accno(numc 4)
    constants:
          lc_on(1)               VALUE 'X'.
    * A) example to use only proc_item with NO customer fields
    *         group requisitions by backend document type
    *data: lv_doc_type            TYPE esart,
    *      ls_proc_item           type BBPS_PROCUREMENT,
    *      lv_group_counter       type numc5.
    *    clear lv_group_counter.
    *    clear lv_doc_type.
    *    SORT ct_proc_item BY obj_to_gen doc_type.
    *    LOOP AT ct_proc_item
    *            into ls_proc_item
    *            WHERE obj_to_gen EQ iv_object_to_generate.
    ** new group criteria?
    *      if lv_doc_type ne ls_proc_item-doc_type.     " backend doc.type
    *        lv_group_counter = lv_group_counter + 1.   " increase counter
    *        lv_doc_type      = ls_proc_item-doc_type.       " save criteria
    *      endif.
    *      ls_proc_item-group_1 = lv_group_counter.
    *      modify ct_proc_item from ls_proc_item
    *             transporting group_1.
    *    ENDLOOP.
    * B) example to use item customer fields
    * data:
    *      ls_proc_item           type BBPS_PROCUREMENT,
    *      lv_cust_field          type <field of ci_bbp_item>.
    *      lv_number_int          type BBP_ITEM_NO,
    *      ls_item                type BBP_PDS_TRANSFER_ITEM.
    *    clear lv_group_counter.
    *    clear lv_cust_field .
    *    SORT ct_proc_item BY obj_to_gen.
    *    LOOP AT ct_proc_item
    *            into ls_proc_item
    *            WHERE obj_to_gen EQ iv_object_to_generate.
    ** get item data which includes customer fields
    *      move ls_proc_item-preq_item to lv_number_int. " convert
    *      read table it_item
    *           into ls_item
    *           with key number_int = lv_number_int.
    *      if sy-subrc = 0.
    **       new group criteria?
    *        if lv_cust_field ne 'XYZ'.
    *         lv_group_counter = lv_group_counter + 1.   " increase counter
    *         lv_cust_field = ls_item-<field of ci_bbp_item>."save criteria
    *        endif. " lv_cust_field
    *        ls_proc_item-group_1 = lv_group_counter.
    *        modify ct_proc_item from ls_proc_item
    *               transporting group_1.
    *      endif.  " sy-subrc
    *    ENDLOOP.
    * C) example to use accounting data with customer fields
    *            group requisitions by backend document type
    *data: lv_doc_type            TYPE esart,
    *      ls_proc_item           type BBPS_PROCUREMENT,
    *      lt_account             type BBPT_PD_ACC,
    *      ls_account             type bbp_pds_acc,
    *      ls_item                type BBP_PDS_TRANSFER_ITEM,
    *      lv_number_int          type BBP_ITEM_NO,
    *      lv_account_flag        type c,
    *      lv_group_counter       type numc5.
    *    clear lv_group_counter.
    *    clear lv_doc_type.
    *    SORT ct_proc_item BY obj_to_gen doc_type.
    *    lt_account[] = it_account[].
    *    SORT lt_account BY p_guid acc_no.
    *    LOOP AT ct_proc_item
    *            into ls_proc_item
    *            WHERE obj_to_gen EQ iv_object_to_generate.
    ** get accounting customer fields for this item
    *    clear lv_account_flag.
    ** ..first get item guid
    *    move ls_proc_item-preq_item to lv_number_int.
    *    read table it_item
    *         into ls_item
    *         with key number_int = lv_number_int.
    *    if sy-subrc = 0.
    *      loop at lt_account
    *           into ls_account
    *           where p_guid = ls_item-guid.
    *        if ls_account-<field of CI_BBP_ACC> = .
    *           lv_account_flag = lc_on.
    *        endif.
    *      endloop.
    *    endif. " sy-subrc it_item
    ** new group criteria?
    *      if lv_doc_type ne ls_proc_item-doc_type OR     " backend doc.type
    *         lv_account_flag = lc_on.                    " accounting
    *        lv_group_counter = lv_group_counter + 1.   " increase counter
    *        lv_doc_type      = ls_proc_item-doc_type.       " save criteria
    *      endif.
    *      ls_proc_item-group_1 = lv_group_counter.
    *      modify ct_proc_item from ls_proc_item
    *             transporting group_1.
    *    ENDLOOP.
    * !!!! set flag that BADI was processed
    * .. ==> no SAP Standard grouping will be processed
        cv_method_active = lc_on.
    endmethod.
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Restructure Customer Account Groups and Number Ranges

    We already have existing customer account groups and number ranges and therefore customer accounts.
    We need now to restructure Customer Account Groups incl. number Ranges and Number Range Allocation.
    Is this possible? Any advice?
    Can a customer keep is old customer number and be assigned to the new customer account group, which has a different number range?
    Please adivse.
    Many thanks
    Petra

    Ravi,
    thanks very much for your reply. This information is very useful.
    Just one more question:
    WIth which Customer Number will reallocated customer end up? the originial one or does the customer get a new number relating to the number range of its new customer account group?
    Many thanks,
    Petra

  • How to get users from Organizational Unit and with worker's subgroup

    Hi
    I am looking for a f. module to get the list of users from specific Organizational Unit and with specific worker's subgroup.
    I found f. module SWI_GET_USERS_OF_ORG_UNIT but it seems not working and only returns the users, how can I narrow the selection to get only from specific worker's subgroup?
    Thank you

    Hi,
    Try with FM RH_STRUC_GET with following parameters:
    ACT_OTYPE = O
    ACT_OBJID = worker's subgroup
    ACT_WEGID = SBESX
    Most important is to specify OBJID as the workers's subgroup, values for the others parameters may vary.
    Cheers.

  • How do we link the central organizational unit and purchase organization i

    hi friends
    How do we link the central organizational unit and purchase organization in SUS configuration? 
    regards
    vinaykrishna

    The workflow process is associated to the transaction you select by parameters in the function call.
    The Responsibility 9e.g. employee self service) is linked to a menu. The menu contains (amongst other things) functions. If the function is associated to a menu prompt, then when the user clicks on the prompt (e.g. Change Job) the function is invoked. When the function is invoked, it calls the workflow described in the function call.
    The function will already (out of the box) point to a workflow process. If you have customised your own process, you will need to amend the function call to call your workflow name.
    Look at the function in question and you will see what I mean.
    Hope that helps explain it!
    Regards
    Tim

  • Organization Unit and assignment plan

    Hi Experts,
    I am using function module RH_OBJECT_CREATE to create Organization Unit and now I want to do assignment plan for the created Org units.
    I am using function module RH_RELATION_WRITE for the assigment plan. But could not able to do the assignment.
    Can some one please let me know what other function module I can use to do the assignment plan?
    Thanks and Regards
    Dhananjay, TCS

    Hi
    You can try by calling the function Fodule
    'RH_UPDATE_DATABASE' immediately after RH_OBJECT_CREATE and RH_RELATION_MAINTAIN.
    Reward points if helpful
    Regards
    Manohar

  • Organizational Unit and Cost center.

    Hi Experts ,
    Thank in advance
    <b>Can one let me know briefly about
    Organizational Unit and Cost center and its
    field name's as well and
    related tables if possible</b>
    Thank You and Regards
    Santosh

    Org Unit - ORGEH  Check Table -T527X
    Cost Centre - KOSTL  Check Table - CSKS
    For an employee they are maintain in PA0001.
    For an organization in  Table - HRP1000
    OTYPE = O for organization
    OTYPE = A for Cost Centre.
    Relation ship betwen them is store in Table HRP1001.
    Regards,
    Amit
    Reward all helpful replies.

  • BBP_BS_GROUP_BE for new document type and number range

    Hi gurus,
    I am working on Classic scenario in SRM and currently have used the above BADI to use a different document type and number range when creating the PO in the backend system. It all works fine. The only thing is I noticed that the BE_DOC_TYPE field in the shopping cart is still reflected as 'EC' even though the PO created in ECC is for example EC1. My question: Is this standard SRM? If so, is it common to leave this field as it is or is it advisable for us to change the document type to EC1 as well? Also, is there any implication in standard SRM reporting and downstream processes that you are aware of?
    Appreciate any advice on the above.
    Cheers!
    Sf

    We have ended up having to populate the document type on a custom field or alternatively replace the existing one.

  • How to inherit roles between root organization unit and sub units

    Hi all,
    I have root organization unit and sub units:
    ->Company
    >Department 1
    >Department 2
    >Department 3
    >Department 4
    >Department 5
    I would like it to work like this that all people from all departments would have access to transaction ZTEST. Most obvious way would be for me to assign appropriate role to unit Company. Unfortunately it looks like roles are not inherit between units like this. So question is how it should be done? Do I have to assign this role to all departments to make it work?
    Best regards
    Marcin Cholewczuk

    Hi,
    To activate inheritance of roles between root org and sub org units, you need to set switch HR_ORG_ACTIVE to Yes in table PRGN_CUST. Also proper evaluation path has to be used so that user comparison (via PFUD)  creates the indirect role assignment to user master records.
    You can modify evaluation path US_ACTGR in table T77AW/ tcode OOAW to include root org and its subunits (add entry for relationship O B002 O) and connect the role assigned to root org to the users belonging to sub org units. Then run PFUD which will use this evaluation path to create indirect role assigment.
    Thanks
    Sandipan

  • Internal order types and number ranges

    We have two SAP instances and want to load Internal order types and number ranges and Internal orders from 4.6 to 4.5 version.
    I need to determine if there is an overlap of number ranges for the internal order types used in 4.6 and 4.5
    Could you please help me how to approach? Manually verifying each range in both system is a tedious job and very confusing as the numbers are too big.

    Hi,
    I can suggest one thing which seems to be worth trying. Involve one technical guy in downloading the number ranges as well the orders of the numbers used from both the system and compare it. Then compile them and upload it again.
    Trust this helps much!
    Cheers!

  • Vendor acct group and number range in the MDC vs MDS

    IN MDM 3.0 when a new BP with vendor as role is created via UI in MDS the vendor is created with a generic BP number range in the MDS.  The down stream MDC's all have different vendor account groups with different number ranges assigned in each MDC..  example...
    client     type of vend   acct grp      num range
    MDC1      purch vendor     com2      1000000-1999999
    MDC1      acct vendor      act1      2000000-2999999
    MDC2      purch vendor     pur1      2400000-2499999
    MDC3      purch vendor     POV1      3599999-3599999
    How does MDS know when it distributes the vendor to the MDC's what account group and number range to create the vendor with in the MDC's.  The MDC cannot change all its existing master data that has been created already with the account groups and number ranges becuase field variants have been established.  Where is this mapping contained MDS or XI and how is it done.

    The number range in the MDS is determined by the value in the "Grouping" combo-box.  This combo-box is populated by values entered in IMG activity Master Data Objects -> Business Partner -> Business Partner -> Basic Settings -> Number Ranges and Groupings -> Define Groupings and Assign Number Ranges.  Each value must have an associated number range and one of the values must be defined as the standard grouping in case the user doesn't select a grouping.  This is how numbering occurs in the MDS.  Unfortunately you cannot assign more that one grouping to a new BP.
    Now, for the MDCs.  When sending a new BP to an MDC, for example an R/3, there must be an external number range setup in the MDS for that MDC and it shouldn't conflict with any number range in that MDC. 
    IMG Activity Master Data Exchange -> Central Settings -> ID Mapping -> Make General Settings for ID Mapping allows you to define which number range you want to use for a specific object type in a specific system (e.g. KNA1 (customer) in system R/3_100). 
    So far this isn't sufficient for you because you have 2 number ranges for MDC1 in your example. 
    In the IMG activity I just mentionned, there is also a possibility to add an additional parameter which allows you to assign a number range for each unique object-type/system/additional parameter combination.  By putting the account group in the additional parameter field, this allows you to assign number ranges per account group.
    What remains to be done is to use this information in the XI Mapping for BP to R/3 Vendor.  The first thing is for the XI Mapping to map the MDS account group to the MDC account group.  Then the XI Mapping must call the MDS to create a new ID-Mapping between the BP and the Vendor.  During this call, the XI Mapping must provide all the usual parameters as well as the account group.  This will ensure that the correct number range will be selected so the correct vendor id will be generated.  This id will then be used in the ID Mapping.
    If you need to create the Vendor for multiple account groups, then you will have to implement special logic to map the MDS account group from the BP to the many MDC account groups needed for the Vendor.
    Hope this helps!

  • How to link Organization Units and Entities in Oracle Designer 9i 9.0.2.8 ?

    Hi,
    I am working with Oracle Designer in a project where we need to asses the Business Process Model of the customer, mapping it in Oracle Designer.
    The Customer wants to see the relationship between Business Entity and Organization Units and Processes.
    We are following this approach:
    - define Entity
    - define Organization Unit
    - draw process models with Oracle Designer Process Modeler, defining the single process steps and indicating the Organization Unit who performs that activity;
    - draw a Data Flow Diagram for each Entity with Oracle Designer Data Flow Diagrammer, including the business function we have defined as process steps within the Process Modeler.
    Process Modeler allows us to link process steps to Organization Units, while Data Flow Diagrammer links Entity to business functions ( which are equal to our process steps). So we expect that for the "transitive properties" Organization Units should be linked automatically to Entity.
    At the end, using Oracle Designer Matrix Diagrammer we only see the relationship between Business Functions and Entity and not the one between Organization Unit and Entity .
    In fact, if we open Object Repository Navigator and check the property "Business Unit Entity Usage" of the Business Unit, there is no evidence of the entity related to the business function performed by the Organization/Business Unit.
    Could someone helps us to understand how to use correctly the Oracle Designer Tools ?
    We look forward to hearing from you.
    Regards
    Flavia Ercoli & Rodrigo Silveira

    I would recommend the 10g version anyday over the previous versions. If you use any of the other supporting apps (forms, reports, portal....) your already at a much better release :)
    Is there a reason you would want to use the prior version?

  • Organizational Management- Maintain Number Ranges

    Hi All
    In menu path :
    Personnel Management -> Organizational Management -> Basic Settings -> Maintain Number Ranges -> Maintain Number Ranges
    I have maintained the number ranges as mentioned below
    Job(C)  10000 to 20000,
    Position (S)  20001 to 30000,
    Org Unit (O)  30001 to 40000 .
    After maintaining i have saved in a Transport Request .
    Now am importing it in to the Quality .  In Quality i am getting only the Objects Job , Position , Org  Unit but the number ranges
    maintained above is not imported .
    Kindly let me know what  is the problem .
    Pls send me the solution how to transport the number Ranges .
    I would appreciate for an earliest response .
    Thanks in Advance

    Hi,
    Please check below SAP wiki link which will guide you and show different settings that may be required to accomplish along with issues you may face.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64259392
    Thanks,
    Ameet

Maybe you are looking for