Ansicht
Dokumentation

SIW_PROPS_VALUES_GET -

SIW_PROPS_VALUES_GET -

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module returns the possible values for an attribute in a given document area 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').

To obtain the value of requested attribute the function module 'IW_C_PROPS_VALUES_GET' is called for corresponding types of info-object (folder, LOIO and PHIO - they are defined by form 'DECIDE_FOR_IO') locally or in respective KW system.

Values and text decriptions for properties are obtained with the help of forms 'DATA_PROVIDE_REMOTE_AND_LOCAL' and 'TEXTS_GET_REMOTE_AND_LOCAL'.

Example

    l_name = 'IWB_TYPE'.
    CALL FUNCTION 'SIW_PROPS_VALUES_GET'
      EXPORTING
          PROPERTY_NAME             = L_NAME
*         AREA                      =
*         LANGUAGE                  = SY-LANGU
*         GET_USER_NAME             = 'X'
          INFO_OBJECT               = L_IO
      IMPORTING
          ERROR_MSG                 = L_ERROR_MSG
      TABLES
*         CLASS                     =
          PROPERTY_VALUES           = LT_PROPERTY_VALUES
          PROPERTY_VALUES_TXT       = LT_PROPERTY_VALUES_TXT

Notes

Either parameter 'AREA' or or parameter 'INFO_OBJECT' or table 'CLASS' should be filled that this function module works. If parameter 'INFO_OBJECT' is empty, then table 'CLASS' is used for determining class of info-object.

The parameter 'SUPPRESS_AUTHORITY_CHECK' always equals 'C_NO'.

The module 'IW_C_PROPS_VALUES_GET' has default application 'KM_KW_R3', and 'X' as default value for parameters 'ONLY_LOCAL_AREAS' and 'GET_USER_NAME'.

For receiving values and desriptions for following properties 'TMP_IWB_IND_REL', 'TMP_IWB_IO_CLASS', 'DOCUMENT_FORMAT', 'IWB_FOLDER_GROUP', 'LANGUAGE' (and 'IWB_ORIGINAL_LANGUAGE'), 'DOCUMENT_SPACE', 'IWB_RESPONSIBLE' (and 'IWB_PHIO_FIRST_CREATED_BY', 'LAST_CHANGED_BY', 'CREATED_BY') there are own procedures inside of module 'IW_C_PROPS_VALUES_GET'.

Further information





Parameters

AREA
CLASS
ERROR_MSG
FOLDER_GROUP
GET_USER_NAME
INFO_OBJECT
LANGUAGE
PROPERTY_NAME
PROPERTY_VALUES
PROPERTY_VALUES_TXT
SUPPRESS_AUTHORITY_CHECK

Exceptions

Function Group

SI17

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4085 Date: 20240523 Time: 101744     sap01-206 ( 49 ms )