Fonction SAP BAPI_NETWORK_GETINFO - Read detailed information for networks (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

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
I_NETWORK_LIST BAPI_NETWORK_LIST 12

Functionality
You can use this method to read detailed information abot networks,including all objects, from the system.

Notes
I_NETWORK_LIST is an obligatory import parameter; here you enter fromwhich networks you want to receive information.
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- Networks.

Description
Return code with error messages

If errors occur, the following messages are returned:
Type ID Number Message

  • E CN 009 Network & does not exist

  • E CN 770 Errors have occurred during processing

  • (see error log)
    For more information about the cause of the errors, see theE_MESSAGE_TABLE table.

    Description
    Specifies that the system should not return any networks.

    Default
    Aus

    Description
    The detailed information for network activities are transfered in thisstructure.
    You can find information about the individual parameters in thecorresponding data element documentation. You can call this up bydouble-clicking on a data element and then choosingDocumentation.

    Description
    If errors occur while reading networks, the method, the object and theerror message 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
    Detailed information about networks is transfered in this table.
    You can find information about the individual parameters in thecorresponding data element 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 class (language independent)
    MRP_CONTROLLER,,MRP controller
    SCHED_TYPE,,Scheduling type
    PRIORITY,,Order priority
    PROJECT_DEFINITION,,Project definition
    NOT_AUTO_SCHEDULE,,Indicator: No automaticscheduling
    NOT_AUTO_COSTING,,Indicator: No automatic costing
    NOT_MRP_APPLICABLE,,Reserv. nicht relevant to MRP, Purch. Req. is notcreated
    PROFILE,,Network profile

    Description
    The data for relationships in a network are transfered in thisstructure.
    You can find information about the individual parameters in thecorresponding data element documentation.
    NETWORK_PREDECESSOR,,Order no./Network no.
    ACTIVITY_PREDECESSOR,,Activity number network and std. network
    NETWORK_SUCCESSOR,,Order no./Network no.
    ACTIVITY_SUCCESSOR,,Activity number network and std. network
    RELATION_TYPE,,Relationship type
    DURATION_RELATION_UNIT,, Unit f. relationship timeinterval
    DURATION_RELATION,,Reraltionship time inetrval
    DURATION_RELATION_UNIT_ISO,,ISO Code unit ofmeasure
    FACTORY_CALENDAR,,Factory calendar ID
    PERCENT_OF_SUC_PR,,Calculation time intervalpred./succ as percentage
    DURATION_KEY,,Key for interpreting rel. timeinterval
    WORK_CNTR,,Work center
    PLANT,,Plant

    Description
    In this table you enter the numbers of the networks, for which yourequire detailed information from the system.

    Value range
    Datea type CHAR/Field length 12

894799Module CO_ZF_CHECK_SUBNET is not without dialog II
338931EPS: Resetting parameter 'FLAG_DIALOG_STATUS'