Fonction SAP BAPI_ISUSMNOTIF_CREATEMULTIPLE - Create service notifications

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NO_APPL_LOG FLAG C 1 X No Application Log, RETURN Table Used Instead

Paramètre Reférence Long. Facultatif Description
LONGTEXT BAPI_NOTIF_LONGTEXT 140 X BAPI structure for long text for service notification
NOTIFDATA BAPI_NOTIFCREATE 172 BAPI structure for creating service notifications via notification codes
OBJECTRELATION BAPI_NOTIF_OBJREL 88 X BAPI Structure: Object Links for Service Notifications
RETURN BAPIRET2 548 Return parameter

Functionality
This Business Application Programming Interface (BAPI) creates servicenotifications dependent on the notification codes specified in tableNOTIFDATA. These service notifications can have different commercialcharacteristics.
You can also use this BAPI to create maintenance notifications for theutilities industry.

Example
Notifications for

  • Replacing a device

  • Disconnecting one or more devices of a customer with outstanding
  • payments
    • Repairing a defective transformer after a power failure
    • Notes
      Notifications are returned in the RETURN parameter. The documentationfor this parameter describes the return values and their meanings.

      Further information
      When you run the BAPI, an application log is created that contains thefollowing information:

      • Creation data

      • Error messages

      • Numbers of orders created

      • To evaluate this log, proceed as follows:
        Call transaction SLG1.
        Select object IUWMNOT and sub-object BAPI_CREATE_MULTIPLE.

        Description
        This table contains long text lines for service/maintenancenotifications.
        The meaning of the fields is described in the respective data elements:

        • NOTIFINDEX: Notification index

        • FORMAT_COL: Format column

        • TEXT_LINE: Text line
        • Description
          This table contains the data for creating a service/maintenancenotification in each line.
          The meanings of the fields are described in the respective dataelements.

          • NOTIF_CODE: Notification code

          • PLANPLANT: PM planning plant

          • If you do not use parameter PLANPLANT to specify the maintenanceplanning plant, it will be determined from the notification code andthe regional structure group.
            • REGIOGROUP: Regional structure group

            • LANGU: SAP language key

            • LANGU_ISO: Language according to ISO 639

            • NOTIFOBJID: Reference object type

            • EQUIPMENT : Equipment

            • FUNCT_LOC : Functional location

            • SERIALNO: Serial number

            • MATERIAL: Material number

            • CUSTOMER: Customer number

            • STARTDATE: Start date

            • DESSTTIME: Start time

            • ENDDATE: End date

            • DESENDTM: End time

            • PLANGROUP: PM planner group

            • STRMLFNDATE: Start date of malfunction

            • STRMLFNTIME: Start time of malfunction

            • NOTIF_NO: Notification number

            • The number of the generated notification is returned here.

              Value range
              The parameter NOTIFOBJID (fixed values of of the referenceobject type) has the following values:

              • 01 (functional location)

              • 02 (equipment)

              • 03 (serial number)
              • Description
                This table contains object relationships to service notifications.
                The field meanings are described in the respective data elements:

                • NOTIFINDEX: Notification index

                • OBJKEY: Object key

                • OBJTYPE: Object type

                • RELTYPE: Binary relationship type
                • Value range
                  Parameter RELTYPE (binary relationship type) has the followingfixed values:

                  • EXE1 (disconnection/reconnection)

                  • EXE2 (replacement)

                  • EXE3 (inspection)

                  • EXE5 (check sample devices)

                  • EXEC (meter reading)

                  • SPE1 (deregulated reference point)

                  • SPE2 (device information record)
                  • Description
                    This return parameter contains any errors that occur for the method.

                    Value range
                    If an error occurs, the following messages are returned:
                    Type,,ID ,,Number,,Message
                    E,,E9 ,,878,,Entry of tables ... in function module ...
                    ,, ,, ,,required
                    E,,E9 ,,100,,You are not authorized to create service
                    ,, ,, ,,notifications
                    E,,EEWMSERVICE,,090,,Cannot determine a notification profile for
                    ,, ,, ,,message code &1
                    E,,EEWMSERVICE,,077,,No entry for plant &1, notification profile &2
                    ,, ,, ,,in table TEN399A