FM to get the long text of a notification/CRM order?

I use select statement into database table BALHDR, but get only the protocol data. Does anybody know how to obtain the longtext (content) of a notification?
Thanx.
Nuno

call function 'READ_TEXT'
      EXPORTING
           id                      = '0001'
           language                = 'EN'
           name                    = document number
           object                  = object name
      TABLES
           lines                   = lines
cheers,
sasi

Similar Messages

  • Get the long text into BADI from text editor

    hi all,
    I implemented BADI ME_PROCESS_PO_CUST, before saving the purchase order i am calling the text editor where i am writng
    the long text . but when save the text from the text editor the long text in the editor is not updating to the BADI.
    Can anybody help how can i get the long text to the BADI.
    Regards,
    Madhavi

    Hi
    Have you tried with interface 'IF_PURCHASE_ORDER_MM' with these methods in the BADI?
    IF_LONGTEXTS_MM~GET_TEXTOBJECT
    IF_LONGTEXTS_MM~GET_TYPES
    IF_LONGTEXTS_MM~GET_TEXT
    IF_LONGTEXTS_MM~SET_TEXT
    IF_LONGTEXTS_MM~ADOPT_TEXT
    IF_LONGTEXTS_MM~DELETE_TEXT
    IF_LONGTEXTS_MM~EDIT_TEXT
    Regards
    Eduardo

  • I get the long text description 0f transaction fb03

    Hi Gurus,
    How can I get the long text description in the information view (field <b>ZEILE</b>,
    data element EENO_ZEILE) on the G/L account documet overview(transaction Fb03)?
      My prob is, This field stored in a structure called
    Thanks in ad.
    Regds,
    Bala

    Hi,
    a) Find out for which <b>table</b> this long text is linked.
    b) Go to <b>TTXOB</b> table and in the field <b>TDOBJECT</b>, check whether this entry is present.
    c) If present, then use FM READ_TEXT, to get the long text value.
    Important parameters to be passed in READ_TEXT
    a) ID         
    b) Language (EN??)
    c) Name   ( I believe in this case it would be ZEILE)
    d) Object (TTXOB-TDOBJECT value)
    Regards,
    Subramanian V.

  • Get the long text from Text Editor

    Hi,
    I am using text editor to enter the long text, after entering the text in the text editor
    when press the save button i am getting the long text into the internal table . this is working fine till here.
    But when press SAVE button , i want the text into the internal table  and  the text editor to be closed.
    but here i am not able to get the data into internal  table as it is again creating text editor .
    Can anyboby help me .

    Hi,
    Refresh the table.

  • From which table i can get the long text

    Hi All
    I have created some long text through function module CREATE_TEXT And i am able to see the text in the transaction .
    My requirement is from which table i can get these stored long text???
    Any suggestions please.
    Thanks

    Appreciate your answers.
    I have checked the both the fields stxh as well as stxl but i am not able to find any text fields out there.
    My actual requirement is some third party software needs to b mapped the table fields in order to import it.
    So if i know the table fields that would be easier.
    Can you tell me y we can not read it from the tables?
    Thanks,
    @run.

  • How to get the long text into text area

    Hi,
    save_text is working fine .
    Now I want to display the text in text area .
    am using read_text fm for this and data is coming into the internal table of the function module.
    how shd I display that long text into text area and that text shld appear has display mode only and how shd I make all other fields in my subscreen as display mode.
    Pls guide me its urgent.
    thanks,
    krishna

    Hai.
    check this.
    Long Texts are stored in tables
    STXH - header
    STXL - details.
    if you want to read the texts you can use Fun Module  READ_TEXT
    Any Application document Header and Item Long texts are stored in STXH table with the 4 parameters OBJECT,ID,NAME and LANG
    These texts are fetched from database using READ_TEXT fun module by passing the above 4 parameters.
    Double click on the text, from the text editor menu GOTO-> HEDAER
    you will find the all above 4 parameters
    so accordingly you have to pass to the fun module READ_TEXT to fetch the texts.
    example:
    Re: upload longtext from excel file  
    REPORT  zupload_excel_to_itab.
    TYPE-POOLS: truxs.
    PARAMETERS: p_file TYPE  rlgrap-filename.
    TYPES: BEGIN OF t_datatab,
          col1(30)    TYPE c,
          col2(30)    TYPE c,
          col3(30)    TYPE c,
          END OF t_datatab.
    DATA: it_datatab type standard table of t_datatab,
          wa_datatab type t_datatab.
    DATA: it_raw TYPE truxs_t_text_data.
    At selection screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_FILE'
        IMPORTING
          file_name  = p_file.
    *START-OF-SELECTION.
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
        I_FIELD_SEPERATOR        =
          i_line_header            =  'X'
          i_tab_raw_data           =  it_raw       " WORK TABLE
          i_filename               =  p_file
        TABLES
          i_tab_converted_data     = it_datatab[]    "ACTUAL DATA
       EXCEPTIONS
          conversion_failed        = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    END-OF-SELECTION.
    END-OF-SELECTION.
      LOOP AT it_datatab INTO wa_datatab.
        WRITE:/ wa_datatab-col1,
                wa_datatab-col2,
                wa_datatab-col3.
      ENDLOOP.
    refards.
    sowjanya.b

  • How to add the long text in Production order through FM

    Hi,
    Iam having custom program which has BAPI (BAPI_PRODORD_CREATE) inside it and this program is used to create Production orders with the details of Sales order Number,Line item,Plant,Order type,Quantity and Start date. This program is scheduled in Background.
    Now client wants to add the Long text (seperate TAB in production order and they want to update the VC details of Sales order in the Long text area).
    One option is after creation of Production order, through BDC(calling CO02 and update the long text) we  can update the long text and client doesn't want this option.
    Another option is after creation of Production order, using Function module SAVE_TEXT, Update the Long text in Production Order and this is not working in Production order (already my ABAP consultant checked it ).
    If any one of you came across this requirement, pl share with me how you addressed it.
    Regards
    A.Sureshbabu

    Hi,
    The method is quite simple, i presume you're quite well versed with doing recording, so the key thing to keep in mind is how to prepare the input file.
    At my end i had about 5 lines of data which needed to be uploaded, hence i had a tab-delimited file with the order nos. in the first column & the five lines of text in five different columns (Refer format below)
    Order No.
    Line - 1
    Line - 2
    Line - 3
    Line - 4
    Line - 5
    12345
    txt - 1
    txt - 2
    txt - 3
    txt - 4
    txt - 5
    67890
    txt - a
    txt - b
    txt - c
    txt - d
    txt - e
    Now provide this input file for your lsmw or bdc program & it will work. You can work with your abaper if you're not so comfortable with LSMW or BDC programming he / she should be able to easily make it work for you.
    Regards,
    Vivek

  • Error while reading the Long text Using READ_TEXT

    Hi friends,
    Right now I am working with Smartforms.While I am reading the Long text of the material using function module READ_TEXT  I am getting the following error if the text is not there.
    OUT_PURCH_PO ID GRUN language EN not found.
    I should not get this error Instead I should get the blank value.
    OUT_PURCH_PO   -  my material name.
    Following is my code.
    IF WA_EKPO-KNTTP = 'F' AND WA_MTART-MTART = 'ZMSC'.
       READ TABLE IT_SGTXT INTO WA_SGTXT WITH KEY MATNR = WA_EKPO-MATNR.
       WA_EKPO-TXZ01 = WA_SGTXT-SGTXT.
         NAME = WA_EKPO-MATNR.
        CALL FUNCTION 'READ_TEXT'
           EXPORTING
             CLIENT            = SY-MANDT
             ID                =  ID
             LANGUAGE          =  SY-LANGU
             NAME              =  NAME 
             OBJECT            =  OBJECT
          IMPORTING
            HEADER            =  THEAD
           TABLES
             LINES             =  LTEXT.

    Hi,
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        client                  = sy-mandt
        id                      = id
        language                = sy-langu
        name                    = name
        object                  = object
      TABLES
        lines                   = ltext
      EXCEPTIONS                           " --> have this
        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.
    Edited by: Avinash Kodarapu on Jun 5, 2009 7:32 PM

  • How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.

    I have to display the short text in my report output.
    How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
    Is there any function module availble to get this short text or is this stored in any data base table ?
    Please help me. Your help will be highly appreaciated.
    THANKS.

    Hi,
    Use FM 'READ_TEXT' to get this values.
    Say for exampele my material is  1900001 and batch is 0000000517.
    Then my parameters to the FM will be as follows:-
    Text Name       000000000001900001    0000000517
    Language        EN
    Text ID          VERM
    Text Object     CHARGE
    This information you can get as follows.
    Open the short text window in the text editor.
    Here you can enter the long text.
    In the editor Go to Header and you will find the details.
    Please note that the text name will comprise of
    Material
    Batch
    Plant
    Stor. Location
    if all the details are given.
    I hope this helps you.
    Regards,
    Ankur Parab

  • Problem in loading the long text in bdc.

    Hai Friends,
                  I am uploading the material master using bdc, Here i need to upload the long text field. so am using the separate report for upload the long text field using the create_text function module. but the problem is the long text field only accepting 132 charactors. but i need to upload the 500 charactors. what i want to do now ?
    Regards ,
    Sathis Kumar R

    Hi Sathis,
    What u do is that while recording the text part in bdc , click on the first delete button,  and then create button and after that double click on the editor or click on the text-editor change button, a window will get opened , then click go-to menu -> change editor.
    there u can use loop the text table and wirte it according .
    eg
    PERFORM bdc_dynpro      USING 'SAPMV45A' '4002'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=TP_DELETE'.            "first delete
      PERFORM bdc_dynpro      USING 'SAPMV45A' '4002'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=TP_CREATE'.             " then create
      PERFORM bdc_field       USING 'LV70T-SPRAS'
                                    sy-langu.
      PERFORM bdc_dynpro      USING 'SAPMV45A' '4002'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=TP_DETAIL'.             "if not double click then click on change button after the delete button and then click on the change-editor menu .
      PERFORM bdc_field       USING 'LV70T-SPRAS'
                                    sy-langu.
      PERFORM bdc_dynpro      USING 'SAPLSTXX' '1100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RSTXT-TXLINE(02)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=TXVB'.
      PERFORM bdc_field       USING 'RSTXT-TXPARGRAPH(02)'
      PERFORM bdc_field       USING 'RSTXT-TXPARGRAPH(03)'
      PERFORM bdc_field       USING 'RSTXT-TXLINE(02)'
                                    wa_itab-htext1.
      PERFORM bdc_field       USING 'RSTXT-TXLINE(03)'
                                    wa_itab-htext2.
      PERFORM bdc_dynpro      USING 'SAPLSTXX' '1100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RSTXT-TXLINE(02)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=TXBA'.
      PERFORM bdc_dynpro      USING 'SAPMV45A' '4002'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/EBACK'.
    regards,
    Santosh Thorat

  • Saving/Commiting the Long Text

    Hi,
    I am trying to save the long text created in a Z Transaction (Table Control). While saving it, I am getting the message as “Text Saved". But It is not actually stored in SAP. I am not sure, what is that I am missing. I am using the SAP Standard Routine to Save the Long Text. I am also calling the FM: COMMIT_TEXT explicitly after the long text is saved. Can any one please suggest me, what should I do to commit the long text in SAP?
    Appreciate Your Help.
    Thanks,
    Kannan

    May be my earlier post was confusing, I was asking you to set the Insert parameter to SPACE and the Savemode_direct to 'X' and see if it works or not.  I had the same issue and resolved it using the above parameters.  Also try and see if Srinivas's suggestion in the following thread:
    Problem with SAVE_TEXT FM
    hith
    Sunil Achyut

  • Where can I find the long text field to the field obj_name in table tadir?

    Hello,
    I have to create a list, which sould include the obj_name, ... and also the long text descrption of obj_name from the table tadir.
    So I looked in many tables, but I did not find the correct table.
    Does anybody know which table include this long text?
    Thank you in advance.
    Best regards

    Thank you for your answer.  This object name is in the table TADIR and the technical name is OBJ_NAME.
    The names are from our developer - that are names of programms. So I can't create or change it in the UI, because it is running in the background. It is a pity that I can't use the trace.
    It should be a list for our clients, that they know how many and which programs which we have developed. That it makes more sense, we don't want to get only the technical program name. We want include additionally the long text (the description).
    Do you have any other ideas?
    Thank you in advance.
    Best regards

  • No CATS record exists for the long text in row 4

    Hi,
    When we are tyring to upload the time sheets of tha employees in se38 usinga  customized program, from Non sap to sap,  for a few employees we are getting an erro like No CATS record exists for the long text in row 4,  where are we supposed to verifiy, what causes this error.
    Please assist.
    Thanks,
    Shilpa.

    Your first step should be in your input file.  What is on the fourth line?
    Look into the Blueprint Specifications of your Custom Program for the parameters of that input file.

  • I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I've gotten a little further on this. The dynamic select is
    working fine. It's the "a href" code that isn't. I'm wondering if
    someone can look at this line and tell me if it's okay to build the
    query string this way. The storeid comes through fine but I'm still
    not getting the employeeid value to pass. Here's line that's not
    working:
    td><a href="registerStoreCust.php?storeid=<?php echo
    $row_storeRS['storeid']; echo "&employeeid="; echo
    $_GET['employeeLM']; ?>">Register
    Customer</a></td>

  • Can I get the same text messages on both my iPhone and my iMac

    can I get the same text messages on both my iPhone and my iMac
    It seems that my Mac is getting them and they dont show up on my iphone.

    Hi julian KAYE!
    You will want to make sure that both your computer and phone have all options checked in the “Start new conversations from” section in your Messages settings:
    iOS: Using Messages
    http://support.apple.com/kb/ht3529
    You can change the address that new iMessage conversations are started with in Settings > Messages > Send & Receive > Start new conversations from. Note that this setting applies only to new conversations. If you would like to change the address from which messages are sent, first change this setting, and then delete the existing conversation and start a new one.
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

Maybe you are looking for

  • How Do I Increase The Speed Of Sending Emails Using The Mail Service on my Mac Mini Server?

    Note: This is the first time I have set up a mail server. I have a Ruby on Rails application where I am currently sending approx. 240 individual emails with the potential of more being sent each week as more people add themselves to our mailing list.

  • How to create menus in oracle forms6i?

    hello all, I want to create menu option in oracle forms6i..Is it possible? then how to create menus in a frame? pls help me.. USER MANAGEMENT-------------->this is main menu.under this i want following --------->1.ADD USER ---------->2.EDIT USER ----

  • Splash screen in open office, gnucash, etc

    The splash screen in open office, gnucash, and other applications are really annoying especialy in old systems where it takes lot of time to start and you cannot do other things with that splash thing on your face. I have seen that this does not happ

  • Add a second address book

    Does anyone know of an address book app that can be added to my Curve that won't confuse the syncing of the phone?  My current contact list is synced with my office address book (via sync NOT server, which seems to be a problem) and I want to be able

  • Help i need my ipod

    my ipod will not turn on or do nothing at all i plugd it in but still nothing hapind pls help im desprit windosXP