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

issue with error mess type e

Former Member
0 Likes
2,672

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
Read only

Former Member
0 Likes
2,002

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
Read only

Former Member
0 Likes
2,002

Use Chain and Endchain to validate in PAI.

Read only

Former Member
0 Likes
2,003

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

Read only

0 Likes
2,002

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

Read only

0 Likes
2,002

hi,

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

I JUST WANT TO MAKE SURE.

Thanks

venki

Read only

0 Likes
2,002

hi,

Iam still having that problem.

can anyone suggest me a solution to this.

Thanks

Deepthi

Read only

0 Likes
2,002

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

Regards,

Rich Heilman

Read only

0 Likes
2,002

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

Read only

Former Member
0 Likes
2,002

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

Read only

0 Likes
2,002

Hi Guys,

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

Thanks

deepthi