Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Validations on Barcode (EAN11) field from MEAN table

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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