How to change Labels in runtime ?

Hello,
Is it possible to change the labels in a view dynamically at runtime, based on some conditions?
Regards
Ajay

Hi Sam,
Yes, one way is to use multiple view configuration loaded based on the configuration. Can be done at DO_CONFIG_DETERMINATION method of IMPL class.
Regards,
Harish P M

Similar Messages

  • How to change label in charts in CRM 2013

    I want to change x-axis and y-axis label in chart. Please guide me how to change label in chart.

    http://mscrmninja.tumblr.com/post/15553130574/changing-chart-axis-titles-in-crm-2011
    My blog: www.crmanswers.net -
    Rockstar 365 Profile

  • How to change label in pagination scheme?

    How to change label in pagination scheme? I need to translate "Next" and "Previous" into my native language.
    Regards,
    Kostya

    Hi Kostya,
    see http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28550/global.htm#CHDJFHBD and Translation and NLS in APEX
    Hope that helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • How to change label color in LabelGraphics script?

    I am using ID CS4 and running the LabelGraphics script to label several images in a large document. When I run thre script, the box with the file name is transparent with black type. I would like the box to be white with black type. Is there any way to edit the script that will enable this? It would be great if there was an "object style" in addition to the "paragraph style" in the run script pop-up window. Anyone?

    Hi hylet,
    Here's how to change the LabelGraphics.jsx script itself to add an object style option:
    1. Look for the line:
    var myStyleNames = myGetParagraphStyleNames();
    And add this line before or after it:
    var myObjectStyleNames = app.documents.item(0).objectStyles.everyItem().name;
    2. Look for the lines:
    //Style to apply
    with(dialogRows.add()){
         with(dialogColumns.add()){
              staticTexts.add({staticLabel:"Label Style", minWidth:myLabelWidth});
         with(dialogColumns.add()){
              var myLabelStyleDropdown = dropdowns.add({stringList:myStyleNames, selectedIndex:0});
    And add the following lines after them:
    //Object style to apply to the text frame
    with(dialogRows.add()){
         with(dialogColumns.add()){
              staticTexts.add({staticLabel:"Label Object Style", minWidth:myLabelWidth});
         with(dialogColumns.add()){
              var myObjectStyleDropdown = dropdowns.add({stringList:myObjectStyleNames, selectedIndex:0});
    3. Look for the line:
    var myLabelStyle = myStyleNames[myLabelStyleDropdown.selectedIndex];
    And add this line before or after it:
    var myObjectStyleName = myObjectStyleNames[myObjectStyleDropdown.selectedIndex];
    4. Look for the line:
    myAddLabels(myLabelType, myLabelHeight, myLabelOffset, myLabelStyle);
    And change it to:
    myAddLabels(myLabelType, myLabelHeight, myLabelOffset, myLabelStyle, myObjectStyleName);
    5. Look for the line:
    function myAddLabels(myLabelType, myLabelHeight, myLabelOffset, myLabelStyleName){
    And change it to:
    function myAddLabels(myLabelType, myLabelHeight, myLabelOffset, myLabelStyleName, myObjectStyleName){
    6. Look for the line:
    myAddLabel(myDocument, myGraphics[myCounter], myLabelType, myLabelHeight, myLabelOffset, myLabelStyle);
    And change it to:
    myAddLabel(myDocument, myGraphics[myCounter], myLabelType, myLabelHeight, myLabelOffset, myLabelStyle, myObjectStyleName);
    7. Look for the line:
    function myAddLabel(myDocument, myGraphic, myLabelType, myLabelHeight, myLabelOffset, myLabelStyle){
    And change it to:
    function myAddLabel(myDocument, myGraphic, myLabelType, myLabelHeight, myLabelOffset, myLabelStyle, myObjectStyleName){
    8. Look for the line:
    var myTextFrame = myFrame.parent.textFrames.add(myLabelLayer, undefined, undefined,{geometricBounds:[myY1, myX1, myY2, myX2], contents:myLabel});
    And add the following line after it:
    myTextFrame.applyObjectStyle(app.documents.item(0).objectStyles.item(myObjectStyleName), true);
    9. (Optional) Look for the line:
    myTextFrame.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;
    And delete it or put "//" in front of it--this will let the object style take care of setting the first baseline offset method.
    After you make these changes, the script adds the object style dropdown to the dialog:
    Thanks,
    Ole

  • How to change Labels of Fields in the search help shown as F0001 F0002 etc

    Dear All,
    For one of my fields of screen I have been calling a search help configured using F4IF_INT_TABLE_VALUE_REQUEST.
    In this function I am returning the field in dynfields. Let me know please how to change the Labels of Field Names being shown in the search help as F0001, F0002 etc....
    Regards,
    Alok.

    Hi Alok,
    You can change the Field Label by going to the Data Element and changing the Field Label .
    Hope this helps
    Regards
    Sunil

  • How to change Labels of Fields being shown in the search help as F0001 etc.

    Dear All,
    For one of my fields of screen I have been calling a search help configured using F4IF_INT_TABLE_VALUE_REQUEST.
    In this function I am returning the field in dynfields. Let me know please how to change the Labels of Field Names being shown in the search help as F0001, F0002 etc....
    Regards,
    Alok.

    Hi Alok,
    You can change the Field Label by going to the Data Element and changing the Field Label .
    Hope this helps
    Regards
    Sunil

  • How to change labels in maintenance view

    Hi,
    i have created a maintenance view on a table.
    i attached this view to a transaction.
    when i run that transaction the table is appearing for display of values
    and new entries. but i want to change labels of the appearing view.
    is there any way?
    please suggest me.
    raju

    Hi,
    to handle GuiXT central in SAP: use transaction SHD0. There is also an online help for further information.
    in SHD0 transaction variants are defined: alternative tcodes, where normally fields are hidden and default values are assigned.
    Enter standard tcode in field TCODE, enter z-tcode in field TCVARIANT and create just something for playing...
    In upper part you will find flag GiuXT-Script and in upper part is 'i'-button for help in using this transaction (this blue-i-help-button is also in starting screen, docu is implemented like SPRO-docu).
    Approach with SHD0 ensures transportation of scripts and automated download to local Guis - so some help to handle bigger installations.
    Regards,
    Omkar.

  • How to change label font

    i am in the final stages of making an iphone app in xcode. i am now working on changing the font of each of the labels in my app. i have gone to interface builder and selected each label. then, in the inspector, i changed the font to the one i wanted. however, the change doesn't show in either interface builder nor when i run it. the font i picked only shows when i double tap the label in interface builder and highlight all of the text.
    if anyone knows why this could be happening and how to fix it, i would be ever so greatful.
    thanks in advance!

    Try to change the label font style programmatically using the statement
    "myLabel.font = [UIFont fontWithName:@"Zapfino" size: 14.0];"
    may it works......

  • How to change field in runtime at update query

    hi buddys
    i have to change the particular field during runtime how is it possible
    sample :
              UPDATE zmpq_qcchk_hdr
               SET (field) = i_hdr-ind1 WHERE
               zcust = i_hdr-zcust AND zns = i_hdr-zns AND
               zpgma = i_hdr-zpgma AND zdpn = i_hdr-zdpn AND
               zdu = i_hdr-zdu AND  zpart = i_hdr-zpart AND
               zsale = i_hdr-zsaleorder AND zitem = i_hdr-zitem.
    The (field) should be changed at runtime
    with luv
    pauldharma

    YOu can concatenate the field name with the whole string like this
    concatenate v_fieldname
    ' = i_hdr-ind1 WHERE
    zcust = i_hdr-zcust AND zns = i_hdr-zns AND
    zpgma = i_hdr-zpgma AND zdpn = i_hdr-zdpn AND
    zdu = i_hdr-zdu AND zpart = i_hdr-zpart AND
    zsale = i_hdr-zsaleorder AND zitem = i_hdr-zitem.'
    into v_string.
    UPDATE zmpq_qcchk_hdr
    SET (v_string).
    Regards,
    Ravi Kanth Talagana

  • How to change Label Color Dinamically

    Hallo, i have a Label:
    <s:Label id="fotoAssociata_nuostr" text="Foto Non Associata" left="512" top="138" color="RED"/>
    The color is RED and i want to change it dinamically through ActionScript but when i call this.fotoAssociata_nuostr, i can't find color property, why??.. How can i change it dinamically?
    Thx for help
    Max

    Hi
    You Can use ....
    var MyColor:int = 0xff0000;
    this.otoAssociata_nuostr.setStyle("color", MyColor);
    or
    this.otoAssociata_nuostr.setStyle("color", MyColorPicker.selectedColor);

  • How to change line width runtime?

    Hi,
    I want to change line width dynamically or runtime depending on certain conditions.
    I had written format trigger on line and used SRW.SET_BORDER_WIDTH but it does not work. so what is other possible solution for this?
    Thanks in advance.

    In your variable vertical elasticity frame put several fixed vertical elesticity objects (lines, frames, etc.) of different heights. In the runtime, suppress all the objects in their format triggers, but one with the height you need. The objects need to be made invisible by setting their color to white.

  • How to change labels in pivot tabls

    I have created a report combining two cubes. From one cube I select the total room nights and total revenue, and from the other cube I filter on room nights and room revenue for a certain company.
    The goal is two compare how much revenue and room nights from the total is coming from this company.
    I used there the combine with similar request functionalities and added one column in each cube for the purpose to create the labels "Tot room nights", "Company room nights". This works as well, however under Room Revenue in pivot tables it shows "Tot room nights", "Company room nights" as well, which is wrong.
    Attached screens shots for better understing.
    I have tried to create the label for the revenue as well, but it doesn't work.
    Any suggestions?
    http://imageshack.us/photo/my-images/809/company1z.jpg/
    http://imageshack.us/photo/my-images/99/companyq.jpg/
    Thanks

    Hi,
    to handle GuiXT central in SAP: use transaction SHD0. There is also an online help for further information.
    in SHD0 transaction variants are defined: alternative tcodes, where normally fields are hidden and default values are assigned.
    Enter standard tcode in field TCODE, enter z-tcode in field TCVARIANT and create just something for playing...
    In upper part you will find flag GiuXT-Script and in upper part is 'i'-button for help in using this transaction (this blue-i-help-button is also in starting screen, docu is implemented like SPRO-docu).
    Approach with SHD0 ensures transportation of scripts and automated download to local Guis - so some help to handle bigger installations.
    Regards,
    Omkar.

  • How to Change Label Size When Publishing a PDF

    We are attempting to print barcode labels from XML Publisher.
    This question is not about fonts but rather label size.
    In our Word template, we selected a label size under Page Setup.
    But we have an odd requirement to publish that document as a PDF for remote printing. When we currently publish to PDF, it only treats the page size as Letter. It's ignoring the selected page size from the Word template.
    Does anyone know how to get XML Publisher force the PDF-published document treat the page size as a Word label size (or custom size)?
    Note: We are on XML Publisher 5.5 on a Red Hat Linux server.

    Hi Tim,
    Need help. We need to print labels (width 6 inches, height 4 inches). Earlier we used to use optio and for labels we had a thermal printer which would print the labels in the exact size required.
    But now, we want to replace Optio and roll out to XML Publisher for labels. I have no idea how to go about this. Can you please help.
    Thanks
    B.S

  • Multi-Language - How to change labels and titles of standard iViews?

    Hi Portal Content Management Gurus,
    I would like to know how to translate the text parts of the standard SAP provided iViews in order to support multiple languages?
    I tried the Translation Worklist Coordination and Translation Worklist facilities provided in the portal. But not able to figure out where I am making the mistake. I am not able to get the translated iViews. I also checked the "include dependent objects" option. But not able to find out where will the generated resource bundles will be available.
    Can any body guide me?
    Thanks & best regds,
    Alag

    Hi Saravanan,
    I just tried changing the browser language. I am not able to see the "Content Provided by SAP" folder itself under the "Portal-Content" directory.
    (1) Is there anything else I need to do in order to see that folder?
    And when I try previewing the iViews after changing the browser language, still the iView content is displayed in English.
    (2) Can I make a copy of this iView and edit change the language property to some other language say "German"? In that case, I will have to maintain multiple copies of the same object. But I tried creating a delta link copy of the object. But was not able to edit and change the language.
    (3) Or do I have to edit it in the par file of the corresponding iView?
    best regds,
    Alagammai.

  • How to change label of Detailed Navigation

    Hello Forum Friends,
    I have en EP 6.0 on WAS 640 SP19 on Netweaver 2004 , and I have structured a navigation hierarchy with a 2 level Top Level Navigation and with a third level in the Detailed Navigation, so that the third level constructs itself in the Detailed Navigation. But I need to figure out if I can change the label of the Detailed Navigation Iview, this is if I have in the Detailed navigation nodes relating to years, instead of having the Detailed Navigation Name in the name of the iview it displays Years as label, also in another page if the nodes in the Detailed Navigation are related to (for example) months, it displays Months in the Detailed Navigation iview name , since my boss doesn't want to see the label Detailed Navigation, but he want to have a label related to the content that is displaying.
    I don't know if I can change someting dinamically with the Detailed Navigation Iview to have this behavior or if you can provide another workaround for having this behavior.
    Thanks in advance
    Luis
    Rewarding point will be given.

    Hi Luis,
    The non-programming way to do this is the following:
    1. Make Deltalink or hard Copy of the DTN and place them in you customer specific namespace. Do this for every title you need.
    Lets say for this example 3 (Year,  Month and Week)
    2. Rename the iViews as you want (Year,  Month and Week)
    3. Add these DTN iviews as Dynamic navigation iViews to a all the pages that they need to be visible with.
    If you don't have all the content yet you could better create a page template and add the renamed iView to the different Page Templates. Then create the pages based on these templates. Saves time when you need to change something in the future
    4. Create a copy of you Frameworkpage and remove the default DTN of it.
    5. Assign this framework/desktop to everyone who needs these "special labeled DTN"
    I hope you get what I mean with this... If you want to do this with programming you could remodel the SAP DTN or build your own DTN based on TAG libraries.
    Good Luck,
    Benjamin Houttuin

Maybe you are looking for

  • Payment terms for a vendor

    hi friends...........                               i want to release a contract for a vendor.that contract is value based.if i make a contract for above 2 lakhs he shoulld give 2% discount. this has to applicable for a particular vendor???          

  • Item status Field in FIAR

    Dear All We are using Standard business content to extract FIAR Data. We have not written any rules for Item status field for AR. We are getting wrong item status field. For some customerseven if document is cleared and moved to BSAD table, The docum

  • How to get Retro for a period or how to know which month is having retro

    Dear Freinds,            I would like to know how can i know which month is having Retro . Iam reading from the FM  cu_rgdir and further iam using PYXX_READ_PAYROLL_RESULT to get the payroll results. But when we see pc_payresult if we have for period

  • BP Turnover Query by Sales Emp

    Hi Experts, I am trying to run this query to show in 3 columns the turnover over 3 years per sales employee for each of their customers. SELECT T1.[CardCode], T1.[CardName],  (select Sum(T2.DocTotal) where T2.[Docdate] between '20110101' and '2011123

  • BookMarkRoot.children

    Hi, to obtain a  list of the top-level bookmarks and the pages they point, I use the VB6  code    Dim avDoc As Acrobat.CAcroAVDoc    Set avDoc = CreateObject("AcroExch.AVDoc")    Dim pdfFile As String    pdfFile = App.Path & "\file.pdf"    If avDoc.O