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
Similar Messages
-
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?
Hi,
First go thourh the FM import export parameters list.
Try to create an internal table of type INRI-NRRANGENR for number ranges.
We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
Try to create the ncessary ones using this FM.
In the Exit, EXIT_SAPMM06E_001,
the Export parameters are-
EKKO-EBELN- the PO ios created with in that specified range
Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
Try to code this in the Include provded and keep Breakpint and check the PO number generated.
Reply if u need more help on this.
Reward if helpful.
Best Wishes,
Chandralekha -
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
DeepakSample 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 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 BansalHi,
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 -
How to find all purchase documents for project with tcode CNMM
Hi all,
I have some PRs generated for project by MRP running, and i can't these PRs with tcode CNMM .
How to set the system to show them ?
Thanks .Hi Wayne Weng,
CNMM transaction is for PROMAN.
To get the PRs against a project please try ME5J transaction. This will provide you with all the Purchase Requisitions against a project.
To get the POs against a project you may try ME2J.
Hope this will help you.
Venu -
How to find the number views for a particular DB Table
Hi Friends,
I would like to know the number of views(all) exists for a particular Data Base Table like MARA, MARC etc.,
Thanks in advance.
BaLuHi Balaji,
check this below link may be helpful for u
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ecab446011d189700000e8322d00/content.htm
If u find it useful plz mark the points
Regards,
Naveen -
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 NagarajaHi 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 -
Hi all;
Can any one help me on this issue !!
How to find the Number Range for Customer / Venodor.
we have already assign the Number range and how to find the next availabilty number.
I .e I need the next Availability number for Customer/ Vendor Nuber.
Thanks
-Ravi.Hi,
Refer
Aphanumeric number range for customer/vendor
To get the next available number:
Go to SNRO-> Click on Number Ranges button -> Click on status -> u will get the current number
Also you can use FM "NUMBER_GET_NEXT" to get the next number
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZDOCNUM'
QUANTITY = '1'
SUBOBJECT = ' '
TOYEAR = '0000'
IGNORE_BUFFER = ' '
IMPORTING
number = v_docno
QUANTITY =
RETURNCODE =
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
OTHERS = 8.
Regards
Sumana -
How to change number range for document type ?
Dear All
Experts
How to change the number range for document types for entry view? I am trying to change the number range for all document type as per defined ranges in FBN1, but at the time of saving document type and number range the system is throwing error message as
Doc. type C1: Number range 07 is used for ledger L6 with doc. type AE
Message no. FAGL_LEDGER_CUST093
I have defined a leading ledger in system too with these settings
1) Define ledger for accounting.
2) Defining currencies for it.
3) Defining ledger group for the same.
4) Defining accounting principles
5) Assignment of principles to leading ledger.
Are there any extra settings required for leading ledger settings?
I have some doubts those are :-
How document types defined at ledger level?
How to define them at leading ledger level? (Like my case)
Focus on this will be appreciable.
Regards,
Sharvari Joshi.hi ,
The document numbers in the leading ledger and the non leading ledgers should be in sync, they should not have any differences, so incase you are trying to change the number range for C1, the number range 07 is already been assigned to doc type AE. i guess you have cant use 07 for C1. may be you can try out with an other number range. check this and let me know if you are able to do this.
coming to
1.How document types defined at ledger level?
2.How to define them at leading ledger level? (Like my case)
Ans 1. please try defining document types for entry view in a ledger.
path : SPRO- financial accounting new -financial accounting global settings new - document -document types -define document types for entry view in ledger.
upon prompt enter the ledger and go ahead creating the number ranges for the document types.
Hope this helps.
Regards
amrutha -
Number ranges for Business Partner
Hello experts,
Can you please guide how to define different number ranges for differenet different parner functions such Bidder and Employee.
Presently when I create a new employee for a Business partner who has newly registered with SRM, they both are getting same range of BP number, which makes the user list very long to manage/search while creating BID/Auction invitation.
Please guide me. Thanks in advance
VijayHello,
find below the settings of table T77S0 in our system. We use grouping Z4 for org units. Be aware of the fact that number range and grouping have to have the same ID in this case.
Regards
Wolfgang
GRPID SEMID GSVAL ETEXT
HRALX HRAC X Activate HR Integration
HRALX MERID X Enter Integration Error in IDOC
HRALX MSGRE 0 Recipient of Error Message When Creating BP
HRALX OADBP Business Partner of Standard Address
HRALX OADRE Address Necessary for Business Partner?
HRALX OBPON ON Integration O-BP Activated
HRALX OBWIG X Ignore Business Partner Warnings
HRALX ONUMB 2 Business Partner Number Assignment (Org. Unit)
HRALX OPROL BUP004
HRALX OSUBG Z4 Business Partner Subgroup (Organizational Unit)
HRALX PALEO Log: Organizational Units in ALE
HRALX PALEP Log: Employees in ALE
HRALX PBPHR OFF Employees Are Replicated from HR System
HRALX PBPON ON
HRALX PCATS Integration P-BP for CATS Activated
HRALX PINAC Activate ALE Distribution of Inactive Employees
HRALX PLEVE 3 Log: Detail Level of Error Messages (1 - 5)
HRALX PNUMB 3 Business Partner Number Assignment (Employee)
HRALX PPROL BUP003
HRALX PQUAL Import Qualifications
HRALX PRTON Log Active
HRALX PSUBG Business Partner Subgroup (Employees)
HRALX PSYNO Log: Organizational Units in Dialog
HRALX PSYNP Log: Employees in Dialog
HRALX USRAC X Create Relationship to User -
Number range for different order types
hi
pl tell me how to create the number ranges for production order s and how to assign this number ranges to different order types in production server.
thanks and regardsDear ,
Goto CO82 ,
1.Frist you should review in the Overview Screen (Hit the Orview in CO82) wether you have option to create the group as per required number ranges for two order type
2.Hit the Pencil Button of the Group : It will take you "Maintain Number Ranges Group" and Select Group on the top -
Insert.It will pop up with Inser Group Window .Enter the Text , Enter Number Ranges (From no /To No) and then hot the insert button (+ sign) .You have to create two number ranges group as per your requirement
3.Now select you order type and hit the Select Eelement (Nip symbol) , select the resepctive group , then Hit Element/Group Tab .Once you follow this steps , you will find your Oredr type assigned to respective number ranges group.
4.To cross check , you select the number ranges group and hit the Spec button to see the correct number ranges .
5.MAKE SURE THAT YOU HAVE ORDER TYPE CREATED BEFORE YOU CREATE THEIR NUMBER RANGES -OPJH
Revery back if u need any help
Regards
JH -
/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,
AmitIt 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. -
How to create a Number range?
Hi,
How to create a number range for a field to give our own number for a field?Hello,
Go to transaction SNRO.
Take a look at these: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-13] and [http://help.sap.com/saphelp_nw04/helpdata/en/7b/6eb2aa7aed44ea92ebb969e03081fb/frameset.htm]
Regards, -
Number range for sales document type
Hi,
I am having 1 client under that 5 company codes, ade according to that 5 plants & 5 sales organization.
so for one comapany code including all there are 15 sales document types same for other also
my question is
How can I assign number range for all that?
If i am going to maintain seperate document type it goes to 75
which userexit will help me out for this?
without userexit what is the otherway?
regards,
RahulNot only at order level, you will have to use exits at delivery and billing document level also.
For sales documents:
Exit USEREXIT_NUMBER_RANGE in MV45AFZZ
For delivery documents:
Exit USEREXIT_NUMBER_RANGE in MV50AFZ1
For billing documents:
Exit USEREXIT_NUMBER_RANGE in RV60AFZZ
You need to give tables for maintaining numbers for sales, delivery and billing documents. In the exit a select query can be written to fetch the data based on the parameters like sale orgainzation, company code etc.
Regards,
GSL. -
External Number Range for Billing Documents
Hi Friends,
Can any pls tell me how to create external number ranges for billing documents. We are trying to Map the Invoice nos from POS system to create and match the billing nos in both the systems. Pls help on how can I do this.
Thanks
RajCheck this thread
[Re: Customize Billing Number Format|Re: Customize Billing Number Format]
thanks
G. Lakshmipathi
Maybe you are looking for
-
Valuation of stock in transit for a given period
How can I find the valuation type for the stock in transit at a given period? I have 6000 units in transit to plant 2222 and I want to find out its valuation. I believe I either need to know the plant of origin and batch or the destination plant and
-
Resolutions problems with Philips LCD Monitor
Hi all, I have a new MacBook Pro with the Mini Display Port and today I have bought the DVI adapter for it. On my previous MacBook Pro I could happily use 1280 x 800 resolution on my external display using a single DVI cable straight to the MacBook P
-
OS 10.5.8 sync error message
Since I installed a suggested security update from Apple a few days ago I keep getting the message: Database Reset Allert Inconsistencies in your sync information for Bookmarks were detected and have been repaired. The next sync for Mobile Me and Saf
-
Major Advantages on Hyperion Web Analysis
Hi, Can you share some of the Important Advantages of Hyperion Web Analysis. I think, it used to called as Hyperion Analyzer previously. Please help me. Regards, Upendra.
-
Flash element not automatically starting - do have AC_RunActiveContent.js uploaded
Hello, I've got a flash banner that I am trying to use on a page and it isn't playing automatically all of the time. Note: I do have the AC_RunActiveContent.js uploaded to server. I can preview it in browsers from Dreamweaver... but.... Once I put it