Ansicht
Dokumentation

POPUP_TO_CONFIRM_WITH_MESSAGE - Do not use! Please use POPUP_TO_CONFIRM.

POPUP_TO_CONFIRM_WITH_MESSAGE - Do not use! Please use POPUP_TO_CONFIRM.

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   TXBHW - Original Tax Base Amount in Local Currency  
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.

Functionality

The function module provides a dialog box with a diagnostic message and the response alternatives "Yes" and "No" (one is preselected), where the end user must confirm a processing step.

TITEL is displayed in the title bar, DIAGNOSETEXT1-3 in the second to fourth lines, TEXTLINE1 and TEXTLINE2 in the sixth or seventh line of the dialog box. The title is displayed centered and must not be longer than 70 characters. Lines that are longer than 70 characters are truncated.

To make the variable text translatable (see example):

  • Use consecutively numbered text symbols so that the translator can recognize consecutive texts.
  • Do not reuse phrases, recreate them in the text pool.
  • State the maximum allowed length, 70 characters per line, in the text pool.
  • You can also indicate the allowed length by a double semicolon (see example).
  • It is even better to identify consecutive phrases for the translator (see example).
Examples
  • Dialog box "Confirm an action without loosing data"
  • Example messages and questions
    "There is no planning alternative for the entered selection criteria"
    "Do you want to create a new planning alternative?"

  • Dialog box "Confirm an action with data loss"
  • Example messages and questions
    "The cost center has no lock flags"
    "Do you want to delete the cost center anyway?"

Example call:

DATA: ANSWER(1) TYPE C.

EXPORTING
TITEL = 'make selection ;;'(B01)
DIAGNOSETEXT1 = 'there is no planning ;;->B03'(B02)
DIAGNOSETEXT2 = 'alternative for the specified ;;->B04'(B03)
DIAGNOSETEXT3 = 'selection criteria. ;;'(B04)
TEXTLINE1 = 'Do you want to create a ;;->B06'(B05)
TEXTLINE2 = 'new planning alternative? ;;'(B06)
IMPORTING ANSWER = ANSWER.





Parameters

ANSWER
CANCEL_DISPLAY
DEFAULTOPTION
DIAGNOSETEXT1
DIAGNOSETEXT2
DIAGNOSETEXT3
START_COLUMN
START_ROW
TEXTLINE1
TEXTLINE2
TITEL

Exceptions

Function Group

SPO1

BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3742 Date: 20240523 Time: 133526     sap01-206 ( 37 ms )