Application Development 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: 

issue with error mess type e

Former Member
0 Kudos
1,003

hi all,

I am having a problem

with type error e.

I have a screen where i enter the id and press display to display line items

if i id doesn't exist then i am using message type type e

this works fine for first time.

my case when iam entering the id which exists in my table it displays the line items .now iam giving wrong id it gives me an error message but the line items of

previous id are displayed.

since iam using message type e so the control is not goingto PBO

any suggestions on this.

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos
333

Hi,

If you want still want to display line items even though the id is wrong..Use Success message so that there will be no data for line items and it will be blank..

If you want the error message..Then the old line items will be displayed..You cannot avoid it..

Thanks,

Naren

9 REPLIES 9

Former Member
0 Kudos
333

Use Chain and Endchain to validate in PAI.

Former Member
0 Kudos
334

Hi,

If you want still want to display line items even though the id is wrong..Use Success message so that there will be no data for line items and it will be blank..

If you want the error message..Then the old line items will be displayed..You cannot avoid it..

Thanks,

Naren

0 Kudos
333

hi,

iam not sure about this is.

if the message type is E then the control stops at that point and it doesnot goes to pbo.

THE CONTROL WILL EXIT OUT AT THE POINT OF MESSAGE TYPE E

THANKS

VENKI

0 Kudos
333

hi,

IS THIS RIGHT WHAT I HAVE I HAVE SAID IN MY PREVIOUS POST .

I JUST WANT TO MAKE SURE.

Thanks

venki

0 Kudos
333

hi,

Iam still having that problem.

can anyone suggest me a solution to this.

Thanks

Deepthi

0 Kudos
333

So clear out the line items when an action is done in the PAI.

Regards,

Rich Heilman

0 Kudos
333

Hi Rich,

The problem is that when you encounter the message type e in pai the control will not go to pbo,even when you clear the internaltable since it doesnot goes to pbo ,it holds the values of previous screen.

I think the solution is USE ERROR TYPE I OR S

Thanks

VENKI

Former Member
0 Kudos
333

Hi Deepthi,

As I mentioned in my earlier post..Use success or information message to continue processing and since there is no data for the line items..The table will be blank...

Thanks,

Naren

0 Kudos
333

Hi Guys,

Thanks for your replies but i still there should be some way out for this.

Thanks

deepthi