Ansicht
Dokumentation

SIW_STRUCT_WITH_IO_QUERY -

SIW_STRUCT_WITH_IO_QUERY -

RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function finds structures with all referenced info objects with attribute search in the system addressed by RFC destination. The destination of this system is defined with the help of the table 'SDOKDOCSP' (function 'SDOK_DOCUSPACE_GET_DESTINATION' inside of function 'IW_INT_INIT_CONTEXT_AND_DEST').

If the parameter 'WITH_DIALOG' equals 'X', the system starts the function 'INFO_OBJECT_IA_QUERY' locally or in respective KW system.

If the parameter 'WITH_DIALOG' equals 'space', the system calls the function 'INFO_OBJECT_QUERY' locally or in respective KW system and, in this case, the table 'QUERY' should be filled before.

In turn, the function 'INFO_OBJECT_IA_QUERY' calls the function 'IO_D_QUERY' to organize the query with selection screen in dependence on structure-class and area of Info-object, after that the function 'INFO_OBJECT_QUERY' to process the query, and then the function 'INFO_OBJECTS_DISPLAY_LIST' to display list of found info-objects.

In this case, all found structure objects are displayed. To display the referenced topics, the user should mark a structure and push the button 'Execute'. In this case, the function module 'STRUCT_OBJECT_CONTENTS_GET ' is started and, after that, again the module 'INFO_OBJECTS_DISPLAY_LIST' (task 'HELP' is processed).

The function 'SIW_STRUCT_WITH_IO_QUERY' returns only one combination structure - referenced topic.

Example

Notes

To find structures with info-objects, the parameter 'WITH_DIALOG' should always equal 'X'.

Only structures and topics with status 'RELEASED' can be displayed.

If found structure includes other structures, they will not displayed even if they are released. Only type 'topic' is processed.

Parameter 'SUPPRESS_AUTHORITY_CHECK' for internal modules are always set in 'C_NO'.

If input parameter 'AREA' is not fullfilled , then the system receives it from the form 'GET_AREA' (inside - function 'IWB_D_AREA_GET') locally with the help of raising dialog for area selection without multiple-choice and, only, after that, checks the destination. However, only 'IWB_STRUCT' is valid info-class, so area IWBHELP (Documentation) is predefined.

If the table 'REQUESTED_PROPERTIES' is filled, then system returns values only for properties from this table for all found Info-Objects, when the module starts w/o dialog.

If parameter 'MULTI_SELECT' is filled (default value = 'SPACE'), then user can select several objects from the next pop-up.

If parameter 'NO_CONTEXT_CHANGE' is filled (default value = 'X'), then context parameters, especialy release of info-object, could not been changed on the search pop-up. If system takes wrong context - no possibility to change it!!!

Parameters 'MULTI_SELECT' and 'NO_CONTEXT_CHANGE' are important, if the module start with dialog.

If query is specified in LOWER case, the system will look for info-objects in UPPER case too, other way currently does not work.

The parameter 'ACTION' is used to notify the program that the user cancelled the operation - value = 'CANC'.

If information from 'ACTION' parameter is missing or not processed, the program would try to process incomplete or false user input.

Further information





Parameters

ACTION
AREA
CONTEXT
ERROR_MSG
EV_SELECTION
INFO_OBJECTS
IV_CHECK_KW_CONVREF
IV_WO_DMS_SELECTION
NO_CONTEXT_CHANGE
PROPERTIES
QUERY
REQUESTED_PROPERTIES
STRUCT_WITH_INFO_OBJECTS
VALID_INFO_CLASSES
WITH_DIALOG

Exceptions

Function Group

SI17

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 4433 Date: 20240523 Time: 091611     sap01-206 ( 96 ms )