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: 

User exit for PO validation in VF02/VF01

former_member321825
Active Participant
0 Kudos

Hi ,

I need to add validation for Vf02 t-code, fields purchase order no and po date.

If the user inputs incorrect po no and date or fields are empty , there should be validation check. Kindly suggest .

1 ACCEPTED SOLUTION

former_member321825
Active Participant
0 Kudos

In trxn VF02,  PO details are coming from Sales order(VA01).

Hence  in order make PO item field mandatory.....We have  coded in  User Exit MV45AZZ..SAVE_DOCUMENT_PREPARE

3 REPLIES 3

Former Member
0 Kudos

Hi

Usually the bill data are from prevoius sales documents, in particular from Sales Order and the should be unchangeable, so I don't know if it's possible to do a validation by user-exit.

but it can try to check te data in te user-exit of FI interface , try to see fm EXIT_SAPLV60B_*, but they are triggered at saving

Max

pavanm592
Contributor
0 Kudos

Hi Rachel,

Did you try for Field Exit for those two fields.

Field Exits



Regards,

Pavan

former_member321825
Active Participant
0 Kudos

In trxn VF02,  PO details are coming from Sales order(VA01).

Hence  in order make PO item field mandatory.....We have  coded in  User Exit MV45AZZ..SAVE_DOCUMENT_PREPARE