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

Similar Messages

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

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

  • 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

  • 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

  • Unable to upload RTF file in the long text

    Hi all,
    Could you please help me out in this issue. I am trying to upload the RTF file in the long text editor through this menu path Text-> Upload->RTF file.The RTF file is about only 56 KB memory size consists only texts.
    I could able to select the file and when i am executing , ABAP dump is showing as follows:
    Runtime error : TABLE_INVALID_INDEX
    abap program : SAPLSTXK
    Whether any SAP notes to be applied for this ?
    Please throw you ideas
    Regards,
    Suresh.

    try this.
    REPORT YCMTESTE LINE-SIZE 255 MESSAGE-ID TD.
    PARAMETERS:
    TEXTNAME LIKE THEAD-TDNAME DEFAULT 'SAPSCRIPT-DRUCKERTEST',
    FILE LIKE RLGRAP-FILENAME DEFAULT 'C:\temp\'.
    DATA: TEXTHEADER LIKE THEAD.
    DATA: TEXTLINES LIKE TLINE OCCURS 100 WITH HEADER LINE.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING NAME = TEXTNAME
    LANGUAGE = SY-LANGU
    OBJECT = 'TEXT'
    ID = 'ST '
    IMPORTING HEADER = TEXTHEADER
    TABLES LINES = TEXTLINES
    EXCEPTIONS OTHERS = 1.
    CHECK SY-SUBRC = 0.
    CALL FUNCTION 'EXPORT_TEXT'
    EXPORTING CODEPAGE = '1133'
    FILE = FILE
    FORMATWIDTH = 132
    FORMAT_TYPE = 'RTF'
    HEADER = TEXTHEADER
    SSHEET = ' '
    WITH_TAB = ' '
    TABLES ITF_LINES = TEXTLINES
    EXCEPTIONS DOWNLOAD_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_WRITE_ERROR = 3.
    CASE SY-SUBRC.
    WHEN 0. MESSAGE S807 WITH FILE.
    WHEN 1. MESSAGE E815 WITH FILE.
    WHEN 2. MESSAGE E811 WITH FILE.
    WHEN 3. MESSAGE E814 WITH FILE.
    ENDCASE.
    Reference::[http://help.sap.com/saphelp_sm32/helpdata/en/d6/0db7f3494511d182b70000e829fbfe/content.htm]
    <removed_by_moderator>
    Edited by: Juan Reyes on May 16, 2011 12:05 PM

  • Long text editor - sign problem

    Hi,
    Currently I am facing an issue that the & sign is not being displayed correctly in the Long text editor. It is shown as '<(>&<)>' in the transaction once I input my value in the graphical editor , save and come back.
    Please help...
    Thanks
    Praneeth

    Hi Sandra,
    I am also talking about the same issue in IW32 and the internal SAP program is not doing a correct conversion due to which the wild characters are entered into the long text window on IW32.
    I received an answer for my OSS note and they say it is how the system is ..please see the comments from SAP below ...
    26.08.2011 - 12:37:23 CET - Reply by SAP             
    Hi,
    I am sorry, but the behaviour which you describe is correct.
    I will try to explain the meaning of the special characters and
    why they have to be there: In Sapscript there are some characters,
    which have a special meaning. E.g. a '&' starts a symbol, a '<'
    starts a character format, etc. So if you use e.g. a '&' in your
    text, this Sapscript needs the information, whether the '&' shall
    start a symbol or whether it shall be printed as '&'.
    So if you want to print the '&' as '&', the character must be masked.
    This is done via the characters <(>...<)>. So when you enter
    a '&' (and when it is not sure, whether it may start a symbol),
    the Sapscript internally saves the character as <(>&<)>.
    Usually this should be no problem: If you process the text via
    the Sapscript, you will not notice the masking characters. The
    graphical editor will not display them. And if you print the text
    via a Sapscript form or a Smartform, you will not see them.
    Only if you look into the internal table, which is returned
    by EDIT_TEXT or READ_TEXT, you will see the characters.
    (and the old Sapscript editor displays them, too, because it
    is displays the text in the Sapscript-internal format).
    If you process the internal table yourself, you must take this
    into consideration. E.g. if you want to convert the
    Sapscript-internal ITF format which is returned by EDIT_TEXT
    into 'normal' text format, you can use the function module
    CONVERT_ITF_TO_ASCII.
    Kind Regards,
    Marian O'Connell
    Support Consultant
    AGS Primary Support
    Visit the Enterprise Asset Management (EAM) forums:
    Enterprise Asset Management (SAP EAM)

  • Long Text Editor displaying & incorrectly.

    Hi Experts,
                    Currently I am facing an issue that the & sign is not being displayed correctly in the Long text editor. It is shown as '<(>&<)>' in some places and '&' in others. I understand that the <(> symbol is used as protection for special symbols like &, however this is occuring in some places and not in others. Is there any package which fixes this  problem??
                      Please help.
    Thanks,
    Aditya.

    Hi Naimesh,
                       My problem is not with the display of variables in the editor. Consider the case wherein transactional data is displayed in Long text. For example if you go to IW22 and decide to change the text for the notification description. In case you give a & sign in the long text -  it will be converted to  - '<(>&<)>' , when I log on to see the changes I made the next time. However I want the editor to stop this conversion. Please reply.
    Thanks ,
                 Aditya.

  • How to get the field texts from abap dictionary into screen Text fields

    Hi SapAll.
    here i have got to modify one zscreen by adding 1 more field,when i added one field in teh screen by just writng the code in program as SELECT-OPTIONS ilart FOR CAUFVD-ILART.
    but iam unable to get the field text for the text field from teh table CAUFVD.
    CAN ANY BODY HELP ME IN THIS.
    regards.
    varma

    Hi Varma,
    Even if you want to personalise the Text also you can do without checking the DICTREF checkbox. Dirctly you can give the text in the Text elements by using the Menu GOTO -> Text Elemetns -> Selection Texts.
    Regards
    Thiru

  • Can I design something in Muse and somehow get the HTML text fro it to plug into Business Catalyst to make a newsletter?

    I guess since I don't know html, I was wondering if I could create a "page" in muse and somehow get the "HTML" text from it so I can plug that text into a Business Catalyst E-Mail Marketing Campaign template. since I am struggling so much with modifying one of Business Catalysts established templates.
    I made my website with muse and I host it through Business Catalyst with a webMarketing Plan.
    Thanks in advance,

    There is no direct way to achieve this but you may try a workaround which may work but would require testing on your end.
    Create the site in Muse and publish to BC , master page will be included in template section. So in your published site , Page template will show you design from Muse.
    Now from Partner portal , you can select the site to create email campaign template but please note that creating a template from PP will remove the default email campaign templates on BC end.
    After creating the campaign template from PP , login to your site and create email campaign and in template section you will get the option to select the template which you created from PP.
    Not an ideal way but can be used as a workaround.
    Thanks,
    Sanjit

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

  • How to retrieve the long texts from  purchase Info record (ME13)

    Hi,
    How do I retrieve the long texts data from the tab, Texts of the Purchase Info record(ME13).  I want to retrieve the current long texts data(long text1, long text2 long text3, long text4) for a given purchase info record. These long texts points to the structure BRM06I.
    So, now how do I fetch the data from the structure BRM06I. Is there any function module for the same..
    Thanks.

    Hello,
    Texts are stored in tables STXH & STXL (header and item). You can search these tables by selecting Text object = EINA and Text name = Info Rec #. The text ID's you will see are the ID for various texts maintained.
    Cheers !

  • Getting the absolute text position from a DOM tree

    Does anybody knows how to get the absolute text position of a node inside the DOM tree? Is there any DOM implementation that keep track of the absolute text position of each Node element or I need to overload somo methods by hand?
    Regards,
    Daniel Oliveira

    The position() function in XSLT returns the order of the element.
    For an xml document with elements:
    <a>
    <b></b>
    <b></b>
    </a>
    <xsl:apply-templates select="b"/>
    <xsl:template match="b">
    Element b:
    <xsl:value-of select="position()"/>
    </xsl:template>

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

Maybe you are looking for