Ansicht
Dokumentation

CNV_MBT_POPUP_CONFIRM_WITH_MSG - Dialog box for confirming processing step: With diagnosis text

CNV_MBT_POPUP_CONFIRM_WITH_MSG - Dialog box for confirming processing step: With diagnosis text

PERFORM Short Reference   PERFORM Short Reference  
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.

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
DIAGNOSETEXT4
I_MESSAGE
I_MSGCLASS
I_MSGVAR1
I_MSGVAR2
I_MSGVAR3
I_MSGVAR4
START_COLUMN
START_ROW
TEXTLINE1
TEXTLINE2
TITEL

Exceptions

Function Group

CNV_MBT_USR_POPUP

General Material Data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3910 Date: 20240523 Time: 093742     sap01-206 ( 43 ms )