SAP NOTIF_COLLECT_DATA Function Module for NOTRANSL: Subscribe Baustein zum Update Event Notification









NOTIF_COLLECT_DATA is a standard notif collect data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Subscribe Baustein zum Update Event Notification processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for notif collect data FM, simply by entering the name NOTIF_COLLECT_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: CRMN
Program Name: SAPLCRMN
Main Program: SAPLCRMN
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function NOTIF_COLLECT_DATA pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'NOTIF_COLLECT_DATA'"NOTRANSL: Subscribe Baustein zum Update Event Notification
EXPORTING
VIQMEL_OLD = "Generated Table for View
VIQMEL_NEW = "Generated Table for View
* RIQS0_WA = "Notifications: Control data for the notification work area

TABLES
* I_VIQMFE_OLD = "Work table for notification item
* I_IHPA_NEW = "Reference structure for XIHPA
* I_VIQMUR_OLD = "Work Table for Causes
* I_VIQMSM_OLD = "Work Table for Tasks
* I_VIQMMA_OLD = "Work Structure Activities
* I_IHPA_OLD = "Reference structure for XIHPA
* I_VIQMFE_NEW = "Work table for notification item
* I_VIQMUR_NEW = "Work Table for Causes
* I_VIQMSM_NEW = "Work Table for Tasks
* I_VIQMMA_NEW = "Work Structure Activities
.



IMPORTING Parameters details for NOTIF_COLLECT_DATA

VIQMEL_OLD - Generated Table for View

Data type: VIQMEL
Optional: No
Call by Reference: Yes

VIQMEL_NEW - Generated Table for View

Data type: VIQMEL
Optional: No
Call by Reference: Yes

RIQS0_WA - Notifications: Control data for the notification work area

Data type: RIQS0
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for NOTIF_COLLECT_DATA

I_VIQMFE_OLD - Work table for notification item

Data type: WQMFE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IHPA_NEW - Reference structure for XIHPA

Data type: IHPAVB
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VIQMUR_OLD - Work Table for Causes

Data type: WQMUR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VIQMSM_OLD - Work Table for Tasks

Data type: WQMSM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VIQMMA_OLD - Work Structure Activities

Data type: WQMMA
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IHPA_OLD - Reference structure for XIHPA

Data type: IHPAVB
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VIQMFE_NEW - Work table for notification item

Data type: WQMFE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VIQMUR_NEW - Work Table for Causes

Data type: WQMUR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VIQMSM_NEW - Work Table for Tasks

Data type: WQMSM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VIQMMA_NEW - Work Structure Activities

Data type: WQMMA
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for NOTIF_COLLECT_DATA Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_viqmel_old  TYPE VIQMEL, "   
lt_i_viqmfe_old  TYPE STANDARD TABLE OF WQMFE, "   
lt_i_ihpa_new  TYPE STANDARD TABLE OF IHPAVB, "   
lv_viqmel_new  TYPE VIQMEL, "   
lt_i_viqmur_old  TYPE STANDARD TABLE OF WQMUR, "   
lv_riqs0_wa  TYPE RIQS0, "   
lt_i_viqmsm_old  TYPE STANDARD TABLE OF WQMSM, "   
lt_i_viqmma_old  TYPE STANDARD TABLE OF WQMMA, "   
lt_i_ihpa_old  TYPE STANDARD TABLE OF IHPAVB, "   
lt_i_viqmfe_new  TYPE STANDARD TABLE OF WQMFE, "   
lt_i_viqmur_new  TYPE STANDARD TABLE OF WQMUR, "   
lt_i_viqmsm_new  TYPE STANDARD TABLE OF WQMSM, "   
lt_i_viqmma_new  TYPE STANDARD TABLE OF WQMMA. "   

  CALL FUNCTION 'NOTIF_COLLECT_DATA'  "NOTRANSL: Subscribe Baustein zum Update Event Notification
    EXPORTING
         VIQMEL_OLD = lv_viqmel_old
         VIQMEL_NEW = lv_viqmel_new
         RIQS0_WA = lv_riqs0_wa
    TABLES
         I_VIQMFE_OLD = lt_i_viqmfe_old
         I_IHPA_NEW = lt_i_ihpa_new
         I_VIQMUR_OLD = lt_i_viqmur_old
         I_VIQMSM_OLD = lt_i_viqmsm_old
         I_VIQMMA_OLD = lt_i_viqmma_old
         I_IHPA_OLD = lt_i_ihpa_old
         I_VIQMFE_NEW = lt_i_viqmfe_new
         I_VIQMUR_NEW = lt_i_viqmur_new
         I_VIQMSM_NEW = lt_i_viqmsm_new
         I_VIQMMA_NEW = lt_i_viqmma_new
. " NOTIF_COLLECT_DATA




ABAP code using 7.40 inline data declarations to call FM NOTIF_COLLECT_DATA

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!