How can i read header text?

how can i read header text?
ie, i want to read two values that are stored as header text in purchase order.
how can i retrieve that values?

Hi,
The long texts of a document are stored in a encrypted format in the STXH and STXL tables, where STXH stores the header information of the
long text like TDOBJECT, which indicates which text object the long text belongs to, TDID which indicates the Text ID and TDNAME which is
the actual name of the long text.
As these texts are stored in a encrypted format, the text cannot be read using a SELECT statement. You will have to use the function READ_TEXT. The easiest way of getting to know the parameter values is to go to a document, open the long text in a full screen mode. For example, when you wan to see the long text for a Purchase order, go to transaction ME23n. Assume, you want to see the parameters for the Header Text. In the first Tab Strip Control, click on the Texts tab and select the Header Text node on the left hand side, which will display the text on the right hand side. Now, double click on the text editor on the right hand side. This will open the text in the full screen mode. In the menu Go To --> Header, you should be able to see the values for all the three parameters we discussed above. We will have to do the same thing for whichever text parameters we want to see.
TREC-TDSPRAS = SY-LANGU.
TREC-TDID = 'ECCS'.
TREC-TDOBJECT = 'ZECCS'.
TREC-TDNAME = Z_ACCOUNT.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = TREC-TDID
LANGUAGE = TREC-TDSPRAS
NAME = TREC-TDNAME
OBJECT = TREC-TDOBJECT
TABLES
LINES = LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Details:
Language DE
Text ID F01 Header text
Text Object EKKO Purchasing doc. header texts
Regards,
Shiva Kumar

Similar Messages

  • HT204389 How can Siri read my text messages?

    Siri does not read my texts... How can I change this?

    http://www.dummies.com/how-to/content/how-to-have-siri-read-your-texts-aloud.htm l
     Cheers, Tom

  • How can i read the text files and buffer the data in Vector?

    hi. I have been running into this problem for days, but with no luck and losing right direction.
    The problem is : I am trying to read a text file and buffer the data into a
    Queue for each user.
    the sample text file is as below:( 1st column is timestamp, 2nd is user_id, 3rd is packet_id, 4th is packet_seqno, 5th is packet_size)
    0 1 1 1 512
    1 2 1 2 512
    2 3 1 3 512
    3 4 1 4 512
    4 5 1 5 512
    5 6 1 6 512
    6 7 1 7 512
    7 8 1 8 512
    8 9 1 9 512
    9 10 1 10 512
    10 1 2 11 512
    11 2 2 12 512
    12 3 2 13 512
    13 4 2 14 512
    14 5 2 15 512
    15 6 2 16 512
    16 7 2 17 512
    17 8 2 18 512
    18 9 2 19 512
    19 10 2 20 512
    20 1 3 21 512
    21 2 3 22 512
    22 3 3 23 512
    23 4 3 24 512
    24 5 3 25 512
    25 6 3 26 512
    26 7 3 27 512
    27 8 3 28 512
    28 9 3 29 512
    29 10 3 30 512
    30 1 4 31 512
    31 2 4 32 512
    32 3 4 33 512
    33 4 4 34 512
    34 5 4 35 512
    35 6 4 36 512
    36 7 4 37 512
    37 8 4 38 512
    38 9 4 39 512
    39 10 4 40 512
    40 1 5 41 512
    41 2 5 42 512
    42 3 5 43 512
    43 4 5 44 512
    44 5 5 45 512
    45 6 5 46 512
    46 7 5 47 512
    47 8 5 48 512
    48 9 5 49 512
    49 10 5 50 512
    50 1 6 51 512
    51 2 6 52 512
    52 3 6 53 512
    53 4 6 54 512
    54 5 6 55 512
    55 6 6 56 512
    56 7 6 57 512
    57 8 6 58 512
    58 9 6 59 512
    59 10 6 60 512
    60 1 7 61 512
    61 2 7 62 512
    62 3 7 63 512
    63 4 7 64 512
    64 5 7 65 512
    65 6 7 66 512
    66 7 7 67 512
    67 8 7 68 512
    68 9 7 69 512
    69 10 7 70 512
    70 1 8 71 512
    71 2 8 72 512
    What I wanna do is to read all the data above and buffer them in a queue for each user( there are only 10 users in total).
    I already created a class called Class packet:
    public class packet {
        private int timestamp;
        private int user_id;
        private int packet_id;
        private int packet_seqno;
        private int packet_size;
        /** Creates a new instance of packet */
        public packet(int timestamp,int user_id, int packet_id,int packet_seqno, int packet_size)
            this.timestamp = timestamp;
            this.user_id=user_id;
            this.packet_id=packet_id;
            this.packet_seqno=packet_seqno;
            this.packet_size=packet_size;
    }then I wanna to create another Class called Class user which I can create a queue for each user (10 users in total) to store type packet information. the queue for each user will be in the order by timestamp.
    any idea and sample code will be appreciated.

    Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
    Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave.

  • How can I read only text files in a directory.

    I've written a program to read files in a directory but I'd like for it to only read the text files of that directory.
    import java.io.*;
    public class Data {
      public static void main(String[] args) throws IOException {
      String target_dir = "C:\\files";
      File dir = new File(target_dir);
      File[] files = dir.listFiles();
      for (File textfiles : files) {
      if (textfiles.isFile()) {
      BufferedReader inputStream = null;
      try {
      inputStream = new BufferedReader(new FileReader(textfiles));
      String line;
      while ((line = inputStream.readLine()) != null) {
      System.out.println(line);
      } finally {
      if (inputStream != null) {
      inputStream.close();

    You have mentioned you want to read only text files.
    If you are referring to some specific set of extentions, you can filter based on that.
    ex: you want to read only .txt files, you can add an if condition as below :
              if(textfiles.getName().endsWith(".txt")) {
                  // Add your code here
    Cheers
    AJ

  • How can I read a text on Image by using IMAQ vission tool

    I would like to read a text on the image file by IMAQ vission tool.

    Could you explain a little more what it is you are trying to do?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can I read a text file??

    Hi every body, does any boody has a code for read a text file and show this text in a JTextArea??? I'm trying with a FileReader but the text doesn't appear well.
    Thanks in advance.
    Juan

    File f = new File("file.txt");
    try
      LineNumberReader inputFile = new LineNumberReader(new FileReader(f));
      while((line = inputFile.readLine()) != null)
        results += line + "\r\n";
      inputFile.close();
    catch(Exception ex)
      System.err.println("Exception caught " + ex);
      ex.printStackTrace();
    area.setText(results); //textarea declared somewhere else

  • How can I read a text file inside the .xsjs?

    I need to read line by line of a text file just like FileReader and BufferedReader in Java. It contains a script SQL to insert data in my DB. Can I use some API?

    There is no API that allows you to access the file system of the server in XSJS. You would need to upload the file from the client side and it will appear as a array buffer in the request object.  From there you can convert the array buffer to a string and process however you like.
    For example:
      var content = "";
        content = $.request.body.asArrayBuffer();
        var array = new Uint8Array(content);
        var encodedString = String.fromCharCode.apply(null,array),
             decodedString = decodeURIComponent(escape(encodedString));
            content = decodedString;
        var lines = content.split(/\r\n|\n/);

  • How can I read the text in this .tar?

    On my MacBook Pro running10.6.8...
    I have downloaded a file named "ascii2html-0.0.1.tar.xz" from a Unix site that is supposed to contain both source code and binary.  I'm interested in reading the source code, which I assume is in text.
    Doubleclicking on it launches Stuffit Expander V10.0 which says it does not recognize the file's format.
    I downloaded Stuffit Expander V15.0.7 which also cannot recognize the format.
    I found an "Archive Utility.app" in /System/Library/CoreServices, but I cannot figure out how to invoke it.  Double-clicking on it launches terminal; after that, entering "man Archive Utility" doesn't seem to do anything.
    I also verified that /usr/bin/tar exists (it's an alias to /usr/bin/bsdtar) ad so does /usr/bin/gnutar, if that helps.
    Any ideas?
    --Gil

    Open Stuffit Expander>Preferences>Advanced.  Make sure tar files are assigned for SE to open by clicking on the "Assigned To Stuffit Expander" button.

  • How can I create a Text-Input Field in BexAnalyzer for a Planning Function

    Hello,
    i want to create a pre calculation(contribution accounting) for Materials in BI-Integrated Planning. These Materials aren't in the master data. So I create a new Info Object for pre calculated materials with only a material-number as key and a text-description.
    Now I want to write a Exit-Function, which creates new materials in these Info Object. The user should start this function in a planning application in BexAnalyzer. There the user should have the possibility to enter a text-description for the new material. How can I create such a Text-Field in BexAnalyzer and how can I read this text filed in a planning function (exit).
    Thanks in advance

    Hi Jürgen,
    you can create a parameter for this in the exit function and a variable for the parameter. In BEx Analyzer then create a button for the planning function; in the button parameterization use VAR_NAME = , i.e. use an Excel formula here to get the value from an Excel input field.
    The command range should be some 'hidden area' in your Excel sheet.
    But may be you don't need this. Use a characteristic without master data. Then ensure that that the query uses the option 'key' as display. In new lines you can then enter the key, the system creates a SID on the fly (but the text table will not be updated). In this scenario you may take text also from the key. May be you can update the text table (online or in batch) by simply using function modules from function group RSNDI_MD (not released by SAP).
    But observere that the system in BI Planning reads only the active version, i.e. if you change something on the fly the changes may not be visible.
    Regards,
    Gregor

  • How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word.

    How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear.  You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location.  THANK YOU!!!!!!

    Have you tried Word for Mac?
    You will need to test if links survive export or printing to .pdf
    Peter

  • How can I read the bootstrap files and extract the fragment-URLs and fragment-numbers in plain text?

    How can I read the bootstrap files of any HDS Live stream and extract the fragment-URLs and fragment-numbers in plain text?
    Could it be that it is some kind of compressed format in the bootstrap? Can I uncompress it wirh  f4fpackager.exe? Could not find any download for f4fpackager.exe. I would prefere less code to do so. Is there something in Java of JavaScript, that can extract the fragment-numbers?
    Thank you!

    Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
    Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave.

  • How can I read text files from LAN if I only know the hostname?

    I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
    <p>1. How can I read text files from LAN if I only know the hostname, or IP address?
    <p>2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.
    (ex. how can I read the 120th line?)
    <p>Please help!
    <p>sorry for the bad english

    I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
    1. How can I read text files from LAN if I only know the hostname, or IP address?You need to know the URL of the file. You need to know the hostname, port, protocl and relative path.
    The hostname is server, not file.
    2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.Use the seek() to get to a random byte.
    (ex. how can I read the 120th line?)The only way to find the 120th line is to read the first 120 lines. You can use other file formats to find the 120th line without reading the whole file but to need to be able to detremine where the 120th line is

  • How can I highlight pdf texts in adobe reader 9?

    I am using adobe reader 9 . How can I highlight pdf texts?

    With the commenting tools. But they will only be available if the author of the PDF enabled that option in Acrobat.

  • How can I read and write text in rings that are inside an array?

    Hello All!!!
    How can I read and write text in rings that are inside an array?
    Regards and thanks in advance.

    Use a Property Node linked to the Ring inside the array.
    Of course, all elements in the array will have the same text values.
    B-)
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:47 AM
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:48 AM
    Message Edited by LabViewGuruWannabe on 12-13-2007 09:49 AM
    Attachments:
    Strings-BD.PNG ‏17 KB
    Strings-FP1.PNG ‏23 KB

  • How can I fix the text in my photo book that reads"your default text had not been edited. Printed books will not include this text?"

    How can I fix the text in my photo book that reads"your default text had not been edited. Printed books will not include this text?"

    You will get this warning, if your book includes textboxes that still include the default text, like "Insert Title". You need to find these boxes and add your own text.  Look for boxes like this:
    Make a PDF-preview of your book and look, where the preview differs from what you are seeing in iPhoto.
    iPhoto, Aperture: Previewing an order in iPhoto or Aperture

Maybe you are looking for

  • Nano won't update or restore

    I just got a Nano, installed the original iTunes & iPod software off the CD, and was able to import and transfer music onto the nano. Yay. I learned that iTunes had an update, so I downloaded & installed that without incident. Yay. I then learned tha

  • Usb print server maybe wireless

    We have two windows computers with attached printers. With our MBP we tried sharing either the canon Pixma mp830 or the HP PSC 700 but the results were I used windows printing with a "closest" match driver which seemed kind of goofy. I am thinking of

  • PC Suite, CA-42 Cable Won't Recognise 6021

    Running Windows XP SP2 on 2 different PCs I can't get a 6021 connected via IR or genuine Nokia CA-42 cable although cable connection *has* worked with older-model Nokai phone (sorry I didn't make a note of the number). I suspect the phone is defectiv

  • Need a Advice for move from  peoplesoft to SAP BI

    Hi Experts, I am working as a peoplesoft Technical consultant in a MNC past 2 yrs . I want to change my domain to SAP BI. I need a suggestion. SAP BI Training already completed. But in my it's not possible for change so please advice how i will highl

  • How do I auto-calculate the number of appearances of a particular value in multiple fields?

    Hi folks!  Some assistance with this matter would be greatly appreciated. I have a form where I need to have calculated the number of appearances of certain values in a dropdown list.  The total number of each would then be calculated and displayed i