Report checking

Hi abapers,
                   I have written this code. my code is going fine. but still  i wanted to know what more changes i need to make in the code to make it more efficient and also i wanted to know where i have use  <clear> and <refresh> statement in my program  , frnds plzz guide me in doing so.
<code>
                 T A B L E S                                        *
TABLES : KNA1,  " CUSTOMER MASTER
         VBAK,  " SALES ORDER HEADER
         VBAP,  " SALES ORDER ITEM
         SSCRFIELDS.
        STRUCTURE DECLARATIONS
        INTERNAL TABLE  DECLARATIONS
        WORK AREA DECLARATIONS
CUSTOMER
TYPES : BEGIN OF ST_KNA1,
        KUNNR TYPE KNA1-KUNNR,
        NAME1 TYPE KNA1-NAME1,
        END OF ST_KNA1.
SALES ORDER HEADER
TYPES : BEGIN OF ST_VBAK,
        VBELN TYPE VBAK-VBELN,
        AUDAT TYPE VBAK-AUDAT,
        VBTYP TYPE VBAK-VBTYP,
        TRVOG TYPE VBAK-TRVOG,
        AUART TYPE VBAK-AUART,
        LIFSK TYPE VBAK-LIFSK,
        FAKSK TYPE VBAK-FAKSK,
        NETWR TYPE VBAK-NETWR,
        KUNNR TYPE VBAK-KUNNR,
        END OF ST_VBAK.
SALES ORDER ITEM
TYPES : BEGIN OF ST_VBAP,
        VBELN TYPE VBAP-VBELN,
        POSNR TYPE VBAP-POSNR,
        NETWR TYPE VBAP-NETWR,
        MATKL TYPE VBAP-MATKL,
        ARKTX TYPE VBAP-ARKTX,
        PSTYV TYPE VBAP-PSTYV,
        MEINS TYPE VBAP-MEINS,
        END OF ST_VBAP.
          INTERNAL TABLE                                        *
DATA : IT_KNA1 TYPE STANDARD TABLE OF ST_KNA1,
       IT_VBAK TYPE STANDARD TABLE OF ST_VBAK,
       IT_VBAP TYPE STANDARD TABLE OF ST_VBAP.
         WORK AREA                                        *
DATA : V_KNA1 LIKE LINE OF IT_KNA1,
       V_VBAK LIKE LINE OF IT_VBAK,
       V_VBAP LIKE LINE OF IT_VBAP.
*DATA : FNAME(20),
      FVAL(15).
*DATA : F(30),WA(30).
        LOAD OF PROGRAM                                    *
LOAD-OF-PROGRAM.
       SET PF-STATUS                                *
        SELECTION SCREEN                                       *
  SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS :   SO_CUST FOR KNA1-KUNNR . "SELECT OPTIONS FOR CUSTOMER
PARAMETERS       P_HITS TYPE I .
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN.
AT SELECTION-SCREEN ON SO_CUST.
         SELECTION SCREEN VALIDATION
*SUBROUTINE FOR VALIDATION OF SELECTION FIELDS
  PERFORM VALIDATE_CUST.
FORM VALIDATE_CUST.
  IF SO_CUST[] IS NOT INITIAL.
    SELECT SINGLE KUNNR FROM KNA1 INTO V_KNA1 WHERE KUNNR IN SO_CUST.
    IF SY-SUBRC <> 0.
    MESSAGE E000(ZNEW) WITH 'PLZ ENTER CORRECT CUSTOMER DOCUMENT NUMBER'.
    ENDIF.
    ENDIF.
ENDFORM.                    "VALIDATE_CUST
        * START OF SELECTION.
TOP-OF-PAGE.
PERFORM TOP-PAGE.
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM DISPLAY_LIST.
Display secondary list.
AT LINE-SELECTION.
  SET PF-STATUS 'TEST'.
  PERFORM GET_SECONDARY.
*&      Form  GET_DATA
      text
-->  p1        text
<--  p2        text
FORM GET_DATA .
  SELECT KUNNR
         NAME1
         FROM KNA1 UP TO  P_HITS ROWS INTO TABLE IT_KNA1
         WHERE KUNNR IN SO_CUST.
  IF NOT IT_KNA1[] IS INITIAL.
    SELECT VBELN
           AUDAT
           VBTYP
           TRVOG
           AUART
           LIFSK
           FAKSK
           NETWR
           KUNNR
           FROM VBAK INTO TABLE IT_VBAK
           FOR ALL ENTRIES IN IT_KNA1 WHERE KUNNR = IT_KNA1-KUNNR .
    IF NOT IT_VBAK[] IS INITIAL.
   SELECT VBELN
          POSNR
          NETWR
          MATKL
          ARKTX
          PSTYV
          MEINS
          FROM VBAP INTO TABLE IT_VBAP
          FOR ALL ENTRIES IN IT_VBAK
          WHERE VBELN = IT_VBAK-VBELN.
          ENDIF.
        ENDIF.
  ENDFORM.                  
*&      Form  TOP-PAGE
      text
-->  p1        text
<--  p2        text
FORM TOP-PAGE .
WRITE :/ 'CUSTOMER DETALS'.
  WRITE :/ SY-ULINE.
WRITE :/01 'CUSTOMER NUMBER',
        24 'CUSTOMER NAME'.
ENDFORM.                    " TOP-PAGE
*&      Form DISPLAY_LIST
      text
-->  p1        text
<--  p2        text
FORM DISPLAY_LIST .
  LOOP AT IT_KNA1 INTO WA_KNA1.
   FORMAT HOTSPOT ON.
    WRITE : /03 WA_KNA1-KUNNR,
             24  WA_KNA1-NAME1.
    HIDE WA_KNA1-KUNNR.
  ENDLOOP.
ENDFORM.                    " DISPLAY_LIST
*&      Form  GET_SECONDARY
      text
-->  p1        text
<--  p2        text
FORM GET_SECONDARY .
DATA: var(20).
  GET CURSOR FIELD var.
  IF var = 'WA_KNA1-KUNNR'.
  IF SY-LSIND = 1.
    PERFORM DISP_LIST1.
  ENDIF.
  ENDIF.
ENDFORM.                    "GET_SECONDARY
AT USER-COMMAND.
  CASE SY-UCOMM.
    WHEN 'SO_DETAIL'.
      PERFORM DISP_LIST2.
      CLEAR IT_VBAP.
        WHEN 'SO_DEL'.
    WHEN 'SO_FLOW'.
    PERFORM TRANS.
  ENDCASE.
DATA: var(20).
  GET CURSOR FIELD var.
  IF var = 'WA_VBAK-VBELN'.
  IF SY-LSIND = 2.
    PERFORM DISP_LIST2.
  ENDIF.
  ENDIF.
*ENDFORM.                                                                               
*&      Form TRANS
      text
-->  p1        text
<--  p2        text
FORM TRANS .
DATA : F(30),WA(30).
GET CURSOR FIELD F VALUE WA_VBAP-VBELN.
      IF F = 'WA_VBAK-VBELN'.
      SET PARAMETER ID 'AUN' FIELD WA_VBAK-VBELN.
ENDIF.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDFORM.                    " TRANS
*&      Form  DISP_LIST1
      text
-->  p1        text
<--  p2        text
FORM DISP_LIST1 .
  LOOP AT IT_VBAK INTO WA_VBAK WHERE KUNNR = WA_KNA1-KUNNR.
   FORMAT HOTSPOT ON.
    WRITE :/ WA_VBAK-VBELN,
             WA_VBAK-AUDAT,
             WA_VBAK-VBTYP,
             WA_VBAK-TRVOG,
             WA_VBAK-AUART,
             WA_VBAK-LIFSK,
             WA_VBAK-FAKSK,
             WA_VBAK-NETWR,
             WA_VBAK-KUNNR.
         HIDE WA_VBAK-VBELN.
         ENDLOOP.
*endif.
ENDFORM.                    " DISP_LIST1
*&      Form  DISP_LIST2
      text
-->  p1        text
<--  p2        text
FORM DISP_LIST2 .
  LOOP AT IT_VBAP INTO WA_VBAP WHERE VBELN = WA_VBAK-VBELN.
    WRITE :/ WA_VBAP-VBELN,
             WA_VBAP-POSNR,
             WA_VBAP-NETWR,
             WA_VBAP-MATKL,
             WA_VBAP-ARKTX,
             WA_VBAP-PSTYV,
             WA_VBAP-NETWR,
             WA_VBAP-MEINS.
  HIDE WA_VBAP-VBELN.
  ENDLOOP.
ENDFORM. 
</CODE>
Thanks,
karan

hi karan,
u have written ur code in a good manner, i mean to say, modularization.
T A B L E S *
TABLES : KNA1, " CUSTOMER MASTER
VBAK, " SALES ORDER HEADER
VBAP, " SALES ORDER ITEM
SSCRFIELDS.
STRUCTURE DECLARATIONS
INTERNAL TABLE DECLARATIONS
WORK AREA DECLARATIONS
CUSTOMER
TYPES : BEGIN OF ST_KNA1,
KUNNR TYPE KNA1-KUNNR,
NAME1 TYPE KNA1-NAME1,
END OF ST_KNA1.
SALES ORDER HEADER
TYPES : BEGIN OF ST_VBAK,
VBELN TYPE VBAK-VBELN,
AUDAT TYPE VBAK-AUDAT,
VBTYP TYPE VBAK-VBTYP,
TRVOG TYPE VBAK-TRVOG,
AUART TYPE VBAK-AUART,
LIFSK TYPE VBAK-LIFSK,
FAKSK TYPE VBAK-FAKSK,
NETWR TYPE VBAK-NETWR,
KUNNR TYPE VBAK-KUNNR,
END OF ST_VBAK.
SALES ORDER ITEM
TYPES : BEGIN OF ST_VBAP,
VBELN TYPE VBAP-VBELN,
POSNR TYPE VBAP-POSNR,
NETWR TYPE VBAP-NETWR,
MATKL TYPE VBAP-MATKL,
ARKTX TYPE VBAP-ARKTX,
PSTYV TYPE VBAP-PSTYV,
MEINS TYPE VBAP-MEINS,
END OF ST_VBAP.
INTERNAL TABLE *
DATA : IT_KNA1 TYPE STANDARD TABLE OF ST_KNA1,
IT_VBAK TYPE STANDARD TABLE OF ST_VBAK,
IT_VBAP TYPE STANDARD TABLE OF ST_VBAP.
WORK AREA *
DATA : V_KNA1 LIKE LINE OF IT_KNA1,
V_VBAK LIKE LINE OF IT_VBAK,
V_VBAP LIKE LINE OF IT_VBAP.
*DATA : FNAME(20),
FVAL(15).
*DATA : F(30),WA(30).
LOAD OF PROGRAM *
LOAD-OF-PROGRAM.
SET PF-STATUS *
SELECTION SCREEN *
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : SO_CUST FOR KNA1-KUNNR . "SELECT OPTIONS FOR CUSTOMER
PARAMETERS P_HITS TYPE I .
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN.
AT SELECTION-SCREEN ON SO_CUST.
SELECTION SCREEN VALIDATION
*SUBROUTINE FOR VALIDATION OF SELECTION FIELDS
PERFORM VALIDATE_CUST.
FORM VALIDATE_CUST.
IF SO_CUST[] IS NOT INITIAL.
SELECT SINGLE KUNNR FROM KNA1 INTO V_KNA1 WHERE KUNNR IN SO_CUST.
IF SY-SUBRC <> 0.
MESSAGE E000(ZNEW) WITH 'PLZ ENTER CORRECT CUSTOMER DOCUMENT NUMBER'.
ENDIF.
ENDIF.
ENDFORM. "VALIDATE_CUST
* START OF SELECTION.
TOP-OF-PAGE.
PERFORM TOP-PAGE.
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM DISPLAY_LIST.
Display secondary list.
AT LINE-SELECTION.
SET PF-STATUS 'TEST'.
PERFORM GET_SECONDARY.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
FORM GET_DATA .
<b>refresh it_kna1.</b>
SELECT KUNNR
NAME1
FROM KNA1 UP TO P_HITS ROWS INTO TABLE IT_KNA1
WHERE KUNNR IN SO_CUST.
IF NOT IT_KNA1[] IS INITIAL.
<b>refresh it_vbak.</b>
SELECT VBELN
AUDAT
VBTYP
TRVOG
AUART
LIFSK
FAKSK
NETWR
KUNNR
FROM VBAK INTO TABLE IT_VBAK
FOR ALL ENTRIES IN IT_KNA1 WHERE KUNNR = IT_KNA1-KUNNR .
IF NOT IT_VBAK[] IS INITIAL.
<b>refresh it_vbap.</b>
SELECT VBELN
POSNR
NETWR
MATKL
ARKTX
PSTYV
MEINS
FROM VBAP INTO TABLE IT_VBAP
FOR ALL ENTRIES IN IT_VBAK
WHERE VBELN = IT_VBAK-VBELN.
ENDIF.
ENDIF.
ENDFORM.
*& Form TOP-PAGE
text
--> p1 text
<-- p2 text
FORM TOP-PAGE .
WRITE :/ 'CUSTOMER DETALS'.
<b>" Instead of writing text like this, use Text ELements</b>
WRITE :/ SY-ULINE. "<b> Instead u can use ULINE.</b>
WRITE :/01 'CUSTOMER NUMBER',
24 'CUSTOMER NAME'.
ENDFORM. " TOP-PAGE
*& Form DISPLAY_LIST
text
--> p1 text
<-- p2 text
FORM DISPLAY_LIST .
<b>clear wa_kna1.</b>
LOOP AT IT_KNA1 INTO WA_KNA1.
FORMAT HOTSPOT ON.
WRITE : /03 WA_KNA1-KUNNR,
24 WA_KNA1-NAME1.
HIDE WA_KNA1-KUNNR.
<b>clear wa_kna1.</b>
ENDLOOP.
ENDFORM. " DISPLAY_LIST
*& Form GET_SECONDARY
text
--> p1 text
<-- p2 text
FORM GET_SECONDARY .
DATA: var(20).
GET CURSOR FIELD var.
IF var = 'WA_KNA1-KUNNR'.
IF SY-LSIND = 1.
PERFORM DISP_LIST1.
ENDIF.
ENDIF.
ENDFORM. "GET_SECONDARY
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'SO_DETAIL'.
PERFORM DISP_LIST2.
CLEAR IT_VBAP.
WHEN 'SO_DEL'.
WHEN 'SO_FLOW'.
PERFORM TRANS.
ENDCASE.
DATA: var(20).
GET CURSOR FIELD var.
IF var = 'WA_VBAK-VBELN'.
IF SY-LSIND = 2.
PERFORM DISP_LIST2.
ENDIF.
ENDIF.
*ENDFORM.
*& Form TRANS
text
--> p1 text
<-- p2 text
FORM TRANS .
DATA : F(30),WA(30).
GET CURSOR FIELD F VALUE WA_VBAP-VBELN.
IF F = 'WA_VBAK-VBELN'.
SET PARAMETER ID 'AUN' FIELD WA_VBAK-VBELN.
ENDIF.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDFORM. " TRANS
*& Form DISP_LIST1
text
--> p1 text
<-- p2 text
FORM DISP_LIST1 .
<b>clear wa_vbak.</b>
LOOP AT IT_VBAK INTO WA_VBAK WHERE KUNNR = WA_KNA1-KUNNR.
FORMAT HOTSPOT ON.
WRITE :/ WA_VBAK-VBELN,
WA_VBAK-AUDAT,
WA_VBAK-VBTYP,
WA_VBAK-TRVOG,
WA_VBAK-AUART,
WA_VBAK-LIFSK,
WA_VBAK-FAKSK,
WA_VBAK-NETWR,
WA_VBAK-KUNNR.
HIDE WA_VBAK-VBELN.
<b>clear wa_vbak.</b>
ENDLOOP.
*endif.
ENDFORM. " DISP_LIST1
*& Form DISP_LIST2
text
--> p1 text
<-- p2 text
FORM DISP_LIST2 .
<b>clear wa_vbap.</b>
LOOP AT IT_VBAP INTO WA_VBAP WHERE VBELN = WA_VBAK-VBELN.
WRITE :/ WA_VBAP-VBELN,
WA_VBAP-POSNR,
WA_VBAP-NETWR,
WA_VBAP-MATKL,
WA_VBAP-ARKTX,
WA_VBAP-PSTYV,
WA_VBAP-NETWR,
WA_VBAP-MEINS.
HIDE WA_VBAP-VBELN.
<b>clear wa_vbak.</b>
ENDLOOP.
ENDFORM.
<b></b>
reward me if useful..........
Harimanjesh AN

Similar Messages

  • Reports checks a useru2019s security.

    Hi All,
    We want to make sure that the reports checks a useru2019s security. We donu2019t want just anyone to be able to run them; their security needs to be taken into account. 
    We have some info object chac as our authorization-relevant fields.
    What are possible ways to achieve this?
    Thanks in advance.

    Hi,
    For template level restrictions you can use the auth object, S_RS_BTMP.
    For query level restrictions you can use the auth objects,  S_RS_COMP or S_RS_COMP1.
    For infoobject level restrictions use can use the analysis auth. You can either assign the analysis auth created in rsecadmin directly to user(again using same tcode rsecadmin) or (similar to old reporting auth concept) you can add this auth to auth object S_RS_AUTH in a role and assign this role to user.
    Rgds,
    Hari

  • Lightroom 6 reports "Check OpenGL support: Failed"

    Lightroom 6 system info reports "Check OpenGL support: Failed".  I know that OpenGL is installed and working properly, since it passes all tests of OpenGL Extensions Viewer 4.1
    Any ideas?
    System:
    Lightroom version: 6.0 [1014445]
    License: Perpetual
    Operating system: Windows 7 Ultimate Edition
    Version: 6.1 [7601]
    Application architecture: x64
    System architecture: x64
    Logical processor count: 16
    Processor speed: 3.5 GHz
    Built-in memory: 12189.7 MB
    Real memory available to Lightroom: 12189.7 MB
    Real memory used by Lightroom: 1020.9 MB (8.3%)
    Virtual memory used by Lightroom: 1048.0 MB
    Memory cache size: 495.8 MB
    Maximum thread count used by Camera Raw: 8
    Camera Raw SIMD optimization: SSE2,AVX,AVX2
    System DPI setting: 134 DPI
    Desktop composition enabled: No
    Displays: 1) 2560x1440
    Input types: Multitouch: No, Integrated touch: No, Integrated pen: No, External touch: No, External pen: No, Keyboard: No
    Graphics Processor Info:
    Check OpenGL support: Failed
    Vendor: ATI Technologies Inc.
    Version: 3.3.13293 Core Profile Context FireGL 14.502.1019.0
    Renderer: ATI FirePro V5800 (FireGL) Graphics Adapter
    LanguageVersion: 4.40

    Same issue here....
    Lightroom version: 6.0.1 [ 1018573 ]
    License: Perpetual
    Operating system: Windows 7 Home Premium Edition
    Version: 6.1 [7601]
    Application architecture: x64
    System architecture: x64
    Logical processor count: 8
    Processor speed: 3.4 GHz
    Built-in memory: 16336.9 MB
    Real memory available to Lightroom: 16336.9 MB
    Real memory used by Lightroom: 514.2 MB (3.1%)
    Virtual memory used by Lightroom: 486.7 MB
    Memory cache size: 89.4 MB
    Maximum thread count used by Camera Raw: 4
    Camera Raw SIMD optimization: SSE2,AVX,AVX2
    System DPI setting: 96 DPI
    Desktop composition enabled: Yes
    Displays: 1) 2560x1440
    Input types: Multitouch: No, Integrated touch: No, Integrated pen: No, External touch: No, External pen: No, Keyboard: No
    Graphics Processor Info:
    Check OpenGL support: Failed
    Vendor: ATI Technologies Inc.
    Version: 3.3.13283 Core Profile Context 14.501.1003.0
    Renderer: AMD Radeon HD 6670
    LanguageVersion: 4.40
    Application folder: C:\Program Files\Adobe\Adobe Lightroom
    Library Path: E:\My Pictures\LR5 Data Bkup\LR5 Master\LR5 Master-2.lrcat
    Settings Folder: C:\Users\Rick\AppData\Roaming\Adobe\Lightroom
    Installed Plugins:
    1) Behance
    2) Canon Tether Plugin
    3) Facebook
    4) Flickr
    5) Leica Tether Plugin
    6) Nikon Tether Plugin
    Config.lua flags: None
    Updated Toolkit: Adobe Camera Raw 9.0 for Lightroom 6.0 (build 1014445)
    Updated Toolkit: Book Module 6.0 (build 1014445)
    Updated Toolkit: Develop Module 6.0 (build 1014445)
    Updated Toolkit: Import Module 6.0 (build 1014445)
    Updated Toolkit: Library Module 6.0 (build 1014445)
    Updated Toolkit: Map Module 6.0 (build 1014445)
    Updated Toolkit: Monitor Module 6.0 (build 1014445)
    Updated Toolkit: Print Module 6.0 (build 1014445)
    Updated Toolkit: Slideshow Module 6.0 (build 1014445)
    Updated Toolkit: Web Module 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.AgNetClient 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.AgWFBridge 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.Headlights 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.LibraryToolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.MultiMonitorToolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.archiving_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.bridgetalk 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.catalogconverters 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.cef_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.coretech_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.curculio 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.discburning 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.email 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.export 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.ftpclient 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.help 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.iac 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.imageanalysis 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.layout_module_shared 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.pdf_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.sdk 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.sec 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.socket 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.store_provider 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.substrate 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.ui 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.video_toolkit 6.0 (build 1014445)
    Updated Toolkit: com.adobe.ag.xml 6.0 (build 1014445)
    Updated Toolkit: com.adobe.wichitafoundation 6.0 (build 1014445)
    Adapter #1: Vendor : 1002
      Device : 6758
      Subsystem : 318b1682
      Revision : 0
      Video Memory : 1008
    AudioDeviceIOBlockSize: 1024
    AudioDeviceName: Speakers (4- Logitech USB Headset)
    AudioDeviceNumberOfChannels: 2
    AudioDeviceSampleRate: 44100
    Build: Uninitialized
    Direct2DEnabled: false
    GPUDevice: not available
    OGLEnabled: true

  • StatsPack report check

    What are the imporant things to check the performance degradation in StatsPack report?

    Check the performace tuning guide from Oracle.
    Most common things to look at are
    Top wait events,
    Hit ratios
    Top SQLs
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/toc.htm

  • ABAP report - Check Po items Material group

    Hi All,
    I would like in my abap report to check efficiently each line item in the Purchase order and make sure each line item should have the same material group.
    Any ideas appreciated.
    Meghna

    You can gather all the PO items from the table EKPO into a STANDARD TABLE like the the EKPO. For each line of the table LT_EKPO you will searching into the MARA (MARA-MATNR = EKPO-MATNR) and you will collect the MARA-MATKL into an internal table that will have only one field, the Material Group. At the end you will check how many lines has the internal table. Becouse you wil you the COLLECT instead of APPEND, if the PO has only one Material Group then this table should have only one line.
    Check the following code (it has been written by hard)
    With Regards
    George
    TABLES: MARA, EKPO.
    TYPES: BEGIN OF TY_GROUP,
                     MATKL LIKE MARA-MATKL,
                 END OF TY_GROUP.
    DATA: lt_group TYPE STANDARD TABLE OF TY_GROUP,
                wa_group LIKE LINE OF lt_group.
    DATA: lt_ekpo LIKE EKPO occurs 0,
                wa_ekpo LIKE LINE OF lt_ekpo,
                lines_count TYPE I.
    SELECT * FROM EKPO INTO TABLE lt_ekpo
      WHERE EBELN = p_ebeln.
    SORT lt_ekpo.
    LOOP AT lt_ekpo INTO wa_ekpo.
        CLEAR MARA.
        SELECT SINGLE * FROM MARA
           WHERE MATNR = wa_ekpo-matnr.
        WA_GROUP-MATKL = MARA-MATKL.
       COLLECT wa_group INTO lt_group.
       CLEAR wa_group.
    ENDLOOP.
    DESCRIBE TABLE lt_group LINES lines_count.
    IF lines_count > 1.
    DO SOMETHING.
    ENDIF.

  • Standard Report check whether Goods Issue has been performed for DN

    Hi All,
    My users is having a list of DNs where they would like to check if Post Goods Issue has been performed for them.  I would like to ask is there any standard reports as to check if a Delivery Note has PGI performed?
    I have tried report VL06G but in this report we cannot give the DN No. as the key. 
    Thanks.

    There is no standard reports to check GI by DN number.
    You have to find out the Outbound Number first then check by Outbound number.
    In SE16N, key VBFA table
    Pump in your DN number under "Follow-on doc."
    Under "Prec.doc.categ." select "J".
    with the outboud number, you can proceed to check using above report suggested.
    Alternatively, using same VBFA table. Pump in list of outbound number under "Preceding Doc." and select "Subs.doc.categ." as "R".
    If you can set-up query reports, you can also get all the information directly with the DN Numbers.

  • LMS 4.2.4 - report check "end host" list

    Hi All,
         I have a list of 26 "end host" identify by mac-address. I would like to generate every day a report to check that these devices exist on the network.
         If you can help me about this task? do i have to use "user tracking" ?
         Just for precision ...it is not "network device" but "end host" devices (PCs)
    Thanks for your help.
    Regards.

    Still no explanation from the experts?
    Thanks
    Lothar

  • Reports - Check Boxes

    Hi All,
    I'm not getting idea how to approach this requirement.
    My requirement is
    I have one report with check box for each record output in the list.
    Here in this report i'll check i.e. put tick mark in the check box, then the checked list of records should be written to the other report.
    Can you please let me know the solution.
    Jeevi.

    report Ztest no standard page heading.
    data: imara type table of mara with header line.
    data: check_box(1) type c,
          report_lines type i.
    start-of-selection.
    * Create the gui status with BACK button in standard place
    * and a READ button in the application toolbar
      set pf-status 'CHECK'.
      select * into corresponding fields of table imara
               from mara up to 100 rows.
      loop at imara.
        write:/ check_box as checkbox, imara-matnr, imara-matkl.
        hide imara-matnr.
      endloop.
      report_lines  = sy-linno - 1.
    top-of-page.
      write: 'List of materials'.
      uline.
    top-of-page during line-selection.
      write:  'Material.....'.
      uline.
    at user-command.
      case sy-ucomm.
        when 'READ'.
          check_box = space.
          set pf-status 'CHECK' excluding 'READ'.
          do report_lines times.
            read line sy-index field value check_box.
            if check_box = 'X'.
              write:/  'You have selected material', imara-matnr.
            endif.
          enddo.
      endcase.
    DEMO_LIST_READ_LINE
    refer this code if u want furtehr help.
    END-OF-SELECTION.
      lines = sy-linno - 1.
    SET PF-STATUS 'ZSTATUS'.
    AT USER-COMMAND.
          wa_output-cb = space.
          SET PF-STATUS 'ZSTATUS' EXCLUDING 'SAVE'.
          DO lines TIMES.
            READ LINE sy-index FIELD VALUE wa_output-cb.
              IF wa_output-cb = 'X'.
            MODIFY i_output  FROM wa_output INDEX sy-tabix TRANSPORTING cb.
            ENDIF.
          ENDDO.
    CASE sy-ucomm.
    WHEN 'SAVE'.
    *      DELETE i_output WHERE cb = 'X'.
       LOOP AT i_output WHERE cb = 'X'.
        MOVE i_output TO i_fina.
       APPEND i_final.
       ENDLOOP.
      ULINE.
      FORMAT INTENSIFIED OFF.
      FORMAT COLOR COL_HEADING.
      WRITE:/001 'CB' ,
             003 'Material No',
             015 'Mat type',
             024 'Mat group'.
      FORMAT COLOR OFF.
      FORMAT INTENSIFIED ON.
      ULINE.
      IF NOT i_output[] IS INITIAL.
        LOOP AT i_output INTO wa_output.
          WRITE:/001 wa_output-cb AS checkbox,
                 003 wa_output-matnr,
                 015 wa_output-mtart,
                 024 wa_output-matkl.
          CLEAR wa_output.
        ENDLOOP.
      ENDIF.
    WHEN 'BACK'.
    LEAVE SCREEN.
    ENDCASE.

  • Crystal Reports - check boxes on forms

    Does anyone know if it is possible to embed check boxes ( ticked or crossed based on True / False values) in Crystal Reports?
    I have a large number of forms to develop which use Yes / No values in UDF's and I want to display tick or cross in check boxes based on these values!
    Thanks

    Somewhat 1 year ago I issued a iTar on that,
    is a known bug that is apparently not worsewhile to fix.
    cu

  • Checked crash report check box ... Can I undo that?

    Hello,
    I posted a crash report the other day and in the process a window showed up asking me if I'd like Apple to monitor activities on my computer or something to that effect. I was running out the door and mindlessly pressed OK or whatever.
    I'd like to undo this but can't find a way to do so. Can anyone point me in the right direction?
    Thank you for your help.
    Cheers,
    Hiroshi

    Thanks QuickTimeKirk,
    I checked a similar support page for Mountain Lion and was able to disable it.
    I'm a bit on the paranoid side ; )
    Cheers,
    Hiroshi

  • Print of standard report "Check Register" not consistent with the report

    Hi
    I am trying to print a report generated by transaction FCHN. The display of report is correct but when i check the printout the last line item is missing in the print only.

    Hi ,
    print out from spool or direct? , if its spool then u need to check the settings of the spool to display all the pages.
    in SPO2->goto->display requests--->settings.
    regards
    Prabhu

  • What do you do for resource assignment reporting / checking ?

    I've been tasked with writing a set of reports, the purpose of which is twofold.
    Firstly, to help department managers make decisions on new requirements coming in
    Secondly, to help resource managers check their resources' assignments against previous months (we move the data date across a large multi programme environment at the end of each calendar month)
    Sometimes it can be hard to think outside of the way we work in our organisation, so throwing the question out - what do you and your organisation do?
    Points available for the best answers!
    David

    Another option is to generate SQL reports within the database.
    While I have never generated anything advanced we often run basic resource assignment reports to identify where a given resource is assigned:
    Generic example:
    SELECT a.task_code, a.act_end_date, b.proj_short_name, d.rsrc_short_name
    FROM TASK a, project b, taskrsrc c, rsrc d
    WHERE c.rsrc_id=2298
    AND a.task_id = c.task_id
    AND b.proj_id = c.proj_id
    AND d.rsrc_id = c.rsrc_id
    AND a.proj_id = b.proj_id;

  • ADS Credential Rights Issue. All reports checks successful...

    I am having an ADS issue in my EP production environment. When users click on any adobe form, it gives 2 popup, stating
    1) u201CThis document enabled extended feature in Adobe Reader. The use of the extended features has expiredu201D
    2) u201CThis document enabled extended feature in Adobe Reader. The document has been changed since it was created and use of extended feature is no longer available. Please contact the author for the original version of this document.u201D
    And it displays the below errors in the log.
    Log location:--> /usr/sap/<SID>/JC00/j2ee/cluster/server0/log
    1) com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.
    2) com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: /var/tmp/adobewa_EPP_14070851/DM-4025786556068948812.dir/DM-6606423593397490494.tmp
    Specific error information:
    error while logging into credential '^0'
    GeneralError: Operation failed.
    SecurityHandler.login:-1:
    Could not create temporary file
    Troubleshooting Steps I have followed
    Step 1: I observed the u201CCredential Keyu201D in Visual Admin got expired.
    Action: I sent a request to SAP Market place to request a new credential key and got a new key.
    Resolution: The credential key was applied to all server nodes, all required ADS service were restarted and u201CWASu201D was restarted.
    Step 2: Ran reports (FP_TEST_00, FP_PDF_TEST_00, FP_CHECK_DESTINATION_SERVICE, and FP_TEST_IA_01)
    Action: Ran reports in se38
    Resolution: All reports were successful.
    Step 3: Followed all instructions for the below links
    Action: /people/dezso.pap/blog/2007/01/10/common-problems-with-sap-interactive-forms-by-adobe--part-i- --> (ADS troubleshooting issuses)
         https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f03414f8-d4ce-2a10-d4b6-ab201b329d98   --> (Installing credentials and configuring ADS)
    Resolution: Did not resolve my issues.
    Step 4: Open a very high priority ticket with SAP.
    Action: Sent SAP all the logs and screen shot of problems.
    Resolution: None! SAP canu2019t figure out the problem.
    Kindly assist me, if you have encountered this issue before. Your assistance is greatly appreciated.
    Regards,
    Haffiz

    Hi Haffiz,
    I have your same problem:
    Credential login error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_S19_197736650\DM-7159480439143838974.dir\DM-6724718864855579594.tmp
    I just installed the credential
    the FP_TEST_IA_01 failed at running
    How you have resolved this problem?
    Best Regards
    T.Anderson

  • Standard report to check transfer quantity from inspection lot

    Hi All,
    Upon good receipts using movement type 101, an inspection lot will be created automatically in the system.
    After that, inspection results and usage decision will be done.
    So at the end, if I display that particular inspection lot using QA03, in the "Insp. lot quantities" tab, when I click at button "Mat. doc", I will be able to display the transfer material document stating transfer from which storage location to which storage location and how much is the quantity.
    For reports checking purpose, I need to check every Inspection lot created and then have to know the final destination and how much is the quantity. It doesn't make sense if I have to click one by one from QA03.
    Please advice whether there is a standard report for this or any other way possible.
    Thank you.

    Hi,
    I have checked your suggestion, but QA33 failed to accomodate my request.
    I want to show the material documents created from the inspection instead of the material document during good receipt.
    So, I want to link inspection lot, goods transfer material document created and the quantity transfered from the inspection.
    Please help again. Thanks.

  • Check Document Numbering report intepretation

    I am looking information in Check Document Numbering utility. Usually i dont get results, but what happens if I do ? Any Note , or PDF ?

    Hi,
    From the Online Help :
    Check Document Numbering
    In this window, define the required selection criteria for duplicated and missing numbers in a document series. The error and information messages are displayed in the status bar.
    From the Documentation resource centre :
    The CHECK DOCUMENT NUMBERING report provides a simple way to check the continuity of all documents and ensure that numbers have not been assigned twice. This report checks for any gaps in numbering and for double assignment of numbers within the document number ranges. If no data is found, the assignment of document numbers is correct and without omissions (within the definition).
    Link :
    [Year End Closing|https://websmp110.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000329481&_OBJECT=011000358700001111052006E&_SCENARIO=01100035870000000183&]..Refer page 6
    Hope it helps.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for