2015 Jul 14 5:33 PM
Hi All,
I'm currently working on SAP system with basis release 700. I have a requirement where I need to validate address fields of a customer in transactions VA01/VA02.
Since the screen is SAP standard delivered, could any one please suggest me a BAdI or a customer/user exit which gets triggered when a partner function is added manually on partner screen?
2015 Jul 14 7:12 PM
Hi Prashanti,
could you tell me please how can you validate the adress?
so in VA01/02, you need only to enter the customer number, where this number has the adress, telephone, email etc. so if you want to check this adress, so have you another table you want to check or how?
could you please explain your issue?
Regards
Ibrahim
2015 Jul 14 10:13 PM
Check BADI: ADDRESS_CHECK. But, this BADI is global and not specific to VA01/02.
Thanks,
Juwin
2015 Jul 15 5:49 AM
2015 Jul 15 11:02 AM
Here are the steps which I'm following:
1. Open an existing document or create a document using VA01/Va02
2. Go to header and click on partners tab
3. Enter a partner.
I want an exit which gets called when I enter partner.
MV45AFZZ doesn't serve my purpose.
Also ADDRESS_CHECK gets called in address sub screen and not when we are on partners tab.
Currently I'm exploring RV_PARTNER_EXIT. Please let know if anyone has already used this exit or has any idea about it.
2015 Jul 15 11:14 AM
When I enter Partner and press enter both USEREXIT_MOVE_FIELD_TO_VBAK in include MV45AFZZ and USEREXIT_CHECK_VBAK in include MV45AFZB get triggered with XVBPA correctly populated.
Not sure why you can't use one of them.
2015 Jul 15 12:12 PM
What exactly are you entering in partner screen? Partner number or address?
If partner number, shouldn't the address of the partner be already validated, when it was initially created?
Thanks
2015 Jul 15 12:44 PM
Hi,
Try
Implicit Enhancements.
Include LV09CF90
FORM check_and_search_partner USING value(piv_role) TYPE parvw_4
prv_partner TYPE partner_vb
value(pis_sdorgdata) type sdorgdata.
Check with Break point.
Hope it helpful,
Regards,
venkat.