SAP Function SIW_CONTEXT_DIALOG -

Parameter Reference Type Length Default Optional Text
ADD_SYSTEM_CONTEXT_AS_DEFAULT IWPARAMS-FLAG C 1 X
AREA IWBAREA-AREA C 10 X Area
CLASS SDOKOBJECT-CLASS C 10 X
DISPLAY_COUNTRY IWPARAMS-FLAG C 1 ' ' X
DISPLAY_COUNTRY_BUTTON IWPARAMS-FLAG C 1 ' ' X
DISPLAY_EXTENSION IWPARAMS-FLAG C 1 ' ' X
DISPLAY_EXTENSION_BUTTON IWPARAMS-FLAG C 1 ' ' X
DISPLAY_MODE_BUTTON IWPARAMS-FLAG C 1 ' ' X
TASK SDOKR3LLST-TASK_NAME C 10 'EDIT' X
WORKING_MODE IWBENTRY_S-WRK_MODE C 4 'DOCU' X

Parameter Reference Type Length Text
ACTION SYST-UCOMM C 70
ERROR_MSG IWERRORMSG u 224 Error message
E_WORKING_MODE IWBENTRY_S-WRK_MODE C 4

Parameter Reference Length Optional Text
CONTEXT_VALUES SDOKPROPTY 89 X
DEFAULT_VALUES SDOKPROPTY 89 X

Functionality
This function generates a pop-up with context dialog for given area orInfo-object class.
The appearance of this screen depends on combination of parameters:'DISPLAY_EXTENSION', 'DISPLAY_COUNTRY', 'DISPLAY_EXTENSION_BUTTON','DISPLAY_COUNTRY_BUTTON', 'WORKING_MODE' as well as parameter'ADD_SYSTEM_CONTEX_AS_DEFAULT' and table 'DEFAULT_VALUES'.
For receiving the context the function 'IO_D_CONTEXT_FOR_CLASS' iscalled locally or through the RFC call, the destination system isdefined by function'IW_INT_INIT_CONTEXT_AND_DEST'

Notes
If 'DISPLAY_EXTENSION' = 'X' and 'DISPLAY_EXTENSION_BUTTON' = 'X', youcan work in both standard and extension context.
If 'DISPLAY_EXTENSION_BUTTON' <> 'X', then you can work in standard orextension context.
The same for parameters 'DISPLAY_COUNTRY' and 'DISPLAY_COUNTRY_BUTTON'.The parameter'WORKING_MODE' can have value ' DOCU' (Processing) and'TRAN' (Translation). If it has value 'TRAN', then the button fortranslation and fields for source - target languages appear.
The returned parameter 'action' is used to show system, that a user doesnot want to continue (value 'CANC').
To see some predefined values on the pop-up, the table 'DEFAULT_VALUES'(context) should be fullfield. If it empty, the parameter'ADD_SYSTEM_CONTEX_AS_DEFAULT' can be set in 'X' to receive the sameresult.

Description
INCLUDE ACTION OBJECT DOKU ID TX

Description
INCLUDE ERROR_MSG OBJECT DOKU ID TX