10-24-2007 10:14 PM
Hello,
I need to locate a User Exit/Badi where I can get the address information (Street, City, etc) that was modified in transaction XD02 once the user press the save button.
I tried to use the EXIT_SAPMF02D_001 (ZXF04U01) exit but when i get the address information from the ADRC table it's not updated yet.
Is there a way of obtaining this data by the time the user modifies the customer information in XD02 transaction????
Thank you
Felipe Vieira
10-25-2007 4:35 AM
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Transaction Code - XD02 Change Customer (Centrally)
Exit Name Description
SAPMF02D User exits: Customer master data
No of Exits: 1
Rewards if useful.........
Minal
10-24-2007 10:33 PM
hi,
u can check this...
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.
May be helpful for you.........
10-25-2007 2:40 PM
Hello Naveen,
I included a Break Point in the Subroutine - USEREXIT_SAVE_DOCUMENT but from XD02 transaction once I press the save button it never stopped there... I don't know if there's something missing.
Thank you
10-24-2007 10:43 PM
Hi,
You can use the same exit EXIT_SAPMF02D_001 (include - ZXF04U01) which you have mentioned.
You can get all the address information through the structure I_KNA1.
Street-House Number - KNA1-STRAS
District - KNA1-ORT02
Postal Code - KNA1-PSTLZ
City - KNA1-ORT01
Country - KNA1-LAND1
Hope it resolve your question.
Reward if it is useful.
Thanks,
Srinivas
10-25-2007 2:37 PM
Hello Srinivas R
Thanks for your answer... I also need the ADRC-STR_SUPPL1 ADRC-STR_SUPPL2 fields, but they are not included in the I_KNA1 structure... any ideas????
10-25-2007 5:53 PM
Felipe,
Those fields were not mentioned in the XD02 transaction. I think they can add those fields in the customization. Then based on the Address Number, you can get them from ADRC table.
Thanks,
Srinivas
10-25-2007 6:07 PM
Hello Srinivas R ,
The thing is that when i select the data in ADRC table, the record it's not updated yet with the information on the screen.
Regards,
Felipe
10-25-2007 4:35 AM
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Transaction Code - XD02 Change Customer (Centrally)
Exit Name Description
SAPMF02D User exits: Customer master data
No of Exits: 1
Rewards if useful.........
Minal
10-25-2007 5:21 AM
Dear friend,
u can check this...
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.
Regards
satish