SAP Certification
SAP Download
SAP Companies India
SAP Books
SAP JOBS
SAP jobs in India
SAP ABAP jobs in India
SAP BASIS jobs in India
SAP BI jobs in India
SAP CRM jobs in India
SAP FICO jobs in India
SAP Fresher jobs in India
SAP HR jobs in India
SAP MM jobs in India
SAP PM jobs in India
SAP PP jobs in India
SAP SD jobs in India
SAP XI jobs in India
|
WINDOW is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details.
Show Full Details
WINDOW
Basic form WINDOW STARTING AT x1 y1.
Addition
... ENDING AT x2 y2
Effect Displays
the current secondary list as a modal dialog box (see CALL SCREEN ).
The same rules apply as for displaying a list on the full screen, i.e.
the page size corresponds to the window size.
The left upper
edge of the window appears at column x1 and line y1 . If you do not
specify the addition ENDING AT , the position of the right lower edge
corresponds to the coordinates of the current screen.
You can use variables to specify the coordinates.
All the functions for secondary lists are supported. These include:
Scrolling in the window. Hiding field contents (see HIDE ). Line selection in the window (see AT LINE-SELECTION , ...) Set the window title (see SET TITLEBAR )
Addition ... ENDING AT x2 y2
Effect Positions the right lower edge of the window in column x2 and line y2 .
You can use variables to specify the coordinates.
Example Define a window covering columns 1 to 79 and lines 15 to 23:
WINDOW STARTING AT 1 15 ENDING AT 79 23.
WRITE 'Text'.
Note Inserts a window on the normal screen .
You
can insert the windows described above only within the context of list
processing, i.e. not until after an interactive event (see AT
LINE-SELECTION ).
You can use the technique shown in the example below to insert a window containing a list during a dialog (see CALL SCREEN ).
Example Display a list as a modal dialog box:
CALL SCREEN 100. "Screen of modal dialog box type * STARTING AT 10 10 "... can be started as * ENDING at 60 15. "... separate window with * "... these additions
In
the flow logic of the screen 100, the processing branches to list
processing in the PBO ( Process Before Output ) module (see LEAVE TO
LIST-PROCESSING ). Flow logic: PROCESS BEFORE OUTPUT. MODULE LIST. Program:
MODULE LIST OUTPUT. LEAVE TO LIST-PROCESSING. * AND RETURN TO SCREEN 0. "Alternative to LEAVE SCREEN * "at end
PERFORM OUTPUT. "Output list
LEAVE SCREEN. ENDMODULE.
Show Most Readed SAP Tutorials
Most readed SAP Tutorials
Show Latest Added SAP Tutorials
Latest Added SAP documents
|
"Site covers most of the SAP technical and functional tutorials, articles, interview questions and PDF study materials . List and details of SAP transaction codes ( tcodes ), Tables, report names, Bapi, ABAP programming syntax and keywords are also available in the site.
Information on SAP Certification and training, latest SAP jobs in India, ABAP interview questions are useful for SAP professionals seeking for a career in SAP as a fresher or experienced.ABAP tutorial downloads on BDC, LSMW, BAPI, ALE, IDOC, Smartforms, Sapscripts etc etc are also added.Now you can read from this page about WINDOW ( SAP ABAP keyword)" |