ASCII code for return

Hi all,
What is the ASCII code of the return carriage? How can I check if a line finishes with a return?
Regards.

Hi all,
What is the ASCII code of the return carriage? How can
I check if a line finishes with a return?
Regards.Try this link:
http://www.asciitable.com/

Similar Messages

  • Getting the ascii code for null

    i want to get the ascii code for null and append it for n number of times as string and return it.

    check whether it is correct
    public static String createNULL(int number){
              String     nullValue = new String(new char[number]);
              System.out.println(" String nullValue"+nullValue);
              System.out.println("length :"+nullValue.length());
              return nullValue;
    output i am getting is
    String
    nullValue.......................................
    ength: 35It's correct.

  • Content Query Web Part (CQWP) displaying ASCII code for the colon portion of a time

    I'm having an issue with a CQWP displaying : for the colon portion of a time.  For example, instead of 6:30, the CQWP shows 6:30. 
    I checked our encoding which is set to UTF-8.  We also have a custom style on the CQWP and I've made sure that our custom itemstyle.xsl file has the disable-output-escaping property set to yes. 
    When I look at the list I'm querying from, the ascii code is not showing in there; it's displaying properly as 6:30.  I tried to flip this by replacing the colon with the ascii symbol in the list but it still showed the ascii code on the CQWP.
    Any ideas?

    Hi Cameron,  thanks for your reply.  The solution in the blog would work for an area that is only for date or time.  Unfortunately, this particular section of my CQWP is more than just a time; it's the summary of a news article--
    which may or may not contain a time depending on what the news article is about. 
    In further testing I have also noticed, when viewing the source code, that the colon is represented as
    : which tells me that the ampersand of the ascii code for the colon is also being convertied to ascii (in a sort-of double
    conversion situation.)  This isn't something I've ever seen before.

  • What is t-code for return delivery to supplier ?

    what is t-code for return delivery to supplier ? I understand it can also be done through MIGO.
    And how can I get delivery number so that I can create invoice to send to vendor.

    Hi,
    If the Recieved material for any reason is rejected and needs to send back to Vendor.
    There is 2 options.
    1) At the time of GR if the material is rejected you can make return delivery in MIGO using Movement type 122 .
    with reference to this 122 document you can send the material back to vendor immidiatly.
    2)If the Material is accepted and Vendor invoice also processed and material is at production then if the material found rejected
    you need to create the Return PO for that vendor.
    Using ME21N enter all the details like Std PO and at item overview you need to select the check box Return.
    So the PO gets created.
    Against this returns PO you need to do the Goods reciept.
    So system will take movement type 161 automatically and your inventory stocks will goes less for that quantity.
    You need to raise the credit memo to debit the Vendor account in MIRO or any other process.
    So that your account also matched with qty & Value
    Then you send the Credit memo details to vendor along with material to the vendor.
    rgds
    Chidanand

  • Hexadecimal code for return character

    Hi,
    Can anyone tell the Hexadecimal code for return character or new line in abap. I want to use it in the following code.
    data: w_ret type X value '<hex code>'
    loop at it_tab.
    concatenate w_ret it_tab-field1 it_tab-field2
                 into it_newtab.
    append it_newtab.
    endloop.
    w_ret shoul be a new line character.

    if you are on WAS 6.10 >
    you can use CL_ABAP_CHAR_UTILITIES=>cr_lf
    else
    '09' as hex code
    Regards
    Raja
    Note: please search the forum before posting a question. this has been discuessed many times here.
    Message was edited by: Durairaj Athavan Raja

  • What is T code for return  money of advance payment.

    hello Gurus.
    in our comapany, we gives advance money to our site engineer. and site engineer is define as vendor in our comany.
    now some money is not spent by site engineer. and They want to revoke it back  to account department.
    so how acount department take entry of that money.
    which t code is use to collect that money back.
    we are waiting your reply.
    Regard,
    Riten patel

    Dear,
    Create one special G/L for advance payment to site engineer. For e.g. you have create special G/L T - Advance to site engineer.
    Whenever you make advance payment of Rs. 1000 to site engineer the entry will be - Use transaction F-02
    PK              Account                 Sp G/L          Amount
    29               Vendor a/c                 T                 1000
    50               Cash a/c                                       1000
    When engineer returns Rs. 200. then - Use transaction F-02
    PK              Account                 Sp G/L          Amount
    39               Vendor a/c                 T                 200
    40               Bank a/c                                       200
    It is better if you create your own document type for e.g. ZR - Return of adv payment from engineer so that this transaction will identified very easily.
    Regards,
    Chintan Joshi.

  • Movement code for return from Production without WBS?

    Hi All
    How can I return material from production without entering a WBS. Currently we use MB1A movement type 222 but we have difficulty in identifying material coming back from production. But we have to enter a WBS element. As you know, this takes the cost of the material from the WBS. If we have no WBS we cannot return it into stock.
    How can I return material into a warehouse from production without entering (no reference) to a WBS? Material is issued to production using movement types 221 and 281.
    Thanks
    Darren

    Hi,
    Please try to use the movement types: 521 (or) 531 , to receive goods without referring Production Orders/ WBS elements.
    Regards,
    Narayana.

  • Code for return from task flow

    Hi,
    I came across this TaskFlowUtils which contains utility methods related to task flow.
    Is there any method which will cause return from task Flow. I can't find the same.
    I do not want to return via Task Flow return activity.
    Regards,
    Nikhil

    Nikhil, which jdev version do you use?
    What is your use case?
    Are you referring to the class TaskFlowUtils Chris Muir developed and which is available through ADFEMG?
    If yes, this class is more to inspect the current task flow. It contains some methods to control the task flow (commit, rollback), but is not meant to navigate.
    It is essential to understand how task flows work, if they are called using a task flow call activity or if they are run in a region. A task flow run in a region is not meant to return. It always run once it initiated. There are patterns how regions communicate with their parent or other regions.
    So the question is what do you want to do?
    Why do you want to return from a task flow and why don't you want to use the task flow return activity?
    Timo

  • Event Used For Return Processing Through Transaction Code-FP09

    Hi Experts,
    I am facing the following problem in FP09:- After creating a return lot, when i provide return reason code for returning payments, event 1073 is not getting triggered.
    So, can you please provide the event that will be used for return processing after supplying the reason code for return.
    Else, could you please tell me the event which will be triggered by transaction FP09... so that i will catch return reason code in its parameter.
    Regards,
    Sumit

    Hi Experts,
    Thanks for your valuable replies .
    But my exact requirement is like:- i need to first check the flag for "Inform Accounting Clerk" in SPRO configuration :customizing (financial accounting)-> contract account receivables and payable -> business transactions -> returns -> configure reason codes.
    Field for this flag check is V_TFK045E-BSNTE for the Reason Code-02 , now there is dependency mentioned in SAP like "You can only use this option if event 1073 has a function module defined".
    After attaching my Z-function module in FQEVENTS , when i run transaction FP09, it doesn't stop at the set breakpoint of my function module, so what i suppose is that may be event 1073 is not the suited event or transaction FP09 is not the required transaction.
    please help me in this regard.
    Regards,
    Sumit

  • Need help with converting characters to ASCII code

    Hey. Im trying to write a program to make Caesar Ciphers by random numbers. This cipher must also wrap from front to end of ASCII code, so that if, for example, the character being ciphered is Z and its being modified by +3, the result ciphered character is not "]", but "c".
    Im planning on reading the text that the user inputs (using ConsoleIO) into a string and then seperating each character into a character[]. Then, i would like to find the ASCII code of each character and print out the ASCII code character of the old ASCII code + the modifier.
    So far, this is what i have (sorry for the length, i like to space things out so that its easier on the eyes and more organized... X-( ... ):
    public class EvanFinalB {
         static ConsoleIO kbd = new ConsoleIO();
         static String enteredPhrase;
         static int phraseLength;
         public static void main(String[] args)
              System.out.println("Enter a phrase and this program will cipher it into a secret message.");
              System.out.println("/nEnter your phrase here:");
              //read phrase
              enteredPhrase = kbd.toString();
              //find length of entered text
              phraseLength = enteredPhrase.length();
              //declare arrays for the individual characters of the entered text and the ciphered characters
              char[] enteredChar = new char[phraseLength + 1];
              char[] cipheredChar = new char[phraseLength + 1];
              //loop converting of entered text into seperate characters
              for(int x = 1; x <= phraseLength; x++)
                   enteredChar[x] = enteredPhrase.charAt(x);
                   cipheredChar[x] = cipher(enteredChar[x]);//call cipher() method to find new ciphered character
         //wrap from front to end of ASCII code
         static char cipher(char enteredChar)
              //choose random number to cipher message by
              int modifier = (int)(Math.random() * 26) + 1;
              if(enteredChar + modifier > 90)//90 is the ASCII code for "Z" which is the last capital letter
                   cipheredChar = (97 + (modifier - (90 - enteredChar)));//97 is the ASCII code for "a" which is the first lower case letter
              return cipheredChar[1];
    }The program is obviously in its early stages but (i started creating it today actually), if there is a simple method or anything that i can use to find the ASCII value of a character in order to use enteredChar so that 'enteredChar' is equal to the ASCII code of the new ciphered character, please help me out...Thanks
    P.S. If there's an easier way to go about creating a program for Caesar Ciphers, let me know.

    The following code is from my Java textbook Big Java by Cay Horstmann. It is not my code and it's just to guide you in your own cipher.
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.IOException;
       This class encrypts files using the Caesar cipher.
       For decryption, use an encryptor whose key is the
       negative of the encryption key.
    public class CaesarCipher
          Constructs a cipher object with a given key.
          @param aKey the encryption key
       public CaesarCipher(int aKey)
          key = aKey;
          Encrypts the contents of a stream.
          @param in the input stream
          @param out the output stream
       public void encryptStream(InputStream in, OutputStream out)
             throws IOException
          boolean done = false;
          while (!done)
             int next = in.read();
             if (next == -1) done = true;
             else
                byte b = (byte) next;
                byte c = encrypt(b);
                out.write(c);
          Encrypts a byte.
          @param b the byte to encrypt
          @return the encrypted byte
       public byte encrypt(byte b)
          return (byte) (b + key);
       private int key;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Scanner;
       This program encrypts a file, using the Caesar cipher.
    public class CaesarEncryptor
       public static void main(String[] args)
          Scanner in = new Scanner(System.in);
          try
             System.out.print("Input file: ");
             String inFile = in.next();
             System.out.print("Output file: ");
             String outFile = in.next();
             System.out.print("Encryption key: ");
             int key = in.nextInt();
             InputStream inStream = new FileInputStream(inFile);
             OutputStream outStream = new FileOutputStream(outFile);
             CaesarCipher cipher = new CaesarCipher(key);
             cipher.encryptStream(inStream, outStream);
             inStream.close();
             outStream.close();
          catch (IOException exception)
             System.out.println("Error processing file: " + exception);
    }

  • Code for a simple line break?

    Anyone know the syntax for a line break for data that is
    being displayed in notepad file:
    <CFCONTENT type="application/txt">
    <CFOUTPUT
    QUERY="getLines">#pccn##plisn##data##card#(need a line break
    here)</CFOUTPUT>

    Ken F. wrote:
    > Anyone know the syntax for a line break for data that is
    being displayed in
    > notepad file:
    >
    > <CFCONTENT type="application/txt">
    > <CFOUTPUT
    QUERY="getLines">#pccn##plisn##data##card#(need a line break
    > here)</CFOUTPUT>
    >
    #chr(13)##chr(10)# <!--- I.E. ASCII Codes for line break
    and carriage
    return. --->

  • ASCII Code in ABAP

    Hi Experts,
    We need to enter a unique ASCII character called 'US' or Unit Separator in a text file being generated through a program.
    The ASCII code for US is 31. However when we try and do it programmatically the character '#' is getting populated.
    The code is as follows:
    DATA : lv_sep type c.
    field-symbols : <xfs> type x.
    assign lv_sep to <xfs> casting.
    <xfs> = 0031.
    write lv_sep.
    Kindly help us out.
    Thanks and Regards,
    Ravi Bhatnagar

    Hi,
    This character is special one, so you can't print it out. In SAP all special charcter which can't be printed are replaced with placeholder #.  They are intended to do theri special purpose in flat file, once you open it.
    Do the following:
    - use fm HR_KR_XSTRING_TO_STRING to convert xstring with value  '1F' (30 decimal value) to string
    - write this string to certain place in internal string table (where you want later use it in the file)
    - download this table as to file
    - special character will do its purpose in text file
    This is the same functionality as you would be placing Line Feed (0x0A - 10 dec). It would be shown as # but once you open downlaoded file you don't see hash # anymore, but you see that new line in that place.
    Hope this is clear
    Regards
    Marcin

  • HT4009 How long does it take for apple to return with the needed code for in app purchases.  We have a developer working through elance that states he submitted a finalized version last friday to apple and is still waiting to get the code back from Apple?

    We are being told by our elance developer that he is just waiting on apple to return the code for in app purchases with our app.  he says he had to submit a complete version before they would give it to him and that he did that last friday.  Needless to say i don;t beleive him.  Can anyone validate for me the process of getting the code installed into our app and how long it should really take.

    I'd say an average of one week, depending on backlog. Expect two if you are outside the US.
    The outage has caused some lingering effects that seem to be delaying things for some, however.
    Patience is key in all things when it comes to being a developer

  • How do I get labview for linux to send out ascii code to a motion controller?

    I have posted part of this problem but I will now try to clearify things. I have an x-y stage that needs motion control. I have to run the motion controller from within a linux system (RedHat 7.1) due to others in the research area. I have found a motion controller card (PCI) that will run under linux. This card is not National Instruments. I understand that they do not have drivers for their controller cards. This other card comes with the companies own software that uses ASCII codes to move the motors on the stage. I was hoping to create a program that could call those ASCII codes to move the stage. An example would be if a user wanted to have the stage move to the right he would press a b
    utton on the screen instead of typing in whatever ASCII could that move to the right happens to be. How would I go about programming something like this? I have heard of others doing things like this but I am unsure of how to program labview to send out ASCII codes to a PCI card to move motors.

    > would I go about programming something like this? I have heard of
    > others doing things like this but I am unsure of how to program
    > labview to send out ASCII codes to a PCI card to move motors.
    Look in the manual to see get familiar with the sequences of codes you
    need to write, and more importantly, where you write them to. I suspect
    a memory location, but it could be a socket or port.
    Each of these locations will have a slightly different way of accessing
    it. Once you know, search devzone for how to do it on linux, or post
    back here.
    After you can send the codes to the right location, you probably want to
    build a state machine that simplifies the interface and prevents certain
    actions from taking place. Now determine which buttons or
    keys perform
    which actions and use either the event structure or the older polling
    for control changes to affect state changes in the state machine.
    I'm summarizing here assuming that you know what a state machine is and
    why you'd want to use it. If I'm assuming too much, do some research
    and post again with more specific questions. Also be sure to look at
    example VIs as they show how to respond to UI actions.
    Greg McKaskle

  • Returning User Password in Java code for custom reports

    Hi I'm doing a custom report and for the life of me I can't seem to find the password field in the database. :(
    Anyways I'm thinking maybe I can use java code to return the password and then using the decrypt password function. Could someone please shed some light on this!!!
    Note: I need to return the User password using java code and not XPRESS code. It would be best if someone either shows me how you can get the password using a java method or tell me where the User password is stored as I'm going crazy trying to find it in the DB!!!
    Thanks in advance!!!

    well... not sure what your Java code does. But if you can get the WSUser object for each user, you could call getPassword on the object to get the user's password

Maybe you are looking for

  • Updation of  purchase info record during cost is released / additive costs

    Hi Gurus, Is there any enhancement available to to update the purchase info record with thecondition type fild during release of materials using CK40N /CK24. ie Whenever a cost is released ,  the object should populate the overhead condition type (ZU

  • Processor Core Cache Hierarchy Error in event viewer and BSOD

    Hello everyone. Lately I have had some problems with random freezing, and I can't figure out what's causing it, hoping to get some help here. I have a MSI X79A GD65 (8D) motherboard and 4930K cpu, currently running @ 4.4ghz, 1,33V, disabled all the p

  • App appears dark on LCD projector

    Hi all, I have a weird problem report, and I'm fishing for ideas on troubleshooting. My colleague frequent connects to client's LCD projectors and some of the time our CVI-built apps appear much darker than normal on the screen.  The darkness occurs

  • Flash Navigation Problem

    http://www.pccadv.com/flashdemoexternal/b2b/ I'm having trouble getting the round circle (with numbers in them) buttons to navigate correctly. It doesn't happen all the time, but enough to make it an issue. The user might watch one of the chapters un

  • Lost all contacts after software upgrade can anyone help

    lost all contacts after software upgrade of my phone and cant get them from outlook to address book on my mac to get them back