I want to validate all phone numbers (additional, mobile etc.) when a new customer is created in XD01 or changed in XD02.
I have used EXIT_SAPMF02D_001 and passed i_kna1-adrnr into ADDR_COMM_GET to get all the phone numbers on the screen.
This works for XD02 but for XD01 there is no adrnr. How else can I retrieve all the phone numbers?