Number range for Project created automatically when creating SalesOrder

Hello all,
Scenario is that i have setup the system so that the Project is created automatically via Standard NWP/WBS when creating the sales order.
Now if the sales order number created is 812 system automatically picks the project code number created in background as M.812 (Coding Mask defined is X.XXX.XX...).
I want to understand where is the Sales order number range linked with Project coding mask??
Warm Regards,
Jatinder Bansal

Hi,
Apart from what has been mentioned, I think there is no link between SO numbering and project numbering. There is link between coding mask but not with number. The reason you are getting same numbers is probably all projects in M series are created via assembly processing. If some one creates a project manually in M series or even a sales order using this number range & which is not related to assembly processing; this corelation will get disturbed. And further you will see different number for SO and project, but theres nnothing to worry about it.
Regards
Shrikant

Similar Messages

  • How to find next number range for project definition in tcode CJ20N

    Hai Experts,
          Please help me 'How to find next number range for project definition in tcode "CJ20N". I was trying in function module NUMBER_GET_NEXT. Is it right function module? If its right what input i need to give for this tcode and for the field project definition?
    Note: I searched in forum before posting, but couldn't find the solution.
    Thanks
    Regards,
    Prabu S.

    Hi,
    For project defination internal number is assigned by system.
    When you saves's project then system allocate one number to project defination, you can view it,
    SE11 >>> table  PROJ >> Click on contents >>> execute,
    here you will get your project defination & number is assigned to project defination.
    kapil

  • Setting up number range for projects in cProjects

    Hi,
    I am new to cProjects & my apologies if my question may sound very naive. My client wants an alpha-numeric number range to be set up for numbering of projects. Is this possible & if yes how? Which is the object for setting the number range? (I believe the transaction in "SNRO")
    Thanking you for taking a note of my querry.
    Regards
    Deepak

    Sample Code Method SET_DEFAULTS_UPON_CREATION
    Method IF_EX_DPR_ATTRIBUTES~SET_DEFAULTS_UPON_CREATION
    */ This method is called when creating a new project element (i.e. project definition,
    */ phase, task, etc) and can be used to fill in default values for standard as well
    */ as customer defined data fields.
    */ This implementation is provided to assign customer specific numbers to project
    */ elements.
    */ It's interesting to note that when this method is called, the external ID of the
    */ object has already been determined and assigned by the default numbering services
    */ class CL_DPR_NUMBERING_SERVICES. It is also interesting to note that if a user
    */ specified an ID for the object through the user interface, changing the identifier
    */ in this method will have no effect -- meaning the user specified ID will still be
    */ assigned to the object.
    */ Only the example for Project Definition is provided.  For other project elements,
    */ insert similar code between the Beginning and End comments below.  In addition,
    */ the filter for this BADI implementation must be updated to include any other
    */ project element for which custom number assignment is desired.
      DATA:
        lr_parent              TYPE REF TO if_dpr_common,
        lr_project             TYPE REF TO cl_dpr_project,
        lr_approval            TYPE REF TO cl_dpr_approval,
        lr_individual_approval TYPE REF TO cl_dpr_individual_approval,
        lr_phase               TYPE REF TO cl_dpr_phase,
        lr_task                TYPE REF TO cl_dpr_task,
        lr_checklist           TYPE REF TO cl_dpr_checklist,
        lr_checklist_item      TYPE REF TO cl_dpr_checklist_item,
        LV_NUMBER              TYPE DPR_TV_EXTID,
        LV_NUMTEXT             TYPE CGPL_EXTID,
        LV_INTERVAL            TYPE NRIV.
      FIELD-SYMBOLS:
        <ls_project_attrs>             TYPE dpr_ts_project_int,
        <ls_phase_attrs>               TYPE dpr_ts_phase_int,
        <ls_task_attrs>                TYPE dpr_ts_task_int,
        <ls_checklist_attrs>           TYPE dpr_ts_checklist_int,
        <ls_checklist_item_attrs>      TYPE dpr_ts_checklist_item_int,
        <ls_approval_attrs>            TYPE dpr_ts_approval_int,
        <ls_individual_approval_attrs> TYPE dpr_ts_individual_approval_int.
    */  Determine which project element (object category) is being processed
      CASE flt_val.
        WHEN cl_dpr_co=>sc_ot_project.
          ASSIGN cs_attributes TO <ls_project_attrs>.
          lr_project ?= ir_common.
    */ Beginning of custom project number assignment.
    */    In this example, the default system numbering is manipulated to
    */    produce the Project Number...
    */    Get info regarding the number range for operative projects...
          CALL FUNCTION 'NUMBER_GET_INFO'
            EXPORTING
              NR_RANGE_NR              = 'DO'
              OBJECT                   = 'DPR_EXTID'
    *         SUBOBJECT                = ' '
    *         TOYEAR                   = '0000'
            IMPORTING
              INTERVAL                 = LV_INTERVAL
            EXCEPTIONS
              INTERVAL_NOT_FOUND       = 1
              OBJECT_NOT_FOUND         = 2
              OTHERS                   = 3.
          IF NOT SY-SUBRC IS INITIAL.
            RAISE EXCEPTION TYPE CX_DPR_FATAL_ERROR
              EXPORTING
                TEXTID = CX_DPR_FATAL_ERROR=>SC_INVALID_PARAMETERS.
          ENDIF.
    */    Strip off the year that has been appended to the object number
    */    by the default numbering services...
          write <ls_project_attrs>-project_id(20) to lv_number.
    */    Get the incremental number of the project from the number range...
          lv_number = lv_number - LV_INTERVAL-FROMNUMBER.
    */    Format the number according to customer specific requirements:
    */    In this example the number is PROJ-<inc num> where <inc num>
    */    is the incremental number of the project (i.e. for the 33rd project
    */    created, the <inc num> is 33).
          WRITE lv_number to lv_numtext no-zero.
          condense lv_numtext.
          CONCATENATE 'PROJ' lv_numtext INTO lv_numtext SEPARATED BY '-'.
          TRY.
              CALL METHOD LR_PROJECT->SET_PROJECT_ID
                EXPORTING
                  IV_PROJECT_ID              = lv_numtext.
          CATCH CX_DPR_OBJECT_UPDATE_ERROR .
              RETURN.
          ENDTRY.
    */ End of custom project number assignment.
        WHEN cl_dpr_co=>sc_ot_phase.
          ASSIGN cs_attributes TO <ls_phase_attrs>.
          lr_phase ?= ir_common.
    */ Beginning of custom phase number assignment.
    */ End of custom phase number assignment.
        WHEN cl_dpr_co=>sc_ot_approval.
          ASSIGN cs_attributes TO <ls_approval_attrs>.
          lr_approval ?= ir_common.
    */ Beginning of custom approval number assignment.
    */ End of custom approval number assignment.
        WHEN cl_dpr_co=>sc_ot_individual_approval.
          ASSIGN cs_attributes TO <ls_individual_approval_attrs>.
          lr_individual_approval ?= ir_common.
    */ Beginning of custom individual approval number assignment.
    */ End of custom individual approval number assignment.
        WHEN cl_dpr_co=>sc_ot_checklist.
          ASSIGN cs_attributes TO <ls_checklist_attrs>.
          lr_checklist ?= ir_common.
    */ Beginning of custom checklist number assignment.
    */ End of custom checklist number assignment.
        WHEN cl_dpr_co=>sc_ot_checklist_item.
          ASSIGN cs_attributes TO <ls_checklist_item_attrs>.
          lr_checklist_item ?= ir_common.
    */ Beginning of custom checklist item number assignment.
    */ End of custom checklist item number assignment.
        WHEN cl_dpr_co=>sc_ot_task.
          ASSIGN cs_attributes TO <ls_task_attrs>.
          lr_task ?= ir_common.
    */ Beginning of custom task number assignment.
    */ End of custom task number assignment.
      ENDCASE.
    ENDMETHOD.

  • Number range for document created through transaction MR11

    Hi All
    I am using transaction MR11(Maintain GR/IR clearing account).I want to know where we configure the number range for the document which gets created on posting through transaction MR11.

    HI,
    SPRO --> MM -->LIV --> Clearing Account Mainteance --> Maintain Number assignment for Account Maintenance Document --> Maintain Number Range for Account Maintenance Document - Tcode - OMRJ or check in OMR4
    Regards
    KK
    Edited by: Kishore Kumar Galla on Mar 24, 2010 3:30 PM

  • Problem--Define number range for cProjects projects

    Hi,
    Does anybody knows how to define/create number range for projects in cProjects?.
    In the standard cPrjects frontend system, the system is taking 16 digits number automatically so i want to define my own number range as required by the client.
    Hence please let me know if some knows abt how to define number ranges for projects in cProjects system.
    You can also reach me on [email protected]
    Thanking you,
    Cheers,
    Suresh Nagaraja

    Hi Suresh,
    don't think there is a standard functionality for this. But you could create your own number range object and fill the data via BAdi. Try DPR_ATTRIBUTES.
    Cheers
    Thorsten

  • Number range for service master record

    Hi..
    i have an issue in number ranges for service master record.
    when i create a service master record system is generating number ramdomly, its not in series..
    where do i make the settings so that i will get service master number ranges in series...
    Regards
    Sarfraz

    Hi,
    Follow the path:
    SPRO ->Material Management -> External Service Management ->  Service master ->  Define Number Range
    In menu ->Group-> maination->Aagian Group-> Insert
    Now Enter
    Number  Range  Group Text     01( example)
    From Number      80000000
    To Number     89999999
    & save.
    Regards,
    Biju K
    Edited by: Bijay Kumar Barik on Apr 4, 2008 8:45 AM

  • Number range for the Material type

    Hi,
    When I am trying to create the number range for the Material Type, when I choose the groups the following error has occurred
    “No elements exist for the object/sub-object”
    What may be the problem
    Thanks in advance

    Hi Binu,
    Had similar issue lately.
    This is happening as the download of the category is not done properly.
    So the solution which wrkd for me was to dwld the content again correctly, and if its done, there'll be no such error shootin up.
    Suji

  • /RPM/ITEM_MODIFY is not taking custom number range for external ID during creation

    Hi Experts,
    I face an issue in trying to create projects through file using /RPM/ITEM_MODIFY.
    I have been successfully able to create both item and project but it somehow is not taking the external number range for project ID that we had defined for the item type. It takes the SAP standard number for Project ID (external ID). I want the FM to create using the external number range that we use.
    Can someone help me with this?
    Regards,
    Amit

    It is not through PS project. No linkage as we have not integrated this with PS. It is through item.. check the code. This is just to check how to create from backend. This is where we don't get our custom project id. it takes sap project id.
    DATA : ls_item_context type /RPM/TS_ITEM_CONTEXT.
    DATA : ls_attributes type /rpm/ts_item_d_api.
    data : ls_GUID Type /RPM/TT_GUID .
    data : ls_detail_guid type /RPM/TT_GUID.
    data : l_rc type i.
    data : lT_ATTRIBUTES TYPE  /RPM/TT_ITEM_D_API.
    data : LV_NRLEVEL type NRLEVEL.
    data : Lv_NRLEV type char20.
    ls_item_context-CREATE_CPROJECT = 'X'.
    ls_item_context-CPRO_TEMPLATE = '45A24B95FB43010200000000837FF54C'.
    ls_attributes-portfolio_GUID = '456C418E3AED018800000000837FF54C'.
    *ls_attributes-EXTERNAL_ID = '102680'.
    *ls_attributes-parent_GUID = '4576F8DCF90B01F800000000837FF54C'.
    ls_attributes-parent_GUID = '4717C6437A8D010A00000000837FF54C'.
    ls_attributes-Proj_description = 'NEW TEST'.
    ls_attributes-item_type = 'ZPEP_PT_31'.
    *Select single NRLEVEL into lv_nrlevel from NRIV where OBJECT = 'ZPEP_NPO'.
    *lv_NRLEVEL = Lv_NRLEVEL + 1.
    *lv_NRLEV = lv_NRLEVEL.
    *ls_attributes-EXTERNAL_ID =  lv_NRLEV.
    APPEND ls_attributes to lt_attributes.
    CALL FUNCTION '/RPM/ITEM_MODIFY'
      EXPORTING
        IV_LANGUAGE             = 'EN'
        IV_CHANGE_MODE          = 'C'
    *   IV_COMMENTS             =
    *   IV_SHORT_TEXTS          =
       IS_MODIFY_CONTEXT       = ls_item_context
    IMPORTING
       EV_RC                   = l_rc
      TABLES
        IT_ATTRIBUTES           = lt_attributes
    *   IT_ACLS                 =
    *   ET_MSG                  =
        ET_GUID                 = ls_GUID
        ET_DETAIL_GUID          = ls_detail_guid
    If sy-subrc = 0.
      CALL FUNCTION '/RPM/SAVE_CHANGES'
    *   EXPORTING
    *     IV_CHECK_ONLY           = /RPM/CL_CO=>SC_FALSE
    *     IV_REMOVE_OBJECTS       =
    *   IMPORTING
    *     EV_RC                   =
    *     ET_MSG                  =
        if sy-subrc = 0.
        endif.
      endif.

  • Different material document number range for Services

    Hi,
    I want to make different material document number range for services.
    I have created ZE document type from WE .
    But if I see group in OMBT , i am not able to assign ZE there. How to do this?
    Regards
    Kedar

    Hello,
    No ! I am not able to see ZE there.
    Kedar

  • Not able to created Number Ranges for Asset Classes in AS08

    Dear Friends,
    I am not able create Number Ranges for Asset Classes in AS08.
    It is giving me an error message as company code does not exist.
    When I Check Consistency under path SPRO -> Financial Accounting -> Asset Accounting -> Preparing for Production Startup -> Check Consistency -> Overview Report: Company Codes. I am getting the following
    RSOL  Reliance Sealink One PLtd                                            
    CoCode no. alloc.    NKTR                                                
    Fiscal Year Variant  V3   Apr.- March, 4 special periods                 
    Start 2nd half month 00                                                  
    Transfer date        31.03.2006                                          
    Chart of dep.        TOLL Chart of Depreciation - For Highway Projects   
    Net worth tax        01   Book depreciation as per Compinies Act 1956    
    Enter net book value                                                     
    Status company code  2                                                   
    Current fiscal year  2007                                                
    Doc. type dep. pstng AF   Dep. postings                                  
    > Number range &1 in co.code &2 for doc.type &3 must be defined as internal
    Calc.insur.value                                                         
    Input tax exempt         
    If you see the above first two line you will find the difference is that Company code RSOL in the first line and NKTR company code in the second line.
    Actually CoCode no. alloc. has been wrongly copied as NKTR while copying CoCode it should be RSOL and not NKTR.
    I think because of this wrong allocation it is giving me an error in AS08. Also it is not showing me CoCode in drop down list in AS08.
    Please help me to resolve the problem.
    Thanks
    Rahul Jain

    Look in TC OAOB if the company code is assigned to a chart of depreciation

  • Create a number range for job keys

    We have different business units within our company and would like te set up different number ranges for the job keys that are generated on the organizational data for the different business units.
    My steps to create a job key is as follows:
    - Go to transaction PP01
    - Select "Job" on Object Type field
    - Select "Object" under Infotype Name on the Active tab and click on create.
    - I now create my Object abbreviation and object name
    - When I save, the screen returns to PPO1 and the Object ID field now have a job key number in (which is linked to the Position number and displayed on IT0001).  The number is e.g. 60000000
    My question is, that if we are creating a new object ID for  e.g. for Business Unit 1, we would like the Object ID to generate a number in the number range e.g. 60000000 - 69999999
    If we we are creating a new object ID for e.g. for Business Unit 2, we would like the Object ID to generate a number in the number range e.g. 70000000 - 79999999
    Etc.
    Is it possible to do something like this as there is no indication on PP01 as to what Business Unit you are creating this Object ID for and therefore it would not know what number range to allocate.
    Is there perhaps someone that is doing it this way and who has a solution for me.
    Regards
    Helmien

    Hi helmien vanrenen ,
    Go for transaction code OONC or table T77S0 and group NUMRG  COMP Do not enter value.
    Next step is go to transaction code OONR here you can assign the different number ranges for different Object Types.
    Warm Regards,
    Kapil Kaushal

  • Create Number Ranges for Budgeting

    Hello Experts,
                            Can you please tell me what is the significance of "Create Number Ranges for Budgeting" in Customizing view of PS->Costs->Budget. ? Also, where does it impact ?
    Please help.
    Regards ,
    Ankur
    Edited by: ankur_sau on Feb 17, 2012 7:11 AM

    Hi,
    It refers that you can define your own number for budget documents which will be created on aloocation, supplement, transfer, release etc.. for the project.
    Plus for all types of budget transactions like allocation, supplement, transfer, release etc. range defined in 01 will be used.
    External number is not possible in this case.
    Impact is budget documents will be created with the defined number range in this step.
    Regards,
    Harsh.

  • Any FM for create an external number range for equipment number ????

    Hi all,
    Any FM for create an external number range for equipment number??????
    thanks & regards
    indu.

    Hi
    you can use below FM to get number range
       CALL FUNCTION 'NUMBER_GET_NEXT'
        EXPORTING
          nr_range_nr                   = 'Z1'
         object                        = 'ZTEST'
         object                        = 'ZFIREC'
         quantity                      = '1'
         subobject                     = p_compcd
         toyear                        = p_fisc
       IMPORTING
         number                        = v_seqno.
    thanks & regards,
    bhupal.

  • How to create number range for custom object

    Hi all,
    I want to create number range for custom object or custom tables
    Thanks
    Hemalatha

    Hi,
       Thanks, I am able to create a number range for custom object through SNRO tcode.
    Thanks
    Hemalatha

  • How to setup number range for Material Documents created by goods movement

    Hi Experts,
    Good day!
    Would you know what table or transaction code we could setup or configure the number range for Material Documents number created by goods movement?
    Thanks. Have a wonderful day!
    Rockz

    Hi,
    Tcode - OMBT
    Regards,
    Vivek

Maybe you are looking for