09-05-2013 11:06 AM
Hi,
Whenever i entered PO for generating GRN,I will enter Barcode value for a particular material which is existing in PO,the article data is coming.Now i will enter barcode value of a material which is not existing in PO it will display the blank data .Now i want to do validation on Barcode value for a material wich is not existing in PO shows 'Entered Barcode value of a material is not exist in PO'.Please help me.
Thanks
09-05-2013 11:49 AM
Hi Sai,
Whether you enter data manually or by bar code it is input only for SAP.
There is not static event for data changed unless PAI is executed... that will happen only once the use presses any key on the keyboard.
On PAI you will be able to validate it.
Else.
The control in which you are entering is OO - ALV the before the user leaves that field it can be validated.
Regards
09-10-2013 4:48 AM
Hi Sai,
There will be a BAdI in background that helps you to validate. Use cl_exit_handler for finding the BAdI and try to extend it, write the validation code there.
Regards,
Nivedita