Fonction SAP BAPI_PROJECT_GETINFO - Read detailed information for work breakdown structures

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
PROJECT_DEFINITION BAPIPR-PROJECT_DEFINITION C 24 X
WITH_ACTIVITIES BAPIPR-WITH_ACTIVITIES C 1 X
WITH_MILESTONES BAPIPR-WITH_MILESTONES C 1 X
WITH_SUBTREE BAPIPR-WITH_SUBTREE C 1 X

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

Paramètre Reférence Long. Facultatif Description
E_ACTIVITY_TABLE BAPI_NETWORK_ACTIVITY_EXP 744 X
E_MESSAGE_TABLE BAPI_METH_MESSAGE 340 X
E_WBS_ELEMENT_TABLE BAPI_WBS_ELEMENT_EXP 637 X
E_WBS_HIERARCHIE_TABLE BAPI_WBS_HIERARCHIE 144 X
E_WBS_MILESTONE_TABLE BAPI_WBS_MILESTONE_EXP 174 X
I_WBS_ELEMENT_TABLE BAPI_WBS_ELEMENTS 24 X

Functionality
You use this method to read detailed information about projectdefinitions and the WBS elements of certain projects from the system.

Notes
Enter the project definitions and/or the WBS elements, which you wantdetailed information about, in the parameter PROJECT_DEFINITION orI_WBS_ELEMENT_TABLE respectively. You cannot select according toproject definition and WBS elements at the same time.
If you only enter project definitions, the details of all the WBS thatbelong to the project definitions are read including the hierarchy. Ifyou explicitly enter WBS elements, only these are read.
Messages are returned in return parameters. For information about thereturn values and their meaning, see the parameter documentation.

Description
The detailed information about a project is transfered in thisstructure. For information about the individual parameters, see thecorresponding 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
INT_PROFILE,,Interest profile for projects
WBS_SCHED_PROFILE,,Scheduling profile for WBS
CSH_BDGT_PROFILE,,Finazial budget profile
PLAN_PROFILE,,Planning profile

Description
Return code witrh error messages

Value range
If errors occur, one of the following messages is returned:
Type ID Number Message

  • E CJ 011 Project & does not exist

  • E CJ 021 WBS element & does not exist

  • E CJ 029 Enter project or WBS element

  • E CJ 033 The WBS elements do not exist

  • If other errors occur, you can find more information amout their causein the E_MESSAGE_TABLE table.

    Description
    Key that identifies a project definition.

    Value range
    Data type CHAR/Field length 24

    Description
    If you select this parameter you cause the system to export thesubordinate activity (see export table E_ACTIVITY_TABLE).

    Description
    If you select this parameter you cause the system to export thesubordinate WBS milestone (see export table E_WBS_MILESTONE_TABLE).

    Description
    If you set this parameter and define a WBS element in the tableI_WBS_ELEMENT_TABLE, the system exports the subproject. In this casethe import parameter PROJECT_DEFINITION must be empty.

    Description
    The system transfers detail information about the activity to thisstructure. You must, however, select the import parameterWITH_ACTIVITIES.
    For information about the meaning of the various parameters, see thedata element documentation in the table BAPI_NETWORK_ACTIVITY_EXP.Description
    If errors occur while rteading the detailed information about a project(for instance if the selected WBS element belongs to different projectsor due to missing authorization), the method, the object and the errormessage are output to this 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
    Message text,,Data type CHAR,,Field length 72

    Description
    The detailed information about WBS elements is transfered in thisstructure. For information about the individual parameters, see thecorresponding data element documentation.
    WBS_ELEMENT,,WBS element
    DESCRIPTION,,PS: Description (first text line)
    SHORT_ID,,Short identification f. WBS element
    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
    PROJ_TYPE,,Project type
    NETWORK_ASSIGNMENT,,Network assignment
    COSTING_SHEET,,Costing sheet
    OVERHEAD_KEY,,Overhead key
    CALENDAR,,Factory calendar key
    PRIORITY,,Priority
    EQUIPMENT,,Equipment number
    FUNCTIONAL_LOCATION,,Functional location
    CURRENCY,,Currency key
    CURRENCY_ISO,,ISO code f. currency
    PLANT,,Plant
    USER_FIELD_KEY,,User-defined field key
    USER_FIELD_CHAR20_1,,User-defined field f. 20characters
    USER_FIELD_CHAR20_2,,User-defined field f. 20characters
    USER_FIELD_CHAR10_1,,User-defined field f. 10characters
    USER_FIELD_CHAR10_2,,User-defined field f. 10characters
    USER_FIELD_QUAN1,,User-defined field for quantity(length 10,3)
    USER_FIELD_UNIT1,,User-defined field: Unit f. quantityfields
    USER_FIELD_UNIT1_ISO,,ISO code f. units of measure
    USER_FIELD_QUAN2,,User-defined field for quantity(length 10,3)
    USER_FIELD_UNIT2,,User-defined field: Unit f. quantityfields
    USER_FIELD_UNIT2_ISO,,ISO code f. units of measure
    USER_FIELD_CURR1,,User-defined field for values(Length 10,3)
    USER_FIELD_CUKY1,,User-defined field: Unit f valuefields
    USER_FIELD_CUKY1_ISO,,ISO-Code currency
    USER_FIELD_CURR2,,User-defined field for values(Length 10,3)
    USER_FIELD_CUKY2,,User-defined field: Unit f valuefields
    USER_FIELD_CUKY2_ISO,,ISO-Code currency
    USER_FIELD_DATE1,,User-defined field for date
    USER_FIELD_DATE2,,User-defined field for date
    USER_FIELD_FLAG1,,User-defined field: Indicator forevaluations
    USER_FIELD_FLAG2,,User-defined field:Indicator forevaluations
    OBJECTCLASS,,Object class
    STATISTICAL,,Statistical WBS element (X)
    TAXJURCODE,,Tax Jurisdiction Code
    INT_PROFILE,,Interest profile for projects

    Description
    You transfer information about the WBS hierarchy in this table:

    Table structure

    • WBS element whose hierarchy information is to be transfered

    • Project definition it belongs to

    • Superior WBS element for the relevant WBS element

    • First WBS element (in the hierarchy graphic furthest left) that belongs
    • to the same superior WBS element)
      • Previous WBS element (next to the left) that belongs to the same
      • superior WBS element.
        • Next WBS element (to the right) that belongs to the same superior WBS
        • element.

          Description
          The system transfers the detail information about the WBS milestone tothis structure. You must, however, select the import parameterWITH_MILESTONES.
          For information about the meaning of the various parameters, see thedata element documentation in the table BAPI_WBS_MILESTONE_EXP.

          Description
          You enter the WBS elements for which you require detailed informationabout in this table.
          If you specify a project definition, without entering specific WBSelements, all the WBS elements in the the project are selected; if youenetr individual WBS elements, only these are selected.

          Value range
          Data type CHAR/Field length 24

455742BAPI_PROJECT_MAINTAIN: Runtime in CJPN_PROJEKTNUMMER_EDIT
366974EPS: Reading PD and WBS element - authorization check
338931EPS: Resetting parameter 'FLAG_DIALOG_STATUS'
206195EPS:BAPI WBS.Getinfo message OK600 and RFC termintn