cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Personas Problem with Error Handling

Former Member
0 Kudos

I've been trying to catch an error but for some reason it is not working. These are the steps to get the error:

  • Go to IW51
  • Enter notification type
  • If the user does not have a certain parameter set, it will display an error on the status bar.

These are the script steps I'm following and it is not working:

  • Enter Value IW51
  • Enter Value notification type
  • Press Enter
  • Check if Status Bar is not empty
  • Refresh Screen
  • Copy Value from Status Bar to variable error
  • Push Exit
  • Paste Value to Label on the main screen.

For some reason, it stops in transaction IW51 and shows the error normally.

While I was doing the script, I noticed that if you click the error on the status bar, a pop up will display with information of the error. I tried to incorporate the popup to the script but it didn't do anything different. It is still stopping in IW51 to show me the error. What can I do?

Accepted Solutions (1)

Accepted Solutions (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Between pressing Enter and checking the status bar, you need a Refresh Screen step. So move the Refresh Screen there.

Former Member
0 Kudos

Thanks! That worked perfectly.

Answers (0)