Fonction SAP BAPI_EXTORDER_CREATE - IS-H: BAPI ExternalOrder.CreateExternalOrder - Create External Order

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT BAPINALL-CLIENT C 3 Client
EXTERNAL_ORDER BAPI1312NEO_NFAL u 380 IS-H: External Order
EXTERNAL_ORDERER BAPI1309BPARTNER-BPARTNER C 10 IS-H: External Order Placer
EXTERNAL_ORDER_ID BAPI1312NEO_NFAL-PATCASEID C 10 Case Number
INSTITUTION BAPI1312NEO_NFAL-INSTITUTION C 4 Institution
TESTRUN BAPINALL-TESTRUN C 1 SPACE X Test Mode (No Changes in Database)

Paramètre Reférence Type Long. Description
EXTERNAL_ORDER_CRE BAPI1312NEO_NFAL u 380 Created External Order Placer
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

Paramètre Reférence Long. Facultatif Description
REMARK_EXTERNAL BAPI1312LTEXT 134 X External Comments
REMARK_INTERNAL BAPI1312LTEXT 134 X Internal Comments
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It creates an external order.
You must transfer the following data:

  • CLIENT - client

  • INSTITUTION - institution

  • EXTERNAL_ORDER_ID - case number

  • EXTERNAL_ORDER - actual data of the external order

  • EXTERNAL_ORDERER - external ordering party

  • In addition, you can transfer the following tables:
    • REMARK_INTERNAL - internal comments

    • REMARK_EXTERNAL - external comments

    • The created data is returned using parameter
      • EXTERNAL_ORDER_CRE - created external order
      • Notes
        Text Mode allows you to test the consistency of the data to begenerated.
        INCLUDE BAPI_RET

        Description
        Data of the created external order
        INCLUDE NBAPI_WORST_RETURNED_MSGTY
        INCLUDE NBAPI_CLIENT

        Description
        Data of the external order

        Description
        Number of the external order placer
        INCLUDE NBAPI_PATCASEID
        INCLUDE NBAPI_INSTITUTION
        INCLUDE NBAPI_TESTRUN

        Description
        Table with external remarks

        Description
        Table with internal remarks

        Description
        Any errors that have occurred are returned in this table.

        Value range
        INCLUDE NBAPI_RETS_EXTORDER_CREATE OBJECT DOKU ID TX