Ansicht
Dokumentation

QM08_NUMBERS_OF_NOTIFICATIONS - Determination of numbers of available notifications

QM08_NUMBERS_OF_NOTIFICATIONS - Determination of numbers of available notifications

General Data in Customer Master   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to determine the number and generate a list of related quality notifications.

You can search for quality notifications in different ways. For example:
Quality notifications for a certain material, a certain customer, a certain vendor, a certain combination of customer and vendor, etc.

In addition, there are two variants available to determine the number of related notifications:

  • Variant 1: Access using original documents
  • Variant 2: Access using the statistics database

With this function module, you can specify one of three different screen outputs:

  • Short text information with an icon for related notifications, if a related notification was found
  • Short text with an icon for outstanding related notifications, if the outstanding notification is included in the related notifications
  • Detailed information on a separate screen, with the exact number of available notifications for each search method. From this screen, you can switch to the exact list of notifications found by clicking on the numbers. By choosing the "Notification selection" pushbutton, you can access a list of notifications that correspond to your own, user-defined selection criteria.

If you have not specified a screen output in the function module, the items you searched for are available in export parameter e_information and the table t_notifications.

You can also search for quality notifications for an inspection lot.

Example

Notes

Note that it is not possible to evaluate notifications for customers and for vendors at the same time.

If you do not select a screen output and have selected variant 2 (access using statistics database), you will only get the exact number of notifications for each search method. No exact list of related notifications will be available.

For the advantages and disadvantages of the access variants, see the documentation for the version.

Three subscreens are available for the output of the short text information:

1. SAPLQM08 0100: Subscreen length 30,

2. SAPLQM08 0101: Subscreen length 20, and

3. SAPLQM08 0102: Subscreen length 5.

Subscreens 2 and 3 are to be viewed in association with the transfer parameter TEXT. If this parameter contains a 1, then no text will appear on the pushbutton. Only the icon appears. In this case, the subscreen 3 should be used. If this parameter contains a 1, then a 20- character text is displayed on the pushbutton. In this case, you should use the subscreen 2. In all other cases, a 30-character text is called for the pushbutton and the subscreen 1 should be used.

Further information

Parameter description

Parameter Reference field/structure Proposed value

Import parameter:

i_keyfigure_structure qnqmi00

Export parameter:

e_information qnqmd00

Table Parameter:

t_notifications qnqminfo

Exceptions:

INCOMPLETE_INFORMATIONS

INVALID_COMBINATION

Parameter documentation

  • Import parameter
  • i_keyfigure_structure: Specifications according to which quality notifications are to be searched for. This structure consists of the following fields:

Search for Notifications for Material: Material
Search for Notifications for Mat./Cust.: Mat_Kunde
Search for Notifications for Mat./Vendor: Mat_Liefer
Search for Vendor Notifications: Lieferant
Search for Notifications for Customer: Kunde
Material number: Matnr
Account Number of Customer: Kunum
Vendor Account Number: Lifnum
Notification Number: Qmnum
Inspection Lot Number: Prueflos
Display Mode for Notifications: Modus !If this field is not filled, no screen appears!
Indicator: Update Key Figures: Refresh
No Outstanding Notifications: Icone1
Outstanding Notifications: Icone2
Variants for Determining Existence of Notifications: Version
Number of Days: Anz_Tage
Text Length: Text, see notes
  • WNX1/WNY1: You can use this to define the left upper corner of the screen for detailed information.

  • Export parameter
  • e_informations: This structure contains the number of related notifications determined using the function module and the short text information with an icon. This structure contains the following fields:

Number of Notifications for Material: Material
Number of Completed Notifications for Material: MaterialAb
Number of Outstanding Notifications for Material: MaterialOf
Number of Notifications for Customer: Kunde
Number of Completed Notifications for Customer: KundeAb
Number of Outstanding Notifications for Customer: KundeOf
Number of Notifications for Vendor: Lieferant
Number of Completed Notifications for Vendor: LieferAb
Number of Outstanding Notifications for Vendor: LieferOf
Number of Notifications for Material/Customer: Mat_Kunde
Number of Completed Notifications for Material/Customer: Mat_KundAb
Number of Outstanding Notifications for Material/Customer: Mat_KundOf
Number of Notifications for Material/Vendor: Mat_Liefer
Number of Completed Notifications for Vendor/Customer: Mat_LiefAb
Number of Outstanding Notifications for Material/Vendor: Mat_LiefOf
Quick Info Relating to Existing Notifications: Kurzinfo
  • Table Parameter
  • t_notifications: List of all notifications found. Contains the following fields:

Notification Number: Qmnum
Notification Type: Qmart
Short Text: Qmtxt
Priority Type: Priok
Date of Notification: Qmdat
Material number: Matnr
Account Number of Customer: Kunum
Vendor Account Number: Lifnum
Inspection Lot Number: Prueflos
Notification Has Status "Completed": Status_Ab
Search for Notifications for Material: Material
Search for Notifications for Material/Customer: Mat_Kunde
Search for Notifications for Material/Vendor: Mat_Liefer
Search for Vendor Notifications: Lieferant
Search for Notifications for Customer: Kunde
Object Number for Status Management: Objnr
This table is only exported.
  • Exceptions
  • INCOMPLETE_INFORMATIONS: The information transferred is not sufficient. The material number, customer number, or vendor number is missing.

  • INVALID_COMBINATION: A key figure combination was selected that is not possible. You cannot search for notifications related to the vendor and notifications related to the customer at the same time.





Parameters

E_INFORMATION
I_FIX
I_KEYFIGURE_STRUCTURE
T_NOTIFICATIONS
WINX1
WINY1

Exceptions

INCOMPLETE_INFORMATIONS
INVALID_COMBINATION

Function Group

QM08

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 11368 Date: 20240523 Time: 133929     sap01-206 ( 108 ms )