SAP IQS0_CREATE_VIQMEL Function Module for NOTRANSL: Initialisierung und anlegen einer Meldung









IQS0_CREATE_VIQMEL is a standard iqs0 create viqmel 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 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 viqmel FM, simply by entering the name IQS0_CREATE_VIQMEL 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_VIQMEL 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_VIQMEL'"NOTRANSL: Initialisierung und anlegen einer Meldung
EXPORTING
R_VIQMEL = "PM/SM/QM Notifications: I/O Data for Creating Notification
* I_POST = ' ' "Checkbox
* I_NO_MSG = ' ' "Checkbox
* I_RESET = 'X' "Checkbox

TABLES
E_VIQMEL = "Generated Table for View
* I_BIN_RELATION_TAB = "Structure of the internal table for notif. document flow

EXCEPTIONS
SHOW_MESSAGES = 1
.




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_VIQMEL

R_VIQMEL - PM/SM/QM Notifications: I/O Data for Creating Notification

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

I_POST - Checkbox

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

I_NO_MSG - Checkbox

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

I_RESET - Checkbox

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

TABLES Parameters details for IQS0_CREATE_VIQMEL

E_VIQMEL - Generated Table for View

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

I_BIN_RELATION_TAB - Structure of the internal table for notif. document flow

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

EXCEPTIONS details

SHOW_MESSAGES -

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

Copy and paste ABAP code example for IQS0_CREATE_VIQMEL 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_e_viqmel  TYPE STANDARD TABLE OF VIQMEL, "   
lv_r_viqmel  TYPE RFC_VIQMEL, "   
lv_show_messages  TYPE RFC_VIQMEL, "   
lv_i_post  TYPE RIWO00-SELEC, "   ' '
lt_i_bin_relation_tab  TYPE STANDARD TABLE OF RQM08, "   
lv_i_no_msg  TYPE RIWO00-SELEC, "   ' '
lv_i_reset  TYPE RIWO00-SELEC. "   'X'

  CALL FUNCTION 'IQS0_CREATE_VIQMEL'  "NOTRANSL: Initialisierung und anlegen einer Meldung
    EXPORTING
         R_VIQMEL = lv_r_viqmel
         I_POST = lv_i_post
         I_NO_MSG = lv_i_no_msg
         I_RESET = lv_i_reset
    TABLES
         E_VIQMEL = lt_e_viqmel
         I_BIN_RELATION_TAB = lt_i_bin_relation_tab
    EXCEPTIONS
        SHOW_MESSAGES = 1
. " IQS0_CREATE_VIQMEL




ABAP code using 7.40 inline data declarations to call FM IQS0_CREATE_VIQMEL

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 SELEC FROM RIWO00 INTO @DATA(ld_i_post).
DATA(ld_i_post) = ' '.
 
 
"SELECT single SELEC FROM RIWO00 INTO @DATA(ld_i_no_msg).
DATA(ld_i_no_msg) = ' '.
 
"SELECT single SELEC FROM RIWO00 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!