Ansicht
Dokumentation

POPUP_TO_INFORM - Dialog Box to Display a Message

POPUP_TO_INFORM - Dialog Box to Display a Message

General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book
Functions

The function module returns a dialog box with a diagnosis message and the response options "Yes" and "No" (one of these is preallocated). The user must confirm a processing step.

The dialog box is presented on the screen in a fixed size.

TITLE is displayed in the title bar, DIAGNOSISTEXT1-3 in the second to fourth line, TEXTLINE1 and TEXTLINE2 are displayed in the sixth or seventh line of the dialog box. The title is centered and must not be longer than 35 characters. Lines of text that are longer than 35 characters are cut off.

Examples
  • Dialog box "Confirm an action without data loss"
  • Examples of messages and questions
    "No plan alternative exists for the specified selection criteria"
    "Do you want to create a new plan alternative?"

  • Dialog box "Confirm an action with data loss"
  • Examples of messages and questions
    "The cost center does not contain any lock indicators"
    "Do you still want to delete the cost center?"

Sample call:

DATA: ANSWER(1) TYPE C.

CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
EXPORTING TITLE = 'Make selection'
DIAGNOSISTEXT1 = 'No plan alternative'
DIAGNOSISTEXT2 = 'exists for the specified'
DIAGNOSISTEXT3 = 'selection criteria.'
TEXTLINE1 = 'Do you want to create a '
TEXTLINE2 = 'new plan alternative?'
IMPORTING ANSWER = ANSWER.





Parameters

TITEL
TXT1
TXT2
TXT3
TXT4

Exceptions

Function Group

STMO

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2053 Date: 20240523 Time: 125426     sap01-206 ( 26 ms )