Ansicht
Dokumentation

Problems when ENTER key is assigned <br />Tip-No.: 2413 ( INFO2413 )

Problems when ENTER key is assigned
Tip-No.: 2413 ( INFO2413 )

rdisp/max_wprun_time - Maximum work process run time   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Problems when ENTER key is assigned
Tip-No.: 2413

Symptom

The transaction does not behave as desired in batch input. Errors
occur in dynpros where the ENTER key is assigned.

Cause

An application function (e.g. '=UPD') is tranmitted from the batch
input program in the OK code. The ENTER key has been assigned a
function in this dynpro, however.
After the ENTER key is pressed, the transmitted application function
is overwritten with the ENTER key assignment.
If the batch input session is processed in the background, the pressing
if the ENTER key is simulated.
The system behavior is therefore independent of the processing mode
of the batch input session and identical to normal online input.

The function to be executed is determined according to the following
sequence:

1. OK code input if it is a system command e.g. '/Nxxx'
2. Pushbutton if pressed
3. ENTER key if this has been assigned a function
4. OK code input for the application e.g. '=upd'

Solution

The batch input programs should transmit the pushbutton, not the
application function, to select the function to be executed.
This means you act independent of the ENTER key assignment, and,
in addition, the user sees which function is selected.






CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1486 Date: 20240425 Time: 040542     sap01-206 ( 15 ms )