ESS .. Make Telephone number mandatory FPM applicaiton

Hi guys,
my requirement is to make the telephone number mandatory in the ESS applications. I want to perform this validation in the web dynpro code onsteaed of the back end ans this needs to be made mandatory just for emergency adress rather than the entire addresses.
Any thoughts how to do this.
regards
Sam
Message was edited by:
        sameer chilama

Hi,
First create a Label instead of text view for the input field
of emergency telephone number.
For this label set the "label for" attribute to the id of the input field.
for the input field set the "state" attribute to 'required'.
This will give the visual effect of a mandatory field.
For Validation you can use the following:
String t = wdContext.currentTestElement().getTel();
if (t != null)
   //execute the model here
else
   wdComponentAPI.getMessageManager().reportWarning("Please enter Telephone Number");
Hope it helps.
Regards,
Alka.

Similar Messages

  • Requirement to make PAN number mandatory for processing payroll

    I have a client requirement that payroll should be processed only for those persons for whom PAN number is available.One way to do this would be a custom report which could give a list of persons for whom the PAN number is not available & to lock the Payroll in IT 0003 for such persons whose PAN number is not anailable.
    But is there any other way to configure the system so that the system will not run payroll automatically for persons whose PAN number is not available?
    Useful answers will be rewarded.
    Thanks,
    Ravi.

    Hi Ravi.
    I'm brazilian guy. I  am trying to do it for Portugal Payroll.
    I activated P0185 function in PE04 for Portugal and created 2 rules:
    ZH01 Verifica existência do IT0185      
            TABLEP0185 Ler campos de tabela 
          " VARGBSUBTY Campo tab.VVVVV ArgV 
            " 01                            
                NUM=1      Definir          
                ADDWT&0185 VAR  tab.variáveis
    and...
    ZH02 Verifica existência do IT0185 Subtipo 01
            NUM=& 0185 Definir                  
          " NUM?0      Comparação               
                ZERO=&0185 Definir VVVV p/zero  
            " =                                 
                ERROR      Cancel.processamento 
    And I put the rules in this sequency in the scheme. But the function P0185 doesn't accept rules. I need help, too.

  • ESS: Address  Make Telephone required field

    Hello ,
    I was trying make Telephone Number as required field in ESS - Webdynpro application,
    but i could not find the exact place. I was looking at the following DC:  ess/per
    ess/us/addr, i just found the following code:
    fpm.raiseReviewAndSaveEvent(IFPM.EVENT_REVIEW, IFPM.EVENT_SAVE, thisVAC);
    I changed the field as required also if the use clicks review then i should display message if the telephone number is not entered.
    If anyone have any input on this highly appreciated.
    Thanks
    VJ

    Hi,
        You have the detail component for address name VcPerAddressUSDetail.
    Mark the layout view of telephone as property STATE=required
    Go to component controller and write the following code inside the function onFlush.
    You can see the line wdThis.wdGetFcPerAddressUSInterface().modifyRecord(); below of this function.
    public void onFlush( )
    String TelNumber=wdContext.currentSelectedInfotypeElement().getTelnr();
    if (TelNumber== null || TelNumber.equals("")){
    wdComponentAPI.getMessageManager().reportException("Please enter the telephone number");
    else
    wdThis.wdGetFcPerAddressUSInterface().modifyRecord();
    Hope this will resolve your problem
    Thanks
    Kanai

  • Material Number mandatory for PR exceptP for Service Purchase Requisition

    Hi All,
         Our client's new requirement is we need to give material number mandatory for Purchase Requisition. But it should not affect for Service Purchase Requisition (as we don't have material number with material type DIEN. Till now, we were using Acc Assignment Category K and Item Category D with only Short Text description). We have separate document type for Service Purchase Requisition(ZSRV).
        In order to make Material number mandatory, in PR, we need to give in "Define Screen Layout  at Document Level for PR",right? Is there any way to give, "Material Number Mandatory at Document Type Level"?
    Please suggest.
    Regards,
    rosh

    hi sridhar,
      Thank you for your answer. So as you said, there is no possibility to make material number as mandatory at DOCUMENT TYPE level through Customzining, right?
    Regards,
    Rosh

  • Mterial Number mandatory for Purcahse Resuisition except for Nonstockable I

    Hi All,
      The requirement is like material number should be mandatory except for Non Stockable items (likePen, Stationery Items) while creating a Purchase Requisition.
    I know in SPRO Settings, "Define Screen Layout at Documnet Level" in Purchase Requistion we can make material number as mandatory. But how can we differentiate it for Non-Stockable Item. Please suggest
    Regards,
    rosh

    Hi Jurgen,
       Thanks a lot for your immediate response. yes..if we dont have material number it is no longer a stockable item. So
    1. If i give material number mandatory in ME51N, i cannot procure Nonstockable items(which does not have material code),rt?
    2. If i create material codes with NLAG, is there any possibility that "If i make material number mandatory in ME51N, it should not affect NLAG materials?
    Our client's requirement is "Material Number mandatory should not affect for Non - stockable Items". Please suggest how is it possible.
    Please reply
    Regards,
    Rosh

  • ESS Address Service - Area Code in Telephone Number Defaults to 000

    Hi Gurus -
    Our business noticed that when creating a new address using the US ESS Address service, the area code defaults to 000 in the telephone number (field AREAC) if there is not a value already in that field. Has anyone else's business complained about this? Does anyone know how to get rid of that default?
    Any help would be greatly appreciated.
    Thank you,
    Mark.

    Hi Shikhil,
    Thank you for your response. We have not modified the address infotype in the backend R/3 system and do not want to modify it. Are you saying that a modification to the table 0006 would be needed and make it CHAR instead of NUM for AREAC?
    Thank you,
    Mark.

  • Make the ECM Number mandatory for Routings

    Dear All,
    in SAP Standard it is possbile to make the ECM (Change No.) mandatory for BOMs using the authorization Object "C_STUE_NOH".
    Without entering the change number the system will give an error message, maintenance/creation is not possible with CS01 and CS02.
    The question is, if something similar is existing for Routings?
    Thanks for the usefull hint/help in advance.
    Csaba Mathe

    Dear All,
    the topic is still open, the transaction OP5A is not working fully as required.
    The business need is: make the change number  mandatory for CA01 and CA02 transactions, but only for the given Plants. not for all Plant. E.g for Plant A and B it should be mandatory, however for the Plant C should not be mandatory.
    Based on our setting, to manage such as situation, we see, the system is not working as we expect.
    We set the first level condition ofr change numbers the transactions CA01 and CA02. It is working well. In both tranactions the change number is mandatory.
    Then we extend the condition by two Plant, we want to have the change number mandatory in CA01 /CA02, however this is not working.
    May be there is an error in the standard program?
    Regards,
    Csaba Mathe

  • Service PO want to make the service Number mandatory thru config

    Dear All,
    I am not able to find the node where I can make the service number mandatory in the screen layout config.
    Please help
    Thanks in advance!

    Unable to understand
    4     Purchase Order     .......-...............*................*....-.-..----     -
    what this means  ?
    Please guide
    Thanks

  • Radio Button to make other field Mandatory

    I have two Radio Buttons that I want when clicked on (either one) to make a Number Field mandatory. I have viewed many websites on setting a mandatory field but the script I am using will not work. I have tried a couple ways of writing it but I seem to be missing something.
    I have used this script in the Show of: click & change
    Here is the script that I'm using right now.
    if  (this.rawValue==1)   
    AssemblyNu-1.mandatory ="error";
    else
    AssemblyNu-1.mandatory ="disabled";
    And this one:
    if (this.rawValue==2)
    AssemblyNu-1.mandatory ="error";
    else
    AssemblyNu-1.mandatory ="disabled";
    Thanks,
    HHud5757

    So, I put a quick form together to test your code.
    On the change event of the radio button list (not the radio button itself), I added:
    if (this.rawValue == 1) tfTest.mandatory = "error";
    else tfTest.mandatory = "disabled";
    In my case, the radio button with the value of 1 is the one I want to make the field mandatory. If you want either button to make it mandatory, then use:
    if (this.rawValue == 1 || this.rawValue == 2) tfTest.mandatory = "error";

  • Telephone number in address

    Hi all,
      i am displaying the vendor address in PO form by passing the address number to the address node in smart form. My problem is communication details like Telephone number, Fax and email id is not printing in the output.
    I want to print the communication details in address. Is there any settings to print the address including communication details.
    Note: In Xk02 also communication details are not printing in print preview.
    Thanks in advance,
    Mahi.

    Hi,
    From the documentation of function module ADDRESS_INTO_PRINTFORM the following list of fields can be prioritised;
    "A = Title
    P = Mandatory empty line 1
    F = Function of the contact person in the company
    4 = Name 4
    3 = Name 3
    H = Different city
    R = Region
    T = District
    L = Name of country
    C = Postal code
    T = District
    7 = Street 3 (field STR_SUPPL2)
    I = Street 5 (field LOCATION)
    8 = Street 4 (field STR_SUPPL3)
    6 = Street 2 (field STR_SUPPL1)
    L = Country
    C = Postal code
    2 = Name 2
    B = PO Box
    S = Street or PO Box
    5 = c/o name
    N = Name (and title) of a person
    D = Department
    O = City"
    These are the only fields that the address node can use, and does not include any phone or e-mail details.
    Regards,
    Nick

  • How can i make a field mandatory in SO header .

    Dear expart
    How can i make Customer group  mandatory in SO header data.Under sales tab pricing and static.
    Plz give me spro or the direct transaction code if any.
    Yeasin

    Hi Yeasin,
    There are three ways.
    1) By using incompletion procedure by using OVA2 T.Code which is already discussed by Raja.After this assign this incompletion procudere to your document type in VOV8 and also check the box incompletion messages.
    2)By using SHD0 T.Code.
    Goto SHD0 T.Code.
    Enter the transaction code as "VA01".
    Select the transaction variant as "BUS2032".
    Two programs will appear .Select the last one(BUS2032_4480).Click on details.
    Search for the field "VBKD-KDGRP" using "CTRL+F".
    Against that field tick the mark Required.
    Save.
    3) By using SE51 T.Code.
    Enter the program name as "SAPMV45A" and screen number as "4301".
    Select Layout editor.
    Click on Change.
    The screen layout will be opened.
    Select the field "Customer group" and double clik on it.
    Attributes screen will be opened.
    Goto Program tab and for the Input field,tick this and for input select the option required from the dropdown.
    Save.
    Now If you then you can find it as mandatory.Among these three you can use any one.
    Regards,
    Krishna.

  • Telephone number - Clickable request

    Hi
    Please forgive me if I have done this wrong - this is my first post
    I have created a PDF, in Acrobat X on Win XP, that has 'cells' or fields that a manager as well as an engineer can fill in
    What I am unable to do is make the telephone field - CLICKABLE
    i.e. when the Eng opens the PDF on his/her iPhone, using Acrobat Reader, they can click on the  telephone number to call the client
    (Similarly, they could click on the address to open up a map? - Telephone link is the main question though)
    Any ideas or help would be appreciated
    Many thanks in Advance!
    GUlNNESS

    Not possible, unless the calling is done from a web-site, in which case you
    can launch that site.
    Same goes for a map.

  • Telephone Number field when adding a new User - CCM 4.2.1

    Is their a way to automatically populate the telephone number field for a user? BAT does not allow this field to be added to the spreadsheet (phones-users). Thanks.

    BAT Version: 5.2.1
    The DN is for the actual line number of the IP phone, not the telephone number field which is stored with the User infromation. These can be independent; for example, I might make a user's actual DN 40001, but want the telephone number in the CallManager Corp Directory to be 5179840001. So, I can place the E.164 number in the Telephone Number field under the User page in CCM. Then, when a user looks up the number using the Directories button on the IP phone, the full E.164 number shows up for that particular user search instead of the 5-digit number which is helpful for offnet dialing and overlapping dial plans among remote sites.
    So, I am looking for a way to automactically populate the Telephone Number field for each user (not the line number of an actual IP phone).
    Thanks.

  • Telephone number for Line Rental Saver for FTTP cu...

    Hi all
    Looking for a telephone number that'd allow us to renew the Line Rental Saver package that we currently have. We have FTTP so renewal on the website is a bust and regular BT phone support does not handle FTTP customers.
    If anyone knows the number and the possible hours the line works that'd be awesome.
    Thanks
    Mr Zipf
    <TL;DR>
    BT sent an email today from [email protected] today suggesting renewal of Line Rental Saver. When trying to renew online the website says "yours is not a BT number" even though it's unchanged for years. Attempted to renew on the telephone and got through to human in a couple of minutes only to be told I needed to speak to the corresponding team in FTTP and spent 30 minutes on hold thereafter and the hold music was freaking annoying. Then called back a while later to ask for the telephone number and told I could have it if putting us through failed. After 15 minutes on hold, I hit a hard deadline that was mentioned up front. Sigh!
    </TL;DR>

    Hi MrZipf,
    Thanks for your post and welcome back!
    Sorry you're having problems renewing your line rental saver package online and for the length of time you've spent on the phone trying to get this sorted out.
    No need to worry as I can help get you sorted from here.  Click on my username and under the "about me" section of my profile you'll see the link to get in touch with us.
    All the best,
    Robbie
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Wildcards with telephone number in BP search

    Hi all,
    I added telephone number field to the extended search of business partner, It works only with the exact number and doesn't works using wildcards...
    Any suggestion?
    Thanks a lot

    MAC CL_BSP_BP_ACCMOD's query method uses FM COM_BSP_SEARCH_BP.
    Look into this function module before you make enhancements around BP search using telephone number.
    Thanks,
    Thirumala.

Maybe you are looking for