‎2009 May 22 4:10 PM
Hello,
When selecting a line or multiple lines on a screen made by me(using a Table Control), I get Invalid field format (screen error). Debugging the code it sends the message when looping the internal table on PAI to check if there were values changed. Is there a reason why this error appears on this?
loop at it_values.
chain.
field pvalues-BEGDA.
( ... )
module CHANGE_QUEUE.
endchain.
endloop.
Thanks.
‎2009 May 26 5:53 AM
It might be an issue with other fields that you have declared and might be triggered when you have selected it. Check for all the data types that you have declared and given in the program. That might solve. But need more infomation to crack this.
‎2009 May 26 6:36 AM
Hi Ricardo,
Just Check your Table Control Fields Whether all the Fields are in the Correct Format Say for Example,
If some date field are there just check whether it is in DATS format or CHAR format,it may be interchanged thats the reason you are getting this error.
‎2009 May 26 6:47 AM
No need to loop to check whether data is changed after PBO, just check System Field SY-DATAR, it will be set to 'X' if any field was changed.
So the following code is enough;
IF SY-DATAR EQ 'X'.
PERFORM SAVE_DATA.
ENDIF.Regards
Karthik D
‎2011 Mar 21 10:08 AM
I had same problem and i solved it. This is reason:
In window contains attributes of table control, has a field named "w/ Selcolumn". When this attribute is not checked, your table control is not have select row function.
My TC checked this attribute but i was wrong field of internal table for fill data of selected event.
I set: itab-MARK.
with declare: MARK XMARK in my itab.
My answer so late for question but I hope this is useful.