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: 

SD User Exit and Email Address

Former Member
0 Kudos

I am adding code to SD User Exit, MV45AFZZ, and need to find the email address for the Ship To partner. I am adding code in the form userexit_save_document. Does anyone know the internal table or structure where this data can be found before the sales order data is committed?

Thank you.

2 REPLIES 2

Former Member
0 Kudos

Hi,

User Exit - MV45AFZZ

Subroutine - USEREXIT_SAVE_DOCUMENT

you can use the structure XVBPA and get the value of partner ADRNR (Address Number Field) and then hit the table ADRC and get the FLAGCOMM6 (Email Address).

Hope it helps.

Reward if it is useful.

Thanks,

Srinivasa Rada

0 Kudos

The entry in ADRC has been committed to the database yet so I am unable to access the data.