There are three commonly used ABAP prompt messages
1 Function call call function ' POPUP_TO_CONFIRM '
Effect
Implementation
The DATA : g_string1 ( 20 is ) the TYPE C .
The DATA : str1 ( 20 is ) the TYPE C of VALUE 'Are you sure to delete the data' .
The DATA : str2 ( 20 is ) type C of VALUE 'Shi' .
The DATA : Str3 the TYPE C of VALUE '.' .
** *A pop-up window asks whether to perform the delete operation
CONCATENATE STR1 STR2 INTO g_string1 SEPARATED BY str3 . "Prompt message
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
text_question = g_string1
IMPORTING
answer = g_return.
g_return as the return value is 1, 2 A corresponding to the three buttons on the pop-up window
2 Application of prompt information in the lower left corner
message'The delete operation has been confirmed! 'type'S'
The effect is as follows
3, There is no pop-up prompt with whether to cancel the option
message I001(00). "Need to customize here
Thank you! Welcome to correct me and reprint and indicate the source