Report Not showing result

Hi!
I am unable to get the result for my one of the item as checkbox. Other two are working properly .Please check and let me know wheres the problem please.
***INCLUDE ZSD_CONTRACT_LIST_T01_RENTAL1 .
TABLES: vbak, vbap, wbrk, zsdsched,vbkd, fplt, fpla, tvlvt.
TYPE-POOLS: slis.
data: BEGIN OF gt_report occurs 0,
    vbeln LIKE vbak-vbeln,              "Sales Document
    posnr LIKE vbap-posnr,              "Item
    ernam LIKE vbak-ernam,              "Created by
    erdat LIKE vbak-erdat,              "Created on
    audat LIKE vbak-audat,              "Document Date
    vbtyp LIKE vbak-vbtyp,              "SD document category
    auart LIKE vbak-auart,              "Sales Document type
    vkorg LIKE vbak-vkorg,              "Sales Org
    vtweg LIKE vbak-vtweg,              "Distribution Channel
    spart LIKE vbak-spart,              "Division
    vkbur LIKE vbak-vkbur,              "Sales Office
    guebg LIKE vbak-guebg,              "Valid from date
    gueen LIKE vbak-gueen,              "Valid to date    kunnrt LIKE kna1-name1,             "Sold-to Name
   kunwet    LIKE kna1-name1,          "Ship-to Name
   kunnrt LIKE kna1-name1,             "Sold-to Name
   kunret    LIKE kna1-name1,          "Bill-to Name
    kunnr LIKE vbak-kunnr,              "Sold-to party
    kunnrt LIKE kna1-name1,             "Sold-to Name
    kvgr4 LIKE vbak-kvgr4,              "Territory
    matnr LIKE vbap-matnr,              "Material
    arktx LIKE vbap-arktx,              "Material Short Text
    charg LIKE vbap-charg,              "Batch
    matkl LIKE vbap-matkl,              "Material Group
    pstyv LIKE vbap-pstyv,              "Item Category
    zmeng LIKE vbap-zmeng,              "Target Quantity
    zieme LIKE vbap-zieme,              "Target Unit
    kdmat LIKE vbap-kdmat,              "Customer Material Number
    werks LIKE vbap-werks,              "Plant
    lgort LIKE vbap-lgort,              "Storage Location
    vstel LIKE vbap-vstel,              "Shipping Point
    route LIKE vbap-route,              "Route
    netpr LIKE vbap-netpr,              "Net Price
    kpein LIKE vbap-kpein,              "Condition Price Unit
    kmein LIKE vbap-kmein,              "Condition Unit
    shkzg LIKE vbap-shkzg,              "Returns Item
    oidrc LIKE vbap-oidrc,              "DRC Code
    kunwe LIKE vbap-oid_ship,           "Ship-to
    aufnr LIKE vbap-aufnr,              "Order Number
    vkaus LIKE vbap-vkaus,              "Usage
    kunwet    LIKE kna1-name1,          "Ship-to Name
    zzwprofid LIKE vbap-zzwprofid,      "Waste Profile ID
    kunre     LIKE wbrk-kunre,          "Bill-to
    kunret    LIKE kna1-name1,          "Bill-to Name
    addl_schd LIKE icon-id,             "Push Button For addl line
    datab     LIKE zsdsched-datab,      "Valid-From Date
    datbi     LIKE zsdsched-datbi,     "Valid To Date
    zschdfreq  LIKE zsdsched-zschdfreq, "Contract schedule frequency
    frequency  LIKE zsdsched-frequency, "Frequency
    monday    LIKE zsdsched-monday,     "Mondays
    tuesday   LIKE zsdsched-tuesday,    "Tuesdays
    wednesday  LIKE zsdsched-wednesday, "Wednesdays
    thursday  LIKE zsdsched-thursday,   "Thursdays
    friday    LIKE zsdsched-friday,     "Fridays
    saturday  LIKE zsdsched-saturday,   "Saturdays
    sunday    LIKE zsdsched-sunday,     "Sundays
    dzieme    LIKE zsdsched-dzieme,     "Target quantity UoM
    comments  LIKE zsdsched-comments,   "Comments
   END OF gt_report.
  data: Begin of gt_report1 occurs 0,
    fksaf     LIKE fplt-fksaf,
    afdat     LIKE fplt-afdat,
    fakwr     LIKE fplt-fakwr,
    fkdat     LIKE fplt-fkdat,
    nfdat     LIKE fplt-nfdat,
    fpart     LIKE fpla-fpart,
    bedat     LIKE fpla-bedat,
    endat     LIKE fpla-endat,
    horiz     LIKE fpla-horiz,
    bezei     LIKE tvlvt-bezei,
    vbeln     LIKE vbak-vbeln,
    erdat     LIKE vbak-erdat,
    ernam     LIKE vbak-ernam,
    guebg     LIKE vbak-guebg,
    gueen     LIKE vbak-gueen,
    auart     LIKE vbak-auart,
    kunnr     LIKE vbak-kunnr,
    kvgr4     LIKE vbak-kvgr4,
    vkbur     LIKE vbak-vkbur,
    vkorg     LIKE vbak-vkorg,
    vtweg     LIKE vbak-vtweg,
    vbtyp     LIKE vbak-vbtyp,
    name1     LIKE kna1-name1,
    pstyv     LIKE vbap-pstyv,
    matnr     LIKE vbap-matnr,
    werks     LIKE vbap-werks,
    oid_ship  LIKE vbap-oid_ship,
    kpein     LIKE vbap-kpein,
    kmein     LIKE vbap-kmein,
    netpr     LIKE vbap-netpr,
    kdmat     LIKE vbap-kdmat,
    posnr     LIKE vbap-posnr,
    matkl     LIKE vbap-matkl,
    aufnr     LIKE vbap-aufnr,
    vkaus     LIKE vbap-vkaus,
    route     LIKE vbap-route,
    kunre     LIKE wbrk-kunre,          "Bill-to
    kunwe LIKE vbap-oid_ship,           "Ship-to
    kunwet    LIKE kna1-name1,          "Ship-to Name
    kunnrt LIKE kna1-name1,             "Sold-to Name
    kunret    LIKE kna1-name1,          "Bill-to Name
    End of gt_report1.
data: gs_report    LIKE LINE OF gt_report,
      gs_report1   LIKE LINE OF gt_report1,
      gt_sched     TYPE TABLE OF zsdsched,
      gt_sched_tmp TYPE TABLE OF zsdsched,
      gs_sched     TYPE zsdsched,
      gt_sel       LIKE gt_report OCCURS 0,
      gt_sel1      LIKE  gt_report1 OCCURS 0,
      gt_vbpa  TYPE TABLE OF vbpa,
      gs_vbpa  TYPE vbpa,
      gv_auart TYPE auart,
      gv_counter TYPE i.
**-- ALV variables
DATA: ls_fieldcat     TYPE slis_fieldcat_alv,    "Field Catalog list
      gt_fieldcat     TYPE slis_t_fieldcat_alv,  "Field Catalog
      ls_sort         TYPE slis_sortinfo_alv,    "Sorting list
      gt_sort         TYPE slis_t_sortinfo_alv,  "Sort
      gs_layout       TYPE slis_layout_alv,      "List Layout
      gs_variant      TYPE disvariant,           "Display Variant
      gv_repid        LIKE sy-repid,
      gv_save(1)           TYPE c,
      ls_fieldcat1     TYPE slis_fieldcat_alv,    "Field Catalog list
      gt_fieldcat1     TYPE slis_t_fieldcat_alv,  "Field Catalog
      ls_sort1         TYPE slis_sortinfo_alv,    "Sorting list
      gt_sort1         TYPE slis_t_sortinfo_alv,  "Sort
      gs_layout1       TYPE slis_layout_alv,      "List Layout
      gs_variant1      TYPE disvariant,           "Display Variant
      gv_repid1        LIKE sy-repid,
      gv_exit(1)           TYPE c.
CONSTANTS: gc_a     TYPE c VALUE 'A',
           gc_g     TYPE c VALUE 'G',
           gc_re(2) TYPE c VALUE 'RE'.
Screen-control Variables
CONTROLS:
  tctrl_sched TYPE TABLEVIEW USING SCREEN 1010.     " Schedule lines.
*& Report  ZSD_CONTRACT_LIST
*& Created on: January 21, 2007
*& Description: List of Contracts - ALV
REPORT  zsd_contract_list_rental1.
INCLUDE zsd_contract_list_t01_rental1.
Selection Screen
SELECTION-SCREEN BEGIN OF BLOCK m1 WITH FRAME TITLE text-t01.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t02.
SELECT-OPTIONS: s_vkorg FOR vbak-vkorg MEMORY ID vko,
                s_vtweg FOR vbak-vtweg MEMORY ID vtw,
                s_spart FOR vbak-spart MEMORY ID spa,
                s_vkbur FOR vbak-vkbur MEMORY ID vkb.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln,
                s_erdat FOR vbak-erdat,
                s_ernam FOR vbak-ernam,
                s_guebg FOR vbak-guebg,
                s_gueen FOR vbak-gueen,
                s_auart FOR gv_auart MEMORY ID vta
                                     MATCHCODE OBJECT h_vakz,
               s_fkarv FOR fplt-fkarv.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS:
                s_kunnr FOR vbak-kunnr,
                s_kunwe FOR vbap-oid_ship,
                s_kunre FOR wbrk-kunre.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t03.
SELECT-OPTIONS: s_werks FOR vbap-werks MEMORY ID wrk,
                s_lgort FOR vbap-lgort MEMORY ID lag,
                s_vstel FOR vbap-vstel MEMORY ID vst,
                s_route for vbap-route,
                s_matnr FOR vbap-matnr.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t04.
PARAMETERS:     p_varia TYPE disvariant-variant MEMORY ID wrk,
                p_all   AS CHECKBOX DEFAULT 'X',
                p_group AS CHECKBOX DEFAULT 'X',
                p_rental AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK b3.
SELECTION-SCREEN END OF BLOCK m1.
Start of Selection
START-OF-SELECTION.
  PERFORM get_data.
Display ALV
END-OF-SELECTION.
  IF gt_report[] IS INITIAL.
    MESSAGE s419(brain).
  ELSE.
    PERFORM create_alv.
  ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST                                 *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_varia.
  PERFORM f01_f4_variant CHANGING p_varia.
*&      Form  get_data
      text
FORM get_data .
   select the appropriate rental data.
IF  p_rental IS NOT INITIAL AND ( ( p_all IS INITIAL ) AND ( p_group IS INITIAL ) ).
SELECT avbeln aerdat aernam aaudat avbtyp aauart a~vkorg
       avtweg aspart avkbur aguebg agueen akunnr a~kvgr4
       bpstyv bmatnr bwerks boid_ship bkpein bkmein
       bnetpr bkdmat bposnr bmatkl baufnr bvkaus b~route
       dbezei efkarv eafdat efakwr efkdat enfdat e~fksaf
       ffpart fbedat fendat fhoriz flodat ftndat b~oid_ship AS kunwe
INTO CORRESPONDING FIELDS OF TABLE gt_sel1
     FROM vbak AS a
         INNER JOIN vbap AS b ON avbeln = bvbeln
        INNER JOIN vbpa as c ON avbeln = cvbeln
         INNER JOIN vbkd AS g ON avbeln = gvbeln
         INNER JOIN fplt AS e ON gfplnr = efplnr
         INNER JOIN fpla AS f ON efplnr = ffplnr
         INNER JOIN tvlvt AS d ON bvkaus = dabrvw
     WHERE a~vbeln IN s_vbeln
       AND a~erdat IN s_erdat
       AND a~vbtyp = gc_g
       AND a~ernam IN s_ernam
       AND a~vkorg IN s_vkorg
       AND a~vtweg IN s_vtweg
       AND a~spart IN s_spart
       AND a~vkbur IN s_vkbur
       AND a~guebg IN s_guebg
       AND a~gueen IN s_gueen
       AND a~auart IN s_auart
       AND a~kunnr IN s_kunnr
       AND b~oid_ship IN s_kunwe
       AND b~werks IN s_werks
       AND b~lgort IN s_lgort
       AND b~vstel IN s_vstel
       and b~route in s_route
       AND b~matnr IN s_matnr
       AND e~fkarv IN s_fkarv
       AND e~fksaf = 'A'
       OR  e~fksaf = 'B'.
    sort gt_sel1.
*ENDIF.
    IF NOT gt_sel1[] IS INITIAL.
  Get Bill-to Party's for Item Lines
    SELECT vbeln posnr parvw kunnr INTO CORRESPONDING FIELDS OF TABLE gt_vbpa
        FROM vbpa
        FOR ALL ENTRIES IN gt_sel1
        WHERE vbeln = gt_sel1-vbeln
          AND parvw = gc_re.
Loop through captured data for additional information
  LOOP AT gt_sel1 INTO gs_report1.
  Find the bill-to party
    READ TABLE gt_vbpa INTO gs_vbpa WITH KEY vbeln = gs_report1-vbeln
                                             posnr = gs_report1-posnr
                                             parvw = gc_re.
    IF sy-subrc <> 0.
      READ TABLE gt_vbpa INTO gs_vbpa WITH KEY vbeln = gs_report1-vbeln
                                               parvw = gc_re.
      CHECK sy-subrc = 0 AND gs_vbpa-kunnr IN s_kunre.
    ELSE.
      CHECK gs_vbpa-kunnr IN s_kunre.
    ENDIF.
    gs_report1-kunre = gs_vbpa-kunnr.
Get the Customer's Name
    gs_report1-kunnrt = zcl_kna1=>get_name1( itp_kunnr = gs_report1-kunnr ).
    gs_report1-kunwet = zcl_kna1=>get_name1( itp_kunnr = gs_report1-kunwe ).
    gs_report1-kunret = zcl_kna1=>get_name1( itp_kunnr = gs_report1-kunre ).
  Get the scheduling lines for the item line.
    CLEAR gv_counter.
    APPEND gs_report1 TO gt_report1.
  ENDLOOP.
  DELETE ADJACENT DUPLICATES FROM gt_report1.
*ENDIF.
ELSE.
IF ( ( p_all IS NOT INITIAL ) OR ( p_group IS NOT INITIAL ) ) AND p_rental IS INITIAL.
  Select the appropriate contract data.
  SELECT a~vbeln a~erdat a~ernam a~audat a~vbtyp a~auart a~vkorg
   a~vtweg a~spart a~vkbur a~guebg a~gueen a~kunnr a~kvgr4
   b~posnr b~matnr b~charg b~matkl b~arktx b~pstyv b~zmeng
   b~zieme b~kdmat b~werks b~lgort b~vstel b~netpr b~kpein
   b~kmein b~shkzg b~oid_extbol b~oid_miscdl b~oidrc b~oid_ship AS kunwe
   b~zzwprofid c~datbi c~datab b~route
  baufnr bvkaus d~bezei
     INTO CORRESPONDING FIELDS OF TABLE gt_sel
     FROM vbak AS a
         INNER JOIN vbap AS b ON a~vbeln = b~vbeln
        INNER JOIN tvlvt AS d ON bvkaus = dabrvw
         LEFT OUTER JOIN zsdsched AS c ON b~vbeln = c~vbeln AND
                               b~posnr = c~posnr
     WHERE a~vbeln IN s_vbeln
       AND a~erdat IN s_erdat
       AND a~vbtyp = gc_g
       AND a~ernam IN s_ernam
       AND a~vkorg IN s_vkorg
       AND a~vtweg IN s_vtweg
       AND a~spart IN s_spart
       AND a~vkbur IN s_vkbur
       AND a~guebg IN s_guebg
       AND a~gueen IN s_gueen
       AND a~auart IN s_auart
       AND a~kunnr IN s_kunnr
       AND b~oid_ship IN s_kunwe
       AND b~werks IN s_werks
       AND b~lgort IN s_lgort
       AND b~vstel IN s_vstel
       and b~route in s_route
       AND b~matnr IN s_matnr.
  SORT gt_sel.
ENDIF.
  IF NOT gt_sel[] IS INITIAL.
  Get Bill-to Party's for Item Lines
    SELECT vbeln posnr parvw kunnr INTO CORRESPONDING FIELDS OF TABLE gt_vbpa
        FROM vbpa
        FOR ALL ENTRIES IN gt_sel
        WHERE vbeln = gt_sel-vbeln
          AND parvw = gc_re.
endif.
  Select the remaining records from the ZSDSCHED Table.
IF p_group IS NOT INITIAL.
    SELECT * FROM zsdsched
        INTO TABLE gt_sched
        FOR ALL ENTRIES IN gt_sel
        WHERE vbeln = gt_sel-vbeln
          AND posnr = gt_sel-posnr.
    SORT gt_sched.
  ENDIF.
Loop through captured data for additional information
  LOOP AT gt_sel INTO gs_report.
  Find the bill-to party
    READ TABLE gt_vbpa INTO gs_vbpa WITH KEY vbeln = gs_report-vbeln
                                             posnr = gs_report-posnr
                                             parvw = gc_re.
    IF sy-subrc <> 0.
      READ TABLE gt_vbpa INTO gs_vbpa WITH KEY vbeln = gs_report-vbeln
                                               parvw = gc_re.
      CHECK sy-subrc = 0 AND gs_vbpa-kunnr IN s_kunre.
    ELSE.
      CHECK gs_vbpa-kunnr IN s_kunre.
    ENDIF.
    gs_report-kunre = gs_vbpa-kunnr.
Get the Customer's Name
    gs_report-kunnrt = zcl_kna1=>get_name1( itp_kunnr = gs_report-kunnr ).
    gs_report-kunwet = zcl_kna1=>get_name1( itp_kunnr = gs_report-kunwe ).
    gs_report-kunret = zcl_kna1=>get_name1( itp_kunnr = gs_report-kunre ).
  Get the scheduling lines for the item line.
    CLEAR gv_counter.
    IF NOT p_group IS INITIAL.
    If we are grouping the lines add the icon button.
      LOOP AT gt_sched INTO gs_sched WHERE vbeln = gs_report-vbeln
                                     AND posnr = gs_report-posnr.
        IF gv_counter > 0.
          gs_report-addl_schd = '@1E@'.
          CONTINUE.
        ENDIF.
        MOVE-CORRESPONDING gs_sched TO gs_report.
        ADD 1 TO gv_counter.
      ENDLOOP.
    ELSE.
    Otherwise get the rest of the schedule information
      READ TABLE gt_sched INTO gs_sched
        WITH KEY vbeln = gs_report-vbeln
                 posnr = gs_report-posnr
                 datbi = gs_report-datbi
                 datab = gs_report-datab.
      IF sy-subrc = 0.
        MOVE-CORRESPONDING gs_sched TO gs_report.
      ENDIF.
    ENDIF.
    APPEND gs_report TO gt_report.
  ENDLOOP.
Remove any duplicates from the reporting table
  DELETE ADJACENT DUPLICATES FROM gt_report.
If Show all records is initial, delete non-scheduled lines (ex. Sub-items)
  IF p_all IS INITIAL.
    DELETE gt_report WHERE datbi = 0
                        AND datab = 0.
  ENDIF.
endif.
endif.
ENDFORM.                    " get_data
*&      Form  create_alv
      text
FORM create_alv .
if ( ( p_all is not initial ) or ( p_group is not initial ) ) and p_rental is initial.
  PERFORM initialize_fieldcat USING gt_fieldcat[].
  PERFORM populate_layout CHANGING gs_layout
                                   gs_variant.
  PERFORM populate_sort   USING gt_sort[].
  PERFORM display_alv_report.
else.
if  p_rental is not initial and ( ( p_all is initial ) and ( p_group is initial ) ).
PERFORM initialize_fieldcat1 USING gt_fieldcat1[].
PERFORM populate_layout1 CHANGING gs_layout1
                                  gs_variant1.
PERFORM populate_sort1   USING gt_sort1[].
PERFORM display_alv_report1.
*endif.
*endif.
ENDFORM.                    " create_alv
*&      Form  initialize_fieldcat
  Get and enhance the field catalog data
     -->L_FIELDCAT[]  text
FORM initialize_fieldcat USING l_fieldcat TYPE slis_t_fieldcat_alv.
IF p_rental IS NOT INITIAL .
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      i_program_name         = 'ZSD_CONTRACT_LIST_RENTAL1'
      i_internal_tabname     = 'GT_REPORT1'
      i_inclname             = 'ZSD_CONTRACT_LIST_T01_RENTAL1'
    CHANGING
      ct_fieldcat            = l_fieldcat
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.
READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'VBELN'.
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Contract'.
  ls_fieldcat-hotspot     = 'X'.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'KUNNRT'.
  ls_fieldcat-seltext_s =
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Sold-to Name'.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'KUNWET'.
  ls_fieldcat-seltext_s =
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Ship-to Name'.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'KUNRET'.
  ls_fieldcat-seltext_s =
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Bill-to Name'.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'ADDL_SCHD'.
  IF NOT p_group IS INITIAL.
    ls_fieldcat-seltext_s = 'Schd'.
    ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Additional Scheduling Lines'.
    ls_fieldcat-icon = 'X'.
    CLEAR: ls_fieldcat-key,
           ls_fieldcat-ref_fieldname,
           ls_fieldcat-ref_tabname,
           ls_fieldcat-reptext_ddic,
           ls_fieldcat-ddic_outputlen.
    ls_fieldcat-hotspot     = 'X'.
    MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  ELSE.
    DELETE l_fieldcat INDEX sy-tabix.
  ENDIF.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'DATAB'.
  ls_fieldcat-seltext_s = 'Schd From'.
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Sched. From Date'.
  CLEAR: ls_fieldcat-key.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat1 WITH KEY fieldname = 'DATBI'.
  ls_fieldcat-seltext_s = 'Schd To'.
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Sched. To Date'.
  CLEAR: ls_fieldcat-key.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
ELSE.
IF p_rental IS INITIAL.
  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      i_program_name         = 'ZSD_CONTRACT_LIST_RENTAL1'
      i_internal_tabname     = 'GT_REPORT'
      i_inclname             = 'ZSD_CONTRACT_LIST_T01_RENTAL1'
    CHANGING
      ct_fieldcat            = l_fieldcat
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'VBELN'.
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Contract'.
  ls_fieldcat-hotspot     = 'X'.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'KUNNRT'.
  ls_fieldcat-seltext_s =
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Sold-to Name'.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'KUNWET'.
  ls_fieldcat-seltext_s =
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Ship-to Name'.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'KUNRET'.
  ls_fieldcat-seltext_s =
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Bill-to Name'.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'ADDL_SCHD'.
  IF NOT p_group IS INITIAL.
    ls_fieldcat-seltext_s = 'Schd'.
    ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Additional Scheduling Lines'.
    ls_fieldcat-icon = 'X'.
    CLEAR: ls_fieldcat-key,
           ls_fieldcat-ref_fieldname,
           ls_fieldcat-ref_tabname,
           ls_fieldcat-reptext_ddic,
           ls_fieldcat-ddic_outputlen.
    ls_fieldcat-hotspot     = 'X'.
    MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  ELSE.
    DELETE l_fieldcat INDEX sy-tabix.
  ENDIF.
  READ TABLE l_fieldcat INTO ls_fieldcat WITH KEY fieldname = 'DATAB'.
  ls_fieldcat-seltext_s = 'Schd From'.
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Sched. From Date'.
  CLEAR: ls_fieldcat-key.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
  READ TABLE l_fieldcat INTO ls_fieldcat1 WITH KEY fieldname = 'DATBI'.
  ls_fieldcat-seltext_s = 'Schd To'.
  ls_fieldcat-seltext_m = ls_fieldcat-seltext_l = 'Sched. To Date'.
  CLEAR: ls_fieldcat-key.
  MODIFY l_fieldcat FROM ls_fieldcat INDEX sy-tabix.
ENDIF.
ENDIF.
ENDFORM.                    " initialize_fieldcat
*&      Form  populate_layout
      text
     <--GS_LAYOUT
     <--GS_VARIANT
FORM populate_layout CHANGING  gs_layout  TYPE slis_layout_alv
                               gs_variant TYPE disvariant.
  gs_layout-colwidth_optimize = 'X'.
  gs_layout-allow_switch_to_list = 'X'.
  gs_layout-zebra                = 'X'.
  gs_variant-report = sy-repid.
ENDFORM.                    " populate_layout
*&      Form  populate_sort
      text
     -->l_SORT[]  text
FORM populate_sort USING l_sort TYPE slis_t_sortinfo_alv.
ENDFORM.                    " populate_sort
*&      Form  display_alv_report
FORM display_alv_report .
  gv_repid = sy-repid.
IF p_rental IS INITIAL.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
     EXPORTING
    I_INTERFACE_CHECK              = ' '
    I_BYPASSING_BUFFER             =
    I_BUFFER_ACTIVE                = ' '
      i_callback_program              =  gv_repid
    I_CALLBACK_PF_STATUS_SET       = ' '
      i_callback_user_command        = 'USER_COMMAND'
      i_structure_name               =  'GT_REPORT'
      is_layout                      =   gs_layout
      it_fieldcat                     =  gt_fieldcat
    IT_EXCLUDING                   =
    IT_SPECIAL_GROUPS              =
      it_sort                        =  gt_sort
    IT_FILTER                      =
    IS_SEL_HIDE                    =
      i_default                      = 'X'
      i_save                         = gc_a
      is_variant                     = gs_variant
    IT_EVENTS                      =
    IT_EVENT_EXIT                  =
    IS_PRINT                       =
    IS_REPREP_ID                   =
    I_SCREEN_START_COLUMN          = 0
    I_SCREEN_START_LINE            = 0
    I_SCREEN_END_COLUMN            = 0
    I_SCREEN_END_LINE              = 0
  IMPORTING
    E_EXIT_CAUSED_BY_CALLER        =
    ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab                       = gt_report
     EXCEPTIONS
       program_error                  = 1
       OTHERS                         = 2
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
ENDIF.
ELSE.
IF p_rental IS NOT INITIAL.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
     EXPORTING
    I_INTERFACE_CHECK              = ' '
    I_BYPASSING_BUFFER             =
    I_BUFFER_ACTIVE                = ' '
      i_callback_program              =  gv_repid
    I_CALLBACK_PF_STATUS_SET       = ' '
      i_callback_user_command        = 'USER_COMMAND'
      i_structure_name               =  'GT_REPORT1'
      is_layout                      =   gs_layout
      it_fieldcat                     =  gt_fieldcat
    IT_EXCLUDING                   =
    IT_SPECIAL_GROUPS              =
      it_sort                        =  gt_sort
    IT_FILTER                      =
    IS_SEL_HIDE                    =
      i_default                      = 'X'
      i_save                         = gc_a
      is_variant                     = gs_variant
    IT_EVENTS                      =
    IT_EVENT_EXIT                  =
    IS_PRINT                       =
    IS_REPREP_ID                   =
    I_SCREEN_START_COLUMN          = 0
    I_SCREEN_START_LINE            = 0
    I_SCREEN_END_COLUMN            = 0
    I_SCREEN_END_LINE              = 0
  IMPORTING
    E_EXIT_CAUSED_BY_CALLER        =
    ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab                       = GT_REPORT1
     EXCEPTIONS
       program_error                  = 1
       OTHERS                         = 2
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
endif.
endif.
ENDFORM.                    " display_alv_report
*&      Form  initialize_fieldcat1
  Get and enhance the field catalog data for rental fields
     -->L_FIELDCAT[]  text
*FORM initialize_fieldcat1 USING l_fieldcat1 TYPE slis_t_fieldcat_alv.
**if ***
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
   EXPORTING
     i_program_name         = 'ZSD_CONTRACT_LIST_rental1'
     i_internal_tabname     = 'GT_SEL1'
     i_inclname             = 'ZSD_CONTRACT_LIST_T01_rental1'
   CHANGING
     ct_fieldcat            = l_fieldcat1
   EXCEPTIONS
     inconsistent_interface = 1
     program_error          = 2
     OTHERS                 = 3.
**else.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
   EXPORTING
     i_program_name         = 'ZSD_CONTRACT_LIST_rental1'
     i_internal_tabname     = 'GT_SEL1'
     i_inclname             = 'ZSD_CONTRACT_LIST_T01_rental1'
   CHANGING
     ct_fieldcat            = l_fieldcat1
   EXCEPTIONS
     inconsistent_interface = 1
     program_error          = 2
     OTHERS                 = 3.
***endfi.
*ENDFORM.                    " initialize_fieldcat
*&      Form  populate_layout
      text
     <--GS_LAYOUT
     <--GS_VARIANT
*FORM populate_layout1 CHANGING  gs_layout1  TYPE slis_layout_alv
                              gs_variant1 TYPE disvariant.
gs_layout1-colwidth_optimize = 'X'.
gs_layout1-allow_switch_to_list = 'X'.
gs_layout1-zebra                = 'X'.
gs_variant1-report = sy-repid.
*ENDFORM.                    " populate_layout
***&      Form  populate_sort
      text
     -->l_SORT[]  text
*FORM populate_sort1 USING l_sort TYPE slis_t_sortinfo_alv.
*ENDFORM.                    " populate_sort
***&      Form  display_alv_report
*FORM display_alv_report1 .
gv_repid = sy-repid.
if  p_rental is not initial and ( ( p_all is initial ) and ( p_group is initial ) ).
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
     EXPORTING
    I_INTERFACE_CHECK              = ' '
    I_BYPASSING_BUFFER             =
    I_BUFFER_ACTIVE                = ' '
     i_callback_program              =  gv_repid
    I_CALLBACK_PF_STATUS_SET       = ' '
     i_callback_user_command        = 'USER_COMMAND'
     i_structure_name               =  'gt_sel1'
     is_layout                      =   gs_layout1
     it_fieldcat                     =  gt_fieldcat1
    IT_EXCLUDING                   =
    IT_SPECIAL_GROUPS              =
     it_sort                        =  gt_sort1
    IT_FILTER                      =
    IS_SEL_HIDE                    =
     i_default                      = 'X'
     i_save                         = gc_a
     is_variant                     = gs_variant1
    IT_EVENTS                      =
    IT_EVENT_EXIT                  =
    IS_PRINT                       =
    IS_REPREP_ID                   =
    I_SCREEN_START_COLUMN          = 0
    I_SCREEN_START_LINE            = 0
    I_SCREEN_END_COLUMN            = 0
    I_SCREEN_END_LINE              = 0
  IMPORTING
    E_EXIT_CAUSED_BY_CALLER        =
    ES_EXIT_CAUSED_BY_USER         =
     TABLES
       t_outtab                       = gt_sel1
    EXCEPTIONS
      program_error                  = 1
      OTHERS                         = 2
IF sy-subrc <> 0.
   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*endif.
*ENDFORM.                    " display_alv_report
*&      Form  f01_f4_variant
   Get the Layout variant for the user.
FORM f01_f4_variant CHANGING c_variant TYPE disvariant-variant.
  DATA: ls_variant TYPE disvariant,
        l_exit     TYPE char1.
  ls_variant-report = sy-repid.
  CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
       EXPORTING
            is_variant          = ls_variant
            i_save              = 'A'
          it_default_fieldcat =
       IMPORTING
            e_exit              = l_exit
            es_variant          = ls_variant
       EXCEPTIONS
            not_found = 2.
  IF sy-subrc = 2.
    MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ELSE.
    IF l_exit EQ space.
      c_variant = ls_variant-variant.
    ENDIF.
  ENDIF.
ENDFORM.                    " f01_f4_variant
      FORM USER_COMMAND                                          *
      --> R_UCOMM                                                *
      --> RS_SELFIELD                                            *
FORM user_command USING r_ucomm LIKE sy-ucomm
                  rs_selfield TYPE slis_selfield.
Check function code
  CASE r_ucomm.
    WHEN '&IC1'.
      READ TABLE gt_report INTO gs_report INDEX rs_selfield-tabindex.
      CHECK sy-subrc = 0.
      CASE rs_selfield-fieldname.
        WHEN 'VBELN'.
      Set parameter ID for transaction screen field
          CHECK NOT gs_report-vbeln IS INITIAL.
          SET PARAMETER ID 'KTN' FIELD gs_report-vbeln.
          CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN.
        WHEN 'ADDL_SCHD'.
          CHECK NOT gs_report-addl_schd IS INITIAL.
          REFRESH gt_sched_tmp.
          LOOP AT gt_sched INTO gs_sched
                           WHERE vbeln = gs_report-vbeln
                             AND posnr = gs_report-posnr.
            APPEND gs_sched TO gt_sched_tmp.
          ENDLOOP.
          CHECK sy-subrc = 0.
          CALL SCREEN '1010' STARTING AT 5 5.
      ENDCASE.
  ENDCASE.
ENDFORM.                    "user_command
*&      Module  STATUS_1010  OUTPUT
      text
MODULE status_1010 OUTPUT.
  SET PF-STATUS 'MAIN_1010'.
  SET TITLEBAR '1010' WITH gs_report-vbeln gs_report-posnr.
ENDMODULE.                 " STATUS_1010  OUTPUT
*&      Module  USER_COMMAND_1010  INPUT
      text
MODULE user_command_1010 INPUT.
  CASE sy-ucomm.
    WHEN 'BACK' OR 'CANC'.
      LEAVE TO SCREEN 0.
  ENDCASE.
ENDMODULE.                 " USER_COMMAND_1010  INPUT

Hi !
This report shows the schedule line items , group schedule line items and rental contact (billing plan) lines when particular checkbox is checked. The checkboxs p_all(non-schedule line) , p_group(group schedule line items) are working in my above alv report and showing  result but unfortunately when p_rental is checked it dosent give me result , it says  no data selected. This when checked has to show result based on a different set of selections as I have done, but its not shwoing me the result .
Kindly help please.
Thanks

Similar Messages

  • RAR5.3 - SoD Report Not Showing Full Risk Description

    Hello,
    In a Sandbox environment, I'm playing around with/testing a new ruleset. The environment has our Production ruleset and I've added some risks to this ruleset via file upload in Configuration. The risks look great. Both the description and detailed description got imported correctly. The rules generated perfectly for these new risks I uploaded. Everything related to the risk, the way the risk is built, the rules, looks perfect. When I run Risk Analysis on test users that I know have the risk, they show on the report just as expected. However, the risk "description" is essentially missing. For example, in Management Summary View, here is what Risk B001* looks like:
    B001:   Basis Development & System Administration
    Medium Basis TEST_USER(TEST_USER) USSPCJH40_E3
    I've bolded the Risk Description.
    However, here is what one of my new risks shows up like (F031, a risk we haven't put in production yet for various reasons):
    F031:   F031
    Medium Finance TEST_USER(TEST_USER) USSPCJH40_E3
    The Risk Description only says "F031." It still is hyperlinked so it still works, but I want to see the full Risk Description, obviously. When I look at the Risk in Rule Architect, both descriptions are there.
    I then extracted the Rules via Rule Export and looked in the VIRSA_CC_RISKT table - the F031 description is there!
    B001 (which looks fine) and F031 (which has the description missing) has entries in ALL of the same tables (unless there's a table that I'm not getting with the export?)
    Can anyone help me out? Has anyone experienced a similiar issue? Why would all my newly imported risks not show a Risk Description when running Risk Analysis?
    Thanks in advance!
    Jes Behrens
    Edited by: Jes Behrens on Feb 26, 2009 8:26 AM

    Hi !
    This report shows the schedule line items , group schedule line items and rental contact (billing plan) lines when particular checkbox is checked. The checkboxs p_all(non-schedule line) , p_group(group schedule line items) are working in my above alv report and showing  result but unfortunately when p_rental is checked it dosent give me result , it says  no data selected. This when checked has to show result based on a different set of selections as I have done, but its not shwoing me the result .
    Kindly help please.
    Thanks

  • Not showing results in simulation

    hiii,
    i made some chngs in (generate work schedule manually) in development server and transported to production server.
    it is transported as i can view the changes but not showing result in simulation run, wats the reason...
    Thanks

    National Holiday is a simple Off and Paid Day.
    So, hw u want the system to consider tht holdiay in payroll ?
    might be u have to check in Time Evaluation for considering National Holdiay and wrkin any any spl. .payments towards it.
    theere may not be any change of effect due to Holiday in Payroll until and unless the Absence Records if existing on dates of Holiday... then u mite have to delete the Absence Records and Update it again.
    Or there is a report that need to be generated to remove the inconsistency... which currently dont have idea... will check n let u knw... in the mean while u can follow deleting the record and update Absence on Holiday again.
    Regards
    ...Sadhu

  • ISE 1.2 - Posture Detail Assessment - enforcement audit mode report not show status for non-compliant

    ISE 1.2 - Posture Detail Assessment - enforcement audit mode report not show status for non-compliant.
    - For old version 1.1.4 it can be reported for non-compliant, How can I generate report for this? 
    Thanks
    Kosin Usuwanthim

    It used to be in there (id 226635 is the last one with it); should I clean it up a bit and put it back with a bit more of a disclaimer?

  • Report not show after submit query in parameter form

    Hi, anubody can help me with this
    report not show after click submit query button in parameter form

    To help you see what is happening, temporarily add DESNAME to your parameter screen. Make sure that DESNAME on the parameter screen has a value before you click the Submit Query button.
    If you are running the report with a local report service (running on your workstation), the value of desname should be the name of your default printer.
    If you are running the report on a network application server based report service you need to specify the name of a printer that is accessible to the server on which the report service is running. Make sure that it is specified in a way that the server can recognize it, e.g. \\printserver_01\HPLaserJ4210.
    Maybe this will help some.
    James K.

  • S_ALR_87013543 report not showing line item correctly

    Hi all,
    The S_ALR_87013543 report or any other cost plan report not showing the line item report correctly.
    eg When the S_ALR_87013543 report executed it showing 100 as a plan value against one of cost element when we double click and go to line item report it showing only one entry of 50 which is wrong.
    when i checked the COSP table for the wbse with that cost element it has two entries with value type 1 and 29. value type 29 says value from sales order and 1 as plan .
    My query is why S_ALR_87013543 report not showing the correct value or shall it not pick the value from value type 29.
    regards
    Shiv

    Hi Preeti,
    Thanks for the updates but one more issue. In one case COSP has a one entry for value type=1 with Busniess transaction SDOR but it was not shown in line item report. it says " no line item were selected". inspite of entry in COSP. 
    Screenshot of report  attached,.
    when i checked the drill down report for line item it says no line item found.
    Any idea what went wrong
    Regards
    shiv

  • Segment builder,not showing results.

    hi experts
               While creating a campaign i assigned marketing attributes to business partner .its visible in the marketing tab page in the respective bp but in the segment builder its not showing results.

    Hello,
    have you added the marketing attributes as a data source to the Segment Builder using Transaciton Code CRMD_MKTDS?
    Regards
    Gregor

  • Crystal reports not show in my browser

    i am using vs 2013  sap sp9  reports show in tools crystal reports  but i am run in browser reports not show in browser 

    Hi,
    I am afraid that this issue is related to third-party, and it is not supported in these forums.
    Crystal Reports are supported on
    http://scn.sap.com/community/crystal-reports.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Calculate result as average in the report not showing average for all

    Hello,
    I have a calculated key figure in the query where its result should show average. I have made a setting for this calculated key figure as:
    1. Calculations tab: Calculate result as "average" and calculate single value as "nothing defined"
    2. Aggreagation tab: exception aggregation: Total and reference char: []
    Now coming to report, BEX it showing correct average for all cells but when i run it in portal few values it is showing correct average but for few it is showing as blank. I exported this to excel then cell shows blank but cell has some values in the custom format and display values when i change the format to general from "format cells" option.
    Please help me in resolving the issue- why portal not showing value for all.
    Thanks,
    Vijaya

    SAP note solved the purpose.
    Thanks & Regards,
    Vijaya

  • Report not showing terminated empoyees payroll results

    Hi there,
    I have coded a report that shows customized payroll data for a group of employees, delimited by two dates. The user found a problem when an employee is terminated on a given month but his termination is processed the next month (vacations, etc). Say the employee quits October 27, the payroll is run on November 10 and the report is run for November 1 - November 30: I wont see his payroll results because the employee does not belong to a particular organizational unit in november.
    This is my main code:
    START-OF-SELECTION.
    GET pernr.
      sapid = pernr-pernr.
    * CREATE AND POPULATE PAYROLL OBJECT                         RRV100807
      CREATE OBJECT pay.
      CALL METHOD pay->read_result IMPORTING list = mylist.
    * ELIMINATE OLD RECORDS                                      RRV100807
      LOOP AT mylist INTO wa_mylist WHERE SRTZA <> 'A'.
        DELETE TABLE mylist FROM wa_mylist.
      ENDLOOP.
    * PROCESS PAYROLL FOR THE DESIRED ENTRIES                    RRV100807
      CALL METHOD pay->write_result EXPORTING list = mylist.
    GET payroll.
      LOOP AT payroll-inter-wpbp INTO wa_wpbp WHERE orgeh IN PNPOBJID.
    *   PROCESS PERIOD DATA
        itab_rt = payroll-inter-rt.
        PERFORM get_wt_amounts.
        EXIT.
      ENDLOOP.
    GET pernr LATE.
    * IF THERE ARE PAYROLL RESULTS
      IF wa_result-otsal <> 0
         OR wa_result-regsal <> 0
         OR wa_result-teller <> 0
         OR wa_result-other <> 0.
    *   PROCESS EMPLOYEE
        PERFORM get_data.
      ENDIF.
    Basically, the GET PERNR (get personnel record) is never executed because the employee does not belong to the org unit. Is there any way to gather employee records in one interval and payroll results in another? I assume they both use PNBEGDA and PNENDDA at this point.
    What I want is to retrieve payroll information based on the screen dates (BEGDA and ENDDA) and the employee data based on the payroll periods that were run during those dates.

    Instead of using the standard selection screen field for choosing org units, you could create a custom selection screen field for the org unit.  So the org unit would not affect the initial GET PERNR selection.  Then in your code (after the GET PERNR) you could check for the org unit, with an additional condition to check the employee's previous org unit if he is terminated.  There is also more than one way to get payroll results.  We often use this in our reports:
    FORM get_payroll_results.
      CLEAR results_present.
        CALL FUNCTION 'CU_READ_RGDIR'
          EXPORTING
            persnr          = pernr-pernr
          TABLES
            in_rgdir        = rgdir
          EXCEPTIONS
            no_record_found = 1
            OTHERS          = 2.
        IF sy-subrc EQ 0.
    Get cumulative monthly results
        Store only active payroll results.
          DELETE rgdir WHERE srtza NE 'A'.                "Active
        Delete all the payroll results not from the requested year
          DELETE rgdir WHERE paydt0(4) NE p_mdate0(4). "Reporting Year
        Delete any payroll results after the requested balance date
          DELETE rgdir WHERE paydt > p_mdate.
        Delete voided payroll data.
          DELETE rgdir WHERE voidr NE space.              "Voided
        Sort so the first record is the last for the requested year.
          SORT rgdir BY paydt DESCENDING fpend DESCENDING.
          LOOP AT rgdir INTO ws_rgdir
            WHERE paydt > beg_date.
            seqnr = ws_rgdir-seqnr.
            CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
              EXPORTING
                clusterid                    = 'RU'
                employeenumber               = pernr-pernr
                sequencenumber               = seqnr
              CHANGING
                payroll_result               = result
              EXCEPTIONS
                illegal_isocode_or_clusterid = 1
                error_generating_import      = 2
                import_mismatch_error        = 3
                subpool_dir_full             = 4
                no_read_authority            = 5
                no_record_found              = 6
                versions_do_not_match        = 7
                error_reading_archive        = 8
                error_reading_relid          = 9
                OTHERS                       = 10.
            LOOP AT result-inter-rt INTO wa_rt
              WHERE lgart = wa_wagetype.
                  ADD ws_betrg TO ws_total.
             ENDLOOP.
          ENDLOOP.
        ENDIF.
    This allows you to specify by date, wagetype, pay period, etc. which payroll results you wnat to include.  I hope this helps.
    - April King

  • Problem with guided navigation - Reports not showing up

    Hi All,
    We have a dashboard page that has a number of sections based on guided navigation. The problem is that the reports in the sections do not show up even when there are results for the guiding reports unless the page is refreshed. However, the section borders are showing up. Is there any solution for this problem?
    Thanks in advance,
    Radhika

    Hi Radhika,
    As I mentioned earlier i have created 2 reports, but your case is some thing different and you are using the same report for condition also and in the section also.
    What we have done is , suppose we want a report in a section to be displayed when my *# Service requests* >20 then
    We have created a report with *# Service Requests* with filter condition greater than 20. which we will to define the condition.
    and another separate report we to put in the section will be created.
    Just try this, not sure is this going to help you.
    Regards,
    Somu

  • Report not showing the correct layout when executed in Portal

    Hi All,
    We have created 5 different queries in different units of measure for a query. We have included these in a web template, and based on the UOM choosen , the WAD will pickup the queries and provides the desired results.we have executed the report in Portal and created a bookmark for it...but if a different unit of measure, the layout is changing.  Is there any way to create a bookmark which will not change by changing the Unit of measure means a different query.
    Thanks,

    Hello Eranki,
    Take a quick check on SAP Note 1671767 - BEX Variable Screen not showing via portal
    Probably you are having issues related to personalization of your queries or templates on your portal.
    Check it, remove and test again.
    I hope it helps.
    Best regards,
    Edward

  • CN41N and S_ALR_87013533 report not showing Production order planned cost

    Hi Experts,
    I am having issue to get total planned production order values in my CN41N or S_ALR_87013533 cost report. I am facing 2 issues :
    1. CN41N repoet does not show individual material cost planned in BOM.
    2. CN41N report and S_ALR87013533 report does not show total value but only picking fixed value.
    Example :
    1. CN41N report :
    Above screenshot shows no values in Project plan cost & Order cost column but it shows total cost as a lumpsum on top for project. I need to know how can i get material cost populated here for Project Valuated stock material?
    2. S_ALR_87013533
    This report shows Total Cost of BOM as 1 line under Material Procurement activity similar to CN41N report. Also Order value is picking from Fixed cost from planned order and total cost is added on top. How can i get Total cost picked from production order?
    Is there any Setting in PS config which allow me to pick the detail production order plan cost in both report under planned cost.
    Thanks in advance.
    Ashish

    Hi Ashish,
    I doubt whether Item level reporting  in S_ALR... (hierarchy report) is possible or not because I haven't seen item level cost in them only the lump-sum cost because they are summarized at cost object level itself. Navigation path are there which we use to go into details of cost.
    Please check the following links:
    https://scn.sap.com/thread/1743833
    (In the above thread,focus on  Mr. Mohamed Rafi comment.)
    http://scn.sap.com/thread/3530080
    http://scn.sap.com/thread/1311820
    Order cost plan in report CN41N
    Display of plan cost.,&amp;nbsp;CN41N&amp;nbsp;|&amp;nbsp;ABAP,&amp;nbsp;SAP,&amp;nbsp;benX AG,&amp;nbsp;benXBrain,&amp;…
    Just an additional pointer ,have a look on your costing variant and variation variant settings for material section.
    Regards
    Saurabh

  • Crystal reports 11: Values displayed in crystal report not showing in VB6

    Hi!
    I updated an existing lower version of crystal report 7 to crystal report 11. Changes are the following:
    1. sql query in VB6 to add fields
    2. sql query in crystal report to manipulate values and not use formula. crx11 doesn't allow summary/total in formula fields.
    3. report orientation
    4. additional fields to view
    5. font sizes, length, can grow properties, etc.
    When I tested it directly in crx 11, all fields/values are displaying correctly. When I integrated it in VB 6 using Crystal ActiveX Report Viewer Library 11.0 and CR Viewer object, the field is blank.
    I've tried several checking like field suppressions, conditional suppressions, etc.
    By the way, I also have a report using a subrepot with conditional suppressions. Same thing is happening. The subreport data only displays the alloted space but does not show values in VB6.
    Thank you in advance for your help.
    Edited by: Naga01 on Jun 28, 2011 8:46 AM

    Thanks for your response.
    Before I read your response, I tried tweaking my reports and was able to resolve the issue.
    Steps taken to solve the issue are the following:
    a. Value not showing one field of four (4) reports.
    Solution: I created new ones and integrate it in VB 6. The values are now showing. Tweaked on the line object properties, got a problem with the extended line but solved it by adjusting the height of the detail section.
    b. Value not showing in sub-report.
    Solution: My report used a shared variable so I can pass the condition to my sub-report. I used the new reports and just pass a query during runtime. The values in the subreport is still not showing. I added a formula and called the value in it. Values in the subreport is now showing.
    I'll try to update the crystal reports version as suggested at a later time.

  • CJI5 commitment line item report not showing po gross value

    Dear All,
    system is showing only net value in CJI5 report, actaully gross value of po must be reflected in CJI5 report and this happening in all po's like material, service's etc. example is as follows.
    Example:
    po net value: 1000
    st 10%: 100
    po gross value : 1100 (inclusive of all taxes, ed, disc. etc)
    what could be the reason for not showing po gross value in commitment line item report.
    Thanks & Regards,
    Sandeep

    Hi,
    As far as i know the commitment report will never show you the value that is inclusive of taxes. It will only show the net value of the PO.
    I just tried a scenario in my system by creating a PO for a net value of 3000 GBP and based on the tax code i entered system calculated a tax of 525 GBP. However when i check CJI5 report it shows only 3000 GBP as commitment and not 3525 GBP. This is how the standard system behaves, i believe. You can cross check this in the table COOI. The COOI table also shows the net value of the PO and does not include the tax amount in commitment.
    Regards,
    Gokul

Maybe you are looking for

  • Photoshop submenu is missing under tools menu in bridge

    I Have downloaded the new Photoshop CC 2014 and updated Bridge. Trying to send some pictures from Bridge to photoshop as layers is not possible because the photoshop submenu is not available under tools. Checking Bridge preferences > start up, does n

  • Total weight of a post item in purchase order message

    Hello ! I want to write in the sapscript form used to edit the purchase order the total weight of a post item. I found in the table EKPO the net weight, but iti is the weight of one article and not of the whole post item. Does someone know how I can

  • Saving Illustrator documents as PDF's

    Hi Adobe Community, I just recently came across this problem while trying to save an illustrator file as a pdf. Note that the original file was created on a Mac in illustrator CS6 and saved as a pdf and given to me to edit text on a PC in illustrator

  • How can I uncheck "Binary Index" if I have already disabled all keywords?

    A week or so ago, I asked a question about the binary index and how to delete topic keywords so I could uncheck the box on the "Project Settings" page.  I received a great, helpful response: " First, click View > Pods > Project Manager. Locate the In

  • When in Edit mode the site preview only shows 1/3 of the site

    How can I get it to show the full page? This is what I see when I go into Edit mode, and I can't pull the edge of the page across. Being a newbie, I'm sure I've got some setting inproperly filled out, and any help would be greatly appreciated. Thanks