ABAP Certification, Smartform, Sapscripts, BAPI, JAVA, Visual Basic Programming Books
*
*  Writing Left Column Scroll Lock in ABAP just like Excel
*
*  Author by  : SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips
*               http://www.sap-basis-abap.com
*
REPORT ZSCROLL  NO STANDARD PAGE HEADING
                LINE-COUNT 4 LINE-SIZE 140.
 

START-OF-SELECTION.
  DO 3 TIMES.
    WRITE: / '01234567890123456789'.

    DO 10 TIMES.
      WRITE sy-index.
    ENDDO.
  ENDDO.

  SET LEFT SCROLL-BOUNDARY COLUMN 21.

  DO 3 TIMES.
    WRITE: / '0123456789'.
    DO 10 TIMES.
      WRITE sy-index.
    ENDDO.
  ENDDO.

  SET LEFT SCROLL-BOUNDARY COLUMN 11.

TOP-OF-PAGE.
  SY-TITLE = 'Column Locking'.
  WRITE: / SY-TITLE.

*--- End of Program

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.sap-basis-abap.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.sap-basis-abap.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.