05-10-2006 9:04 AM
Hi all,
Does anyone know which internal table or a variable in program SAPMF02D is holding the modified/created email address(es) for a customer before saving?
Thank you so much!!!
05-10-2006 9:45 AM
Hi Yun,
The email_address is populated under INCLUDE MF02DO00. email_address is an internal table including structure ADSMTP.(Line:7681). This is populated in Function module 'ADDR_PERS_COMP_COMM_GET'.(From Line:7816 to 7862).
Thanks,
Vinay
05-10-2006 9:36 AM
Hi Yun,
Please check program line 7633,
structure "email_address" .
Regards,
Ranjit Thakur.
Please Mark The Helpful Answer.
05-10-2006 9:45 AM
Hi Yun,
The email_address is populated under INCLUDE MF02DO00. email_address is an internal table including structure ADSMTP.(Line:7681). This is populated in Function module 'ADDR_PERS_COMP_COMM_GET'.(From Line:7816 to 7862).
Thanks,
Vinay
05-10-2006 11:15 AM
Hi,
Thank you so much for your replies!
But the problem is the email_address table is populated in PBO. If the user modified the email address during the transaction, in the enhancement SAPMF02D (has a function exit), the table email_address still contains the old email address, not the updated one. So I want to know how I can get the email address currently displayed on the screen.
Thank you!
05-10-2006 11:24 AM
Hi Yun,
Program SAPMF02D having the BAdi "CUSTOMER_ADD_DATA"
which contain method "CHECK_DATA_CHANGED","SAVE_DATA",
which will help u to solve ur problem.
Regards,
Ranjit Thakur.
Please Mark The Helpful Answer.
05-10-2006 2:41 PM
Hi Ranjit,
Thanks for your tip!
I really like everything to be done in the Enhancement SAPMF02D. The modified or the newly created Email address must be stored somewhere, I'm just having some trouble finding out which internal table is actually holding it.
Thanks!