How to transform a text variable in PLD to all CAPS?

Dear Experts,
I have a text variable in my PLD and I will like to change this text to all upper case?
What is the function I can use to achieve this in PLD?
Warmest Regards,
Chinho

Hi Chinho,
PLD is a basic tool without the function you asked for.  If you click on Formula Editor, you will find only less than 10 string operations are supported. You may use UDF with FMS by Upper function from SQL to achieve your goal.
Thanks,
Gordon

Similar Messages

  • How to Create a Text Variable

    Hi Experts...
    Can you please explain me how to create a Text variable...
    In my Cube i had 3 different date fields....
    and as per my requirment i need to create a rolling report for which will display data for 6 months rolling.
    As the date field which i need to use is not mapped to Time Char's (Cal Year,Cal Month...etc)
    For that reason i created below customer exit variable and used offset variables to achieve the rolling 6 months report
    Code used for Customer Exit VAriable:
    WHEN 'ZC_Cmonth1'. " Current Cal Month Car Expiry
    IF i_step = 2.
          CLEAR l_s_range.
    determine date
        LV_SYDAT     =  SY-DATUM.
        LV_YEAR_ACT  =  SY-DATUM+0(4).
        LV_MONTH_ACT =  SY-DATUM+4(2).
    Set begin date of intervall
    CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '01' INTO LV_DATE_LOW.
    Set end date of intervall
    CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '31' INTO LV_DATE_HIGH.
    Fill ranges-tab with: include all values between beginning of year
    and actual date
      CLEAR E_T_RANGE.
      CLEAR L_S_RANGE.
      L_S_RANGE-SIGN = 'I'.
      L_S_RANGE-OPT  = 'BT'.
      L_S_RANGE-LOW  = LV_DATE_LOW.
      L_S_RANGE-HIGH = LV_DATE_HIGH.
      APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    Now i need to create TEXT VARIABLE that will display the Month Name in the column name
    Please update in detail step how to create a Text Variable

    In your specific requirement select the which ever the keyfigure you want  to analyse, go to edit mode of keyfigure propeties there select the newvariable type and create the Text variable by maintaining the proper offset start and length and also maintain the in whcih format u want see the month name in column headers. Maintain the Text format or key format. it totally depends on u r requirement.
    Hope it will help ful for u.
    Bye,
    Chandu.

  • How to populate a text variable

    Hi All,
    I need to populate a text variable based on the value of a characteristic in the query. Since the value of the characteristic and the text variable value is not the same I cannot use replacement path. So here I have to use customer exit.
    My problem is how to get the value of the characteristic in the customer exit.
    If the characteristic is used in a variable I know how to get the value of the characteristic (We can get it from i_t_var_range). But here I am not using the characteristic in any variable. So how will I get the characteristic value in the customer exit.
    Any useful help will be appreciated.
    Thanks
    Anand

    Hi Srini,
    Based on my above scenario suppose that there are only two month values in the cube, say January and March. So in the column side there will be only two column for each key figure, if only month characteristic is there in the column side, one for January and the second for March. Here I want to populate "First" as value for text variable where January is there and "Third" as value of text variable where March is there.
    Here you have mentioned "you can read all available values in cube and pass required value/text to text variables". Here how do I write a code to read the month values from the cube, that is my question.
    If it is there in some variable I could have got it from "i_t_var_range". But as per user requirement I cannot use a variable restriction on the month and they want to use this text variable across the queries(which I am not creating, user themselves are creating the queries) based on their requirement.
    Thanks,
    Anand

  • How to change the text variables for a standard report-writer report ?

    I am trying to change the text variables for a report -writer report and transport the same so as to change the title page and the report output heading  .I know the Report-Group 6Z02 and the library 6O1 to which it belongs.I tried using the change transaction GR32 after going to the area menu through FGRP . I try to change the text variables through  but it throws an error "You chose a name in the reserved name range - try different name ".
    I have also tried copying this report into another report and changing the new report . I was able to change and save the text variables . Now when I try to overwrite the original report 6Z02-001 with this new report , it does not allow that.
    Let me know how I can change the text variables for the same

    Can anyone please suggest me what to do here ?

  • How to convert a "text variable" to String with plugin

    Hello,
    I am currently developing a InDesign (CS5) plugin, where I need to manipulate text variable.
    From the plugin I want to convert the "text variable" to string (in principle I should use the method "VariableToString (..)" of "ITextVariable")"
    My problem is, how to find the text varial from its name (I think I should use the method "FindLocationsUsed(..)" of "ITextVariableSuite") and then convert it to String
    I don't know how to use interfaces ITextVariable and ITextVariableSuite
    Plugin implemented in C++ language
    thank you

         InputStreamReader in=new InputStreamReader(fis);
          StringWriter out=new StringWriter();
          char[] buffer=new char[8192];
          int sizeRead;
          while ( ( sizeRead=in.read(buffer, 0, 8192) ) != -1 )
            out.write(buffer, 0, sizeRead);
         String content=out.toString();

  • How to transform a byte[] variable to a Integer variable?

    Can anybody do me a favor to tell me how to trasform a byte[]variable to a Integer or String variable?
    Thank you very much

    To transform a bytearray to a string is simple:
    String s = new String(byteArray);Transforming an bytearray to an Integer isn't that simple... I don't know the best way to do it. But one way is to transform it to a String and then:
    Integer i = new Integer(new String(byteArray));//David

  • How to make a text variable (running header - character) resize a text frame?

    I have successfully been able to get a metadata text variable to auto-resize a text frame, but when I change the text variable to a running header-character/paragraph variable, the text frame does not resize - in fact it gets smaller and squashes the text.
    Surely if Indesign can handle one kind of variable it should handle another??
    Please help!

    Thanks all.
    Will- I tried adding another character to the text box but this made no difference.
    Eugene- I'm trying to avoid the purchase of any 3rd party plugins due to budget constraints.
    I realised that all I needed to do was use a wide paragraph rule to emulate a box behind the text, and make the text box long enough to hold all possible variables.
    One other issue has now cropped up, the running header (character) only grabs the text up to the first return, but I need it to grab all text formatted with the Character Style (2-3 lines max).
    I require a forced line break in the title (where the header is being pulled from) as it has a paragraph rule style attached, requiring a full return for each line of the title.
    Any ideas?

  • How to create a text variable for Calender Yr/Month depending on the prompt for calendar year

    Hi everyone
    Please assist on this issue:
    i have created a Bex report that has an offset for 12 months from the current calender month, i tried to use text variables to replace the calender months but i just learned now text variables from Bex dont work in BO, so I would like to create a prompt in BO to enter Calendar Year and then based on the input(Calender Year) the Webi report must display a 12 months for that Year.
    Please also indicate where exactly  i have to click in order to get that "Helpful icon "  when the my issues have been resolved, because i searched it and havent seen it anywhere on the communications
    Thanks in Advance
    Ole

    Hi Gill
    In BO I recieve my all months for existing data  and when i create a prompt for Calender Year the months in the report still has those text varibale for exampl if i enter 2011 on the prompt the text remains for the year that was already there wen i created my text variable... so its not dynamic.....
    So if i have text variables in Bex it will display like this in Webi in which it wont change if i put in 2011 as input for the prompt...

  • How to get the Text variables in the Columns Headings

    Hi,
         My requirement is I need to get data for weekly wise and for the last 10 weeks also. For this purpose I used the restricted KF based on the variables (customer exit) and offset. Also used the text variable for displaying from and to days in the column headings. I am getting the right text for the first column only. But the text offset is not considering.
    Ex 07/04/2007 to 07/10/2007      06/27/2007 to 07/03/2007 like that.
    I used the two text variables one for from data and other for to date using the customer exit. I am getting the same text as of the first column for the subsequent columns also. Please help me for getting the right text in the columns.
    Thanks,
    visu

    Hello ,
               The quite simple way is to create a text variable with replacement path , as it replaces the value of customer exit used in the report.
    create two text variables
    First variable:
    1 Replace variable with -
    external characteristic key value
    For interval use ---from value
    2.Secod text variable
    Replace variable with -
    external characteristic key value
    For interval use ---To value
    offset start -0000 offset length0000
    use these variables in the column headings.
    hope it is clear,
    assign points if useful

  • How can I utilize text variable in my book which only uses data merge on the first chapter?

    Hey ladies and gents, I'm trying to automate a process here and running into trouble. I have the first chapter of a book with several data merge fields (legal documents etc), and want the later chapters to pick up from what I have already merged via text variables or SOMETHING. From what I've tried, the options available to me are limited and buggy.
    Using the running header with character styles almost worked, but it removes all visual tracking in text around it (I assume this is a bug) and it only works for the first/last instance of the style. I need something that will fill in all instances.
    Here is an example of what I'm doing. In the ch1 document of my book I data merge the Name, Age and Occupation of a person. In chapter two I want to have a variable that takes the name that was merged in ch1. Any ideas? Doesn't seem possible!

    I need some solution that references live text, specifically different fields that have been data merged. This solution needs to work between documents, so your cross-reference suggestion was in the right direction. If I data merge 'Plan Name' from a CSV file into my first document and mark it with something (character style, paragraph style, text anchor etc), I want to have places in my other documents that pull that exact text from the first.
    If document 1 says 'the plan is XXXX', document 2 will copy that name, i.e. 'According to plan XXXX'. Whatever solution this is it's what I'm looking for.

  • Text tool is stuck in ALL CAPS mode

    I am attempting to create a simple, mostly text logo, and when I attempt to use the TEXT TOOL, the settings seem to be stuck in ALL CAPS MODE. 
    I can't even see an option to change the text settings at all -- to adjust anything font-related (aside from what's on the default tool bar). For now, I must resolve this ALL CAPS issue, at the very least; I would also like to adjust any & all other standard font settings, including character spacing, kerning, etc.
    Can someone please point me in the right direction?  Thank you!!

    Okay, head to Settings -> General -> Reset and tap Reset All Settings.  See if that does any good.  This will have no affect on the content stored on your device.
    B-rock

  • Portal: how to define new text variables for information broadcasting

    Hello everybody,
    I hope the post here is placed on the right position. If not, please try to advise me, where to ask to get answer on following question:
    -> In BI Portal -> tab Business Intelligence -> Bex Broadcaster -> it is possible to create PDF and post it somewhere into Portal or any other network drive. That's fact. I'm searching for possible enhancement of the F4 help next to the field "data name". There are available only following few variables <OBJECT_ID> <SETTING_ID> <OWNER_ID> <PROCESSED_BY_ID> <LANGUAGE_ID> <DATE_ID> <TIME_ID> <WEEK_ID> <MONTH_ID> <QUARTER_ID> <YEAR_ID>
    We are facing this issue: generated analysis file is valid for the period from month 01 to month actual-1. So therefore I would like to implement my own variable.
    Do you know guys, where to define this own variable with own logic?
    Could you please give me some hints how to create a new one and fill the logic?
    Thank you very much in advance
    Stan

    Not resolved. Life goes still on.

  • How to transform a text to a graphic?

    if that is possible,can you give me some tips or a sample?
    thanks in advance.

    I really want to save a special text to a Image,just
    like text "dobetter"-> dobetter.jpg ,
    what can i do next?To save a java.awt.image.BufferedImage to a file: use javax.imageio.ImageIO.
    To put text onto a BufferedImage: render onto its Graphics2D object:
    Demo:
    import java.awt.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import java.io.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class X {
        public static void main(String[] args) throws IOException {
            String text = "Hello World";
            Font font = new Font("Lucida Bright", Font.PLAIN, 64);
            FontRenderContext frc = new FontRenderContext(null, true, true);
            Rectangle2D bounds = font.getStringBounds(text, frc);
            int w = (int) Math.ceil(bounds.getWidth());
            int h = (int) Math.ceil(bounds.getHeight());
            BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
            Graphics2D g = image.createGraphics();
            g.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
            g.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON);
            Paint paint = new GradientPaint(0, 0, Color.GREEN, 10, 10, new Color(0, 128, 0), true);
            g.setPaint(paint);
            g.setFont(font);
            g.drawString(text, -(float)bounds.getX(), -(float)bounds.getY());
            g.dispose();
            ImageIO.write(image, "jpeg", new File("hello.jpeg"));
    }

  • How do I set global variables for use by ALL form1.#subform[0] items?

    Hi All,
    I know how to code javascript but am new to Adobe LiveCycle.  When I open script editor, I have the following code (all code is in un-bolded):
    ----- form1.#subform[0]::initialize: - (FormCalc, client) ------------------------------------------
    // BEGIN: SET GLOBAL PRICES //
    var Cityscope_Sydney_CostUser1 = 60.39;
    var Cityscope_Sydney_CostUsers2to5 = 3.02;
    var Cityscope_Sydney_CostUsers6to20 = 1.21;
    var Cityscope_Sydney_CostHardCopyWithOnline = 14.59;
    var Cityscope_Sydney_CostHardCopyWithoutOnline = 54.67;
    var Cityscope_Sydney_CostHardCopyAdditional = 14.59;
    var Cityscope_NorthSydney_CostUser1 = 48.40;
    var Cityscope_NorthSydney_CostUsers2to5 = 2.42;
    var Cityscope_NorthSydney_CostUsers6to20 = 0.97;
    var Cityscope_NorthSydney_CostHardCopyWithOnline = 14.59;
    var Cityscope_NorthSydney_CostHardCopyWithoutOnline = 43.54;
    var Cityscope_NorthSydney_CostHardCopyAdditional = 14.59;
    // END: SET GLOBAL PRICES //
    ----- form1.#subform[0]::enter: - (FormCalc, client) -----------------------------------------------
    ----- form1.#subform[0]::exit: - (FormCalc, client) ------------------------------------------------
    ----- form1.#subform[0]::calculate: - (FormCalc, client) -------------------------------------------
    ----- form1.#subform[0]::validate: - (FormCalc, client) --------------------------------------------
    ----- form1.#subform[0]::preSave - (FormCalc, client) ----------------------------------------------
    <<======= etc etc etc =======>>
    ----- form1.#subform[0].Item1Cost::initialize: - (JavaScript, client) ------------------------------
    ----- form1.#subform[0].Item1Cost::enter: - (FormCalc, client) -------------------------------------
    ----- form1.#subform[0].Item1Cost::exit: - (FormCalc, client) --------------------------------------
    ----- form1.#subform[0].Item1Cost::calculate: - (JavaScript, client) -------------------------------
    //Store form values in user-friendly names.
    var AreaSelected = Item1Area.rawValue;
    var NumberOfUsersSelected = Item1Users.rawValue;
    //Declare other vars.
    var Users1Calculation;
    var Users2to5Calculation;
    var Users6to20Calculation;
    //Calculate individual User Cost "components" based on number of users selected for the area.
    switch(true)
    case (NumberOfUsersSelected < 2):
      Users1Calculation = NumberOfUsersSelected * Cityscope_Sydney_CostUser1;
      Users2to5Calculation = 0.00;
      Users6to20Calculation = 0.00;
      break;
    case (NumberOfUsersSelected > 1 && NumberOfUsersSelected < 6):
      Users1Calculation = Cityscope_Sydney_CostUser1;
      Users2to5Calculation = (NumberOfUsersSelected - 1) * Cityscope_Sydney_CostUsers2to5;
      Users6to20Calculation = 0.00;
      break;
    case (NumberOfUsersSelected > 5):
      Users1Calculation = Cityscope_Sydney_CostUser1;
      Users2to5Calculation = 4 * Cityscope_Sydney_CostUsers2to5;
      Users6to20Calculation = (NumberOfUsersSelected - 5) * Cityscope_Sydney_CostUsers6to20;
      break;
    default:
      alert("BROKEN: Calculate individual User Cost components based on number of users selected for the area.");
    //apply total cost for this item
    Item1Cost.rawValue = Users1Calculation + Users2to5Calculation + Users6to20Calculation;
    ----- form1.#subform[0].Item1Cost::validate: - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Cost::mouseEnter: - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Cost::mouseExit: - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Cost::change: - (FormCalc, client) ------------------------------------
    ----- form1.#subform[0].Item1Cost::full: - (FormCalc, client) --------------------------------------
    ----- form1.#subform[0].Item1Cost::mouseUp: - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::mouseDown: - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Cost::click: - (FormCalc, client) -------------------------------------
    ----- form1.#subform[0].Item1Cost::preSave - (FormCalc, client) ------------------------------------
    ----- form1.#subform[0].Item1Cost::postSave - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::prePrint - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::postPrint - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Cost::preSubmit:form - (FormCalc, client) -----------------------------
    ----- form1.#subform[0].Item1Cost::docReady - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::docClose - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Cost::ready:form - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Cost::ready:layout - (FormCalc, client) -------------------------------
    ----- form1.#subform[0].Item1Users::initialize: - (FormCalc, client) -------------------------------
    ----- form1.#subform[0].Item1Users::enter: - (FormCalc, client) ------------------------------------
    ----- form1.#subform[0].Item1Users::exit: - (FormCalc, client) -------------------------------------
    ----- form1.#subform[0].Item1Users::calculate: - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Users::validate: - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Users::mouseEnter: - (FormCalc, client) -------------------------------
    ----- form1.#subform[0].Item1Users::mouseExit: - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Users::change: - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Users::full: - (FormCalc, client) -------------------------------------
    ----- form1.#subform[0].Item1Users::mouseUp: - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::mouseDown: - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Users::click: - (FormCalc, client) ------------------------------------
    ----- form1.#subform[0].Item1Users::preSave - (FormCalc, client) -----------------------------------
    ----- form1.#subform[0].Item1Users::postSave - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::prePrint - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::postPrint - (FormCalc, client) ---------------------------------
    ----- form1.#subform[0].Item1Users::preSubmit:form - (FormCalc, client) ----------------------------
    ----- form1.#subform[0].Item1Users::docReady - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::docClose - (FormCalc, client) ----------------------------------
    ----- form1.#subform[0].Item1Users::ready:form - (FormCalc, client) --------------------------------
    ----- form1.#subform[0].Item1Users::ready:layout - (FormCalc, client) ------------------------------
    ...and so on and so forth....
    In short, I want the code within:
    ----- form1.#subform[0].Item1Cost::calculate: - (JavaScript, client) -------------------------------
    ...to be able to access the variables I have created in:
    ----- form1.#subform[0]::initialize: - (FormCalc, client) ------------------------------------------
    (I have assumed that this is where I would store Global variables)
    At this stage, the global variables cannot be accessed with the configuration above.  The only was I can get this to work is to cut and paste the global vairables into each form1.#subform[0] item, which of course defeats the purpose of global variables!  I plan to have many more items so would not want to duplicate the global variables for all of them!
    Can somebody show me how to do this?
    Any help is very much appreciated!
    Thanks
    Stanbridge
    Message was edited by: stanbridgej - colors and or fonts won't save.  Have bolded my question to make code (non-bolded) easier to read (I hope).

    Hi MorisTM,
    Thanks for the reply!
    Yes, I saw that option (I should have mentioned I already knew about it), but was wondering if there is a way I can do this via code.
    There are two reason I want to be able to do it via code (only one of which may be valid):
    1) I can automatically generate my pricing code form another inhouse app.
    2) I am hoping that later on once I get this working I will be able take it a step further and get the data directly from a MySQL database!
    Cheers though!
    Any other suggestions?
    Regards,
    Stanbridge

  • How do I keep my name from appearing in all caps?

    Since I upgraded to ML, my name in my email address appears in ALL CAPS. I've tried changing it to lower and upper case in preferences and in settings. It works for a while but goes back to ALL CAPS in a day or two.
    It's extremely frustrating because having one's name in ALL CAPS comes accross as RUDE and SELF-IMPORTANT!

    I'm glad I'm not the only one who feels this is important.  I was able to make it work (get rid of the all caps):
    1.  When you're in Mail, go to Preferences.
    2.  When you're in Preferences; go to Accounts.
    3.  When you're in Accounts; select iCloud and Account Information.  From here, you may see your name in all caps greyed out in the [Full Name] part.  You should also see where it says [Alias] to be a drop down list.
    4.  Select [Alias] and change it to (Custom).  This should allow you to edit the way your name appears.
    5.  When you finish this part, Save it (by moving to a different section in the preference pane) and it should work.
    KT

Maybe you are looking for

  • Portege Z930 - Display Driver doesn't work correctly

    Hello, we have a Portege Z930 with Windows 7 64 bit in use where the Intel Display Driver seem to work incorrectly. First problem is the slow presentation on display - if we open a picture (simple JPG) and move the window, the window frame will break

  • Where can i get in depth training on imovie?

    imovie has a pretty good amount of options & so many different tools to make a video look just about any way you want. there are a lot of people with youtube channels advising how to use this app, but nobody really shows you anything other then basic

  • Powershell: Add registry value based on current user

    I would like to automate a network printer install that uses secure print. I can push the actual install out through group policy, but I need script that will assign each persons unique ID number to the printer settings.  Get current user name Check

  • SharePoint 2013 Architecture Concepts Help

    I'm mainly a SharePoint 2010 administrator.  Recently I've taken on a role that requires many SharePoint hats including figuring out to architect our SharePoint 2013 environment.  I'm the only one here that knows anything about SharePoint that is ded

  • Ipod NOT turning on, won't reset, won't charge and isn't recognized by PC

    I've had my 120 Ipod Classic since the end of 2008. Before I went to bed Saturday, I plugged it in to the USB port to charge overnight while my computer was still on. I wake up Sunday and my ipod is completely dead. It won't charge or turn on. I've t