Fonction SAP BAPI_PROJECTDEF_GETDETAIL - Read detailed information for the project definition

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CURRENTEXTERNALPROJE BAPI_PROJ_KEY-PROJECT_DEFI C 24
CURRENTINTERNALPROJE BAPI_PROJ_KEY-PROJ_KEY_INT N 8

Paramètre Reférence Type Long. Description
PROJECT_DEFINITION_STRU BAPI_PROJECT_DEFINITION_EX u 284
RETURN BAPIRETURN1 u 470

Functionality
Using this method, you can read detail information about the projectdefinition.

Notes
Obligatory import parameters are the external and internal keysCURRENTEXTERNALPROJE and CURRENTINTERNALPROJE of the project definition.One of these two keys can remain at initial.
The system reads parameters contained in the structureBAPI_PROJECT_DEFINITION_EX.
Messages are returned in the return parameter. You can find the returnvalues and their meanings in the documentation about this parameter.

Further information
For more information, see the SAP Library under PS Project System -Work Breakdown Structure.

Description
The detailed information for the project is transfered in thisstructure. You can find information about the individual parameters incorresponding data element documentation.
PROJECT_DEFINITION,,Project definition
DESCRIPTION,,PS: Description (first text line)
MASK_ID,,Editing mask f.short ID WBS elements
RESPONSIBLE_NO,,Number of person responsible (projectmanager)
APPLICANT_NO,,Applicant number
COMP_CODE,,Company code
BUS_AREA,,Business area
CONTROLLING_AREA,,Controlling area
PROFIT_CTR,,Profit Center
PROJECT_CURRENCY,,WBS currency (project definition)
PROJECT_CURRENCY_ISO,,ISO code currency
NETWORK_ASSIGNMENT,,Network assignment
START,,Planned start date for project
FINISH,,Planned finish date for project
PLANT,,Plant
CALENDAR,,Factory calendar key
PLAN_BASIC,,Planning method for basic dates inproject
PLAN_FCST,,Planning method for forecast dates inproject
TIME_UNIT,,Time unit f. scheduling
TIME_UNIT_ISO,,ISO code f. unit of measure
NETWORK_PROFILE,,Network profile
PROJECT_PROFILE,,Project profile
BUDGET_PROFILE,,Budget profile
PROJECT_STOCK,,Project stock
OBJECTCLASS,,Object class
STATISTICAL,,Statistical WBS element (X)
TAXJURCODE,,Tax Jurisdiction Code
PS_ZSCHM,,Interest profile for projects
PS_SCHDPRF,,Scheduling profile for projects
PSFM_PRF,,Financial budget profile
BP_PPROFIL,,Planning profile

Description
Return code with error messages

Value range
If errors occur the following messages are returned
Type ID Number Message

  • E CJ 003 Enter project

  • E CJ 011 Project & does not exist
  • Description
    The external key for the project definition is transfered in thisparameter. From this key the system finds the the internal projectnumber.
    Data element,, Type,,Length,,Description
    PS_PSPID,, CHAR,,24,,Project definition
    PS_INTNR,, NUMC,,8,,Counter project/item

    Description
    The internal key for the project definition is transfered in thisparameter.
    ou can also transfer the external key for the project definition in theparameter CURRENTEXTERNALPROJE. The system then finds the internalproject number.

    Data element,, Type,,Length,,Description
    PS_INTNR,, NUMC,,8,,Counter project/item

366974EPS: Reading PD and WBS element - authorization check