Trying to get the label of a search field

Hello,
We are putting in custom validations around some of our searches in the ON_SEARCH methods of BSP views. When displaying an error for a search field entry we want the error to say what field the error is for. We don't want to display the technical field name but rather the field label on the view. In debug, I can see that I want to retrieve the contents in me->typed_context->search->view_descriptor->label_buffer and load into a table of type bsp_dlcs_field. Struggling to get a syntax that will generate, much less work. Any suggestions or code snipets are appreciated.
Thanks in Advance,
Tony

Hello Tony,
did you try something like from any view controller class method?
  DATA lr_view_descr    TYPE REF TO if_bsp_dlc_view_descriptor.
  lr_view_descr = configuration_descr->get_property_descriptor( ).
  lr_view_descr->get_field_label(
    exporting
        IV_ELEMENT_ID = your element id
        iv_context_node = your context node
    receiving
       rv_result = label string ).
Hope this helps to solve your issue.
Best Regards,
Michael

Similar Messages

  • Get the LABEL/CAPTION of a field of the form?

    Hello
    I am trying to get the TextField1's CAPTION/LABEL/DESCRIPTION (what text user sees on the form, say 'Account #') with the below code but its not working, pls. let me know the syntax to get it
    var a;
    var b
    if (xfa.resolveNode("("VISITOR.PAGE1.Subform1.TextField1").rawValue == null) {
    a = xfa.resolveNode("VISITOR.PAGE1.Subform1.TextField1").name;
    b = xfa.resolveNode("VISITOR.PAGE1.Subform1.TextField1").id;
    app.alert( b + " is a required field")
    Thank you

    Unless I'm missing something
    SELECT prod, color, MAX(reference)
      FROM users
    GROUP BY prod, colorJustin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • I'm trying to get the ios 4.2.1 on my second generation iPod . Is there a way to install it directly on my iPod touch because my iTunes on my computer is not working. Please help Apple! I need the update. Just give me a link.

    Im trying to get the ios 4.1.2 on my iPod touch 2nd generation. Can I install it directly on my iPod . My iTunes on my computer isn't working!

    you have to have itunes installed but check out http://support.apple.com/kb/ht4623.

  • Trying to get the Opening and Closing Balance, 0TOTALSTCK and 0VALSTCKVAL

    Hi Experts, Good Day.
    I am developing a query for Stock Balances, Using Custom cube created with copy from 0ic_c03.
    I am trying to get the Opening and Closing Balance, based on Non-Cumulative KF - 0TOTALSTCK and 0VALSTCKVAL.
    Both The KF's Behaviour for Exception Aggregat. = Last Value
    I am using VARIABLE OFFSET as -1 to get Opening Balance, and just restriction for Closing Balance based on 0CALMONTH
    Unfortunately i am getting data for the periods which does not have data in my Cube. It is taking the total value as closing balance for the periods which we don't have transaction in the cube.
    For Ex. I have data for 09.2010 & 10.2010 a particular material, when i enter 08.2010 as input i am getting the total value of the material.
    I hope you understand the problem and solution soon.
    I will give you more explanation if needed.
    Thanks in Advance....
    Have a great Day Ahead.....
    GopalN

    Hi GopaIN,
    can you explain us process you have done about initialization of data (2LIS_03_BX, cube compression)? it seams like there was data before 09.2010 and you load it with 2LIS_03_BX data source. That data is not in cube, but just used for update markers.
    Edited by: Sasa Todorovic on Mar 25, 2011 9:48 AM

  • I am trying to get the CLIPPINGS add on for firefox. but it says it is not compatible with FirFox 8.0 whaat can I do.

    I am trying to get the CLIPPINGS add on for firefox. but when I try and download it, it says it is not compatible with FirFox 8.0. also the latest version of firfox is 3.1 but my version is 8.0 Is that right?

    There were some issues with the addons site and checking for (compatibility) updates.<br />
    It seems to be working now, so you can try again to install the extension.

  • I was trying to get the iOS 8.2 on my iPhone 5 but then it stopped and my phone is now on recovery mode I have pictures I need and they did not all fit on iCloud  how can I use the phone again with ALL my pictures and videos without restoring it?

    I was trying to get the iOS 8.2 on my iPhone 5 but then it stopped and my phone is now on recovery mode I have pictures I need and they did not all fit on iCloud  how can I use the phone again with ALL my pictures and videos without restoring it?

    Contacts are designed to be synced to a supported application on the computer or a cloud service.
    Pictures taken with the device are designed to regularly be copied off the device to a computer as would be done with any digital camera.
    If you have failed to use the device as designed it may be too late to recovery anything.
    Is the device regularly backed up to a computer via iTunes?  If so, the most recent backup (when restored to a replacement iOS device) should contain all contacts and pictures as of when the backup was created.

  • Heey i bought an iphone 3gs about 2-3 months ago (used) today i blanked off the phone itself and then tried to get the newest update cuz i wasnt able to before so i did and now im locked out and it says sim failure invalid sim i can even get into it :(

    heey i bought an iphone 3gs about 2-3 months ago (used) was in mint condition well taken care of not even a scratch as soon as i got home i tried syncing it to my computer but didnt work it didnt even sync or notice my iphone software .. so i went to my friends and synced it there it has been working for music but videos wont work? but i didnt care  and then the pop up that says update so we would click it wait and it wouldnt work ever since ive had it so i left it like that so i went to my friend today i blanked it off the phone itself and then tried to get the newest update cuz i wasnt able to before so i did and now im locked out and it says sim failure invalid sim i can even get into it PLEASE HELP and cant get a new sim at the moment or take it into the apple store because i live about an hour and a half away from the city and rarley go to it please help me !!!!!!!!!!!!!!

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • Ive just got a new iPhone4 and I am trying to get the App's ie games from my iPhone3 onto the 4 and retain the same levels that I have reached on the 3, The Apps have gone onto the 4 but its making me re-start everything from level 1?

    Ive just got a new iPhone4 and I am trying to get the App's ie games from my iPhone3 onto the 4 and retain the same levels that I have reached on the 3,
    The Apps have gone onto the 4 but its making me re-start everything from level 1?
    Ive paid $$ for the games and then more $$ within the games via iTunes for in game purchases and desperatly want the games on the 4 with the levels that I have reached on the 3!
    Can anyone help!! Please!!!! My Smurfs and Animals are starving Hahahaha

    Mate, it's good to hear that you have gotten the iPhone 4 but sorry to burst your bubbles. Not all games can have the "saved" data ported over.
    Normally when you save a game in iPhone, the memory used is in the flash memory of the device. Those that can be ported over, reason is due to the data being saved over the air and when you logged in on a new device, it recognises you via the userID.
    Maybe you can try to backup your iPhone 3, and restore the file onto your iPhone 4. Not too sure if that would brick your phone though.

  • Good morning a few weeks ago  I send the request for the replacement program of my ipod nano 1st generation and they sent me the shipping box but I did not get the label to go back,  and I can not  return it , i need to you sent me again the box for retu

    Good morning a few weeks ago  I send the request for the replacement program of my ipod nano 1st generation and they sent me the shipping box but I did not get the label to go back,  and I can not  return it , i need to you sent me again the box for return the ipod

    Best thing would be to call Apple up again, and let them what has happened and they'll help you!

  • HT1373 i have a broken desktop which had my itunes account on it. I am trying to get the information onto a new laptop and itunes programme but cannot. I also cannot get my iphone 5 to be recognized on the new itunes. HELP

    i have a broken desktop which had my itunes account on it.
    I am trying to get the information onto a new laptop and itunes programme but cannot. I have only managed to copy over some of my music as i had it on an external drive.
    I also cannot get my iphone 5 to be recognized on the new itunes.
    HELP

    iTunes as you see it in the application window uses a series of files and folders contained in the iTunes folder.  Some people make the mistake of only backing up their media in which case all you have is a bunch of media files without the iTunes structure.  In that case you have to build a new library yourself.
    What exactly do you mean "not recognized"?  The phone does not show up on the computer at all, or it does but it says it will wipe the phone?  The wipe the phone stuff is again because it cannot find the original library to which it was synced.  You need to transfer the entire iTunes folder from the old computer or the backup you made of it.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391

  • How to get the label on selectOneMenu selected item??

    Hi,
    I'm not able to get the label of the selected item in a selectOneMenu. The code I use to fill it is:
    <h:form id="formNacion" name="formNacion">
    <h:selectOneMenu value="#{modelRtbBean.nacion}" id="selectNacion" onchange="this.form.submit();">
    <f:selectItems value="#{dataRecoveryBean.naciones}" id="idItemsNacion"/>
    </h:selectOneMenu>
    </h:form>
    The dataRecoveryBean has this method to fill the content of the component (basically it creates an arrayList of selectItems by recovering data from a database):
    public ArrayList<SelectItem> getNaciones() {
    if ((naciones == null ) || (naciones.isEmpty()) ){
    naciones = new ArrayList<SelectItem>();
    HDBGeografico hdbGeo = new HDBGeografico();
    SqlMadd sqlmadd = new SqlMadd();
    try {
    AccessBD sscm = new AccessBD( );
    sscm.table(hdbGeo.getSqlNaci());
    // The AccessBD object has a reference to the resultset:
    ResultSet rs = sscm.getRS();
    while (rs.next()) {
    naciones.add(new SelectItem((String) rs.getString(1), (String) rs.getString(2)));
    sscm.Close();
    } catch (Exception e) {
    System.out.println(e.toString());
    return naciones;
    the modelRtbBean setNacion recovers the value, but I need its label too, because it's a kind of description that I use later.
    In the modelRtbBean setNacion method I'm able to access the UISelectItems object, but I cannot get the selected item itself
    public void setNacion(String nacion) {
    FacesContext fc = FacesContext.getCurrentInstance();
    if (fc != null) {
    UIViewRoot viewRoot= fc.getViewRoot();
    System.out.println(viewRoot.getViewId());
    HtmlSelectOneMenu selNac = (HtmlSelectOneMenu)viewRoot.findComponent("bodySTB:formNacion:selectNacion");
    if (selNac != null) {
    System.out.println("Nacion value-htmlSelectOneMenu :" + selNac.getValue() );
    System.out.println(selNac.getAccesskey() + selNac.getTitle() + selNac.toString());
    UISelectItems uis = (UISelectItems)selNac.findComponent("idItemsNacion");
    if (uis != null) {
    System.out.println("I have the element...");
    this.nacion = nacion;
    How could it be accessed this selected item label ??

    I finally did it as you suggest, but I found another way to access the label (I don't know if it could be useful for anybody but here it is) :
    In the setter method linked to the SelectOneMenu, you can put in this code:
    FacesContext fc = FacesContext.getCurrentInstance();
    if (fc != null) {
    UIViewRoot viewRoot= fc.getViewRoot();
    System.out.println(viewRoot.getViewId());
    HtmlSelectOneMenu sel = (HtmlSelectOneMenu)viewRoot.findComponent("viewName:formName:selectOneName");
    if (sel != null) {
    UISelectItems uis = (UISelectItems)sel.findComponent("idItemsName");
    if (uis != null) {
    ArrayList<SelectItem> listElem = (ArrayList<SelectItem>) uis.getValue();
    You could put in in the value item of each SelectItem it's index position in the list, so in the setter method
    of the bean linked to the selectOneMenu you would get the index of the selected item as the parameter of the method
    int index = 1; // For easyness in this example
    System.out.println("Label: " + listElem.get(index).getLabel() + " Value: "+ listElem.get(index).getValue());
    Thanks !!!

  • Help Please! I am trying to get the 7232 DVR

    I have been trying to get the 7232 DVR since installation.
    My Triple Play was installed on 12/23/2011 and I was given NO DVR.
    I was told I needed to go to the neaest store to get my DVR. At the store they told me they did not have the 7232 but gave me an older DVR, the only one they had in stock but I should call customer service to get the 7232 DVR.
    I called customer service and they said I could only order the 7232 online. I ordered it online around 1/1/2012. Ticket NJDQ026S1V
    I called customer service today and they have no idea where I am in the waiting list and how long it will take.
    I don't think it si fair that since the installer made a mistake that I get stuck with an old DVR.
    Please tell me what I can do
    Thank you for your help 

    The installer did not make a mistake. Installs are done with available equipment. The installation tech likely did not have that box. That ticket you referenced did not show ordering a box. The 7232 can not be ordered on the phone. It must be ordered online. Please follow these steps...
    Go to www.verizon.com/fiostvcentral 
    Sign In
    Select the “FiOS TV” Tab
    Select “Settings”  sub-listing
    Select “Set Top Boxes” from the drop down list
    Select the “Go” button under “Want more from your FiOS DVR.”
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • I am trying to get the music content on my Mac onto my iPhone. When I connect the devices, the computer does not seem to recognize the iPhone, i.e., on the open itunes window, the iPhone is not seen as a connected "device".

    I am trying to get the music content in iTunes on my Mac onto my iPhone. When I connect the devices, the computer does not seen to recognize the iPhone. i.e., on the open iTunes window, the iPhone is not seen as a connected "device".

    Hi,
    See Here
    iPhone, iPad, or iPod touch not appearing in iTunes
    From Here
    http://www.apple.com/support/itunes/devices/
    Also...
    Device Not Recognised
    For PC
    http://support.apple.com/kb/TS1538

  • HT5373 How do I enable a calendar subscription in my iCloud calendar? I'm using a Windows laptop (Home Office 7) and am trying to get the rugby and footfall fixtures to appear on my iCloud calendar.  Thanks for your help.

    How do I enable a calendar subscription in my iCloud calendar? I'm using a Windows laptop (Home Office 7) and am trying to get the rugby and footfall fixtures to appear on my iCloud calendar.  Thanks for your help.

    I suspect you had the same issue I did and downloaded the 64-bit version of the OpenSC libraries, but your firefox is 32-bit. You can see the opensc-pkcs11.dll in the System32 folder via windows explorer, but when you browse that directory via firefox to add the module, you are acutally being redirected to the SysWOW64 directory. Try intstalling the 32-bit OpenSC libraries, and adding the appropriate library from the C:\Windows\SysWOW64 directory.

  • Trying to get the New Rascal Flatts Album....

    I have been trying to get the new Rascal Flatts Album (Unstoppable) using the complete my album feature. I bought the four singles from the countdown to the album thing. When I go to my "Complete My Albums" page, it doesn't show up there. I went to the album main page and clicked "Buy Album." I confirm I wanna buy the album and a pop-up window comes up saying I have bought 4 songs previously that meet the requirements for the "Complete My Album." I click complete my album, but it does NOT download ANYTHING!
    I don't want to pay $4 more to get the album. I was told that I could buy it for $7 TODAY using this feature as long as I bought the four singles. I did buy them and I don't really wanna go through and buy them yet again.

    Presuming you're using the latest version of iTunes (if not, you might try updating), contact the iTunes Store Customer Service department using the form at the bottom of the Purchase Issues FAQ web page and explain the problem to them.
    Good luck.

Maybe you are looking for

  • Internet Explorer for 2010 MacBook Pro

    I have a 2010 MacBook Pro running OSX 10.9.2 and I need to run Internet Explorer to complete regulatory forms at the Energy Information Agency. I have tried CrossOver (which doesn't work) and can't download Virtual Box. Neither Safari nor Firefox is

  • How to set focus on JOptionPane

    Hello guys, I create a String options[] = {"Ok", "Cancle"}; JOptionPane.showOptionDialog(..,..,..,YES_NO,null,options, JTextField); and inside this JOptionPane, there is a JTextField for receive what user input, when I set this JTextField to be the d

  • 32-bit Only 10.6.8

    Is their a way to block all 64-bit apps.  I know how to change them for individual apps, but is their a way to make it so that the OS ignores the fact that their is a 64bit enabled processor and run like it's a 32 bit processor. I'm attempting to tro

  • IPhoto lost my pictures, where can I find them?

    I usually upload all of my photos straight into iPhoto. But now, all of a sudden, when I turn on iPhoto, all of the picture folder icons turn on with their key photo, and almost half of the folders disapear instantly. I can not find those pictures an

  • Personnel Change Request And HCMPF.

    Hi All, Please kindly provide me the difference between Personnel Change Request and HCMPF, Technically, i heard PCR works on java script window and HCMPF on Adobe forms with Webdynpro Environment. (correct me if i'm wrong). Please update me with oth