Functionality You can use this method to create a project definition that containsdata binding for the whole project. In the process, all the consistency checks are made that are made if youcreate a project definition using the transaction. Notes You need the relevant authority to create a project definition. When you create a project definition, you must use a project profilethat has been previously created in Customizing. PROJECT_DEFINITION_STRU is an obligatory import parameter. Messsages are returned in the Return parameter. For information aboutreturn values and their meaning, see the documentation for the Returnparameter. Further information For more information,see the SAP Library under PS Project System ->Work breakdown structure>
Description Return code with error messages In the case of an error the following messages are returned: Type ID Number Message
- E CJ 003 Enter project
- E CJ 010 Project exists already
- E CJ 035 Project definition could not be created
If the project definition could not be created, you can find moreinformation about the cause of the error in the E_MESSAGE_TABLE>tableDescription In this structure data are transfered that are binding for the wholeproject.For information about the indivdual parameters, see therelevant data element documentation. For currency and unit of time you can use either the SAP internal name(PS_PWHIE or PS_ZTEHT) or the ISO code (ISOCD or ISOCD_UNIT). PROJECT_DEFINITION,,Project definition> DESCRIPTION,,PS: Short description (first text line)> MASK_ID,,Selection screen for short ID for WBSelements> RESPONSIBLE_NO,,Personnel no. of the person responsible(project manager)> APPLICANT_NO,,Applicant number> COMP_CODE,,Company code> BUS_AREA,,Business area> CONTROLLING_AREA,,Controlling area> PROFIT_CTR,,Profit Center> PROJECT_CURRENCY,,WBS currency (projct definition)> PROJECT_CURRENCY_ISO,,Iso-Code f. currency> NETWORK_ASSIGNMENT,,Network assignment> START,,Scheduled start date for project> FINISH,,Scheduled finish date for project> PLANT,,Plant> CALENDAR,,Factory calendar> PLAN_BASIC,,Planning method for basic dates in theproject> PLAN_FCST,,>Planning method for forecast dates in theproject> TIME_UNIT,,Unit of time for scheduling> TIME_UNIT_ISO,,ISO code f. unit of time> NETWORK_PROFILE,,Network profile> PROJECT_PROFILE,,Project profile> BUDGET_PROFILE,,Budget profile> PROJECT_STOCK,,Projektstock management> OBJECTCLASS,,Object class> STATISTICAL,,Statistical WBS element (X)> TAXJURCODE,,Tax Jurisdiction Code> INT_PROFILE,,Inetrest profile for project> WBS_SCHED_PROFILE,,WBS scheduling profile> CSH_BDGT_PROFILE,,Financial budget profile> PLAN_PROFILE,,Plan profile>Description If errors occur during creating a project definition, for instance dueto consistency checks, missing entries or missing authority, thecorresponding method, the object and the error message are outputed inthis table. Table structure Method,,Data type CHAR,,Field length 32 Object type,,Data type CHAR,,Field length 32 SAP internal object key,,Data type CHAR,,Field length 90 SAP external object key,,Data type CHAR,,Field length 90 Message ID,,Data type CHAR,,Field length 20 Message number,,Data type CHAR,,Field length 3 Message type,,Data type CHAR,,Field length 1 Mesage text,,Data type CHAR,,Field length 72
|