*&---------------------------------------------------------------------*
*& Report ZFS_TEST
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT ZFS_TEST.
*Field Symbol ile Work Area performans testi
DATA: LT_MAKT TYPE TABLE OF MAKT,
LS_MAKT TYPE MAKT.
DATA: LV_FLAG TYPE FLAG,
LV_BEGIN_TIME TYPE TIMESTAMPL,
LV_ENDIN_TIME TYPE TIMESTAMPL,
LV_WA_FARKI TYPE P DECIMALS 5,
LV_FS_FARKI TYPE P DECIMALS 5,
LV_FARK TYPE P DECIMALS 5.
FIELD-SYMBOLS: <FS_MAKT> LIKE LINE OF LT_MAKT.
SELECT *
FROM MAKT
INTO TABLE LT_MAKT
UP TO 100 ROWS.
*Work Area
GET TIME STAMP FIELD LV_BEGIN_TIME.
LOOP AT LT_MAKT INTO LS_MAKT.
IF LV_FLAG EQ 'X'.
LS_MAKT-MAKTX = 'Değiştirdim'.
MODIFY LT_MAKT FROM LS_MAKT.
ENDIF.
CLEAR: LS_MAKT.
IF LV_FLAG IS INITIAL.
LV_FLAG = 'X'.
ENDIF.
ENDLOOP.
GET TIME STAMP FIELD LV_ENDIN_TIME.
*--------------------------------------------------------------------*
LV_WA_FARKI = LV_ENDIN_TIME - LV_BEGIN_TIME.
*--------------------------------------------------------------------*
CLEAR: LV_FLAG,
LV_BEGIN_TIME,
LV_ENDIN_TIME.
*Field-Symbol
GET TIME STAMP FIELD LV_BEGIN_TIME.
LOOP AT LT_MAKT ASSIGNING <FS_MAKT>.
IF LV_FLAG EQ 'X'.
<FS_MAKT>-MAKTX = 'Değiştirdim'.
ENDIF.
IF LV_FLAG IS INITIAL.
LV_FLAG = 'X'.
ENDIF.
ENDLOOP.
GET TIME STAMP FIELD LV_ENDIN_TIME.
*--------------------------------------------------------------------*
LV_FS_FARKI = LV_ENDIN_TIME - LV_BEGIN_TIME.
*--------------------------------------------------------------------*
*Work Area ile Field Symbol farkı;
LV_FARK = LV_WA_FARKI - LV_FS_FARKI.
WRITE: /(10) 'WA Performansı', LV_WA_FARKI.
WRITE: /(10) 'FS Performansı', LV_FS_FARKI.
WRITE: /(10) 'Kârımız', LV_FARK.
"
2 Ocak 2012 Pazartesi
SAP/ABAP: Field Symbol performans
Kaydol:
Kayıt Yorumları (Atom)
İnsdroid
Sabahtan beri çatada çutada çatada çutada… Bitmedi yine de… Neyse, yolumuz uzun, toparlıyorum çantamı, adaptörü falan tıkıştırıyorum bir şe...
-
Why do we need to change status of a request? Let's imagine, you have a workbench request and you already relased linked task in it....
-
Metasploitable is a kind of vulnerable Linux virtual machine image for penetration testing. It is Debian 32bit based operation system, and r...
-
* DATA : * ls_object_identity TYPE borident , * lo_gos TYPE REF TO cl_gos_document_service . * ls_object_identi...
Hiç yorum yok:
Yorum Gönder