Fonction SAP BAPI_ECMREQ_CREATE - Create Engineering Change Request

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IS_DETAILS BAPI_ECMREQ_DETAIL u 144 Engineering Change Request: Basic Data
REQUEST_NEW BAPI_ECMREQ_FIELDS-REQUEST C 12 Engineering Change Request

Paramètre Reférence Long. Facultatif Description
IT_DESCRIPTIONS_REASON BAPI_ECMREQ_DESCR 43 X Engineering Change Request: Reason for Change
IT_DESCRIPTIONS_SCOPE BAPI_ECMREQ_DESCR 43 X Engineering Change Request: Change Scope
IT_HIERARCHY BAPI_ECMREQ_HIERAR 76 X Engineering Change Request: Hierarchy
IT_STATUS BAPI_ECM_STATUS 40 X Engineering Change Management: BAPI Structure for Status
RETURN BAPIRET2 548 X Return Parameters

Functionality
This BAPI creates a change request.

  • It checks that the change request does not yet exist.

  • Then the change BAPI is called, which can both create and change.

  • This means that you only need to use this BAPI if you want to ensurethat you are not changing an existing change request. Otherwise, use thechange BAPI directly. For more information, see the documentation on thechange BAPI.

    Description
    This structure contains the following basic data of a change request forwhich values must be entered:

    • Internal and external key

    • Change type

    • Allowed order type

    • Status profile

    • The following attributes are included:
      • Assigned user group

      • Person responsible

      • Deletion indicator

      • Planned release date

      • Reason for request

      • Priority of request

      • Requester
      • Description
        Name of change request.

        Description
        Descriptions for reason for change request.

        Description
        Descriptions for scope of change request.

        Description
        In this table, the hierarchy for the change request is specified.
        Both change requests and change orders can be assigned. The distinctionis made in field CHILD_TYPE.

        • For change requests, the value is BUS1211.

        • For change orders, the value is BUS1210.

        • Field PARENT_TYPE always has the value BUS1211. The two objects to belinked can be specified in both internal and external format. If theinternal format is filled, this has priority. There is no check as towhether the internal and external format match.

          Description
          In this table, the new status is specified in the form you require.Depending on Customizing, multiple statuses may be active in parallel.

          Description
          Log messages of BAPI.