Not setting selected value in column of table control
I have MATNR field in table control.
In PAI code is as follow.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
LOOP WITH CONTROL TC_FORMV.
FIELD /SISLEMCU/CNVADTL-MATNR SELECT *
WHERE WERKS = TXT_PLANT
AND CHARG =
When i take the help in MATNR column the above query works fine but when i select the entry from help MATNR is not gets set in column in table control.
Plz help me regarding this.
Thankx in adv.
When you select a value, PBO as well as PAI gets triggered. When PAI gets triggered, your query gets executed which gives sy-subrc <> 0 and due to this it might not filling the data selected..