How to retrieve long text for a particular record

Hi,
I've been looking through some of the numerous posts relating to reading long texts but I can't seem to find out how to retrieve the necessary parameters for READ_TEXT for a particular record without using the GUI.
Is there a way in ABAP that one could retrieve the parameters that are required to execute READ_TEXT just from one of the fields in the base table.  eg.  I would like to bring back a list of all materials with their associated long texts.  I can run a query on MARA for example and retrieve the necessary material information but I would like to know how I could get the necessary information, for each row in my results, to pass to READ_TEXT. 
What information would I need to perform the above, if at all possible?
Thanks in advance,
Charles

You can check out SE75.  Here is where the objects and ids are listed/maintained.  There is one trick to find the object/id.  That is,  create the text in the specific transaction.  If you are talking about header text for a sales orders, go to VA02 and enter some text and save.  Now go to SE16, enter STXH as the table name.  On the selection screen for STXH,  enter your user name for "created by" and enter the date.  Execute.  The record that you see is probably the text that you just created.  You can see the object, the id, and even how the name is built.  In this case,  it would be sales order number.
Sometimes where you enter the text, there is a little "scroll" icon under the text editor, clicking that will tell you the object and id.  In some cases, this functionality is not there.
Regards,
Rich Heilman

Similar Messages

  • How to retrieve long text data

    Dear all,
    How can i retrieve the long text for document line item
    Gone thru this in forum..but unable to get the correct one
    some say to use READ_TEXT FM
    Pls advise steps
    Rgds
    Naresh

    Hi,
    Please find here with link for bringing the long text.
    http://scn.sap.com/thread/497205
    Regards,
    Ramana

  • How to add long text for existing static text in Adobe forms.

    Hi all,
    I have a requirement that I need to add  a long text for existing Static text in my adobe form
    1) Counter part inputs
    2) Mack Inputs.
    These two are static texts, I need to add the long text in the following manner.
    1)Counter Part Inputs(zds220)
    2)mack Inouts(zds340)
    Please suggest me how to do it.
    Thank You.
    Suneel.

    Hi Nitin Sikka,
    Thanks for your reply. I found solution for the above issue. I need to change the text to text field and  binding to that text field.
    Thank You,
    Suneel.

  • How to save long text for IA01 Transaction using BDC

    Hi All,
    In my requirement I have to create a Task List Equipment and Task List Functional Location using BDC.Here I need to upload the long text for both IA01 and IA11 transactions.I am using SAVE_TEXT function module to save the text and COMMIT_TEXT also after save text.But I am not able to see the text in IA12 and IA02 transactions.But using READ_TEXT I am able to get the text what updated using SAVE_TEXT.
    Please answer for this if any one worked on this requirement <Priority normalized by moderator>
    Thanks,
    Satya.
    Edited by: Vinod Kumar on Jan 2, 2012 9:02 PM

    Hi Satya,
    There is a simple way to update the long text. There is  direct input object in the LSMW for long text.
    Object            : 0001
    Method          : 0001
    Program type : D
    SImply go and create the LSMW with first option and follow the steps. No need to call the function modules separately. This standard program will take care of every thing.
    If you have multiple lines to populate in the equipment master at the header level then you need two set of files. Then key will be equipment number with leading zeros if it will not be alpha numeric.
    1) First file with field EQUNR.
    2) Second file will be
    EQUNR                          C(018)    Technical identification number
    TXPARGRAPH                     C(002)    Tag column
    TXLINE                         C(072)    Text editor text line
    TEXT_MARK                      C(001)    Description Indicator for RIIBIP00 (IBIP) Processing
    Please let me know if you need more in detail.
    Thanks,
    Satheesh

  • Reg how to retrieve long text

    actually the requirement is given below , am stuck at fetching long text ......can anybody help me in retrieving the long text(suppose two or three lines) into single variable and passing it to read_text function module as per the condition
    Plz reply ASAP............
    i need to combine data from two tables n also add long text field in to the final internal table.
    requirement is
    IF QPMK- LTEXTKZ = u2018Xu2019 then Fetch the Long Text as
    Language = P_SPARCHE,
    TEXT ID = u2018QPMTu2019
    Text Object = u2018QPMERKALu2019
    Text Name = QPMK- MANDT + QPMK-ZAEHLER + QPMK-MKMNR + QPMK-VERSION + Language (single character)
    Combine Values in a single internal table such that the table has only QPMK-MKMNR, QPMK-SORTFELD, QPMK-DUMMY20, QPMT-KURZTEXT, QPMT-LTEXTKZ, Long Text

    hi abap_sap leaner,
    try to avoid using + for combining multiple fields, instead use concatenate and then pass to text name,
    then u have to loop line table(which contain long text) and store each value from the loop in a variable of length 1500.
    pls refer the following,
    hd_name = p_ebeln.
      call function 'READ_TEXT'
        exporting
         client                        = sy-mandt
          id                            = 'A01'
          language                      = sy-langu
          name                          = hd_name
          object                        = 'EKKO'
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
       importing
         header                        = header
        tables
          lines                         = hd_lines
       exceptions
         id                            = 1
         language                      = 2
         name                          = 3
         not_found                     = 4
         object                        = 5
         reference_check               = 6
         wrong_access_to_archive       = 7
         others                        = 8
    here u have to loop hd_lines and store hd_lines-tdline values in a variable for every time the loop executes....
    finally the variable contains long text..
    hope it will help...
    regards..

  • Uploading long text as one long text for the same records.

    Hi,
    i am uploading long text into one custom application.in that i had one issue,
    I am uploading long text with the combination of material,palnt,division,sales organization and distribution channel.
    Now my reqiurement is when ever two or more than two records are same for the material,palnt,division.The respected text shulod be created as a single text.
    will any body suggest me with logic, how to handle it?

    Hi,
    i am having records like this...
    MATNR    VKORG    VTWEG    TEXT
    865498    0012        00654       test1
    865498    0012        00654       test2
    865498    0012        00654       test3
    865498    0012        00654       test4
    865498    0012        00654       test5
    865498    0012        00654       test6
    865498    0012        00654       test7
    in the above test data MATNR , VKORG, VTWEG records are same but TEXT is different.
    Now my requirement is , i need to upload the data in to application as
    MATNR    VKORG    VTWEG    TEXT
    865498    0012        00654       test1test2test3test4test5test6test7
    how can i handle it?

  • How to retrieve User Description for a particular MDM User from Console ?

    In my Application i  have to retrieve User Descripton(a field) for the MDM Users  from Console. I am using MDM Java Api 1(MDM4j) in my application. Is there any way i can retrieve MDM User Description from Console without using MDM Admin API?

    Hi Namrata,
    Sorry, I have a different perspective from you (I don't work with the Java API). So, you can ignore what I said about the protocols. That's lower-level than what you would care about.
    The correct thing to do is to use the Admin API to get the users, as you are doing. If you have to log in twice, it might be because you're using the old Java API.
    Please verify that you're using these packages:
    mdm-core.jar, mdm-common.jar, mdm-protocol.jar, mdm-data.jar, mdm-admin.jar
    versus the old API, which was called mdm4.jar.
    Thanks,
    Cleopatra

  • How to print long text in scripts

    plzzzzzzzzz answer this qestion
    how to print long text in scripts

    Hi Kranthi,
    You can create Text Id and include that in your script.
    For example:
    /E TEXT
    /: INCLUDE ZTEXT OBJECT TEXT ID ST
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Tcode FV50: How to find long text in FI Document line item Before Saving.

    Hi,
    How to find long text in FI Document line item.
    During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
    I would like to validate the Long Text Before Saving in user exit "U300" under  the  "Sunstitution" .
    Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
    Please give me the answer as soon as possible .
    Note:- Read_Text function module is not useful. Because Read_text useful after saving document.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • How to create Long Text in Module Pool Program

    Hi all,
    I want to develop a new module pool program and I want to use Long text screen in this program and also want this text will store in table.I never develop such type of module pool before.This long text will like sales order long text.Please let me know the steps how I can develop such type of program and how I save long text huge data in table.
    Thanks & Regards
    Nirmal

    Hai ,
    here you have to use custom control, for this
    DATA: line(256) TYPE c,
          text_tab LIKE STANDARD TABLE OF line,
          field LIKE line.
    1)  Create custom control in your screen
    2)   CREATE OBJECT: container EXPORTING container_name = 'TEXTEDIT',   "--> (this is custom control name in screen)
                       editor    EXPORTING parent = container.
    3)  CALL METHOD editor->get_text_as_stream  "This method reads data from custom control , inserts into itab 'text_tab' 
             IMPORTING       
              text = text_tab.                                       "
          READ TABLE text_tab  INTO line INDEX 1. read the text into wa 'line'
    if you want more clarity , see  'ABAPDOCU' >ABAP USER DIALOGS>    COMPLEXSCREEN ELEMENTS-->  DEMO CUSTOM_CONTROL

  • How to validate long text in me31k( contract creation)

    Hi,
       I want to validate the long text in creation of contract(T_code - ME31k). In creation it self i want to get the long text for validation. How to get the long text value. For eg. "Release order text'  i am giving the value as '10'. While saving the document in ME31k i need to get the long text. Please do the needful.
    Thanks
    Jag
    Moderator Messag: Do not expect the forums to do your work for you.
    Edited by: kishan P on Jan 19, 2011 4:33 PM

    Use Read_text function module.
    you need to pass
    ID
    LANGUAGE
    NAME
    OBJECT   to the function moduel
    To find the Text id name language and object these are the following steps. Example: FB02
    1. goto FB02, Enter Document number
    2. from menuselect Goto>Header-->header Text..... New window will be displayed 
    3. select the Header Text. here you can see all the text. 
    4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper. 
    5. in the Next window you will find Text Name. Text ID, Language. etc...
    Regards,
    Lalit Mohan Gupta.

  • Post long text for document line item via FI-GL Inbound IDoc

    Hi guru,
    I am trying post extension ZFIDCP02 linked basic type FIDCCP02 and message type FIDCC2 IDoc in R/3 (4.6c) via IBM Websphere (Inbound IDoc),
    I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002),
    In the extension ZFIDCP02 and under E1FISEG, I am add my segment  ZITEXT include field TDSPRAS, TDID, TDOBJECT, TDLINE.
    I am send  ZFIDCP02 IDoc via IBM Websphere no error  but all field TDSPRAS, TDID, TDOBJECT, TDLINE in my segment  ZITEXT not post in FI-GL.
    How can I  post long text for document line item (ZITEXT) in FI-GL ?.
    and I'm mean post ZITEXT to bank statement via IDOC.
    Please throw light on this  and  may be I  'm want solution or example ABAP code for exit 002 (EXIT_SAPLF050_002).
    Thanks in advance,
    Akkapong Pirachai
    CAT Telecom
    Edited by: Akkapong Pirachai on Aug 20, 2008 7:40 AM

    Close question because long time for answer.

  • Default values for long text for mic in inspection plan

    hi,
    Some long text are coming default when i am creating inpection plan for mic.
    This is coming for only particular plant. For other plant it is not coming. Is there anywhere we can make it as default for a particualar line item . ie for particular characteristics i.e 10, 20 etc
    sathish. R

    Hi,
    I am not sure , whether you are mentioning about Long text for MIC or Default insp char number (10,20,30..) in the insp plan.
    If you are talking about Insp char number in the insp plan . you can specify the same in SPRO , QM->Q planning ->Insp planning -> General -> Maintain profiles for default values.
    Regards
    K.M.Arun

  • How to activate Long Text of Order Header in IW31/32

    Hi Expert,
    I have one reqm. like want to upload Long Text in Order Header.
    I have used FM 'Create_Text', its working f9 i.e. creating Long Text for Order Header but not displaying it
    in IW32/33 transaction. Entry for Long Text is available in Table STXL and STXH.
    Please advice me how to activate that Header Long Text which I uploaded earlier.
    Thanks,
    Jay.

    Hi Madhukar,
    Yes I am passing everything correctly, as I am getting Long Text record created in Table STXL & STXH, but not able to see in IW32/33 at the header long text.
    So this is my doubt like how 2 update or activate long text of Order Header?
    Thanks,
    Jay.

  • How to edit long text of Services in P.O.?

    Hi Friends,
    How can I make "Long Text" of services editable while creating P.O.
    If any solution let me know.
    Regards
    Siva

    Dear,
    Enter t-code, ME22N.
    Enter your purchase order number, Here you can change text for service.
    If you want to change Long text of service which is available item detail level of purchase order.
    Enter t-code AC03, enter your service number and click on change button.
    Here you find the long text for services, change text of service which is coming in purchase order item detail level of purchase order.
    Regarda,
    Mahesh Wagh.

Maybe you are looking for

  • Problem in updating FPLT Table with custom fields of the billing plan

    Hi Guys I have a requirement to add 2 custom fieldd in the billing plan tab of sales order and I could not find any screen exit for that. However I got access key and added those 2 fields on the screen but I am not able to uodate table FPLT from ther

  • Actinic Version 7 into Dreamweaver

    I need to import a web site created in Actinic Version 7 into Dreamweaver. I have a snapshop of the Actinic Site taken from the Application and also the files which are hosted, Can anyone advise if it is possible to import the site into dreamweaver a

  • Oracle Devloper Help

    HOW CAN I RESTRICT TO USER THROUGH ORACLE DEVELOPER FORMS THAT HE/SHE CAN OPEN ONLY ONE SESSION I THINK Win_Api_Session.One_Session MAY BE USED FOR THAT,BUT IT GIVES ERROR WHEN I TRY TO USE IT. SIMILARY Win_Api_Environment.Get_Windows_Username GIVES

  • Premium Members:Get Early Access to the SL12B Commemorative Avatar at a Tiki-tastic Party!

    Second Life's 12th birthday is fast approaching and we're kicking things off with a special treat for Premium members. There will be more fun for all members to enjoy throughout the month - so stay tuned to this blog for the details as we all celebra

  • Automatic date converting via-trigger

    Hi all! I'd like to know if there's a way to set triggers on tables with date-fields that can: 1. automatically convert the date from (e.g) 01/10/2005 to 01-oct-2005 00:00:00 AM on every INSERT and UPDATE on that column 2. automatically convert the d