Fonction SAP BAPI_PROJECTDEF_EXISTENCECHECK - Check whether a project definition exists

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
RETURN BAPIRETURN1 u 470 Structure for Return Code

Functionality
You can use this method to check whether a project definition exists.

Notes
The internal and external keys for the project definitionCURRENTEXTERNALPROJE and CURRENTINTERNALPROJE are obligatory importparameters; one of the two keys can remain initial.

Description
Return code with error messages

Value range
If errors occur, the followingmesaGES 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