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

Skipping domain errors in editable ALV

Former Member
0 Likes
925

Hi Gurus,

Have a concern wrt an editable ALV.

I have an editable ALV in which a field's(Chain ID is the name of the field) domain has

fixed intervals. The fixed interval is defined as:

T000000000 TZZZZZZZZZ

S000000000 SZZZZZZZZZ

Which means that the values for this field can start only with T or S. In the ALV, for this

field I may have blank values getting displayed. If I enter a valid value in the ALV then

its ok but when I delete the same value the ALV protocol shows an error 'Enter a valid

value'. The system is interpreting the value to be 'entered' in the ALV as 'space' as its

not valid as per the fixed intervals. BUt this actually should not happen because I am just

undoing my change. Can anyone suggest a way so that this validation is skipped and the ALV thus can accept initial value?

Thanks and Regards,

Sravan.

Edited by: sravan sriram on May 19, 2010 6:54 AM

Hi Gurus,

Have a concern wrt an editable ALV.

I have an editable ALV in which a field's(Chain ID is the name of the field) domain has

fixed intervals. The fixed interval is defined as:

T000000000 TZZZZZZZZZ

S000000000 SZZZZZZZZZ

Which means that the values for this field can start only with T or S. In the ALV, for this

field I may have blank values getting displayed. If I enter a valid value in the ALV then

its ok but when I delete the same value the ALV protocol shows an error 'Enter a valid

value'. The system is interpreting the value to be 'entered' in the ALV as 'space' as its

not valid as per the fixed intervals. BUt this actually should not happen because I am just

undoing my change. Can anyone suggest a way so that this validation is skipped and the ALV thus can accept initial value?

Thanks and Regards,

Sravan.

Edited by: sravan sriram on May 19, 2010 6:54 AM

2 REPLIES 2
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
661

At check_changed_data , you can check if the the value for this cell was initial and at the time of save/enter also its initial then do not process chain block.

Read only

0 Likes
661

Skipping processing of the chain block will not stop the message from coming as the message is raised from the domain level. If you mean that among other things I need to delete that message from the protocol then in that case the changed value strangely does not get deleted. It comes back to the value which has been put before deleting it...