SAP Function SIW_FOLDER_QUERY -

Parameter Reference Type Length Default Optional Text
AREA IWBAREA-AREA C 10 Area
WITH_DIALOG IWPARAMS-FLAG C 1 'X' X Single-Character Flag

Parameter Reference Type Length Text
ACTION SYST-UCOMM C 70 Screens, Function Code Triggered by PAI
ERROR_MSG IWERRORMSG u 224 IWB: Message passing structure

Parameter Reference Length Optional Text
CONTEXT SDOKPROPTY 89 X SDOK: Object Attribute, Name and Feature
QUERY SDOKQUPROP 156 X SDOK: Fields for query
REQUESTED_PROPERTIES SDOKPROPTN 25 X SDOK: Name of object attributes
RESULT SDOKOBJECT 42 SDOK: BOR key for information object
RESULT_PROPERTIES SDOKPROPTL 131 X SDOK: Object, attribute name and feature

Functionality
This function finds folders with attribute search in
INCLUDE DESTINATION OBJECT DOKU ID TX
If the parameter 'WITH_DIALOG' equals 'X', the system starts thefunction 'IWB_FOLDER_IA_QUERY' remotely or locally in dependence ondestination.
If the parameter 'WITH_DIALOG' equals 'space', the system calls thefunction 'IWB_FOLDER_QUERY' remotely or locally in dependence ondestinanation and, in this case, the table 'QUERY' should be filledbefore.

Notes
If input parameter 'AREA' is not fullfilled, then thesystem receives it from the form 'GET_AREA' locally and, only after that
, checks the destination.
If the table 'REQUESTED_PROPERTIES' isfullfilled, then system returns values only for properties from thistable for all found Info-Objects (Folders).
INCLUDE ACTION OBJECT DOKU ID TX

Description
INCLUDE ACTION OBJECT DOKU ID TX

Description
INCLUDE ERROR_MSG OBJECT DOKU ID TX

Description
The table of Info-Objects (type 'Folder' with corresponding name ofFolder-Class (dependence on area) and ID) which responds the selectedcriterion (structure 'QUERY').

Description
The table contains the whole set of attributes forfound Info-objects and these objects themself or only requested ones.