Maintenance Project Creation Error-Number range
Hi experts,
I am working h SP 20, EHP1. I am creating maintenance project in SOLAR_PROJECT_ADMIN.
In am trying to create task list in "Change Request" tab. I am getting the message that, "Project Has been not released. Hence an not create task"
If i execute SLG1, i am getting the log as:
1. Error in background job for program RSGET_SMSY error message No active job found
2. Error reading information for number range object /TMWFLOW/D
But in SNRO transaction, i have maintained the number range From "900000000" to "999999999"
3. Error reading information for number range object /TMWFLOW/V
But in SNRO transaction, i have maintained the number range From "00000900000000" to "00000999999999"
Can i change the above number range as i wish?
Regards
Senthil
Make sure you maintain the number range interval to be no. "01" and not "1" or anything else. I kept getting the "Error reading information for number range object /TMWFLOW/D" (and /M/ and /V) even though I had added the number range interval as described in the manual. As soon as I deleted the interval "1" and put it back with "01" that check passed and I could create a task list.
Similar Messages
-
Creation of project, Project ID any number ranges are there?
Creation of project, Project ID any number ranges are there?
Hi Saran,
Project ID have Project Code and Description
you can use Project ID which is a unique identifier for every project as a reference example shown.
here ZCHARM is the Project ID ...you can also use numbers if required.
There is no no. range concept for Projects
Hope this clarifies
Thanks
Prakhar -
SNRO - Creation of Number range object problem
Hi Experts,
i wanted to create a number range object thru SNRO.
The creation was successful in DEV system.
when i tried to create the same number range object in QA server, i am getting the following error
"Changes to Repository or cross-client Customizing are not permitted - Choose 'Display object' or 'Cancel'."
this is a Znumber range used to generate sequential numbers using FM NUMBER_GET_NEXT
What could be the problem. how to over come this?
Is it the missing authorizations? if so what could be the authorization object (SU53 shows nothing)
Appreciate any help in this regard.
Thanks
SimhaHi All,
I am confused with the conflicting answers for my problem. But anyways i could transport the number range object and could create a number range interval in QAS.
Thanks a lot for all your valuable inputs.
But i am still not out of this so called misconception - Are number range objects to be transported to QA or to be created afresh in QA/PRD?
Earlier some one told to be created but now i see they can be transported.
I was not ready to edit the options in SCC4 for the client to enable object creation.
Thanks again,
Simha -
Project Name - Internal Number Range
Dear All,
When we create a solman project, manually we give the project name. Want to know whether it is possible to give a internal number range from which the project number should be picked automatically when we create a project.
Thanks and Regards
Saravanan.pHi Saravanan,
You can assign an internal number range with respect to the Project name.
Go to TC <b>CRMC_NR_RA_SERVICE</b>
there by selecting the interval tab you can define the number range in which you want your support desk message corresponding to the project.
hope this will help you out, if not then post your recent error.
Rgds
Manas -
Error: Number range for object RESB does not exist
Hi
I'm trying to convert a planned order (to purch requisition) partially via trxn code MD04. Upon saving I get the above error msg. The complete text of msg is as follows. I've maitained the number ranges of all the objects specified in this error msg. Can somebody explain on how to overcome this problem?
Many thanks
BE
Error Msg Text:
Number range for object RESB does not exist
Message no. 61501
Diagnosis
The system cannot create a document for an MRP element if no number
range or interval has been maintained in Customizing of MRP or if t
number range you have maintained is not allowed.
Below is a list of MRP elements that are affected:
Number range object MRP element
PLAF planned order (operative oder simulative)
EBAN purchase requisition
RESB dependent requirements
MDSM simulative dependent reqmts (long-term plannin
MDTB MRP list
Procedure
Check the number ranges in Customizing. If you do not have the necessa
authorization, please get in touch with your systems administration.Hi
Thanks for the reply. But I have maintained the number ranges for matl. reservations/dependant requirements at OMI2. Here is the screen shot..Do find anything wrong with it? Pl advice.
NR Object MRES/DREQ
No. From Number To Number Curr Number Ext
01 0000000001 8999999999 380 blank
02 9000000000 9500000000 blank checked
RB 9500000001 9999999999 blank checked
Number ranges for the plants are assigned to 01 (0000000001 to 8999999999).
thanks
BE
Edited by: Brian Elfie on Jan 10, 2008 11:27 AM -
Error :number range interval 01 does not exist
Hi,
i created a number range object Z_REPORTID in SNRO for autogenerated ids and later used the function module NUMBER_GET_NEXT. After execution i got the following error.
For object Z_REPORTID, number range interval 01 does not exist
Message no. NR751
Diagnosis
The database table NRIV has the delivery class 'C', i.e. the SAP default settings are only in client 000.
Procedure
Create the missing number range interval in customizing
Please help me to trace this out.
Thanks,
AnilaHi
AFter creating the number range interval in SNRO you must TRANSPORT the interval. In the first screen --> Interval --> Transport.
Did you perform that step?
If you did that it should work well. Itried the same now and it is working fine. -
Error Number range 10 is internal, do not enter a personnel number
Hi guys, When I try to hiring new emp this message appear Number range 10 is internal, do not enter a personnel number. Why this message appear. I still want to use this emp number. TQ
Hi,
While hiring an employee if you want the personnel number to be given by you then go to PA04 maintain number range and mark as external.
Go to NUMKR feature and assign your Interval No: to your employee sub group & save it.
Then go to PA40 and enter the Number and maintain the rest of the Info types
Regards,
Abhee.. -
Creation of number range in NRIV table
Dear All,
User is asking to maintain the number range in the NRIV table with object name RV_BELEG. As shown below:-
Object name Subobj.val No Year From no. To number No. status Ext
RV_BELEG D1 0095000000 0095999999
Here When I go and maintain the number range in FBN1 transaction code it is asking fiscal year required. But the user is not mentioned any year. However I have given the year 2011 and saved it.
When I go and check in the NRIV table, It has updated with Object name is RF_BELEG. As shown below.
RF_BELEG 5291 D1 2011 0095000000 0095999999
Could any body help me how to maintain the number range in this table with the Object name RV_BELEG. Is there any T.Code to maintain these number ranges with out specifiying the year.
If I maintain this number range in the table NRIV directly, is there any effect in SAP?
Thanks and Regards,
Mr.Raohi
RV_BELEG is Number ranges for SD documents so you have to mainatin the same in SD module through SPRO
but if you mainatin from NRIV also it will not affect the sap
or you can you t code SNRO and mainatin the number range for that object directly.
Thanks -
Project creation error-missing authorisation
am new to C project. Just after technical config I am able to open the web browser. Now while trying to create the Project , the error for missing authorisation to create project is appearing. please tell me thw way how to assign role and where to assign etc. Any other customisation settings to be done etc..........
Thanks.
ZinniHi,
Please refer to thread below
Re: Standard Roles for cProjects
Regards
Amit -
Vendor Creation (Internal Number Range)
Hi,
My client was creating a new Vendor. The same has an internal number range.
However, the last vendor created was 110016...... while creating a new vendor, the system assigned vendor 110020 as the next internal number, instead of 110017 to be assigned.
Kindly assist as to why has this happened and where can i check the same?Thanks.......
However that number range has not been assigned to other vendor group....
Also, I have heard of number range buffering in SAP......What is that? How it works? Is there any T Code to check this buffering or any additional configuration is required?
Kindly assist on the same........ -
Web dynpro project creation error with NWDS SP07
I have NWDS 7.01 SP07 installed and when I am trying to create a webdynpro project, Local DC or otherwise. I get the following exception in the log. I am not able to create a web dynpro project. This problem has been replicated on other systems in windows environment.
java.lang.NoClassDefFoundError: com/sap/ide/metamodel/webdynpro/WebDynproObject
Any help regarding this release? We have to use SP07.This error is with NWDS standalone. No NWDI or server involved at the time of the error.
Error happens at the time of creation of the web dynpro project. For both a DC project and standard web dynpro project. It seems to be a bug in NWDS 7.01 SPP07. I am wondering if there is a patch available.
There are also errors opening up the empty web dynpro perspective. -
Project creation error for ess application
Hi All
I am trying to customize an ess application(skills profile ) for the first time . we are encountoring the following error when we try to Create Project (ess/skl) from inactive DC,s: (Build Failed)
I tried to sync sources but was of no help.
Kindly help.
[System.err] [Invoked from com.sap.ide.generationfwk.task.GenerationTaskJavaMethod.executePersistent(GenerationTaskJavaMethod.java:153)]
[System.err] com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Generic Exception:
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)
[System.err] Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception: -> java.lang.NullPointerException
[System.err] at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:155)
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:166)
[System.err] ... 59 more
[System.err] Caused by: java.lang.NullPointerException
[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.setAttributeValue(RepositoryPersistence.java:185)
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter$ParsingHandler.parseRepositoryModelClass(XMLConfigurationParserWriter.java:970)
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter$ParsingHandler.startElement(XMLConfigurationParserWriter.java:716)
[System.err] at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.startElementEnd(SAXDocHandler.java:146)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1814)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)
[[System.err] at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
[System.err] at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
[System.err] at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
[System.err] ... 60 more
[System.err]
[System.err] [Invoked from com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:225)]
[System.err] com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Generic Exception:
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLPersistence.doReadVMO(XMLPersistence.java:126)
[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.readVMO(RepositoryPersistence.java:356)
[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.doFindRepositoryObject(RepositoryPersistence.java:598)
[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.findRepositoryObject(RepositoryPersistence.java:170)
[System.err] at com.sap.tc.webdynpro.repository.model.Repository.findRepositoryObjectInternal(Repository.java:590)
[System.err] at com.sap.tc.webdynpro.repository.model.Repository.findRepositoryObject(Repository.java:555)
[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.findCorrespondingTargetObject(RuntimeRepositoryGenerator.java:333)
[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.findCorrespondingTargetObject(RuntimeRepositoryGenerator.java:305)
[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.findCorrespondingTargetObject(RuntimeRepositoryGenerator.java:305)
[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.findCorrespondingTargetObject(RuntimeRepositoryGenerator.java:305)
[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.fillAssociation(RuntimeRepositoryGenerator.java:242)
[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.copyAggregationTree(RuntimeRepositoryGenerator.java:144)
[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.copy(RuntimeRepositoryGenerator.java:67)
[System.err] at com.sap.tc.webdynpro.repository.generation.ProgmodelRepositoryGenerator.doGenerate(ProgmodelRepositoryGenerator.java:168)
[System.err] at com.sap.tc.webdynpro.repository.generation.ProgmodelRepositoryGenerator.generate(ProgmodelRepositoryGenerator.java:80)
[System.err] at com.sap.ide.webdynpro.generation.runtime.RRApplicationGenerator.generate(RRApplicationGenerator.java:21)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[System.err] at java.lang.reflect.Method.invoke(Method.java:585)
[System.err] at com.sap.ide.generationfwk.task.GenerationTaskJavaMethod.executePersistent(GenerationTaskJavaMethod.java:147)
[System.err] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:219)
[System.err] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:175)
[System.err] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForApplicationRuntimeRepository(Generation.java:182)
[System.err] at com.sap.ide.webdynpro.generation.Generation.generatePersistentArchive(Generation.java:1616)
[System.err] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:215)
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[System.err] at java.lang.reflect.Method.invoke(Method.java:585)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:347)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
[System.err] at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5633)
[System.err] at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction.buildDCs(DcCreateProjectAction.java:1027)
[System.err] at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction$1.execute(DcCreateProjectAction.java:299)
[System.err] at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)
[System.err] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
[System.err] at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
[System.err] at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
[System.err] Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception: -> java.lang.NullPointerException
[System.err] at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:155)
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:166)
[System.err] ... 59 more
[System.err] Caused by: java.lang.NullPointerException
[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.setAttributeValue(RepositoryPersistence.java:185)
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter$ParsingHandler.parseRepositoryModelClass(XMLConfigurationParserWriter.java:970)
[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter$ParsingHandler.startElement(XMLConfigurationParserWriter.java:716)
[System.err] at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.startElementEnd(SAXDocHandler.java:146)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1814)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160)
[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261)
[System.err] at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
[System.err] at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
[System.err] at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
[System.err] ... 60 more
[wdgen] ERROR: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Generic Exception: , F:/Template/.dtc/0/t/7B4ED0BE027871726CD7928188870BCC/gen_wdp/configuration/Applications/com.sap.xss.hr.skl.SkillsApplication/SkillsApplication.xml
[wdgen] [Info] Catching throwable null
[wdgen] [Info] com.sap.webdynpro.generation.ant.GenerationAntTaskError
[wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.printMessage(GenerationAnt.java:123)
[wdgen] ERROR: Unknown exception during generation null (com.sap.webdynpro.generation.ant.GenerationAntTaskError)
[wdgen] ERROR: Generation failed due to errors (77 seconds)
Error: F:\Template\.dtc\0\DCs\sap.com\ess\skl\_comp\gen\default\logs\build.xml:102: [Error] Generation failed!
at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:254)
Ant runtime 1 minute 49.937 seconds
Ant build finished with ERRORS
[Error] Generation failed!
Error: Build stopped due to an error: [Error] Generation failed!
Build plugin finished at 2009-03-30 10:17:08 GMT-05:00 (ACT)
Total build plugin runtime: 2 minutes 23.609 seconds
Build finished with ERROR
Edited by: purav mehta on Mar 30, 2009 5:35 PMHi
Check whether all the required DC's are there in track or not. first create independent DC and then move to other.
Best Regards
Satish Kumar -
Project creation error with assembly order
Hi,
I am trying to create project through assembly processing.However at last stage it is giving error the project which has been created is not a billing element. Unless it is created how can I set it as a billing element.
Please advice.
Zinnicheck the billing element indicator of the std. WBSE which is assigned to std network used for assembly processing.
-
Creation of Unique Number Ranges for Organizational Objects
Hi Gurus,
As per our client's requirements, We need to create unique number ranges for Organizational Objects such as O,S,P to distinguish based on the Object ID. Could you please help me out to create the same.
And also to create unique number ranges for Personnel Development Objects such as QK & Q.
Thanks in Advance
Regards
Vinoth Kumar.RHi,
To maintain object specific number ranges, go to customising node Personnel management --> Org. management --> Basic settings --> Number range manitenance --> Maintain Number ranges
Here there will already be a default entry as $$$$.
To create different range for object say O you can use the following options:
Create entry as $$O - number range applicable to all Org units across all plan versions.
Create entry as 01O - number range applicable to all Org units under plan version "01"
Then under Interval maintenance create the desired number ranges under IN for internal or EX for external (check the external tick box for external number ranges)
In the similar manner you can create the number ranges for objects C, S , Q & QK.
Hope this is helpful.
Regards,
Shreyasi. -
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.
Maybe you are looking for
-
On my BB8530 w/Virgin Mobile, I changed my BB ID today, I have latest updates etc.I received the email to confirm my changes, clicked on the address it sent me, went to the page and got an error message saying java sript was no longer available on my
-
Windows 8.1 on Mid 2007 iMac
So, I need to run Windows 8.1 on my 24-inch mid 2007 iMac, running OS X 10.9.4. Yup, I could run it in VMware Fusion, but this time I would prefer to run in directly on the hardware. I went out and paid $139.99+tax for a copy of Windows 8.1 pro 64-b
-
Problems linking to registered domain
I have used the Associate Domain Form to link our registered domain name: "www.totneseuropeanschool.com" (registered with Go Daddy) to the Business Catalyst Site. However, typing in the URL www.totneseutopeanschool.com does not bring up our the websi
-
Version: SQL Developer (3.0.02) I found 2 bugs. There is a bug in the User Defined Reports. When I add a new report, it ask me to select a db connection. The connection was created, but it did not show in the Connection. Same the bug are in the Quick
-
I am not able to download itunes on my dell min
Please help me