on 2007 Aug 17 6:26 PM
Hi all,
I want to hide all windows on a sapscript, and show a text as 'Data not available' on a sapscript.
I have copied an SAP delivered SAPScript to a Z version, its original language was DE, now I want to disable all windows and display a text.
I would appreciate any help in this matter.
Thanks.
Request clarification before answering.
In case anyone is looking, this is how to remove a Window. Call just before the CLOSE_FORM function module:
CONSTANTS lc_page_windows(25) TYPE c VALUE '(SAPLSTXC)PAGE_WINDOWS[]'.
DATA: ls_page_windows TYPE itcth.
* =======================================================
ASSIGN (lc_page_windows) TO field-symbols(<fs_page_windows>).
IF <fs_page_windows> IS ASSIGNED.
READ TABLE <fs_page_windows> INTO ls_page_windows WITH KEY tdwindow = 'window_name_here'.
IF sy-subrc EQ 0.
DELETE TABLE <fs_page_windows> FROM ls_page_windows.
ENDIF.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
46 | |
9 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.