To Read the Text

Hi All,
Is there any FM which Reads all the Text maintatined in the line Items of the Purchase Order.
I known we can read the Text by using FM READ_TEXT but evertine we have to pass the ID and Object required to get the text.
I wan that all the text will be returned if i pass the PO no. and the Line Item

Hi,
Please refer example code below:
*Internal table to store standard texts
DATA: IT_TEXTS like T_LINE occurs o with header line.
CALL FUNCTION 'READ_TEXT'
     EXPORTING
*         CLIENT                  = SY-MANDT
          id                      =       "Text ID
          language                =       "Laguage
          name                    =       "Text name
          object                  =       "text object
*         ARCHIVE_HANDLE          = 0
*    IMPORTING
*         HEADER                  =
     tables
          lines                   = IT_TEXTS   "Internal table
*    EXCEPTIONS
*         ID                      = 1
*         LANGUAGE                = 2
*         NAME                    = 3
*         NOT_FOUND               = 4
*         OBJECT                  = 5
*         REFERENCE_CHECK         = 6
*         WRONG_ACCESS_TO_ARCHIVE = 7
*         OTHERS                  = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
Sriram Ponna.

Similar Messages

  • I can no longer read the text of my emails after I open them

    All of a sudden I can no longer read the text of my incoming mail, however if I click to reply I can read text then

    Go to Settings > General > Reset > Reset Network Settings; will not erase any data, just resets network connections such as wifi, and cellular data; Hope this helps.

  • Powershell script - how to read a registry hive and store the value in text file and then again read the text file to write the values back in registry

    Hi All,
    powershell script Method required to read a value from registry and then taking the backup of that values in some text file.
    For example the hive is
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
    and under path i need to take back up  of values in some text file and then put some value in the registry after back is taken in text file.
    Also how to read the text file values so that we can again write to registry hive  back from the back up text file.
    Your help is much appreciated.
    Umeed4u

    I think you need to read this first:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • How to read the text in a link present in a web site ?

    An excellent example I can think of ..is this forum. Using a Java program I need to access/read
    the text present in all the topics posted here (in one page) and put them into a file. In this way if suppose the network goes down, I can still read the entire topic stored in the text file. This program can be scheduled to run daily.
    Can anyone give any sample code/hints to do this ?
    Thanks in advance.

    You need to make a URLConnection to the page you want, and get the input stream from that page.
    The contents of the input stream (use a reader to get them) will give you the raw HTML code. Use a parser to get the actual content. I dont know of a parser offhand, but you can search for one.

  • How to Read the "text file and csv file" through powershell Scripts

    Hi All
    i need to add a multiple users in a particular Group through powershell Script how to read the text and CSV files in powershell
    am completly new to Powershell scripts any one pls respond ASAP.with step by step process pls
    Regards:
    Rajeshreddy.k

    Hi Rajeshreddy.k,
    To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
    To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
    $Users = Get-Content -Path 'C:\ListOfUsernames.txt'
    $Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
    Add-ADGroupMember -Identity $Group -Members $Users

  • Function and Department of contactpersons - how to read the texts

    Hello,
    we use at the level of contact person the fields FUNCTION and DEPARTMENT where codes represent a function or department.
    My question is how could we read the texts in users language for the codes in this fields?
    Are there function modules we could use?
    Thank you.
    Kind regards
    Manfred

    hi,
    Use FM BUPR_CONTP_GET_DETAIL to get the codes of Function and department.
    Read the language of the user
    Pass those codes along with language to TB911 --> Departments and TB913 --> functions to get the descriptions repectively
    Regds,
    Raghu

  • Hello, I have an iPad Mini WiFi Cellular white 16Gb and I puted my sim inside it but, I cant read the text message that I recieve in the Sim. What can i do? And I can't put the sim in a cellphone coz it doesn't recognize it. Please help me! Thank you.

    Hello, I have an iPad Mini WiFi Cellular white 16Gb and I puted my sim inside it but, I cant read the text message that I recieve in the Sim. What can i do? And I can't put the sim in a cellphone coz it doesn't recognize it. Please help me! Thank you.

    iPads do not do SMS.

  • Read the text in pdf file

    Dear all,
    I have checked a lot of post about reading pdf in this forum. However, is it possible to read the text in pdf file. In my case, I need to read the content of pdf to do further process. Could anybody give me some suggestions. Thank you.

    I have a similar problem, can anybody help us....

  • Can I read the texts msgs from the other lines on my account?

    Can I read the texts msgs from the other lines on my account?

    rcschnoor wrote:
    tikibar1 wrote:
    If the phone is using Verizon Messages and you know the MyVerizon password, then you can read the messages from your computer.
    Of course, this assumes the messages had not been deleted on the phone by the user.
    Of course!  And that also applies to reading the texts on the phones themselves. 
    Deleted texts will still show up on the text logs, though.

  • Read the text in object LFA1 with ID Z001

    Hi Guys,
    Can u please suggest me how can i read the text in object LFA1 with ID Z001.
    Actually my requirement is i have service agent in my internal table.
    Z002 is the current pro number..that is ready to use after using that update that current pro # Z002 with the next available in the range...(i.e Z001)
    Z001 contains range of Pro number.,. like 848 477 250 to 848 477 740
    asume you used the # 848 477 250 in one shipment, update the Z002 with the second one 848 477 251
    Can u please suggest me this how can i develop. Just send me the suggestions plese i will do that coding. Lookingforward your kind co operation.
    Regards,
    Ravi

    Basic call to function is as follows:
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        id                            = 'Z001'    "Text ID = 'Z001'
        language                      = 'E'       "English
        name                          = 'LFA1'    " Not sure if this is correct
        object                        = l_vendor  "Vendor with leading zeros
      TABLES
        lines                         = l_output   "Table of Structure  TLINE
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8.
    I am not sure I have the name and object exactly right - If you display one of the texts in the old style editor and use menu option Goto-->Header you can see these values.  Alternatively look in table STXH for text headers to see how the key is constructed.
    Andrew

  • FM to read the texts in GOS note

    Hi gurus,
    do you know any FM to read the texts when creating a note in GOS?
    Thanks!

    Try to use fm
    SO_DOCUMENT_READ_API1
    SO_NOTE_READ

  • How do I make just a section of a photo opaque in Pages? So that I an read the text I'm placing over it.

    How do I make just a section of a photo opaque in Pages? So that I an read the text I'm placing over it.

    If you're asking about Pages for iOS (this forum is for iWork for iOS), I don't see an option to make part of an image transparent.
    If you're asking about Pages for your Mac, you can use the instant alpha tool to make the background transparent. There is a separate forum for Pages on the Mac here.

  • FM req to read the text data of the Delivery(TCode-VL02n) In MM

    Hi
    Plz tell me the way to read the text data stored in the TAB->TEXT in the TCODE-VL02n for outbound delivery in MM.
    I need the WMT Quanity filed name & its respective table,plz tell me if any one know or if exots there an FM to fetch this data.
    Regds

    Try it like this:
          call function 'READ_TEXT'
            exporting
              id              = '0001'       "<------This will change for type of text
              language        = sy-langu
              name            = tdname
              object          = 'VBBK'
            importing
              header          = xthead
            tables
              lines           = tlinetab
            exceptions
              id              = 01
              language        = 02
              name            = 03
              not_found       = 04
              object          = 05
              reference_check = 06.
    Also, read the documentation that comes with this function module.
    Cheers,
    Sougata.

  • How to Read the text enetered in Notes Tab of Invoice Doc. ( FB60, MIRO  )

    Hi All,
    We are trying to read the Text Entered in Notes Tab of Invoice Doc using the tcode FB60, MIRO..
    We are able to see the text when we use these tcode but can you please help us how to read these deatils in a program..
    We wanted to download these notes corresponding to the Invoivces..
    Thanks in Advance....
    Regards,
    Vidya.

    Hmm..you will get lots of links if you search the forum/google..
    Anyway - keep a breakpoint in SAVE_TEXT/READ_TEXT function module and create/display MIRO and FB60 documents - this tell you how it stores and reads long text.
    You should use READ_TEXT in your program with same header inputs with respective TDOBJECT and TDNAME parameters.

  • Remove the blue picture behind tabs so I can read the text

    Remove the blue picture behind tabs so I can read the text, black on dark blue background is as bad as yellow text on white background

    You can revert to the Default theme (Tools > Add-ons > Themes).
    See [[Using themes with Firefox]] and http://kb.mozillazine.org/Themes (Lightweight theme)

Maybe you are looking for