10-06-2017 3:38 PM
Hi Friend,
I have been working on XD01/XD02 validations in ECC.
KNA1 is having all the customer master data, which is fine.
For the contact person telephone/mobile number validation I have been trying to capture the phone number but in T_KNVK I can only one phone number i.e. by default it is taking mobile number, if not given mobile number it is taking telephone number.
The internal table T-KNVK is having only one filed for phone number which is telf1.
After saving the transaction the phone number details are saved in ADR2. I am aware of that and how the Telephone and mobile numbers are saved.
I want to know how can I capture both telephone and mobile numbers from contact person details before I save XD01/XD02 transaction.
Appreciate your help.
Regards.
10-09-2017 2:42 PM
Did you look at available FM of group SZA7 (and SZA0) to read data from memory?
(Put some break-point in form D0400_READ_ADDRESS(SAPLSZA7) on in some FM like ADDR_MEMORY_PUSH to find how to fill an ADDR2_DATA structure)
10-10-2017 10:08 AM