cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the message displayed as a link

0 Kudos

Hi Experts,

How do i display my error message as a link.

As of now i am only able to display as a normal text.

My requirement is i am having a empty table and the user will enter some new rows.

and click on Add button this way he will fill the Ztable.

The validation needs to be done to check if the new entries already exists in the Ztable.

If the user enters 3 rows and the data in the 3rd row already exist, my cursor should be placed

at 3rd row which will help the user in correcting the exact row.

Regards,

Chitrasen

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

i used below method in my web dynpro views , that message can linked input field .

REPORT_ATTRIBUTE_T100_MESSAGE( ) of IF_WD_MESSAGE_MANAGER ,

in here must be bind view input field to view node elements, but i don't tried in table area .

saket_abhyankar
Active Participant
0 Kudos

How many error messages will you display? e.g. If user enters 3 rows in the table. Out of these, 2 records (1&3) already exist in the z table. Then how many error messages will be there?

If you are displaying only 1 error message for all errors then there will be confusion over which record to be navigated to?

Otherwise you will need to display same error message for all erroneous records

There is alternative, you can display only one error message at the top and highlight all erroneous records with different color.

This will also help user to correct exact row.

Regards,

Saket.

0 Kudos

Hi Saket,

I agree with your proposed solution. There will be only one error message

and all the error rows are highlighted.

Can you please help with the sample code for this.

Regards,

Chitrasen