‎2005 Jun 07 5:34 PM
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.
‎2005 Jun 07 5: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
‎2005 Jun 08 1:21 PM
Could you plz send me a sample code bcos am not able to visualize what u have told
‎2005 Jun 08 2:14 PM
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