Fonction SAP BAPI_PLANNEDORDER_EXIST_CHECK - Planned order existence check

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
PLANNEDORDER BAPI_PLDORD-PLDORD_NUM C 10 Planned order number

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

Functionality
This method can be used to check if a specific planned order exists inthe database.
To help you understand how the method can be used, test transaction"MDBA" is available. It has integrated all 6 planned order methods intoa transaction to deal with planned orders. For more information, pleaserefer to the program documentation on this transaction. The name of theprogram is 'MDBAPI01'.

Notes

Authorization checks:
The following authorization objects are checked with the activity A(Display):

  • M_PLAF_ORG

  • M_LFPL_ORG

  • You can find more information in the parameter documentation of theparameters below.

    Confirmations:
    Messages are received back in the parameter 'Return'. You can findreturn values and their meaning in this parameter documentation.

    Description
    INCLUDE BAPI_TABLE

    Value range

    Error messages

    Type ID Number Message
    E MD 652 Planned order number has notbeen entered
    E 61 003 Planned order & does not exist
    E 61 400 No authorization for & in plant and mrp controller
    E MD 130 You do not have thenecess.authorization for this function (see long txt)

    Success messages

    Type ID Number Message
    S MD 657 Planned order & exists

    Description
    You can find information on the meaning of the planned order number inthe data element documentation:
    planned order number
    INCLUDE BAPI_KEYFIELD