Skip to Content
author's profile photo Former Member
Former Member

standard texts upload

Hi,

Is there any function module that uploads standard texts onto SAP...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 09:48 AM

    Hi,

    Check this link for <b>SAVE_TEXT</b>

    http://www.ct-software.com/reports/z_ie_showpic.htm>

    Check this link for <b>READ_TEXT</b>

    http://sap-basis-abap.com/sapac002.htm>

    Thanks,

    Ruthra

    Message was edited by: Ruthra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 09:15 AM

    Hi

    You can use FM SAVE_TEXT

    Max

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 09:19 AM

    Hi,

    Try FM READ_TEXT or SAVE_TEXT

    Thanks&Regards,

    Ruthra

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      look this sample:

      REPORT zforum43 .
      PARAMETERS ebeln LIKE ekko-ebeln.
      DATA:  textname         LIKE thead-tdname,
             func,
             co_co            LIKE sy-index.
      * Interne Tabellen
      DATA  t_tf02hz LIKE thead OCCURS 0 WITH HEADER LINE.
      DATA  t_tf02lz LIKE tline OCCURS 0 WITH HEADER LINE.
      
      MOVE ebeln TO textname.
      
      CALL FUNCTION 'INIT_TEXT'
           EXPORTING
                id       = 'F02'
                language = 'D'
                name     = textname
                object   = 'EKKO'
           IMPORTING
                header   = t_tf02hz
           TABLES
                lines    = t_tf02lz.
      
      APPEND '  test 1 ' TO t_tf02lz.
      
      CALL FUNCTION 'SAVE_TEXT'
           EXPORTING
                header          = t_tf02hz
                insert          = 'X'
                savemode_direct = 'X'
           IMPORTING
                newheader       = t_tf02hz
                function        = func
           TABLES
                lines           = t_tf02lz.
      
      
      IF func = 'I'.
        CALL FUNCTION 'COMMIT_TEXT'
             IMPORTING
                  commit_count = co_co.
      ENDIF.

      Andreas

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.