Keep lower-case in FM

Hi
I have made a FM, where the input is in lower-case, but inside the FM-code the parameters are converted to uppercase.
The FM looks like this:
FUNCTION Z_MY_FM.
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(REKV) TYPE  AD_TEXT_CS
*"     REFERENCE(REF) TYPE  AD_TEXT_CS
*"     REFERENCE(KONTO) TYPE  AD_TEXT_CS
*"  EXPORTING
*"     VALUE(XREKV) TYPE  AD_TEXT_CS
*"     VALUE(XREF) TYPE  AD_TEXT_CS
*"     VALUE(XKONTO) TYPE  AD_TEXT_CS
*"     VALUE(XSUBRC) TYPE  SUBRC
  a_ordre = rekv.  "<-- allready here the rekv is in uppercase
  a_ref   = ref.
  a_konto = konto.
The TYPE AD_TEXT_CS is for lower-case.
When I start to run the FM, it is in lower-case, but when i reach the line a_ordre = rekv - the value in rekv is in uppercase.
If I run the tcode SE37
Insert the FM name Z_MY_FM
and check the box "Uppercase/Lowercase",
Then there isn't any problems...
Can anybody help me how to keep the input in lower-case?

Hi,
I dont think the issue is with the data element AD_TEXT_CS
I just created a function module in my system here :
FUNCTION ZTEST_FUNC_PARAMETER.
*"*"Local interface:
*"  IMPORTING
*"     REFERENCE(TEXT) TYPE  AD_TEXT_CS
*"  EXCEPTIONS
*"      BLANK_INPUT
I called this function from a progran and passed the value 'New York' . It retained the value as it is.
CALL FUNCTION 'ZTEST_FUNC_PARAMETER'
  EXPORTING
   text              = 'New york'
* EXCEPTIONS
*   BLANK_INPUT       = 1
*   OTHERS            = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Put a break point on the statment call function of your program and make sure it is passing the value correctly while calling the function.
regards,
Advait.

Similar Messages

  • Conversation lower case to upper case by default not wanted

    Hi,
    Oracle converts lower case table names and columns names to upper case by default. To keep lower case letters names must be quoted. This "work around" is not acceptable.
    Is there a way to change this behavior either for the database or for a session?
    Thanks

    Easy answer. We are migrating from sybase ASE to
    oracle. Sybase supports mixed lower/upper case by
    default.Which is a proprietary behavior. After all these years of accusing Oracle of not conforming to standards, when they do (or come close) it bites them. <g>
    Users are familiar with reading column names like
    "RxCellsHec0Clp0" instead of "RXCELLSHEC0CLP0".
    Yes, there are users working directly with sql.If the users are used to putting the column name in double-quotes, then creating the table with identifiers in double-quotes will conform to the expected behaviour. That simply means that each and every reference to the table requires double-quote around the identifiers.
    And it is quite impossible to get them changing all their queries
    from select RxCellsHec0Clp0 from ...
    to select "RxCellsHec0Clp0" from ...One alternative is to wrap every table (of concern) with a view. My thought would be to leave the table with upper case identifiers, have the view with mixed-case identifiers, and use private synonyms to redirect the user to the view.
    The assumptions are
    1) user-oriented security is in place
    2) users use the quoted-identifier syntax

  • Mac keep automatically changing ALL CAPS to lower case in Pages.

    MacBook Pro automaticaly changes all CAPS to lower case in Pages. It will automatically revert and I can't make the CAPS stay, regardless if I hold 'shift' and type or press the 'caps lock' key. Is there a setting where I can disable this feature?

    You have not said where you are copying this from but it sounds like what you have is text that is styled by CSS on a web page or ATSUI (Apple's typographic type engine) to appear ALL CAPS.
    The actual text is actually U&lc or lowercase.
    You can restyle it using:
    Menu > Format > Font > Capitalization > All Caps
    Peter

  • Keeps capitalizing letters I want in lower case

    when I'm typing something in lower case it sometimes changes to capitals. For example, for a URL i put in the letters .co.U.K. and it changes the U.K. (as it has done here) - the U.K. I have put in lower cases in all examples here and you can see the result. This means I cannot reach my intended website because the URL is not recognized.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • WON'T DISPLAY LOWER CASE "B"

    PLEASE DISREGARD MY PREVIOUS POST, IN WHICH I WROTE THAT MY SYSTEM WON'T PRINT A LOWER CASE "B". WHAT I MEANT TO SAY IS THAT IT WON'T DISPLAY THAT LETTER. CAP "B" IS OK. ONLY DOES THIS IN OSX, BUT WORKS OK IN OS9. IT'S NOT THE KEYOARD, AS I SWAPPED IT WITH ANOTHER, TO SAME RESULT. I'M TOTALLY PUZZLED. ANY BODY KNOW HOW TO FIX THIS PROBLEM?
    BRUCE

    Yes, that's what I thought.
    (Thank you SO much for that last message, Bruce
    I'm hoping someone will come along shortly who knows exactly what this is, but I really think it's a keyboard shortcut that you've set up, maybe even accidently, that is doing this . . . I'll keep looking around in the meanwhile.
    Edit: Have you set any of your own keyboard shortcuts??
    Message was edited by: ~Bee

  • Upper case or lower case

    i am new in JAVA. i am just confused with case sensitivity. Which Keyword will be in upper case, lower case and initcap. for instance in variable declaration "int" in lower case is correct and "String" in Title case.

    Ahlan bek ya faisal,
    You have to keep in mind that data types shpould be treated as it is what in upper is in upper, follow the document that tell u this. Since you are new to java u have to follw some book like Core Java 2 or TIJ. Those books tell the exact case of data types. and remember
    int X;
    int x;x is not X. Each one is individual variable.
    Return to booke to get what u want.
    Type      Storage Requirement                          Range (inclusive)
    int 4 bytes -2,147,483,648 to 2,147,483, 647 (just over 2 billion)
    short 2 bytes -32,768 to 32,767
    long 8 bytes -9,223,372,036,854,775,808L to 9,223,372,036,854,775,807L
    byte 1 byte -128 to 127

  • Convert strings to upper or lower case

    I want to convert a user strings all to lower case but keep the letter of the first string to a upper case
    I'm basically allowing users to input their first name, if they input JOHn, I want my system to convert it to John.

    Hi,
     It just so happens i created this function last night and have it right on hand.  You can try it by placing 1 TextBox and 1 Button on a form and past this code in.  Type the letters of the name in any case and it will capitalize the First
    letter of each part of the name and make the rest of it lower case.
    Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    TextBox1.Text = MakeProperCaseName(TextBox1.Text)
    End Sub
    Private Function MakeProperCaseName(ByVal strName As String) As String
    Dim sb As New System.Text.StringBuilder(strName.ToLower)
    Dim SetUpper As Boolean = True
    For i As Integer = 0 To sb.Length - 1
    If sb(i) = " " Then SetUpper = True
    If SetUpper And sb(i) <> " " Then
    Dim FirstLetter As String = sb(i).ToString.ToUpper
    sb.Replace(sb(i), FirstLetter, i, 1)
    SetUpper = False
    End If
    Next
    Return sb.ToString
    End Function
    End Class
    If you say it can`t be done then i`ll try it

  • MacBook Pro Lower Case cracks.

    Since I opened my MacBook Pro without Retina-Display 2012, the Lower Case cracks, if I press the upper and lower Case together.
    What can I do to solve this problem?
    Should I solve the screws a bit or should I thighten those screws?
    Thanks!

    A new Mac is in warranty for 1 year from the date of purchase.
    You may have to take the computer to the Apple store or Apple Authorized  Service Provider
    to get it fixed under warranty.
    Best.

  • Magsafe flashing or dim green - not charging etc. ----lower case plastic?

    OK, here's a long story as short as I can make it. It will probably be confusing, as I don't have time to figure out the best organization of this info. I'm at work.
    ---SHORT VERSION---
    What is the material attached to the lower case that the internals of the laptop are attached to made of? Does it serve a purpose other than holding down and stabilizing internals?
    ---REASON I'M ASKING---
    I was replacing my IO/DC in board, as that is what was recommended by the Genius bar (no power with my old battery in, powered with no battery). I bought 2 other used batteries that didn't work with it either, both with supposedly over 90% health (but came shipped without much or no charge).
    Anyway, last night I decided since the batteries didn't work, I would tackle the IO board. When taking it apart, I missed one of the instructions mentioning a 4mm hex head on the IO board, and broke off the bit that it screwed into of the lower case.
    My question is...what is the material that the internals of the computer screw into? Is it plastic, or some sort of weak metallic material? I guess I'm asking if I could have made my problem even bigger by breaking the bit where it screws into, or if it is for "attachment" purposes only. I superglued it back on, and it stayed when I reattached the board. However, before I could get a strong green light powering up with no battery. Now it's very dim. However it will actually stay powered with a battery attached...but not charge. Sometimes it flashes, and sometimes it's dim green.
    Finally (maybe), this is not a new IO board. I had to reinstall my old one, due to the fact that I'm an idiot and bought the wrong part (got an A1260 board instead of an A1211 board.) I just am worried since my symptoms have changed, that I may have created yet another problem. Now I'm waiting on another IO board, this time for A1211.
    Just thought I'd see mainly if anyone knows what the material is made of.
    Thanks!

    Nevermind. Pretty sure it's plastic.
    Turns out there was a loose connection. I'd double checked everything last night, but must have missed it as I was tired and hurrying. After it didn't worked I opened it back up and found a part that was loose, snapped it in, and it wasn't better.
    Today I opened it up, and the other side of the same connector was loose. OOPS.
    It now powers up like it did previously. It even started charging the battery for a few minutes, but then it quit. Still I'm relieved it's at least back to "normal" and hopefully when the RIGHT part comes, it'll work.

  • How to convert a text file in lower case to upper case?

    I've a beginner in java world and I just come through the tutorial in http://java.sun.com/docs/books/tutorial/essential/io/filestreams.html showing how to copy a text file:
    import java.io.*;
    public class Copy {
    public static void main(String[] args) throws IOException {
         File inputFile = new File("farrago.txt");
         File outputFile = new File("outagain.txt");
    FileReader in = new FileReader(inputFile);
    FileWriter out = new FileWriter(outputFile);
    int c;
    while ((c = in.read()) != -1)
    out.write(c);
    in.close();
    out.close();
    And I would like to ask how to covert all lower case letters in input file to upper case letter in output file at the same time of copying.
    I guess it'll be using Character.toUpperCase(c), but I don't know how to do it actually.
    Any help would be much appreciated.

    Hope this helps
    import java.io.*;
    public class Copy {
    public static void main(String[] args) throws IOException {
    File inputFile = new File("farrago.txt");
    File outputFile = new File("outagain.txt");
    FileReader in = new FileReader(inputFile);
    FileWriter out = new FileWriter(outputFile);
    BufferedReader buff = new BufferedReader(in);
    String c;
    while ((c = buff.readLine()) != null)
    out.write(c.toUpperCase());
    in.close();
    out.close();
    }

  • Is there a way to remove the dot in a lower case "i" using photoshop?

    I'm working on a poster for a concert, and don't want the dot to appear over the "i" in a word.  Does anyone know how to remove the dot?

    Sure
    You may be able to find a font without dots on lower case i
    You can rasterzise a text layer and remove the dot.
    You can convert the text layer to a shape layer and remove the dot by editing the shapes path.

  • How can I change a column to lower case?

    I selected an entire column and discovered that it's already set at Format > Font > Capitalization > None
    If I change "None" to "All Caps," it capitalizes everything. But when I change it back to "None," letters that were originally capitalized remain capitalized. How can I change EVERY letter in a column to lower case?
    Thanks.

    Format > Font > Capitalization changes how the text is displayed. But it doesn't change the actual text.
    To change all letters to lower case you can use the LOWER() function in cells that refer to the original text. Then select the cells with the formula displaying the "recapitalized" text, command-c to copy, and Edit > Paste Formula Results to remove the formulas.
    SG

  • My itune gift card says it's not authorized.  I've tried to redeem by typing in upper case letters and lower case letters.  I've never had this problem before, what do I do so I can use this gift card?

    I bought an itunes gift card yesterday and I have tried to redeem, but when I do I get a message the card has not been authorized.  I have typed in typed in the code as seen mostly upper case and I have tried lower case also.  Neither is working.  I've never had this problem before.  Should the store where I purchased it from done something to supposedly "activate" it.  I'm at a loss.  I do not have the store reciept a friend does, and I'm sure she desposed of it.

    Yes, the retailer is supposed to activate the card. Otherwise they'd lose hundreds to shoplifting. What you normally should do is go back the retailer from whom you purchased the card and discuss the problem with them. They should either correctly activate the card or give you a new one. If they refuse to help, as some retailers do, or this was a gift so you cannot contact the retailer, go here:
    iTunes Support
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • XML element names required in lower case

    Hi,
    I am on release 4.6C
    I create an XML file from internal table using FM SDIXML_DATA_TO_DOM and SDIXML_DOM_TO_XML.
    The internal table is defined such that the  fieldnames of internal table are same as element names in XML file.
    The XML file gets created properly, but the element names appear in upper case.
    The requirement is to have it in lower case.
    Does anybody have any idea about how to control the case here?

    Hi Sudhir
    you can convert field names manually using translate command to convert it to lower case.
    hope this helps.

  • How can you create a paragraph style that removes all spaces and forces everything to lower case?

    Hi,
    Is there anyway of using GREP (or some other magical wizardry) to create a paragraph style that automatically removes all spaces and forces words into lower case?
    Strange request i know....I'm wanting to use it for datamerged email addresses.
    Thanks

    so doing it through InDesign is a work around I'm exploring.
    Excel has the 'LOWER' function and the ability to record macros for a quick find/replace on the spaces - so that's definitely a good option if it can't be solved purely in InDesign.
    You can change case via scripting in InDesign. This AppleScript (OSX only) will set the case of the selected paragraph style to lower. It would be possible to add some code that would strip spaces as well:
    tell application "Adobe InDesign CS6"
        activate
            set StyleList to name of every paragraph style of active document
        set myDialog to make dialog with properties {name:"Document Paragraph Styles"}
        tell myDialog
            tell (make dialog column)
                tell (make border panel)
                    tell (make dialog column)
                        make static text with properties {static label:"Choose a Style", min width:150}
                    end tell
                    tell (make dialog column)
                        set myPresetsDropdown to make dropdown with properties {string list:StyleList, selected index:0, min width:150}
                    end tell
                end tell
            end tell
        end tell
        set myResult to show myDialog
        if myResult = true then
            --+1 gets the correct name because list starts at 0
            set myStyle to item ((selected index of myPresetsDropdown) + 1) of StyleList
        else
            return
        end if
        destroy myDialog
        tell active document
            set myStyle to paragraph style myStyle
            repeat with j from 1 to (count stories)
                repeat with i from 1 to (count paragraphs in story j)
                    if applied paragraph style of paragraph i of story j is myStyle then
                        --defines a variable to replace the generic this_text parameter in the handler
                        set SCText to the contents of paragraph i of story j
                        set contents of paragraph i of story j to my change_case_of(SCText)
                    end if
                end repeat
            end repeat
        end tell
    end tell
    on change_case_of(this_text)
        set the_comparison_string to "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
        set the_source_string to "abcdefghijklmnopqrstuvwxyz"
        set the_new_text to ""
        repeat with thisChar in this_text
            set x to the offset of thisChar in the_comparison_string
            if x is not 0 then
                set the_new_text to (the_new_text & character x of the_source_string) as string
            else
                set the_new_text to (the_new_text & thisChar) as string
            end if
        end repeat
        return the_new_text
    end change_case_of

Maybe you are looking for

  • How to get rid this Warning=Sales order (SOBKZ = ) is not provided for this

    Dear Concerns In MB1C, Mov Type=521E, and the batch no=A. After entering all the required entries the systen gives me the warning and the system  save the transaction after pushing the enter button five to six times. Sales order (SOBKZ = ) is not pro

  • Hi guru's what is the difference between table and temlate in smartforms

    hi guru's what is the difference between table and temlate in smartforms

  • Can TLD jar can access through EAR / APP-INF/lib folder

    Hi All, If I have a TLD files into jar file and their specific classes are also into jar file . Now can access those jar through EAR file APP-INF/lib folder or else its must to access through WEB-INF/lib folder. any pointer will be great. Regards, Ka

  • IE7 combined with Flash Player 9

    Hi Guys, I have just spent the last couple of month completing a new help file that was working OK until I download Flash Player 9 then the skin would not be displayed if this was not bad enough my parther has just installed IE 7 on to my PC & now as

  • Jpeg vs tiff

    Hi As we know, every time you "open and save" a jpeg image in Photoshop, it compresses the data, resulting in a loss of image quality. Does the same thing happen when you "save" a project consisting of jpeg images in Keynote ? ... and I do a lot of s