Question to user SAP ABAP. POPUP_TO_CONFIRM.

During the execution of an ABAP program, it often becomes necessary to clarify additional data from the user. Question to user SAP ABAP user we can with function module POPUP_TO_CONFIRM. For example, interrupt execution or continue depending on the algorithm and other options.

How to ask a SAP ABAP user example POPUP_TO_CONFIRM.

You can use this function module POPUP_TO_CONFIRM for question to user SAP ABAP in different systems, for example SAP ERP or SAP CRM. I create example which show you using POPUP_TO_CONFIRM in ABAP program.

If the POPUP_TO_CONFIRM function module is called as follows, the user will receive the following window as a result:

Depending on the user’s choice, the lv_answer variable will take on the following values:

Example POPUP_TO_CONFIRM in program ABAP

I used this Function Module POPUP_TO_CONFIRM in program ABAP for deleting orders with mistakes in SAP CRM and it was very useful. Example ABAP code for you:

Leave a Reply