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: 

Event in cluster view

Former Member
0 Kudos

Hi Experts,

I've defined a cluster view for 1 header table and 3 dependant tables.

Some fields from the header table are obligatory, so I am checking it in a form routine.

IF v_sdchgfta-fieldtype IS INITIAL.

MESSAGE e001(mc_sdfta).

ENDIF.

I've created an event on the header view : 05 (creating a new entry) + "F_VALIDATE_FIELDS" (form routine).

The problem is, when I test the cluster view, and one of those fields is empty, the error message is displayed but the rest of the lines are shown in display mode.

Do you know how must I do it so that I can enter the empty fields when I check it?

I should check the fields are not empty if I change the line too (not only when I add a line).

Please help me out in this.

Thanks in Advance,

Regards,

Liliana.

1 REPLY 1

former_member235056
Active Contributor
0 Kudos

If it is not necessary escape it and if its necessary try an put an exception for try-catch statement