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

Similar Messages

  • How to find the text id & object name to be used with read_text  ?

    Hi All
    how to determine the text id & object name associated with PO to be used with FM read_text  ?
    Regards
    Jaman

    Hi,
    For PO there will be Header Texts and Item texts.
    For header texts just Take the PO number as TDNAME.
    for Item texts Conactenate the PO number and Item Number and use as TDNAME.
    in ME23N Go to any text.Double click on it
    It will take you to text editor.
    GOTO-> header
    it will display the TEXT  ID,TEXTNAME,LANG  and TEXT OBJECT etc
    Similarly for every  text you will find and use;
    Regards,
    Anji

  • 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.

  • 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.

  • 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

  • What is the text editor that comes with a Mac?

    What is the text editor that comes with a Mac? My daughter purchased a new MacBook Pro. She wants to move her iTunes from the old Windows XP system to OSX. One of the ways I have found to do this is to move theXML Library from XP toi OSX and edit it. The XP version has the drive letter paths and that is different in OSX. If I knew what editor was available, then I could do a mass change of the old path to the new one. Any editor suggestions?

    Hi motero,
    TextEdit is essentially a word processor. You can find detailed information about it [here|http://support.apple.com/kb/HT2523].
    Moving an iTunes library from one computer (PC or Mac) to another is very easy and can be done in a number of different ways. You should read the articles [here|http://www.apple.com/support/itunes> and decide which method is best for you.
    Thanks,
    Acros-Krik

  • 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)

  • Do any of you have trouble reading the text on the 15" MBP?

    Does the 1440x900 resolution make it difficult to read the text on the screen?

    Not for me, but my eyes are good at close range for someone in his 60s. Those who are more farsighted and need reading glasses for close work may have more trouble.
    The things to be concerned about are the menus, dialog boxes, and other Finder and OS elements that can't be enlarged except by reducing the display resolution, which blurs everything on the display. In most applications' windows, you can easily change the font size or zoom in on the page as a whole to suit yourself. Ultimately, whether you're comfortable with the screen resolution at its native (maximum) setting is a purely personal decision that only you can make. I strongly advise you NOT to buy any computer whose display is uncomfortable to use at its native setting, because you will be looking at a blurry screen ALL the time if you have to use any LCD display at a non-native resolution.

  • IOS 7 back ground makes it difficult to read the text.  How can I change it in mail and messages?

    HI,
    iOS 7 back ground makes it difficult to read the text.  I know I can't change it in mail and messages, but Apple really needs to allow some customization.  This is really difficult to read for older eyes.

    yeah I agree with all you guys statements, the color scheme on IOS 7 *****,
    I am having to constantly turn on off on off on off  "invert color" mode just to switch between
    the home screen, typing, and reading text messages, its an absolute pain!!
    I never had any of this trouble in IOS 6.
    What they SHOULD do, is make 2 different color schemes
    one LIGHT color scheme,
    and one DARK color scheme, for those using "invert colors" frequently.
    See, what Apple doesn't seem to understand is, when you turn on "invert colors",
    the lock screen turns bright WHITE, so you have to turn invert colors OFF just to read the lock screen,
    then back ON when you want to type an email, read a text message, etc etc, then turn it off again when
    you want to play a game.
    and see, after awhile, when you switch invert colors on off on off after so  many times, it drains on the devices resources, & you have to reboot the device to get accessibility options working again.   I have to reboot the device several times a day now just because of that, when its just a simple fix of adding a darker color scheme as a 2nd or alternative option. 
    I mean, even as a normal sighted person, turning on invert colors is annoying when your at the lock screen or playing a game, think about those of us who depend upon it just to read text on the screen..  VoiceOver has the smilar issues when you have to turn it off on off on all the time it drains the system resources of the phone also,
    so I agree completely...
    but ya know, they don't listen to us...  cuz its an option they don't use, so they don't understand... If they used that option for even 5 seconds, they'd understand what we're talking about....  What Apple should do is hire one of us as a beta tester to help them test out these types of issues,  from one of us like myself who knows a thinkg or two about accessibility options of the phone.
    I've been an Apple idevice fan for years, but, IOS 7 was a major disappointment in the accessibility arena..
    kind regards,
    Tom

  • 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.

  • 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.

Maybe you are looking for

  • Everytime I open Firefox, I either get a not responding page or a new tab page that won't let me open any website.

    I am starting to get tired of not being able to use my Firefox web browser because everytime I do, it either opens and doesn't respond or it opens but it doesn't let me access any website or even my bookmarks. I am having to use Google Chrome (which

  • Add /remord programm to google chrome

    how add/remove program to google chrome ?.

  • ICloud shared calendars aren't sharing

    Hey all! So a friend sent me an invitation to subscribe to his iCloud calendar. I opened up the email in Outlook 2010 and clicked subscribe and it imported into my Outlook calendar. But, for some reason it won't show up at all on my iCloud calendar?

  • Nokias amazingly tolerant customers

    I think Nokia are incredibly lucky to have such loyal, tolerant and forgiving customers. After years of bug ridden, unreliable and often poorly functioning Nokia phones I have given up and switched to Sony Ericson's. I appreciate that Sony do not see

  • Date range formula

    Post Author: Drumcode CA Forum: Formula Hello, My first post, I'm a total newb using CR11, I hope you forgive me if I'm asking a very simple question here. Is there a generic formula for date range I could use in the page header based on the date ran