SAP SHOW_CHANGE_DOC_NOTIFICATIONS Function Module for NOTRANSL: Anzeige der Änderungsbelege und Statusänderungen zu einem Objekt









SHOW_CHANGE_DOC_NOTIFICATIONS is a standard show change doc notifications 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: Anzeige der Änderungsbelege und Statusänderungen zu einem Objekt 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 show change doc notifications FM, simply by entering the name SHOW_CHANGE_DOC_NOTIFICATIONS into the relevant SAP transaction such as SE37 or SE38.

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



Function SHOW_CHANGE_DOC_NOTIFICATIONS 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 'SHOW_CHANGE_DOC_NOTIFICATIONS'"NOTRANSL: Anzeige der Änderungsbelege und Statusänderungen zu einem Objekt
EXPORTING
OBJECT_NUMBER = "Object Number
* AKNUM = "Consecutive Number of Activity
* OBJECT_SEGMENT = "
* IP_ARCHIVE_HANDLE = 0 "Handle on Opened Archive File
OBJECT_CLASS = "Object Class
* VIQMEL_WA = "Notification Header
* CAUFVD_WA = "Order
* EQUI_WA = "Equipment
* IFLO_WA = "Functional Location
* FENUM = "Item number in item record
* MANUM = "Sequential task number
* URNUM = "Sequential Number for Cause

TABLES
* WQMFE_TAB = "Work Table for Notification Item
* WQMMA_TAB = "Work Structure Activities
* WQMSM_TAB = "Work Table for Tasks
* WQMUR_TAB = "Work Table for Causes
.



IMPORTING Parameters details for SHOW_CHANGE_DOC_NOTIFICATIONS

OBJECT_NUMBER - Object Number

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

AKNUM - Consecutive Number of Activity

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

OBJECT_SEGMENT -

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

IP_ARCHIVE_HANDLE - Handle on Opened Archive File

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

OBJECT_CLASS - Object Class

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

VIQMEL_WA - Notification Header

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

CAUFVD_WA - Order

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

EQUI_WA - Equipment

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

IFLO_WA - Functional Location

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

FENUM - Item number in item record

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

MANUM - Sequential task number

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

URNUM - Sequential Number for Cause

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

TABLES Parameters details for SHOW_CHANGE_DOC_NOTIFICATIONS

WQMFE_TAB - Work Table for Notification Item

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

WQMMA_TAB - Work Structure Activities

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

WQMSM_TAB - Work Table for Tasks

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

WQMUR_TAB - Work Table for Causes

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

Copy and paste ABAP code example for SHOW_CHANGE_DOC_NOTIFICATIONS 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:
lt_wqmfe_tab  TYPE STANDARD TABLE OF WQMFE, "   
lv_object_number  TYPE J_OBJNR, "   
lv_aknum  TYPE AKNUM, "   
lv_object_segment  TYPE CDTABKEY, "   
lv_ip_archive_handle  TYPE SYTABIX, "   0
lt_wqmma_tab  TYPE STANDARD TABLE OF WQMMA, "   
lv_object_class  TYPE CDOBJECTCL, "   
lv_viqmel_wa  TYPE VIQMEL, "   
lt_wqmsm_tab  TYPE STANDARD TABLE OF WQMSM, "   
lv_caufvd_wa  TYPE CAUFVD, "   
lt_wqmur_tab  TYPE STANDARD TABLE OF WQMUR, "   
lv_equi_wa  TYPE EQUI, "   
lv_iflo_wa  TYPE IFLO, "   
lv_fenum  TYPE FELFD, "   
lv_manum  TYPE MANUM, "   
lv_urnum  TYPE URNUM. "   

  CALL FUNCTION 'SHOW_CHANGE_DOC_NOTIFICATIONS'  "NOTRANSL: Anzeige der Änderungsbelege und Statusänderungen zu einem Objekt
    EXPORTING
         OBJECT_NUMBER = lv_object_number
         AKNUM = lv_aknum
         OBJECT_SEGMENT = lv_object_segment
         IP_ARCHIVE_HANDLE = lv_ip_archive_handle
         OBJECT_CLASS = lv_object_class
         VIQMEL_WA = lv_viqmel_wa
         CAUFVD_WA = lv_caufvd_wa
         EQUI_WA = lv_equi_wa
         IFLO_WA = lv_iflo_wa
         FENUM = lv_fenum
         MANUM = lv_manum
         URNUM = lv_urnum
    TABLES
         WQMFE_TAB = lt_wqmfe_tab
         WQMMA_TAB = lt_wqmma_tab
         WQMSM_TAB = lt_wqmsm_tab
         WQMUR_TAB = lt_wqmur_tab
. " SHOW_CHANGE_DOC_NOTIFICATIONS




ABAP code using 7.40 inline data declarations to call FM SHOW_CHANGE_DOC_NOTIFICATIONS

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!