SAP Function Modules

READ_NOTIFICATION_MEASURES SAP Function module - Lesen Massnahmen zur Meldung







READ_NOTIFICATION_MEASURES is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name READ_NOTIFICATION_MEASURES into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: IWO0
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM READ_NOTIFICATION_MEASURES - READ NOTIFICATION MEASURES





CALL FUNCTION 'READ_NOTIFICATION_MEASURES' "Lesen Massnahmen zur Meldung
* EXPORTING
*   i_text = 'X'                " clike         (=X) With Text for Code
*   i_position = 'X'            " clike         (=X) Tasks for Item
*   i_delete =                  " clike         (=X) With Deleted Records
*   i_buffer =                  " simple
*   ip_noti_arch = ' '          " iind          Meldung archiviert
*   io_ldb =                    " cl_eam_ldb_services  Super Service class for EAM Logical Databases
  TABLES
    iviqmel =                   " viqmel        Header Record
    iviqmsm =                   " wqmsm         Tasks
*   it_qmsm_arch =              " qmsm          Maßnahmen archiviert
    .  "  READ_NOTIFICATION_MEASURES

ABAP code example for Function Module READ_NOTIFICATION_MEASURES





The ABAP code below is a full code listing to execute function module READ_NOTIFICATION_MEASURES including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
it_iviqmel  TYPE STANDARD TABLE OF VIQMEL,"TABLES PARAM
wa_iviqmel  LIKE LINE OF it_iviqmel ,
it_iviqmsm  TYPE STANDARD TABLE OF WQMSM,"TABLES PARAM
wa_iviqmsm  LIKE LINE OF it_iviqmsm ,
it_it_qmsm_arch  TYPE STANDARD TABLE OF QMSM,"TABLES PARAM
wa_it_qmsm_arch  LIKE LINE OF it_it_qmsm_arch .

DATA(ld_i_text) = 'Check type of data required'.
DATA(ld_i_position) = 'Check type of data required'.
DATA(ld_i_delete) = 'Check type of data required'.
DATA(ld_i_buffer) = 'Check type of data required'.
DATA(ld_ip_noti_arch) = 'Check type of data required'.
DATA(ld_io_ldb) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_iviqmel to it_iviqmel.

"populate fields of struture and append to itab
append wa_iviqmsm to it_iviqmsm.

"populate fields of struture and append to itab
append wa_it_qmsm_arch to it_it_qmsm_arch. . CALL FUNCTION 'READ_NOTIFICATION_MEASURES' * EXPORTING * i_text = ld_i_text * i_position = ld_i_position * i_delete = ld_i_delete * i_buffer = ld_i_buffer * ip_noti_arch = ld_ip_noti_arch * io_ldb = ld_io_ldb TABLES iviqmel = it_iviqmel iviqmsm = it_iviqmsm * it_qmsm_arch = it_it_qmsm_arch . " READ_NOTIFICATION_MEASURES
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_i_text  TYPE CLIKE ,
it_iviqmel  TYPE STANDARD TABLE OF VIQMEL ,
wa_iviqmel  LIKE LINE OF it_iviqmel,
ld_i_position  TYPE CLIKE ,
it_iviqmsm  TYPE STANDARD TABLE OF WQMSM ,
wa_iviqmsm  LIKE LINE OF it_iviqmsm,
ld_i_delete  TYPE CLIKE ,
it_it_qmsm_arch  TYPE STANDARD TABLE OF QMSM ,
wa_it_qmsm_arch  LIKE LINE OF it_it_qmsm_arch,
ld_i_buffer  TYPE SIMPLE ,
ld_ip_noti_arch  TYPE IIND ,
ld_io_ldb  TYPE CL_EAM_LDB_SERVICES .

ld_i_text = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_iviqmel to it_iviqmel.
ld_i_position = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_iviqmsm to it_iviqmsm.
ld_i_delete = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_qmsm_arch to it_it_qmsm_arch.
ld_i_buffer = 'Check type of data required'.
ld_ip_noti_arch = 'Check type of data required'.
ld_io_ldb = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name READ_NOTIFICATION_MEASURES or its description.