‎2007 Dec 10 6:16 AM
A table control is created in screen painter and an internal table was used to store particular data in ABAP program.
Information were entered into the table through ABAP program(insert value into internal table). The input check generated by data dictionary do not work due to data not inserted from screen field. How can I solved the problem?
Do I need to manually program the input check using module as following:
FIELD f Module m.But how can I make the whole row ready for input and with cursor on particular column just like what was done with normal data dictionary input check?
Message class 00 number 058 with text
Entry & & & does not exist in &4 - check your entrycan be used for compute the message.
‎2007 Dec 10 8:47 AM
Hi Hong,
As i understood ..we have a table control where data is entered in the background(not by direct input from the user but from an ABAP program) but we need validation in the foreground for the table control...
in this case,for the PAI loop we need to write the code..and in the place where we did the validation FIELD f Module m....try giving an error message , in such a case..only that particular line will be editable...for the cursor to be placed in a particular location we can give a set cursor idenfying the vertical and horizontal co-ordinates of the field in the table control using the set cursor ABAP statement......
Reward if helpful
Regards
Byju
‎2007 Dec 10 8:52 AM
‎2007 Dec 14 4:28 AM
What are those conditions that will trigger the input check for my situation?
I can only do that for those fields with check table.
Here are what I had done:
<b>Flow Logic</b>
...
field EBAN-EKGRP MODULE CHECK_EKGRP. " Purchasing Group
...
<b>Module code</b>
MODULE CHECK_EKGRP INPUT.
TABLES: T024.
CHECK: EBAN-EKGRP IS NOT INITIAL.
SELECT SINGLE * FROM T024 WHERE EKGRP = EBAN-EKGRP.
IF SY-SUBRC NE 0.
MESSAGE E058(00) WITH EBAN-EKGRP '' '' 'T024'.
ENDIF.
ENDMODULE. " CHECK_EKGRP INPUT
However, this is not applicable for those without check table.
Please help. Points will be awarded for helpful answers.