07-22-2014 3:08 AM
Hi, everyone:
how to validate telephone number of customer/vendor master? I can get short telephone number(like '123456789....') in enchancement SAPMF02K / SAPMF02D, but cannot get the long telephone number. so, how can I get the long number?
Thanks in advance!
07-24-2014 7:28 AM
Is not the telephone extension field part of BAS table (ADRC-TEL_EXTENS) and not in the main database tables LFA1 or KNA1. Enhancement SAPMF02[D,K] with their customer exits do not provide those data.
There is a BAdI, ADDRESS_CHECK for BAS that you could use (beware, it carries a filter by country ISO code)
Regards,
Raymond
07-22-2014 5:05 AM
Hi,
Correct me if I am wrong, as far as I understood, in terms of DB tables you can make use of KNA1(Customer) and LFA1(Vendor), for getting the telephone number
If you require any other inof, please elaborate your problem statement for further more inputs.
BR/Thanks
Pranav Agrawal
07-22-2014 5:29 AM
Hi,
You have not mentioned which exit you are using, but I am sure there will be reference of LFA1 table in the exit which has the telephone numbers and other detail, unless you are expecting some other information. Similarly the information will be there for customer master as well
Please elaborate if the interpretation is incorrect
Structure LFA1 has following fields..
TELBX | TELBX | CHAR | 000015 | Telebox number | |
TELF1 | TELF1 | CHAR | 000016 | Telephone 1 | |
TELF2 | TELF2 | CHAR | 000016 | Telephone 2 | |
TELFX | TELFX | CHAR | 000031 | Fax Number | |
TELTX | TELTX | CHAR | 000030 | Teletex number | |
TELX1 | TELX1 | CHAR | 000030 | Telex number |
Regards
Abhijit
07-24-2014 6:49 AM
I want to validate the phone number when create or change customer/vendor master by XD01/XD02/XK01/XK02. I use exit: SAPMF02K / SAPMF02D to do enhancement. I can get abbreviated number from field LFA1-TELF1/KNA1-TELF1 in these two exits, for example: 1234567889991..., the whole number is: 12345678899912999. I cannot get the whole number in these two exits. So I cannot validate it.
07-24-2014 7:28 AM
Is not the telephone extension field part of BAS table (ADRC-TEL_EXTENS) and not in the main database tables LFA1 or KNA1. Enhancement SAPMF02[D,K] with their customer exits do not provide those data.
There is a BAdI, ADDRESS_CHECK for BAS that you could use (beware, it carries a filter by country ISO code)
Regards,
Raymond
07-25-2014 1:38 AM
I cannot validate telephone by this badi: ADDRESS_CHECK. Can you provide another one? Thanks.
07-29-2014 7:06 AM
I'll close this thread. I find one: ADDRESS_UPDATE. Thanks for everyone.