Validate Tel Number in BP creation before save

Hello Team,
I have requirement of validating Tel Number as per customer's requirement, for that I am not able  to capture value of tel no entered  on Screen. Similar validation for street field is already created by creating Z fun module which is assigned to event DHCHK via BUS7 tcode. In that  fm BUA_BUPA_MEMORY_ADDRESS_GET  is used to get address values. In that street and other details are coming but tel no is coming as blank.
Can anyone tell me what to do so that i can capture Tel No details.
Or else can i use badi for that ?
Regards,
Yogesh

Are you saying that the TABLES named in the FM are not populated for ADR2, 3, 4, etc.?   Look at the content of tables T_ADR2, 3, 4, etc., after your FM call.  The FM should grab all the requested BUPA details from memory.  Are these tables named in your tables statement when the FM is called? 
I would expect those to be populated after the FM call, and personally, I would either modify that existing DCHCK module to grab these tables and process content also, or add one more DCHCK module with the same FM call and add the logic and error messaging to validate as per the user requirements.   Since you already have a custom FM in the existing DCHCK FM, makes the most sense to do there, IMHO.
This is, of course, difficult since there are different formats for different countries and even within a country like the USA, I've found that different clients have different expectations as to how the phone, telex, fax, etc., numbers will be stored.

Similar Messages

  • Opportunities - Delete item before save - BADI

    I need to do some checks when adding a new item in an opportunity and depending on these checks, this item must be removed before save.
    I tried in the BADI's ORDER_SAVE and CRM_ORDERADM_I_BADI, using several function modules like: CRM_ORDER_MAINTAIN,  CRM_ORDERADM_I_DELETE_OB, ... but all without result. Using the xxx_OB function modules in the CRM_ORDERADM_I_BADI resulted always in shortdump after the BADI processing.
    Anyone who had to do something similar?
    Thanks a lot!

    Hi Filip,
    I need to understand better what sort of checks would you like to carry out
    <b><u>In my case I needed to cover or block a field in a crm order item, if the status of invoice in status tab at header level, was  "invoice issued".</u></b>
    I used CRM_ORDER_FIELDCHECK as Badi definition.
    I define the code in this way, overwriting the method FIELDCHECK with abap code just to block the field quantity at the item level, as said:
    Code structure:
    1 tables  and structures for CRM_ORDER_READ;
    2 Definition memory parameters
      3 Selection document item by using CRMD_ORDERADM_I to get item-guid
        4 Selection doc number, by usign item-guid
           5  call of  funcition module 'CRM_ORDER_CHANGE_STATUS_GET'
             6 Status check and field quantity blocked (grey colour = A), if status is equal C.
    If you need to change an existing document I suggest using,  as said in the forum, <b><u>Crm_order_maintain, or better employing BAPI CHANGEMULTI</u>[/b<b><u>], which is using CRM_ORDER_MAINTAIN.</u></b>
    I suggest using Bapi 'cause it 's easier to manage, especially concerning Internal tables.
    I had to change Price condition in my CRM ORDERS, when I used such bapi and/or FM crm_order_maintain.
    Just let me know your changes better.
    Please rewards with points if it helps,
    AndreA

  • Can't validate serial number?

    I am in the process of moving from a PPC based server to an Intel based server. Both running unlimited versions of OS 10.4.8.
    I saved the settings from the old server for each service by pulling the small icon just above the save button over to the desktop. Then I reloaded them into each service on the new server by dragging them into each window.
    Within a few minutes, I get a message in the Server Admin > Settings window below the serial number fields that says:
    "Invalid Serial Number: Could not validate serial number because of firewall."
    I restarted the server and dissabled the firewall and everything works, but when I reactivate the firewall it happens again.
    So, my question is, what rule in my firewall is keeping my serial number from being validated? And why would it work on my old server and not on the new one if the settings were brought over in the way I outlined above?
    I have checked the new serial number on the Intel Mac and it is correct so I know it didnt get transfered from the old one.

    I've done a clean install of the server and I didn't do any configuration other than the initial setup. The server works fine until I turn on the Firewall, then within a few minutes I get the same message again. When I restart the server it works for a few minutes and then happens again.
    Rule 00001 does not appear at the top of the list in the firewall active rules on the Intel Mac Mini server.
    When I switch back to my old PPC server running under a different serial number but the same IP address (by switching the Ethernet cable), everything is working as it always was and the rule 00001 is there as it should be.
    Both the Mac Mini and the OS X 10.4 server are new and just out of their boxes.
    This has me really frustrated. Anyone have any ideas?

  • I can't connetcting to internet when i want  validate seriale number

    why i can't connetcting to internet when i want  validate seriale number ?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How to edit/delete a custom label for a tel number for example in contacts?

    How to edit/delete a custom label for a tel number for example in contacts?

    Alfre311 wrote:
    I've been trying to find a way to do this since I updated to IOS 7, and I've just found the solution/explanation, even tho is a bit heavy to carry out.
    IOS 6 creates custom labels and save them giving you the option to delete them.
    IOS 7 creates custom labels but don't save them, so there is no need to have the option to delete them.
    But here comes the problem, if you have some custom labes saved in you Iphone / Ipad with IOS 6 and you update it to IOS 7, the device will keep those labels saved, but you wont be able to delete them.
    I realized this by going to contacts on Icloud. There those labels that I had on my devices weren't there. So simply restoring your device and configuring it as a new one to later sync your Icloud Contacts, will solve the problem.
    I know this post is old, but I might just try this with iOS 8. I have outdated custom labels that annoy me, because I still seem them in the list as options. If I get desperate enough, I may try your solution.

  • Serial number has been registered before!

    I bought a new macbook pro and was trying to register the product online. it is a sucsessful registration on the product. However when i try to update the MAC OS X to Lion, it cannot be updated and request to use the up-to-date program to submit some of the information.
    I did submit twice on the up-to-date program. Cause the first email was reflected that the attached receipt was illegible. Hence, i upload another with a more high and clear pixel jpg. by right it should be clear enough. It still doesn't work out.
    I call up to apple support to ask. With the Serial number check, found out that my serial number has been registered before with another person name, and is not under my name. moreover that the purchase date is on April 2011. Which cause my warranty to be expired on the April 2012.
    I very doubt that my macbook pro is not new. Or been used before and return to the store.
    DId anyone experience that same problem?

    If the item is brand new out of the box then it may just simply be someone accidentally registered their system serial with yours by spelling mistake (S instead of 5, B instead of 8, etc..)
    Best way to resolve this is just call AppleCare and provide them with your proof of purchase and the serial number, I'm sure they can sort it out if you get to the right department.
    Link:
    http://www.apple.com/support/contact/

  • Updating Batch Number while delivery creation from sales document

    Hi Experts,
         I have to write code inside user exit MV50AFZZ which updates batch number during delivery creation. Suppose I have a sales having more than one line items. Each line item have different material numbers, and one material number may have more than 1 batch number. And all these batch numbers have to be updated for their corresponding material numbers. Batch  number corresponds to LIPS-CHARG. So how we can maintain values for this field more than once for a particular material number?

    Hi Pankaj,
    Were you able to update the Batch Number?
    What is the function Module that you used? and where exactly did you code in the logic?
    Thanks,
    RV

  • Why is my landline tel number is in use by someone...

    My mother has been with BT for 35yrs with same number. 6 months we moved to talk talk to  avail of  their broadband  deal and we  kept the same number. It's been working fine until Wednesday 22nd Aug when I suddenly lost all phone and internet connection.  Now when I ring my land line number someone else answers. They live approx 2 miles away from me and tell me BT and sky gave them my number on Wednesday. Their connection started on the day I lost my services.    My mother is elderly and needs her landline so we can get in touch with her and so that she can ring us when she needs us.  I'm getting nowhere with BT or TALK TALK. Customer services are a disgrace and of no help whatsoever.  BT says problem is with Talk Talk and Talk Talk sat problem lies with BT. Please please help. What's happened with my landline tel number?

    BT do not provide or maintain the external network. This is done by Openreach who work for all service providers, including TalkTalk.
    There is nothing BT Retail can do about your problem, as you are no longer their customer.
    Its up to TalkTalk to report the problem to Openreach, as Openreach only deal with service providers.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • How to validate the number of characters in Text Entry box?

    Hi
    I have inserted a text entry box and assigned a variable (UserName) to it. Now, I need to limit the entry to a maxinum number of 20 characters. In other words, how do I validate the number of characters in the text entry box and provide feedback if it is more than 20 characters?

    Thanks.
    I have posted this as a query on the relevant post on Jim's website. I am too new to regular expressions. I hope he will help with an example as well.
    http://captivatedev.com/2012/07/31/adobe-captivate-6-x-widget-text-entry-box-validator/
    Sreekanth

  • How to validate customer number in FD32 initial screen

    I need to validate customer number in FD32 initial screen. It should allow only Payers but not sold to

    I  think  you wont get MIC no instandard SAP

  • Is There A UK Contact Tel Number For Tech Support,...

    Is There A UK Contact Tel Number For Tech Support, Complaints & Billing?

    For billing
    If you would like to try Live Chat they should be able to help you.
    For Broadband support
    BT Total Broadband Live Chat
    There are no direct UK phone numbers. The main BT contact number is 0800 800 150.
    If you cannot get your problem resolved, then
    If you would like to contact one of the UK based BT Care Team who moderate this forum, they should be able to help you.
    They can be contacted using this link BT Care Team
    They normally respond by phone or e-mail, within three working days, however you should get an immediate confirmation, with a tracking number.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • How can read BOM component date before save the production order??

    Hi Experts,
    In our company, we need to develop a program to read the BOM component data of the production order
    before we save the production order.
    That for example ,when we create and release a production order , before we save the production
    order,we want a porgram to read the BOM component data. If some component data can meet our
    requriement (may be if there is material requirement quantity>100 EA),then the system will pop up a
    small dialog box to remind us.
    There is user exit PPCO0007 and PPCO0007.But it seems they only can read the head data of the
    production order before we save the production order. And the BOM component data of the production
    order are saved in the RESB(Reservation Table).So if we do not save the production order,all the BOM
    component data are not saved in the RESB table.
    So how can slove the problem??
    How can read component date before save the production order??
    Are there any other user exit we can use???

    Hi Just wanted to check am I right that you are trying to check if you have enough Materials Available before you release or Save the order right ? if this is your business objective then when you create order you have material availability tab which checks and gives error if shortage is there. Please let me know if is this wht you asking for ?

  • I need Badi for PO Before save.

    Hi Abappers,
    i want Badi name for PO Before save.
    Regards,
    vani.

    Hi,
    To find the badi for a particular transaction goto TCode SE24 and give the class name as CL_EXITHANDLER and then display it. now double-click on GET_INSTANCE you will get some source code , put a break point on class name and give TCode on command field then debug . double click on class name and go on pressing F5, you willl get list of BADI's and according to your requirement choose the right one.
    Second procedure:
    Go to SE84, Enhancements< Business-addin< definition(double click) and give package name of particular transaction then you will get BADI's. Read documentation by going to SE18 or SPRO and choose the right one according to your requirement
    I think ME_PROCESS_PO_CUST may satify your requirement.

  • Is it possible with iphone4 to delete only the last tel number called?

    is it possible with iphone4 to delete only the last tel number called?

    At the present, no...it's all or nothing.

  • What is the Customer Service Tel Number???

    What is the Customer Service Tel Number?

    Hi Trento,
    Let me know if I can help you with something however if you want to speak to someone, please check the below mentioned link
    http://www.adobe.com/support/download-install/supportinfo/
    Let me know if that helps.
    Regards,
    ~PRanav

Maybe you are looking for

  • How to open PDF file in new window as default

    I have .pdf documents into which I have inserted links to other .pdf documents using pdfEdit995 (I am a 77-year-old pensioner recording monumental inscriptions, not very computer literate and not able to afford expensive applications !)  The links in

  • Is there a way to create a corrective work order off a prevenative workore

    Hello,, Is there a way to create a corrective work order off a preventive/inspection work order. Or is there a way to indicate that a corrective work order was created from preventive/inspection work order. In addition is there a way to report these

  • Bracket are not displaying in an arabic environment

    HI, I am doing some testing in arabic environment where NLS_LANG set it to ARABIC and during that i found an strange issue in arabic environment using oracle forms. I am trying to display a string 'SSS(MH)(HI)' using message procedure. I have written

  • Getting Problem after Deleting a record from Record Store

    I am trying to create a simple application for mobile device. This application storing some records. I used RMS for this. These records i show in a list. But i tried to show list of records after deleting any record then list shows only prior records

  • Netboot Errors when starting Service Please Help

    Hello, I'm new to the forums so please let me know if you need additional information.   In Server Admin when I attempt to start Neboot Service I get the following error The Service has encountered an error Try to refresh the view (servername/netboot