Fonction SAP BAPI_NETWORK_GETDETAIL - Read detailed information for network (including all objects)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_WITHOUT_ACTIVITY_ELEMENT BAPINWGI-WO_ACT_ELEMENT C 1 X
I_WITHOUT_ACTIVITY_MILESTONE BAPINWGI-WO_ACT_MILESTONE C 1 X
I_WITHOUT_COMPONENT BAPINWGI-WO_COMPONENT C 1 X
I_WITHOUT_NETWORK BAPINWGI-WO_NETWORK C 1 X
I_WITHOUT_NETWORK_ACTIVITY BAPINWGI-WO_NETWORK_ACT C 1 X
I_WITHOUT_RELATION BAPINWGI-WO_RELATION C 1 X
NUMBER BAPI_NETWORK_LIST-NETWORK C 12

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

Paramètre Reférence Long. Facultatif Description
E_ACTIVITY BAPI_NETWORK_ACTIVITY_EXP 744 X
E_ACTIVITY_ELEMENT BAPI_ACT_ELEMENT_EXP 630 X
E_ACTIVITY_MILESTONE BAPI_ACT_MILESTONE_EXP 166 X
E_COMPONENT BAPI_COMPONENT_EXP 580 X
E_MESSAGE_TABLE BAPI_METH_MESSAGE 340 X
E_NETWORK BAPI_NETWORK_EXP 303 X
E_RELATION BAPI_NETWORK_RELATION_EXP 62 X

Functionality
With this method you can read detailed information about a networkincluding all objects from the system.

Notes
NUMBER is an obligatory import parameter; enter the number of thenetwork whose data you want to receive.
Messages are returned in the Return parameter For information about thereturn values and their meaning, see the documemtation about the returnparameter.

Further information
For more information, see the documentation under PS-Project System- Network.

Description
Rerturn code wirh error messages

Value range
In case of errors the following messages are returned:
Type ID Number Message

  • E CN 009 Network & does not exist

  • E CN 770 Errors occurred during processing

  • (see error log)
    For further informatiopn about the cause of the error, see theE_MESSAGE_TABLE table

    Description
    Specifies that the system should not return any networks.

    Default
    AusDescription
    In this parameter the number of the network for which you want toreceive detailed information from the system is transfered.

    Description
    In this structure the detailed information about network activities istransfered.
    For information about the individual parameters, see the relevant dataelement documentation. You access this by double-clicking on a dataelement in the stzructure and then choosing Documentation.

    Description
    If errors occur when reading the network, the relevant method, theobject and the error message are output to this table. Structure ofthe table:
    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 for a network are transfered in thisstructure.
    For information about the individual parameters, see the relevant dataelement documentation.
    NETWORK,,Network number
    NETWORK_TYPE,,Network type
    SHORT_TEXT,,Short text
    PLANT,,Plant
    PROFIT_CTR,,Profit Center
    WBS_ELEMENT,,WBs element
    TAXJURCODE,,Tax Jurisdiction Code
    OBJECTCLASS,,Object classe (independent of language)
    FINISH_DATE,,Basic finish date
    START_DATE,,Basic start date
    MRP_CONTROLLER,,MRP controller for order
    SCHED_TYPE,,Scheduling type
    PRIORITY,,Order priorityt
    PROJECT_DEFINITION,,Project definition
    NOT_AUTO_SCHEDULE,,Indicator: Do not automaticallyschedule
    NOT_AUTO_COSTING,,Indicator: Do not automaticallycost
    NOT_MRP_APPLICABLE,,Reserv. not relevant for MRP, Purch. Req. is notcreated
    PROFILE,,Network profile

    Description
    The data for relationshgips are transfered in this structure.
    For information about the individual parameters, see the relevant dataelement documentation.
    NETWORK_PREDECESSOR,,Order number/Network no.
    ACTIVITY_PREDECESSOR,,Activity no. network and std. network
    NETWORK_SUCCESSOR,,Order number/Network no.
    ACTIVITY_SUCCESSOR,,Activity no. network and std. network
    RELATION_TYPE,,Relationship type
    DURATION_RELATION_UNIT,,Time interval unitrelationship
    DURATION_RELATION,,Time interval relationship
    DURATION_RELATION_UNIT_ISO,,ISO-Codeunit ofmeasure
    FACTORY_CALENDAR,,Factory calendar ID
    PERCENT_OF_SUC_PR,,Time inetrval between pred./succ aspercentage
    DURATION_KEY,,Key for interpreting time intervalrel.
    WORK_CNTR,,Work center
    PLANT,,Plant