SAP IQS0_SET_ORDER_NUMBER_IN_WA Function Module for NOTRANSL: Übergabe Auftragsnummer in Workarea bei Auftragszuordung









IQS0_SET_ORDER_NUMBER_IN_WA is a standard iqs0 set order number in wa 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: Übergabe Auftragsnummer in Workarea bei Auftragszuordung 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 set order number in wa FM, simply by entering the name IQS0_SET_ORDER_NUMBER_IN_WA 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_SET_ORDER_NUMBER_IN_WA 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_SET_ORDER_NUMBER_IN_WA'"NOTRANSL: Übergabe Auftragsnummer in Workarea bei Auftragszuordung
EXPORTING
I_QMNUM = "Notification No
I_AUFNR = "Order Number

EXCEPTIONS
INVALID_NOTIFICATION = 1 INVALID_ORDER = 2
.




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_SET_ORDER_NUMBER_IN_WA

I_QMNUM - Notification No

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

I_AUFNR - Order Number

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

EXCEPTIONS details

INVALID_NOTIFICATION -

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

INVALID_ORDER -

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

Copy and paste ABAP code example for IQS0_SET_ORDER_NUMBER_IN_WA 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_i_qmnum  TYPE VIQMEL-QMNUM, "   
lv_invalid_notification  TYPE VIQMEL, "   
lv_i_aufnr  TYPE VIQMEL-AUFNR, "   
lv_invalid_order  TYPE VIQMEL. "   

  CALL FUNCTION 'IQS0_SET_ORDER_NUMBER_IN_WA'  "NOTRANSL: Übergabe Auftragsnummer in Workarea bei Auftragszuordung
    EXPORTING
         I_QMNUM = lv_i_qmnum
         I_AUFNR = lv_i_aufnr
    EXCEPTIONS
        INVALID_NOTIFICATION = 1
        INVALID_ORDER = 2
. " IQS0_SET_ORDER_NUMBER_IN_WA




ABAP code using 7.40 inline data declarations to call FM IQS0_SET_ORDER_NUMBER_IN_WA

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_i_qmnum).
 
 
"SELECT single AUFNR FROM VIQMEL INTO @DATA(ld_i_aufnr).
 
 


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!