SAP IWOA_CREATE_NOTIFICATION_ARC Function Module for Notification archiving: Reading the notif. number to be archived









IWOA_CREATE_NOTIFICATION_ARC is a standard iwoa create notification arc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Notification archiving: Reading the notif. number to be archived 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 iwoa create notification arc FM, simply by entering the name IWOA_CREATE_NOTIFICATION_ARC into the relevant SAP transaction such as SE37 or SE38.

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



Function IWOA_CREATE_NOTIFICATION_ARC 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 'IWOA_CREATE_NOTIFICATION_ARC'"Notification archiving: Reading the notif. number to be archived
EXPORTING
* I_TEST = 'X' "
* I_SNAP = "ILM Snapshot Action
* I_DEST = "ILM Data Destruction Action
I_QMTYP = "
I_CREAT = "
I_COMNT = "
* I_DAYS = "
* I_DELETE = 'X' "
* I_PROT = "Archiving: Detail Log
* I_PROT_O = "Archiving: Log Output
* I_AR_ILM = 'X' "ILM Archiving Action

TABLES
* I_SELC = "
* I_REVNR = "
* I_IWERK = "
* I_QMART = "
* I_QMNUM = "
* I_EQUNR = "
* I_TPLNR = "
* I_MATNR = "
* I_MAWERK = "
* I_KUNUM = "
* I_AUSWIRK = "
.



IMPORTING Parameters details for IWOA_CREATE_NOTIFICATION_ARC

I_TEST -

Data type: IWOA_CHAR1
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SNAP - ILM Snapshot Action

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

I_DEST - ILM Data Destruction Action

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

I_QMTYP -

Data type: TQ80-QMTYP
Optional: No
Call by Reference: No ( called with pass by value option)

I_CREAT -

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

I_COMNT -

Data type: ADMI_RUN-COMMENTS
Optional: No
Call by Reference: No ( called with pass by value option)

I_DAYS -

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

I_DELETE -

Data type: IWOA_CHAR1
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PROT - Archiving: Detail Log

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

I_PROT_O - Archiving: Log Output

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

I_AR_ILM - ILM Archiving Action

Data type: ILM_WRITE_ARCH
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for IWOA_CREATE_NOTIFICATION_ARC

I_SELC -

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

I_REVNR -

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

I_IWERK -

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

I_QMART -

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

I_QMNUM -

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

I_EQUNR -

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

I_TPLNR -

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

I_MATNR -

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

I_MAWERK -

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

I_KUNUM -

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

I_AUSWIRK -

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

Copy and paste ABAP code example for IWOA_CREATE_NOTIFICATION_ARC 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_i_selc  TYPE STANDARD TABLE OF IWOA_SELC, "   
lv_i_test  TYPE IWOA_CHAR1, "   'X'
lv_i_snap  TYPE ILM_WRITE_SNAP, "   
lt_i_revnr  TYPE STANDARD TABLE OF IWOA_RREVNR, "   
lv_i_dest  TYPE ILM_WRITE_DEST, "   
lt_i_iwerk  TYPE STANDARD TABLE OF IWOA_RIWERK, "   
lt_i_qmart  TYPE STANDARD TABLE OF IWOA_RQMART, "   
lv_i_qmtyp  TYPE TQ80-QMTYP, "   
lv_i_creat  TYPE IWOA_CHAR1, "   
lt_i_qmnum  TYPE STANDARD TABLE OF IWOA_RQMNUM, "   
lv_i_comnt  TYPE ADMI_RUN-COMMENTS, "   
lt_i_equnr  TYPE STANDARD TABLE OF IWOA_REQUNR, "   
lv_i_days  TYPE IWOA_DAYS, "   
lt_i_tplnr  TYPE STANDARD TABLE OF IWOA_RTPLNR, "   
lt_i_matnr  TYPE STANDARD TABLE OF IWOA_RMATNR, "   
lv_i_delete  TYPE IWOA_CHAR1, "   'X'
lv_i_prot  TYPE ARCH_PROCESSING_OPTIONS-DETAIL_LOG, "   
lt_i_mawerk  TYPE STANDARD TABLE OF IWOA_RMAWERK, "   
lt_i_kunum  TYPE STANDARD TABLE OF IWOA_RKUNUM, "   
lv_i_prot_o  TYPE ARCH_PROCESSING_OPTIONS-OBJ_PROT_OUTPUT, "   
lv_i_ar_ilm  TYPE ILM_WRITE_ARCH, "   'X'
lt_i_auswirk  TYPE STANDARD TABLE OF IWOA_RAUSWIRK. "   

  CALL FUNCTION 'IWOA_CREATE_NOTIFICATION_ARC'  "Notification archiving: Reading the notif. number to be archived
    EXPORTING
         I_TEST = lv_i_test
         I_SNAP = lv_i_snap
         I_DEST = lv_i_dest
         I_QMTYP = lv_i_qmtyp
         I_CREAT = lv_i_creat
         I_COMNT = lv_i_comnt
         I_DAYS = lv_i_days
         I_DELETE = lv_i_delete
         I_PROT = lv_i_prot
         I_PROT_O = lv_i_prot_o
         I_AR_ILM = lv_i_ar_ilm
    TABLES
         I_SELC = lt_i_selc
         I_REVNR = lt_i_revnr
         I_IWERK = lt_i_iwerk
         I_QMART = lt_i_qmart
         I_QMNUM = lt_i_qmnum
         I_EQUNR = lt_i_equnr
         I_TPLNR = lt_i_tplnr
         I_MATNR = lt_i_matnr
         I_MAWERK = lt_i_mawerk
         I_KUNUM = lt_i_kunum
         I_AUSWIRK = lt_i_auswirk
. " IWOA_CREATE_NOTIFICATION_ARC




ABAP code using 7.40 inline data declarations to call FM IWOA_CREATE_NOTIFICATION_ARC

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.

 
DATA(ld_i_test) = 'X'.
 
 
 
 
 
 
"SELECT single QMTYP FROM TQ80 INTO @DATA(ld_i_qmtyp).
 
 
 
"SELECT single COMMENTS FROM ADMI_RUN INTO @DATA(ld_i_comnt).
 
 
 
 
 
DATA(ld_i_delete) = 'X'.
 
"SELECT single DETAIL_LOG FROM ARCH_PROCESSING_OPTIONS INTO @DATA(ld_i_prot).
 
 
 
"SELECT single OBJ_PROT_OUTPUT FROM ARCH_PROCESSING_OPTIONS INTO @DATA(ld_i_prot_o).
 
DATA(ld_i_ar_ilm) = 'X'.
 
 


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!