Ansicht
Dokumentation

POPUP_GET_VALUES_USER_CHECKED - Dialog box for requesting values, check by user exit

POPUP_GET_VALUES_USER_CHECKED - Dialog box for requesting values, check by user exit

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book
Preliminary comment

This function module has been released.

The documentation is being revised so that it conforms to the requirements for released function modules.

Function

This function module sends a dialog box and includes the fields specified in the FIELDS interface table. The fields specified in the FIELDS table must be defined in the ABAP Dictionary.

If no text is specified for a field, the ABAP Dictionary key word is displayed. The key words and fields can be displayed normally or highlighted. You must also define whether the fields are ready for input or not, and whether they are mandatory or not. Defaults can be defined for the fields.

The user input is copied and can be sent to an external subroutine (user exit), which can be specified in the interface of this function module. If you do not specify an external subroutine, the data is returned without being checked.

If you specify an external subroutine, then its interface must consist of the table FIELDS and an error structure. The external subroutine analyzes the data, processes it as required, and, if an error occurs, fills the error structure accordingly. The function module analyzes the error structure and either stops the processing or sends an error message and lets the user enter new data.

You can use this function module to do the following:

  • Query values for which a check against the database is not enough.
  • Query values to copy objects.
  • Support prototyping.
Examples

For examples, see the program RSSPO430.

Notes
  • You can define processing of your choice in the user exits. For example, you can display the dialog box for this function group again.
  • Conversion exits are handled normally.
  • References from CURR and QUAN fields are handled if the reference fields are also specified. The display of the reference fields can be suppressed.
  • If a currency field (type CURR) is specified, then the field assigned in the ABAP Dictionary for the currency key (type CUKY) must also be specified. The display of the currency key field can be suppressed (if filled initially).
  • Dates are checked according to the definition in the user master data.
  • Times must be entered using the '__:__:__' template.
  • F1 help and F4 help are supported.
  • Each field can be specified once only. Repeated fields or field groups are not supported. Table names preceded by an asterisk are an exception to this.
  • Only fields wih the ABAP type C, N, T, D, P, or Integer are permitted.
  • No updates are performed.
  • A maximum of ten fields can be displayed in a dialog box. If there are more than ten fields, a dialog box with a scroll bar is sent. You can use the POPUP_GET_VALUES_SET_MAX_FIELD function module to change the maximum number of fields in a dialog box.
  • If you use this function module, remember that ABAP Dictionary tables are sent implicitly using variables. This means that this table cannot determine a cross-reference across tables used in programs. If possible, the tables should be declared under TABLES in the calling program.
  • The table fields passed in the table FIELDS can have a maximum length of 132 characters. If the values are longer, they are truncated to 132 characters.




Parameters

FIELDS
FORMNAME
NO_CHECK_FOR_FIXED_VALUES
POPUP_TITLE
PROGRAMNAME
RETURNCODE
START_COLUMN
START_ROW

Exceptions

ERROR_IN_FIELDS

Function Group

SPO4

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4978 Date: 20240523 Time: 142409     sap01-206 ( 84 ms )