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

Calling SAPscript editor dynamically in ABAP

There is a layout in which the footer is to be written by the end-user while executing a report. Now, how do i call the 'FOOTER WINDOW' in the sapscript so that he/she can write directly in the sapscript itself and it appears in the final layout.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 07, 2005 at 04:52 PM

    Hi Ganesh,

    I have another proposal.

    In the FOOTER WINDOW put an include to a text item (using INCLUDE &...-TDNAME& OBJECT &...-TDOBJECT&... as per a normal SAPScript).

    Then call the function module EDIT_TEXT from within your custom report to capture the users text and then the function module SAVE_TEXT to save the text (with the text object etc as specified in your FOOTER WINDOW).

    This saved text should have a unique name (based on some object id, like sales order number, or whatever the SAPscript is for).

    That way you get dynamic content without having to edit the SAPscript every time.

    Hope that helps.

    Brad

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ganesh,

      Igor has done a great <a href="/people/igor.barbaric/blog/2005/06/06/the-standard-text-editor-oo-abap-cfw-class that explains exactly how you can capture text from the user and save it.

      So, use his method, and just use INCLUDE to include the text in your SAPscript.

      Cheers,

      Brad

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.