Validate Phone Number in CRM - transaction BP

hello, I am interested in validate the phone number inserted by the user when creating a new business partner, while using transaction BP in CRM.
IS there any BADI or user-exit to validate this kind of data of the business partner for de BP transaction??
Thank you a lot!

Hello all,
we have this same problem and have almost solve it.
We have created a Z function module, which has been inserted in the BDT calls for event DCHCK. Our FM is rightly called and we are able to send an error message using FM 'BUS_MESSAGE_STORE'.
Then, our problem now is: How to get the values for telephone, mobile and e-mail address?
We need to check this data, but are not able to see it in the debugger...
Thanks in advance and Best Regards

Similar Messages

  • How to prevent users from entering '+' or '0' in front of country code in the phone number field?

    Requirement:
    How can I prevent guest users from entering '+' sign or '0' in front of country-code in the visitor phone number field during self registration?
    Few SMS service providers are not looking for '+' sign or '0' or '00' in front of the international phone numbers to trigger the sms. Providing these values in front of country code during self-registration may fail to deliver the sms to recipient.
    Solution:
    Using a simple regular expression, you can validate the entered phone number during the guest registration. 
    The below regular expression will help you to validate the phone number and allows to register only  when the phone number is not staring with '+' or '0'. 
    ^[1-9][0-9](\d{7}|\d{8}|\d{9}|\d{10}|\d{11}|\d{12})$
    It also performs the below validations.
    only numbers are allowed.
    first digit of the entered phone number should be 1 to 9, so '+' or '0' is not allowed. 
    numbers from 0 to 9 are allowed from the second digit.
    also validates phone number length, the length of the phone number should be 9 to 14.
    Configuration:
    To add the above regex in the visitor_phone number filed, please navigate to ClearPass Guest >> Configuration >> (Pages)Guest Self-Registration >> select the self-registration page and go to Edit >> Register Page >> Form >>  select the filed visitor_phone and set the Validator to " ISRegexMatch" and enter the above regex in the Validator Argument filed as shown below.
    Note:  Edit the Validation Error as per your requirement.
    Verification
    Adding the given regex will validate the phone number and prevent the guest user from registering the phone number starts with '+' or '0'.
    Please find below the sample outputs for your reference.
    Result when phone number starts with '+' or '0'.
    Successful registration.

    Is this a Mac Preview issue?

  • Phone number Regular expression Help

    Hi,
    I am trying to validate phone number using regular expression.
    The format shoud be either of the two given below. It should not
    accept phone number of any other format other than the once given below.
    I tried out the following regular expression
    pn.matches("[\p{+}][0-9]+ ")
    but it accepts alphabets too(which is wrong).
    How do i check if the phone number is of the following format(OR condition).
    0401234567
    +358501234567
    Any help would be kindly appriciated.
    Thanks
    Sanam

    There will probably be much more constraints on you phone numbers, but here's a start:String[] numbers = {"0401234567",      // should be ok
                        "040123456",       // wrong, one number too little
                        "+358501234567",   // should be ok
                        "+3585012345670",  // wrong, one number too much
                        "+35850123456"};   // wrong, one number too little
    String regex = "\\+[0-9]{12}"+         // a + sign, followed by 12 numbers
                   "|"+                    // OR
                   "0[0-9]{9}";            // a zero, followed by 9 numbers
    for(String n : numbers) {
      System.out.println("Is "+n+" valid? "+n.matches(regex));
    }

  • Valid phone number

    Hi,
    I did the following to validate phone number, but not work. Please help I must do some thing wrong.
    1. at page 955, page attribute (HTML Header) I put the following JavaScript:
    <script language="JavaScript1.1" type="text/javascript">
    function istelnum(s)
    var valChar='0123456789 -()+'
    for (var i=0; i < s.length; i++) {
    var c=s.charAt(i);
         if( valChar.indexOf(c) == -1 ) return false;
    return true;
    </script>
    2. at page 955 item P555_ADMIN_HM_PHONE
    Element (HTML Form Element Attributes) I put:
    onChange="javascript:istelnum(:P955_ADMIN_HM_PHONE)"
    Please help.
    Thanks.

    Hi,
    Thanks so much for help me one big step.
    I change to the following you suggested:
    onChange="javascript:istelnum(document.getElementById('P555_ADMIN_HM_PHONE').value)"
    it not work.
    I change to the following it works.
    onChange="javascript:istelnum('P555_ADMIN_HM_PHONE');"
    But after the message shown 'Invalid Phone number'
    the message box not closed.
    Therefore, I add a 'return false' after the alert statement. The message window is closed but from now on, no matter what I type even a good phone number, it gives me the 'Invalid Phone number'
    Please help.
    Thanks.

  • Create new search criteria by Phone number in transaction BP in the REFX

    Dear All,
    I need help in this issue, I need to  create new Search criteria by Phone number in transaction BP in the REFX.

    Hi,
    Check BADI BUPA_SHLP_CONTROL, which has method FILTER_INCL_SHLP to control search helps in BP.  You can remove the standard search help by deleting corresponding entry from Changing parameters CT_SHLP_TAB of the method .
    You can refer one of the standard implementations for the above BADI , where search helps are removed based on conditions
    one of the Standard implementation: FSBP_SEARCH_HLP_EXIT
    Regards,
    Sid

  • Transaction Number in CRM

    Hi ,
         in crm i have to check the existing transaction number can any body tell me which table stores the  existing transaction number or any function module to get this dynamically.
    Thanks and regards
    Sajid

    Hi ,
       This is the table which contains tcode but i have to find transaction number not transaction code.
    In CRM when you will create any document one transaction number is assigned internally which appears on the header when you save(new one)/open existing transaction, so i have to check this transaction numebr .
    please any body tell me what is the name of the table which contains CRM transaction number .
    Thanks nad regards
    Sajid

  • Validate string to verify it is (probably) a phone number

    What would I do in expression editor to validate that a string meets the basic constraints for a North American phone number? All I care do at this point is compare the entered string and make sure it matches this pattern: [2-9]XX[2-9]XXXXXX
    Thanks much!

    I'm curious, where/how are you getting the number?
    Either way, assuming you've already validated the length of digits you can skip the need for regex, granted this method is less robust but simpler to implement:
    if(phoneNumber.charAt(0) <= 49 || phoneNumber.charAt(3) <= 49)
         True:
              Number is invalid
         False:
              Number is valid.
    The way this works is as such: based on the pattern you describe, either the first digit, or the 4th must be between 2 and 9. Based on that, we grab those digits and compare them. The value 49 is the integer value of the character '1', so by testing less than or equal too, you can ensure that the number provided is either 0 or 1
    As I said, the code Anthony provided is more robust, you can match on a greater granularity (although I believe his implementation could be improved, no offense Anthony), however if you want to simply ensure they don't input a 0 or 1.
    If you'd like to see a table of where all the ASCII string values are, check:
    http://www.asciitable.com/

  • Validate text filed - phone number or integer?

    I am trying to validate a field that requires a phone number but I want to make sure that the user enters only numbers and cannot enter a (1) before the number.
    Can anyone help?
    Thanks.

    Have you seen this page?
    http://labs.adobe.com/technologies/spry/samples/validationwidgets/TextfieldValidationSampl e.html

  • Phone number display format

    We are looking for a way to personalize the display format of phone number.
    I am at a company where there is a SAPphone or alike software connection to auto-dail using the SAP screen. Other then most companies here this is done from ECC rather then from CRM.
    For this, the Phone numbers are stored flat, without spaces, hashes and the like.
    In SAP there are setting for how to display date and numbers. I did not yet find a way to do the same with phonenumbers. There is an international requirement on how to display the numbers, and storing these numbers formatted is in my opinion not the preferred way to do it.
    There are function modules to format the numbers from flat stored numbers, but that will mean cloning standard transactions to Z versions so that the FM can be used. I would rather not do this too.
    Anyone any ideas?

    I am having the same issue with My Treo 700.  Did anyone find a resolution to this problem.  I think it is more than annoying.  For no reason the formatting just changed. 
    Thanks for you help.

  • Paid $60 - for a phone number rather than a subscr...

    Hi, first a quick rant: I'm an EXTREMELY frustrated new user. I have spent the last hour trying to figure out what I just purchased and what I can do to get an explaination, but whoever created this website did so without a new user in mind.
    Quickly: I need help trying to determine what I just purchased and what to do from here.
    As Quickly as I can explain what's going on: My friend in Croatia told me he spent $60 for unlimited calling. He can apparently call anywhere to phones - as we made several calls to landlines in both the states and england from his computer. We've since left his place.
    As I'm traveling to many countries, I figured this was a great idea, I'll pay up front instead of purchasing credits.
    I whipped out my credit card and paid $60 after chosing a number. After about an hour, the transaction cleared on my account with a renewal in 12 months. I went to make a call and it said I didn't have enough credit. After trying to figure out what happened all I can determine is that I might have paid for the use of a phone number for 12 months and not a subscription.
    Now of course after trying for several hours trying to find out how to contact Microsoft or Skype - or Whatever help center - for the past hour and finding they deflect all help to their help pages that comes nowhere NEAR helping me or explaining what has happened - and if I made a mistake how to correct it. I apparently need to spend more money for a premium account to get actual advice or any kind of resolution.
    Any company that takes money and expects a new user just to GET it, without providing some human interaction is a horrid company.
    So I paid for something I didn't want and can't use. I THINK. But I can't request a refund or help because I haven't paid for a premium account.
    Can anyone shed some light on this? Thanks so much; I realize you're probably just a user of the service like myself.

    I am having the same issue... Except I'm not a new user.
    I've had a subscription for many years and this month I lapsed because of a new credit card number. After a few days I went in to resubscribe and everything went smoothly... or so I thought.
    I paid $60 bucks for a 12 month subcription and everything seemed to go through... I got charged and I got a confirmation e-mail. Now, here's the rub. Whenever I make a call a message pops up that says "Your call is about to end. You are low on credits." WHAT?!?
    I just paid $60 bucks! So, having never had a problem before I procceded to the website to look at my account and possibly send an e-mail to someone that could help me. No dice.
    This website needs to provide some sort of support for their users... In fact this is the only post I could find on this subject and, unfortunately, it didn't help me at all. It just showed me that at least one other person has had this problem. When replying to this post a small box opened up, talking about how to fix payment problems. When I followed those links, it lead me to a page that basically said "If your subscription isn't working, it's your fault." WTF! Seriously?!?!
    How do we fix this issue? 

  • Paid $60 - for a phone number rather than a subscription? Please chime in and help a newbie

    Hi, first a quick rant: I'm an EXTREMELY frustrated new user. I have spent the last hour trying to figure out what I just purchased and what I can do to get an explaination, but whoever created this website did so without a new user in mind. Quickly: I need help trying to determine what I just purchased and what to do from here. As Quickly as I can explain what's going on: My friend in Croatia told me he spent $60 for unlimited calling. He can apparently call anywhere to phones - as we made several calls to landlines in both the states and england from his computer. We've since left his place. As I'm traveling to many countries, I figured this was a great idea, I'll pay up front instead of purchasing credits. I whipped out my credit card and paid $60 after chosing a number. After about an hour, the transaction cleared on my account with a renewal in 12 months. I went to make a call and it said I didn't have enough credit. After trying to figure out what happened all I can determine is that I might have paid for the use of a phone number for 12 months and not a subscription. Now of course after trying for several hours trying to find out how to contact Microsoft or Skype - or Whatever help center - for the past hour and finding they deflect all help to their help pages that comes nowhere NEAR helping me or explaining what has happened - and if I made a mistake how to correct it. I apparently need to spend more money for a premium account to get actual advice or any kind of resolution. Any company that takes money and expects a new user just to GET it, without providing some human interaction is a horrid company. So I paid for something I didn't want and can't use. I THINK. But I can't request a refund or help because I haven't paid for a premium account. Can anyone shed some light on this? Thanks so much; I realize you're probably just a user of the service like myself.

    Skype Rip Off people on Renewal $30 Number $30 Calling Plan Why Skype and Microsoft Sucks: My Subscription Order No.[removed for privacy] paid and delivery but not working I would like to know why the subscription I bought is not available I can make phone calls please fix the problem Skype is not a solution but a big problem since microsoft took over very disappointing
    Yes they told me I will have to pay $30 for my number and $30 for my 12 months subscription now they said they did not they are liarsMy subscription is not working neither after several months tried to fix the problem no one from skype neither from Microsoft tried to contact me is very painful to paid skype for a phone services and they just do nothing but laughing in your face Skype and Microsoft let me tell you something in your face you both sucks big time you are nightmare what a pityI would love to sue skype since they are not providing with the service I contract with then my business is suffering for negligence in delivery my subscription that I bought but is not working long time ago I will follow a class action against skype please keep updatedPORT A SKYPE NUMBER http://community.skype.com/t5/Skype-Number/Port-Skype-Online-Number-to-another-provider/td-p/1529827https://consumercomplaints.fcc.gov/hc/en-us/articles/[removed for privacy]-Keeping-Your-Telephone-Number-When-Changing-Service-ProvidersWhen all is said and done Skype is a phone service provider and as such they must allow your number to move. It is required under Section 212 of the Small Business Regulatory Enforcement Fairness Act of 1996. The SBREFA '96 required portability in the largest 100 Metropolitan statistical areas. Then in 2003, the requirement was expanded to ALL carriers regardless of geographical location.
    In order for a number to be ported, roughly speaking you must live in the area code's geography. So, you can't port a New York number to Iowa.
    If you have a problem porting your phone number from one service provider to another, first try to resolve it with the service provider. If you cannot resolve the problem directly, you can file a complaint with the FCC. There is no charge for filing a complaint. You can file your complaint using an FCC online complaint form. You can also file your complaint with the FCC’s Consumer Center by calling 1-888-CALL-FCC (1-888-225-5322) or 1-888-TELL-FCC (1-888-835-5322) for TTY; faxing 1-866-418-0232; or writing to the Federal Communications Commission at:
    Federal Communications Commission
    Consumer and Governmental Affairs Bureau
    Consumer Inquiries and Complaints Division
    445 12th Street, SW
    Washington, DC 20554

  • Payment advices not picking accounting clerk phone number and fax number.

    Hi,
       We have executed payment program and payment advices got generated. But in the output it is printing everthing i.e accounting clerk name, vendor number and amount. But it is not filling the accounting clerk phone number and fax number even though we have maintained it in our customized transaction code. Will this values in the payment advices will be picked up from standard t.code OB05, there we don't have option to give these two values.
    Can anyboday help me on this.
    Regards,
    Sree

    goto accunt groups with screen layout,
    after creating the group or existing group, double click on account management, in payment transactions make the required fields are required.
    regards,

  • ActiveSync Device Statistics report for users does not show Device Phone number

    HI ,
    I have trying to run a Active-sync Device Statistics report to get all the details for active Sync users, but report show only last four digit of  device phone number for few users and for most of the users its blank.
    Is there way if we can get Device Phone number for active sync users.
    Thanks,
    Pradeep Kumar

    Hi,
    Yes i have tried all of these transactions, these all relate to individual sales orders or production order costs.
    Im looking for a report showing the costs for a range of sales order line items, exaclty like KOB1 but for sales orders.  KVBI does exactly what I want but the material filed is not populated.
    Is there a way to populate this field as part of the settlement?
    Cheers
    Phil.

  • Changed iCloud phone number; not updated for keychain response after 3 days.

    Hi,
    I was correcting a keychain error that can occur (it seems) that asks for about 10-15 local keychain password checks upon booting.
    That issue is logged in the forum and easy to correct.
    What subsequently was required was resetting my keychains on my devices that required the security code challenge.
    Since neither of my pad or macbook are authorised to counter-authorise, I need to go via my registered phone number.
    All pretty basic stuff.
    So, when I realise that the security code message is being sent to my OLD cell-number I change it on my iCloud and expect it to change in my account and the entire system within 15-30 minutes, which would be quite normal and go from there.
    I was wrong.
    Since changing my phone number, which is still maintained on my iCloud account, I still get the system request stating the message is being sent to my old number.
    Yes, I have logged out of all my iCloud activities and rebooted and logged-in again to see if that has anything to do with it. To avail.
    Now it has been 3 days and the old number still appears in the security code request process on all devices on all panes that can be used..
    Any ideas???

    you are loading master data before transaction data correct? for any delta to work you need 2 hour safety time window.. that means if yoru work hour is finsihed at 5:00 pm load delta at 7:00 pm, you can check out help for safety time.
    you can check this to give you some more info on wbs.. or check out help.sap
    http://www.hyperthot.com/pm_wbs.htm

  • Masking Payment (Credit) Card number in CRM 4.0

    Hi Experts,
    I was wondering how can I mask the credit card number in CRM at BP as well as transaction level. SAP Help says that it happens automatically at transaction level, but it is not happening in our CRM 4.0 system.
    We need the masking to be done as 5123**********45 at BP as well as transaction level.
    Any help would be highly appreciated and rewarded.
    thanks
    Yash

    Hi Yash,
    I am a bit late in answering your question. A bit occupied with my project.
    To mask credit card numbers you need have the encryption is in place. In standard the card numbers are not encrypted in the database tables. If your credit card vendor (e.g. paymetric) doen't provide you the third party encryption tool then you have to implement SAP Cryptographic Library for encrypting data in the SAP system (using SSF). Please refer to the note 662340 for encryption. Encryption is a complex process and you need to take the help from BASIS team.
    After successful encryption apply the note 837231 for masking.
    Let me know, if you have any further questions
    <b>Reward if helps</b>
    Regards,
    Paul Kondaveeti

Maybe you are looking for

  • How to transfer exisitng domain names to business catalyst?

    What are the requirements or what is the proccess to transfer exisitng domain names to business catalyst? Your input is much appreciated. FT

  • Problem with "/:trigger"

    I got some troubles with AS1.0 (player 6) which I want to convert to AS2.0 with flash player 8.0. The errors i get is right here, who can help me convert it to AS2.0? **Error** Symbol=script, layer=script, frame=2:Line 2: Unexpected '/' encountered /

  • Recursive nesting of Facelet Composite Components

    I use JSF2.0 Facelets and Composite Components. I want to display a hierarchical questionary, where the questionary contains a Category List, and any Category can contains subCategories and Questions. In fact, Category inherits from abstract Question

  • When I click on any object, Indesign opens endless documents (not always)

    Sometimes when I'm working in Indesign, I click any kind of object (square, type, etc.) and suddenly 20 documents (that I previously worked on) opens and I can't return to the original document.

  • Issues after last OS update

    Post update, (1) I lost all entries on my Calendar and it does accept any new entries and (2) I lost all files on Remember. Any help????