cancel
Showing results for 
Search instead for 
Did you mean: 

Disable BAPI Error Popup Message

Former Member
0 Kudos

Does anyone know how to disable to the popup message that occurs in VC when a BAPI return an error message (message of type E)? We want to display a default error message to our users, instead of the cryptic ABAP error messages.

Maximum point awarded to the first correct answer.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Method 1:

1. Drag datastore to your storyboard

2. Right Click datastore and select Configure Element

3. Click + button to Add new field

4. Enter Fieldname=SHOWPOPUP, Type=Boolean, Default=false

5. Click on dataservice that is feeding your message input and drag into the datastore

6. Right Click on this new data mapping line and select Confgure Element

7. Click on fx for the SHOWPOPUP field and set the value to TRUE.

8. Right Click your popup Form and select Configure Element

9. Click + button to Add new field

10. Select PUSHBUTTON control and enter field name OK

11. Double Click the OK fiend to open configuration popup

12. Select ACTION tab and change radio button to CUSTOM ACTION and enter name HIDEPOPUP

13. Click on fx on the VISIBILITY CONDITION of the form and select enter formula

14. enter STORE@SHOWPOPUP as the formula

15. Click on the OUT port of the popup form and drag line into the datastore

16. Right Click on this new data mapping line and select Configure Element

17. Click on fx for the SHOWPOPUP field and set the value to FALSE

18. Select the dropdown list for the EVENT NAME at the top of the Data Mapping and select HIDEPOPUP as the event.

19. Select LAYOUT tab and readjust the position of the form over the top of your output table.

NOTE: you may need to click the BRING TO FRONT icon in lower left with your popup form selected to insure that it is not hidden behind other objects.

Method 2 :

There is another option in System action (PROMPT) where u can pass the message that will prompt sucesss or failure message but you have to trigger it by using pushbutton.

Both the method worked for me sure it will work for u also .

Regards

Abdull Hakkim .K

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

look into the following thread which explains the same process

[;

Regards

Srinivas

Former Member
0 Kudos

Hi,

Try to handle all the possible exceptions in BAPI itself and you can return your user defined message from BAPI in form of a table to the user.

Regards,

Murtuza

Former Member
0 Kudos

We want to use standard BAPIs, not recreate them just to fix this issue. Is there anyway to disable this popup?

Former Member
0 Kudos

Not very sure my friend but whenever BAPI results into an exception/dump it gives a pop-up in FLASH.

Regards,

Murtuza