Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dialog OO - validation check

Former Member
0 Likes
673

HI All,

My dialog OO contains 3 tabstrips.

I have validations checking for the fields at the subscreen of each tabstrips (in PBO).

When validation fails, i coded the following:

message e000(zz) with 'Error

I am expecting the error msg to display at the status bar. But now it is showing a pop up screen with an Exit button. When Exit, I am back to SAP Easy Access (main screen)

Please comment how I can launch an error msg at the status bar. Thanks

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
644

In what event are you triggering this error message. Or I assume that you are triggering within a check module in PAI screen flow?

Regards,

Rich Heilman

Message was edited by:

Rich Heilman

HI All,

My dialog OO contains 3 tabstrips.

I have validations checking for the fields at the subscreen of each tabstrips (in PBO).

When validation fails, i coded the following:

message e000(zz) with 'Error

I am expecting the error msg to display at the status bar. But now it is showing a pop up screen with an Exit button. When Exit, I am back to SAP Easy Access (main screen)

Please comment how I can launch an error msg at the status bar. Thanks

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
645

In what event are you triggering this error message. Or I assume that you are triggering within a check module in PAI screen flow?

Regards,

Rich Heilman

Message was edited by:

Rich Heilman

Read only

0 Likes
644

Hi Rich,

Thanks for pointing it out. I mistakenly put the checking on PBO, for now i have already put back to PAI.

However im facing another problem. That's, in my tabstrips(display mode) my part of checking(PAI) will be triggered whenever i click a button on main screen. May i know how could i just make the checking available when my tab is in CHANGE mode?

Your comment is highly appreciated.

Thanks in advance.

Read only

0 Likes
644

You must set a flag when changing modes, then simply check this flag when performing the checks in the modules.

module .....

check flag = 'Change'.


endmodule.

Regards,

Rich HEilman