Ansicht
Dokumentation

POPUP_TO_CONFIRM_LOSS_OF_DATA - Do not use! Please use POPUP_TO_CONFIRM.

POPUP_TO_CONFIRM_LOSS_OF_DATA - Do not use! Please use POPUP_TO_CONFIRM.

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This function module is obsolete.

Use the function module POPUP_TO_CONFIRM instead. Only then can parameters be included in such a way that is suitable for translation.

Functions

The function module sends a dialog box in which the user has to decide whether he wants to exit processing risking a loss of data or whether he wants to return to the application.

It places the predefined diagnosis text "Data will be lost", the variable text and the response alternatives "Yes" and "No" (default is No) into the dialog box. The dialog box appears on the screen with a fixed size.

In order to make the variable text translatable note the following points (also see example):

  • Use sequentially numbered text symbols, so that the translator can recognize which texts belong together.
  • Do not use sentence parts again in other places. Create them anew in the text pool each time.
  • When adjusting the text pool you must specify the maximum permitted text length. There is a length of 70 characters per line.
  • You can also indicate the permitted length with a double semicolon (see example).
  • It is preferable when you indicate corresponding sentence parts for the translator (see example)

Examples

Example call:

DATA: ANTWORT(1) TYPE C.

CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA'
EXPORTING
TITEL = 'end G/L document' ;;'(D01)
TEXTLINE1 = 'Do you want to quit' ;;->D03'(D02)
TEXTLINE2 = 'document entry?' ;;'(D03)
IMPORTING ANSWER = ANTWORT.





Parameters

ANSWER
DEFAULTOPTION
START_COLUMN
START_ROW
TEXTLINE1
TEXTLINE2
TITEL

Exceptions

Function Group

SPO1

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

Length: 2602 Date: 20240523 Time: 122903     sap01-206 ( 48 ms )