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: 

XD01/XD02 Contact Person Telephone number validation failing

Former Member
0 Kudos

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.

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

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)

0 Kudos

What kind of validation you want to do with master creation?