‎2013 Dec 13 9:59 AM
I have created a maintenance view using two tables as join and created a table maintenance for the same. However when i try entering data into the view, i get field validation error.
Entry 'A xxxx' does not exist in xxx check entry(RSTHIERNODE).
i have picked value from the search help (so value is actually correct), However i realized there is a OBJVERS field value 'A' prefixed to the value 'A xxxx' in the error message.
Thanks & Regards,
Tashi Norbu
‎2013 Dec 13 10:32 AM
HI Tashi,
I think A is just an alias for the table.
and coming to field validation, does this value you entered stisfies the both tables ? I think we need to check this.
Please publish your opinion on the same.
Regards,
Bhaskar
‎2013 Dec 13 10:52 AM
Hi Bhaskar,
The 'A' is the OBJVRS field from the secondary table.
When i created a maintenance view, The following condition was automatically created.
RSTHIERNODE OBJVERS EQ 'A' AND
I have a field this condition is some how affecting the value.
Please see the error message.
This 'A' value on top is extra .. i dint enter this value.
regards,
Tashi
‎2013 Dec 13 10:56 AM
Tashi,
Can please mention the full condition which is automatically created ?
Regards,
Bhaskar
‎2013 Dec 13 11:26 AM
Given is the full condition in the maintenance view:
RSTHIERNODE OBJVERS EQ 'A' AND
thanks,
Tashi
‎2013 Dec 13 12:13 PM
Hi Tashi,
I am clue less with this.
But you can get the message class and number by clicking on the message.
after giving the value, give /h in the command bar and press enter for debugging mode.
in the debugging mode put a break point at that message and press F8.
system will stops the exection at that point.
so then we can analyse from where this is being concatenated.
Regards,
Bhaskar
‎2013 Dec 13 1:37 PM
Hi Bhaskar,
I got lucky .. solved it..
The issue was caused becoz of a conversion exit present for the domain in the field of the check table.
In my maintenance view, The TMG created maintenance screen with conversion exit attached to it, So it was causing a mismatch in the check table.
I remvoed the conversion exit in the TMG generated screen, and now it match. Hence i could maintain the data in the maintenance view.
Thanks Bhaskar,
Regards,
Tashi
‎2013 Dec 16 6:41 AM
Hey Tashi,
Thats great,
we should always make use of debugger in ABAP.
Please mark this question as answered.
Thanks,
bhaskar