03-06-2006 5:50 AM
Hi
I have a Requirement to check the field value change of sold-to-party name 1 to name4 in user exit MV45AFZZ in VA02 Trnas. But in vbpa we have only name1..? but name2 to name4 are not in this VBPA table . where will it be stored ( in any other table) during sales order change..?
ThankS .
Message was edited by: Deadlock1
03-06-2006 12:00 PM
Hello,
I am not sure which exit u are using but u can try USEREXIT_SAVE_DOCUMENT_PREPARE. Within this try accessing internal table XVBADR which holds both old and new values for NAME1-NAME4.
Hope this helps.
Abhijit
03-06-2006 5:58 AM
Hi,
these fields are available in ADRC table.
Hope this hepls..
Regards,
Shashank
03-06-2006 6:11 AM
Get the Sold to party from VBAP and then find out Address
no from KNA1 and get name2 to name4 from table ADRC.
Hope this will work.
regards
vinod
03-06-2006 6:47 AM
Hi
Actually my problem is , If sales order partner name2 to name4 and postal code are changed in VA02 i wwant compare the old values and new values and if there is any change i want to do some other processing. Now my problem is in yvbpa we have name1 and address number , using addrnumber i can get the name 2 to name4 values, but the changed values are in xvbap where as it points to the same address number ( new values are not written to table yet). so where can i get those changed values ..?
03-06-2006 7:10 AM
Hi,
Are you changing the address data e.g. postal code
by going to "Display Sold-to-Party" (F6), on the toolbar?
If yes, then you need to find out the user exits in VD01/VD02.
You can export the old values to memory from MV45AFZZ.
Then, import these values in user exit of VD01/VD02
and compare.
Hope this will help..
Regards,
Shashank
03-06-2006 7:44 AM
Hi
Im changing the Address data for this partner in the sales order itself.If i change here it will not be changed in the main customer.
In VA02 , i will goto partners tab, double click on the sold to party then it displays the "Doc addr for the Sold to party" screen , where in i can change the names and postal codes . Its only specific for this Documents.
03-06-2006 12:00 PM
Hello,
I am not sure which exit u are using but u can try USEREXIT_SAVE_DOCUMENT_PREPARE. Within this try accessing internal table XVBADR which holds both old and new values for NAME1-NAME4.
Hope this helps.
Abhijit
03-07-2006 2:43 AM
Hi Abhijit,
Thanks a Lot for your Help.
Im looking for these XVBADR and YVBADR tableS only.
Thanks.
Regards