Ze
Ze
Ze
*& Report ZE
*&
*&---------------------------------------------------------------------*
*& XMYILMAZ
*&
*&---------------------------------------------------------------------*
REPORT zrgt_list.
TABLES: trdir.
DATA : wid TYPE i,
itab TYPE STANDARD TABLE OF string,
mess TYPE string,
lin TYPE i,
wrd TYPE string,
dir TYPE trdir.
DATA : terminal TYPE text50.
FIELD-SYMBOLS <line> TYPE string.
INITIALIZATION.
AUTHORITY-CHECK OBJECT 'S_TCODE'
ID 'TCD' FIELD 'SE38'.
IF sy-subrc NE 0.
MESSAGE e077(s#) WITH 'SE38'.
ENDIF.
START-OF-SELECTION.
IF ( prog IS INITIAL AND func IS INITIAL AND class IS INITIAL ) OR
( prog IS NOT INITIAL AND func IS NOT INITIAL ) OR
( func IS NOT INITIAL AND class IS NOT INITIAL ) OR
( class IS NOT INITIAL AND prog IS NOT INITIAL ) .
MESSAGE 'Fonksiyon veya Program Adı Giriniz'
TYPE 'S' DISPLAY LIKE 'E'.
LEAVE LIST-PROCESSING.
ENDIF.
END-OF-SELECTION.
IF func IS NOT INITIAL.
DATA: ls_tfdir LIKE tfdir,
l_namespace LIKE rs38l-namespace,
l_area LIKE rs38l-area.
SELECT SINGLE * FROM tfdir INTO ls_tfdir WHERE funcname = func.
CHECK sy-subrc EQ 0.
CHECK sy-ucomm EQ 'WB_SAVE'.
SYNTAX-CHECK FOR itab MESSAGE mess LINE lin WORD wrd PROGRAM dir-name.
IF sy-subrc NE 0.
MESSAGE mess TYPE 'I'.
WRITE: / mess,
/ lin,
/ wrd.
IF no_rc EQ space.
CHECK sy-subrc NE 0.
ENDIF.
ENDIF.