SAP IWB_FOLDER_IA_QUERY Function Module for









IWB_FOLDER_IA_QUERY is a standard iwb folder ia query SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 iwb folder ia query FM, simply by entering the name IWB_FOLDER_IA_QUERY into the relevant SAP transaction such as SE37 or SE38.

Function Group: SI10
Program Name: SAPLSI10
Main Program: SAPLSI10
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function IWB_FOLDER_IA_QUERY 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 'IWB_FOLDER_IA_QUERY'"
EXPORTING
* AREA = 'IWBHELP' "
* SEL_ONLY_ONE_ENTRY = ' ' "
* POPUP_TITLE = "
* ATTR_TITLE = "
* SUPPRESS_AUTHORITY_CHECK = 'X' "

IMPORTING
ACTION = "

TABLES
* DEFAULT_TITLE_SEL = "
* CONTEXT = "
* DEFAULT_TECH_NAME_SEL = "
* DEFAULT_RESPONSIBLE_SEL = "
* DEFAULT_PROPERTIES = "
* VALID_AREAS = "
* REQUESTED_PROPERTIES = "
* RESULT_FOLDERS = "
* RESULT_PROPERTIES = "
* ATTR_EXCLUDE_TAB = "
.



IMPORTING Parameters details for IWB_FOLDER_IA_QUERY

AREA -

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

SEL_ONLY_ONE_ENTRY -

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

POPUP_TITLE -

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

ATTR_TITLE -

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

SUPPRESS_AUTHORITY_CHECK -

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

EXPORTING Parameters details for IWB_FOLDER_IA_QUERY

ACTION -

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

TABLES Parameters details for IWB_FOLDER_IA_QUERY

DEFAULT_TITLE_SEL -

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

CONTEXT -

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

DEFAULT_TECH_NAME_SEL -

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

DEFAULT_RESPONSIBLE_SEL -

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

DEFAULT_PROPERTIES -

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

VALID_AREAS -

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

REQUESTED_PROPERTIES -

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

RESULT_FOLDERS -

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

RESULT_PROPERTIES -

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

ATTR_EXCLUDE_TAB -

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

Copy and paste ABAP code example for IWB_FOLDER_IA_QUERY 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_area  TYPE IW_AREA, "   'IWBHELP'
lv_action  TYPE SY-UCOMM, "   
lt_default_title_sel  TYPE STANDARD TABLE OF RSDSSELOPT, "   
lt_context  TYPE STANDARD TABLE OF SDOKPROPTY, "   
lv_sel_only_one_entry  TYPE C, "   SPACE
lt_default_tech_name_sel  TYPE STANDARD TABLE OF RSDSSELOPT, "   
lv_popup_title  TYPE SY-TITLE, "   
lt_default_responsible_sel  TYPE STANDARD TABLE OF RSDSSELOPT, "   
lv_attr_title  TYPE SY-TITLE, "   
lt_default_properties  TYPE STANDARD TABLE OF TIWB_PROPERTY_QUERIES, "   
lt_valid_areas  TYPE STANDARD TABLE OF IWBAREA, "   
lv_suppress_authority_check  TYPE IWPARAMS-FLAG, "   'X'
lt_requested_properties  TYPE STANDARD TABLE OF SDOKPROPTN, "   
lt_result_folders  TYPE STANDARD TABLE OF SDOKOBJECT, "   
lt_result_properties  TYPE STANDARD TABLE OF SDOKPROPTL, "   
lt_attr_exclude_tab  TYPE STANDARD TABLE OF SDOKPROPTN. "   

  CALL FUNCTION 'IWB_FOLDER_IA_QUERY'  "
    EXPORTING
         AREA = lv_area
         SEL_ONLY_ONE_ENTRY = lv_sel_only_one_entry
         POPUP_TITLE = lv_popup_title
         ATTR_TITLE = lv_attr_title
         SUPPRESS_AUTHORITY_CHECK = lv_suppress_authority_check
    IMPORTING
         ACTION = lv_action
    TABLES
         DEFAULT_TITLE_SEL = lt_default_title_sel
         CONTEXT = lt_context
         DEFAULT_TECH_NAME_SEL = lt_default_tech_name_sel
         DEFAULT_RESPONSIBLE_SEL = lt_default_responsible_sel
         DEFAULT_PROPERTIES = lt_default_properties
         VALID_AREAS = lt_valid_areas
         REQUESTED_PROPERTIES = lt_requested_properties
         RESULT_FOLDERS = lt_result_folders
         RESULT_PROPERTIES = lt_result_properties
         ATTR_EXCLUDE_TAB = lt_attr_exclude_tab
. " IWB_FOLDER_IA_QUERY




ABAP code using 7.40 inline data declarations to call FM IWB_FOLDER_IA_QUERY

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_area) = 'IWBHELP'.
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_action).
 
 
 
DATA(ld_sel_only_one_entry) = ' '.
 
 
"SELECT single TITLE FROM SY INTO @DATA(ld_popup_title).
 
 
"SELECT single TITLE FROM SY INTO @DATA(ld_attr_title).
 
 
 
"SELECT single FLAG FROM IWPARAMS INTO @DATA(ld_suppress_authority_check).
DATA(ld_suppress_authority_check) = '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!