cancel
Showing results for 
Search instead for 
Did you mean: 

Custom error message for Complex tables

former_member199619
Participant
0 Kudos

We are using SAP WM 6.1. Is it possible to display a custom error message on Agentry client for a complex table. We want to display this custom message when the number of records in a complex table exceeds some limit.

Regards,

Shyam

Accepted Solutions (0)

Answers (1)

Answers (1)

mark_pe
Active Contributor
0 Kudos

Shyam,

During transmit (Write it out in Java to the log file) but if you just want it in the Agentry client you can try a few ways:

1) Create a screen (Detail screen with some labels) to be only enabled when you hit a certain number of records and to display that screen. It gets disabled (unseen) when you do not hit a certain mark.

or

2) If you are dealing with a transaction with screen, you may have a validation rule that will notify the user (warning) that they have a complex table that is X big.

or others.

But the screen is the easiest one as you just create an enable rule to turn on the screen in one of your favorite screenset.

Hope this helps gives some ideas.  Some other consultants may do it differently.

Regards,

Mark Pe
SAP Platinum Support Engineer

former_member199619
Participant
0 Kudos

Thanks for the reply Mark.

We have coded the ABAP class to throw an error message when the complex table records reaches some limit. We can see that message in logs but not on Transmit screen. We want to display that message in Transmit dialogue window.

-Shyam

mark_pe
Active Contributor
0 Kudos

Shyam,

May need to throw an error in the Java level to see it in the transmit screen. But this may stop the transmit.  You may need to customize your Java code (wherein you will compile it and add it under your Java Backend classPath).

Regards,

Mark Pe
SAP Platinum Support Engineer