SAP IQS0_CREATE_NOTIFICATION Function Module for NOTRANSL: Initialisierung und anlegen einer Meldung ohne Auftragsbezug









IQS0_CREATE_NOTIFICATION is a standard iqs0 create notification 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: Initialisierung und anlegen einer Meldung ohne Auftragsbezug 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 iqs0 create notification FM, simply by entering the name IQS0_CREATE_NOTIFICATION into the relevant SAP transaction such as SE37 or SE38.

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



Function IQS0_CREATE_NOTIFICATION 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 'IQS0_CREATE_NOTIFICATION'"NOTRANSL: Initialisierung und anlegen einer Meldung ohne Auftragsbezug
EXPORTING
* I_QMNUM = "
* I_NO_MSG = "
* I_TASK_DET = ' ' "
* I_LANGU = SY-LANGU "
* I_CHECK_PF3 = ' ' "Checkbox
* I_MPOS_ADD = "MPOS-INCLUDE (Customer-Defined Fields for Maintenance Plan)
* I_RFC_CALL = ' ' "Checkbox
* I_DEFREC = ' ' "Checkbox
* I_ILOA = "PM Object Location and Account Assignment
* I_RBNR = ' ' "Catalog Profile
* I_QMNUM_TMP = "
* I_OBJNR_TMP = "Object Number for Status Management
* I_TCODE = "
* I_QMART = "
* I_DISPL = 'X' "
* I_INITIAL = ' ' "
* I_RIQS5 = "
* I_RESET = 'X' "

IMPORTING
E_QMNUM = "
E_VIQMEL = "
E_RIWO03 = "
E_OKCODE = "

EXCEPTIONS
INVALID_ENTRY = 1 NOTIFICATION_NOT_IN_BUFFER = 2 GENERAL_ERROR = 3
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLIQS0_001 Customer Exit 'Check Status Change for Permission' for PM/CS Notifications
EXIT_SAPLIQS0_002 User Exit for Influencing the F4 Help for Catalogs
EXIT_SAPLIQS0_003 Function Code '+US3/4' in Menu 'Goto/Task' in Notification Processing
EXIT_SAPLIQS0_004 Function Code '+US5/6' in Menu 'Goto/Activities' in Notif. Processing
EXIT_SAPLIQS0_005 Determining Processing Deadlines According to Priority
EXIT_SAPLIQS0_006 Default Partner When Adding A Notification
EXIT_SAPLIQS0_007 Determination of BOM application for BOM Explosion
EXIT_SAPLIQS0_008 Supply Function Codes with Text/ Deactivate Codes: 'Goto/Task'
EXIT_SAPLIQS0_009 Supply Function Codes/ Deactivate Codes: 'Goto/Activity'
EXIT_SAPLIQS0_010 Function Codes in Menu 'Goto/Notification' in Notification Processing
EXIT_SAPLIQS0_011 Supply Function Codes with Text/ Deactivate Codes: 'Goto/Notification'
EXIT_SAPLIQS0_012 Function Codes in 'Goto/Cause' Menu in Notification Processing
EXIT_SAPLIQS0_013 Supply Function Codes with Text/ Deactivate Codes: 'Goto/Cause'
EXIT_SAPLIQS0_014 Function Codes in Menu 'Goto/Item' in Notification Processing
EXIT_SAPLIQS0_015 Supply Function Codes with Text/Deactivate Codes: 'Goto/Item'
EXIT_SAPLIQS0_016 Function Module for Deactivating Notification Function Codes
EXIT_SAPLIQS0_017 Default Values when Adding PM/CS Notification
EXIT_SAPLIQS0_018 Check Whether a Change of Notification Type is Allowed
EXIT_SAPLIQS0_019 Influence Data Transfer for New Notification Type
EXIT_SAPLIQS0_020 User Exit 'Check Authorization for Status Change'

IMPORTING Parameters details for IQS0_CREATE_NOTIFICATION

I_QMNUM -

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

I_NO_MSG -

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

I_TASK_DET -

Data type: T365-AKTYP
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LANGU -

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHECK_PF3 - Checkbox

Data type: RIWO00-SELEC
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MPOS_ADD - MPOS-INCLUDE (Customer-Defined Fields for Maintenance Plan)

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

I_RFC_CALL - Checkbox

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

I_DEFREC - Checkbox

Data type: RIWO00-SELEC
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ILOA - PM Object Location and Account Assignment

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

I_RBNR - Catalog Profile

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

I_QMNUM_TMP -

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

I_OBJNR_TMP - Object Number for Status Management

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

I_TCODE -

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

I_QMART -

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

I_DISPL -

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

I_INITIAL -

Data type: T365-AKTYP
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RIQS5 -

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

I_RESET -

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

EXPORTING Parameters details for IQS0_CREATE_NOTIFICATION

E_QMNUM -

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

E_VIQMEL -

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

E_RIWO03 -

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

E_OKCODE -

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

EXCEPTIONS details

INVALID_ENTRY -

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

NOTIFICATION_NOT_IN_BUFFER -

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

GENERAL_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for IQS0_CREATE_NOTIFICATION 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_e_qmnum  TYPE VIQMEL-QMNUM, "   
lv_i_qmnum  TYPE VIQMEL-QMNUM, "   
lv_invalid_entry  TYPE VIQMEL, "   
lv_i_no_msg  TYPE RIWO00-SELEC, "   
lv_i_task_det  TYPE T365-AKTYP, "   SPACE
lv_i_langu  TYPE SY-LANGU, "   SY-LANGU
lv_i_check_pf3  TYPE RIWO00-SELEC, "   SPACE
lv_i_mpos_add  TYPE STCI_MPOS, "   
lv_i_rfc_call  TYPE XFELD, "   SPACE
lv_i_defrec  TYPE RIWO00-SELEC, "   SPACE
lv_i_iloa  TYPE ILOA, "   
lv_i_rbnr  TYPE RBNR, "   SPACE
lv_e_viqmel  TYPE VIQMEL, "   
lv_i_qmnum_tmp  TYPE VIQMEL-QMNUM, "   
lv_notification_not_in_buffer  TYPE VIQMEL, "   
lv_e_riwo03  TYPE RIWO03, "   
lv_i_objnr_tmp  TYPE VIQMEL-OBJNR, "   
lv_general_error  TYPE VIQMEL, "   
lv_i_tcode  TYPE T365-TCODE, "   
lv_e_okcode  TYPE T185-FCODE, "   
lv_i_qmart  TYPE VIQMEL-QMART, "   
lv_i_displ  TYPE T365-AKTYP, "   'X'
lv_i_initial  TYPE T365-AKTYP, "   ' '
lv_i_riqs5  TYPE RIQS5, "   
lv_i_reset  TYPE T365-AKTYP. "   'X'

  CALL FUNCTION 'IQS0_CREATE_NOTIFICATION'  "NOTRANSL: Initialisierung und anlegen einer Meldung ohne Auftragsbezug
    EXPORTING
         I_QMNUM = lv_i_qmnum
         I_NO_MSG = lv_i_no_msg
         I_TASK_DET = lv_i_task_det
         I_LANGU = lv_i_langu
         I_CHECK_PF3 = lv_i_check_pf3
         I_MPOS_ADD = lv_i_mpos_add
         I_RFC_CALL = lv_i_rfc_call
         I_DEFREC = lv_i_defrec
         I_ILOA = lv_i_iloa
         I_RBNR = lv_i_rbnr
         I_QMNUM_TMP = lv_i_qmnum_tmp
         I_OBJNR_TMP = lv_i_objnr_tmp
         I_TCODE = lv_i_tcode
         I_QMART = lv_i_qmart
         I_DISPL = lv_i_displ
         I_INITIAL = lv_i_initial
         I_RIQS5 = lv_i_riqs5
         I_RESET = lv_i_reset
    IMPORTING
         E_QMNUM = lv_e_qmnum
         E_VIQMEL = lv_e_viqmel
         E_RIWO03 = lv_e_riwo03
         E_OKCODE = lv_e_okcode
    EXCEPTIONS
        INVALID_ENTRY = 1
        NOTIFICATION_NOT_IN_BUFFER = 2
        GENERAL_ERROR = 3
. " IQS0_CREATE_NOTIFICATION




ABAP code using 7.40 inline data declarations to call FM IQS0_CREATE_NOTIFICATION

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.

"SELECT single QMNUM FROM VIQMEL INTO @DATA(ld_e_qmnum).
 
"SELECT single QMNUM FROM VIQMEL INTO @DATA(ld_i_qmnum).
 
 
"SELECT single SELEC FROM RIWO00 INTO @DATA(ld_i_no_msg).
 
"SELECT single AKTYP FROM T365 INTO @DATA(ld_i_task_det).
DATA(ld_i_task_det) = ' '.
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
DATA(ld_i_langu) = SY-LANGU.
 
"SELECT single SELEC FROM RIWO00 INTO @DATA(ld_i_check_pf3).
DATA(ld_i_check_pf3) = ' '.
 
 
DATA(ld_i_rfc_call) = ' '.
 
"SELECT single SELEC FROM RIWO00 INTO @DATA(ld_i_defrec).
DATA(ld_i_defrec) = ' '.
 
 
DATA(ld_i_rbnr) = ' '.
 
 
"SELECT single QMNUM FROM VIQMEL INTO @DATA(ld_i_qmnum_tmp).
 
 
 
"SELECT single OBJNR FROM VIQMEL INTO @DATA(ld_i_objnr_tmp).
 
 
"SELECT single TCODE FROM T365 INTO @DATA(ld_i_tcode).
 
"SELECT single FCODE FROM T185 INTO @DATA(ld_e_okcode).
 
"SELECT single QMART FROM VIQMEL INTO @DATA(ld_i_qmart).
 
"SELECT single AKTYP FROM T365 INTO @DATA(ld_i_displ).
DATA(ld_i_displ) = 'X'.
 
"SELECT single AKTYP FROM T365 INTO @DATA(ld_i_initial).
DATA(ld_i_initial) = ' '.
 
 
"SELECT single AKTYP FROM T365 INTO @DATA(ld_i_reset).
DATA(ld_i_reset) = '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!