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: 

Sold to party name2 to name 4 change Check in MV45AFZZ

dp_prasad
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

7 REPLIES 7

Former Member
0 Kudos

Hi,

these fields are available in ADRC table.

Hope this hepls..

Regards,

Shashank

vinod_gunaware2
Active Contributor
0 Kudos

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

dp_prasad
Participant
0 Kudos

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 ..?

Former Member
0 Kudos

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

dp_prasad
Participant
0 Kudos

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.

Former Member
0 Kudos

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

dp_prasad
Participant
0 Kudos

Hi Abhijit,

Thanks a Lot for your Help.

Im looking for these XVBADR and YVBADR tableS only.

Thanks.

Regards