您的位置:首页 > 运维架构

POP_UP类型

2009-09-30 15:38 155 查看
Confirmation prompt dialogs - Function group SPO1



POPUP_TO_CONFIRM_STEP


With this function module you create a dialog box in which you ask the user during an action, whether he or she wishes to perform the step. You pass the title and a two-line question. The user must choose Yes, No or Cancel. The possible responses are provided by the function module. In the interface, the response "Yes" is pre-selected, but "No" can also be pre-selected via a parameter. The user response (Yes, No or Cancel) is returned in a parameter.



POPUP_TO_CONFIRM_WITH_MESSAGE


With this function module you create a dialog box in which you inform the user about a specific decision point during an action. You pass a title, a three-line diagnosis text and a two-line question, which he or she must answer with Yes, No or Cancel. The possible responses are provided by the function module. In the interface the response "Yes" is pre-selected, but "No" can also be pre-selected via a parameter. The user response (Yes, No or Cancel) is returned in a parameter.



POPUP_TO_CONFIRM_WITH_VALUE


With this function module you create a dialog box in which you ask the user, during an action, whether he or she wishes to perform a processing step with a particular object. You pass a title, a two-line decision question and the object, which is inserted between the two parts of the question. The user must choose Yes, No or Cancel. The possible responses are provided by the function module. In the interface the response "Yes" is pre-selected, but "No" can also be pre-selected via a parameter. The user response (Yes, No or Cancel) is returned in a parameter.



POPUP_TO_CONFIRM_LOSS_OF_DATA


With this function module you create a dialog box in which you ask the user, during an action, whether he or she wishes to perform a processing step with loss of data. You pass the title and the two-line question. The warning that data are lost and the possible responses are provided by the function module. The user must answer "Yes", "No" or "Cancel". In the interface the response "No" is pre-selected and can not be changed. The user response (Yes, No or Cancel) is returned in a parameter.

Dialogs for choosing from among alternatives - Function group SPO2



POPUP_TO_DECIDE


With this function module you create a dialog box in which you require the user to choose between the two further processing alternatives offered, or to cancel the action. The action, the question and the alternative actions are passed as parameters. In the interface the alternative 1 is pre-selected, but alternative 2 can also be pre-selected via a parameter. The user action (Alternative 1, Alternative 2, or Cancel) is returned in a parameter.



POPUP_TO_DECIDE_WITH_MESSAGE


With this function module you create a dialog box in which you inform the user about a specific decision point via a diagnosis text, during an action. He or she can choose one of two alternative actions offered or cancel the action. The action, the diagnosis text, the question and the alternative actions are passed as parameters. The user action (Alternative 1, Alternative 2, or Cancel) is returned in a parameter.

Dialogs for displaying, inputting and checking data - Function group SPO4

POPUP_GET_VALUES

This function module sends a dialog box for data display and input. The input fields are passed in a structure and must be defined in the Dictionary. You can also specify individual field display attributes and a field text, if the key word from the Dictionary is not to be displayed as field text in the dialog box, in the structure. The standard help functionality (F1, F4) is supported.

POPUP_GET_VALUES_DB_CHECKED

This function module sends a dialog box for data to be input und checked against the database. The input fields are passed in a structure and must be defined in the Dictionary. You can also specify individual field display attributes and a field text in the structure, if the key word from the Dictionary is not to be displayed as field text in the dialog box. A comparison operator for checking the input data in the database is passed. You can specify whether the check is for the existence or absence of an object. A foreign key relationship check is supported. The standard help functionality (F1, F4) is supported. The user action is returned in a parameter.

POPUP_GET_VALUES_USER_CHECKED

This function module sends a dialog box for data to be input and checked in an external sub-routine (user exit). The input fields are passed in a structure and must be defined in the dictionary. You can also specify individual field display attributes and a field text in the structure, if the key word from the Dictionary is not to be displayed as field text in the dialog box. The Data input by the user in the dialog box are passed to the sub-routine specified in the interface for checking. Errors found by the check are entered in an error structure and are evaluated on return from the sub-routine by the function module. The standard help functionality (F1, F4) is supported. The user action (Continue or Cancel) is returned in a parameter.

POPUP_GET_VALUES_USER_HELP

This function module sends a dialog box for data to be input with the possibility of a check in an external sub-routine (user exit) and branching in a user F1 or F4 help. The input fields are passed in a structure and must be defined in the Dictionary. You can also specify individual field display attributes and a field text in the structure, if the key word from the Dictionary is not to be displayed as field text in the dialog box. You can pass the data which are entered by the user in a dialog box to a sub-routine which must be specified in the interface for checking. Errors occurring in the check are stored in an error structure and are analyzed by the function module upon return from the sub-routine. The data, and an error message, if appropriate, are displayed again. The standard help functionality (F1, F4) is supported. User exits for a user F1 or F4 help can also be specified. The user action (Continue or Cancel) is returned in a parameter.

POPUP_GET_VALUES_USER_BUTTONS

This function module is like the previous function module POPUP_GET_VALUES_USER_HELP, with the additional possibility of passing one or two additional pushbuttons and a standard pushbutton, which the user can name.

POPUP_GET_VALUES_SET_MAX_FIELD

With this function module you can specify the maximum number of fields which can be displayed in dialog boxes for this function group (SPO4). The specified value is stored in the function group local memory and applies for the rest of the application. Dialog boxes which display more then this number of fields are displayed with a scroll bar.

Data print dialogs - Function group STRP

TABLE_PRINT_STRUCTURE_KNOWN

You pass data from tables whose structure is known in the program to this function module.

TABLE_PRINT_STRUCTURE_UNKNOWN

You pass data from tables whose structure is not known in the program to this function module. These structure data are fetched independently by the function module.

Text display dialogs - Function group SPO6

POPUP_DISPLAY_TEXT

With this function module you display a text which exists in the system in a dialog box.

POPUP_DISPLAY_TEXT_WITH_PARAMS

With this function module you display a text which exists in the system with parameters in a dialog box. The parameter values are passed in a table. The use of numbered texts is recommended, to make the parameter values translatable. The parameter names must be passed in upper-case letters.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: