Fico report

Hi,
I am working on vendorwise age  analysis report & in that i m using LFA1, BSIK, BSAK tables , but now I want to sort the POs  on document type (BSART).
I am not getting how to extract the information.
Thanks.

Hi,
Pls refer the report for Vendor Performance report.
REPORT  YMS_VENDORPERFORMANCE.
TABLES : BSIK, BAPIFVDEXP_VZZBEPP.
DATA : T_BSIK LIKE BSIK OCCURS 0 WITH HEADER LINE,
       T_BSAK LIKE BSAK OCCURS 0 WITH HEADER LINE,
       DAYS LIKE BAPIFVDEXP_VZZBEPP-NUM4.
DATA : BEGIN OF T_LFA1 OCCURS 0,
         LIFNR LIKE LFA1-LIFNR,
         NAME1 LIKE LFA1-NAME1,
         ADRNR LIKE LFA1-ADRNR,
       END OF T_LFA1.
DATA : BEGIN OF T_ADRC OCCURS 0,
         ADRNR LIKE LFA1-ADRNR,
         STREET LIKE ADRC-STREET,
         CITY1 LIKE ADRC-CITY1,
       END OF T_ADRC.
DATA : BEGIN OF T_BSEG OCCURS 0,
         ZFBDT LIKE BSEG-ZFBDT,
         KOART LIKE BSEG-KOART,
         KOSTL LIKE BSEG-KOSTL,
         PROJK LIKE BSEG-PROJK,
       END OF T_BSEG.
DATA : BEGIN OF T_PRPS OCCURS 0,
         POSID LIKE PRPS-POSID,
         OBJNR LIKE PRPS-OBJNR,
      END OF T_PRPS.
DATA : T_KOSTL LIKE BSEG-KOSTL,
       T_PROJK LIKE BSEG-PROJK,
       TEXT(15).
DATA : BEGIN OF T_OUTPUT OCCURS 0,
         LIFNR LIKE LFA1-LIFNR,
         NAME1 LIKE LFA1-NAME1,
         STREET LIKE ADRC-STREET,
         CITY1 LIKE ADRC-CITY1,
         OBJNR LIKE PRPS-OBJNR,
         POSID LIKE PRPS-POSID,
         KOSTL LIKE BSIK-KOSTL, " COST CENTER
         UMSKZ LIKE BSIK-UMSKZ,
         BELNR LIKE BSIK-BELNR,
         BUKRS LIKE BSIK-BUKRS,
         GJAHR LIKE BSIK-GJAHR,
        wrbtr like bsik-wrbtr,
         DMBTR LIKE BSIK-WRBTR,
         HKONT LIKE BSIK-HKONT,
         DIF1  LIKE BSIK-WRBTR,
         DIF2  LIKE BSIK-WRBTR,
         DIF3  LIKE BSIK-WRBTR,
         DIF4  LIKE BSIK-WRBTR,
         DIF5  LIKE BSIK-WRBTR,
         DAYS LIKE BAPIFVDEXP_VZZBEPP-NUM4,
       END OF T_OUTPUT.
Alv data declaration
TYPE-POOLS : SLIS.
DATA :ALV_FIELDCAT            TYPE SLIS_T_FIELDCAT_ALV,
      ALV_FIELDCAT_LINE       LIKE LINE OF ALV_FIELDCAT,
      ALV_SORT                TYPE SLIS_T_SORTINFO_ALV,
      ALV_SORT_LINE           LIKE LINE OF ALV_SORT,
      ALV_LAYOUT              TYPE SLIS_LAYOUT_ALV,
      G_REPID                 LIKE SY-REPID VALUE SY-REPID,
      ALV_STATUS_SET          TYPE SLIS_FORMNAME VALUE 'ALV_STATUS_SET',
      ALV_USER_COMM           TYPE SLIS_FORMNAME VALUE 'ALV_USER_COMM',
      GRID_TITLE              TYPE LVC_TITLE,
      ALV_FIELDCAT_ACTY       TYPE SLIS_T_FIELDCAT_ALV,
      G_SAVE,
      GS_VARIANT                LIKE DISVARIANT,
      G_EXIT_CAUSED_BY_CALLER   TYPE C,
      GS_EXIT_CAUSED_BY_USER    TYPE SLIS_EXIT_BY_USER.
DATA: ALV_FIELDCAT_LINE_ACTY  LIKE LINE OF ALV_FIELDCAT_ACTY,
      ALV_LAYOUT_ACTY         TYPE SLIS_LAYOUT_ALV,
      GT_LIST_TOP_OF_PAGE     TYPE SLIS_T_LISTHEADER,
      GT_EVENTS               TYPE SLIS_T_EVENT,
      MESSAGE                 TYPE STRING,
      R_UCOMM     LIKE SY-UCOMM,
      RS_SELFIELD TYPE SLIS_SELFIELD.
CONSTANTS:
      GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_BUKRS FOR BSIK-BUKRS,
                 S_GJAHR FOR BSIK-GJAHR,
                 S_LIFNR FOR BSIK-LIFNR,
                 S_UMSKZ FOR BSIK-UMSKZ.
PARAMETERS     : P_AUGDT LIKE BSIK-AUGDT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
SELECT-OPTIONS : S_DATE1 FOR BAPIFVDEXP_VZZBEPP-NUM4 NO-EXTENSION OBLIGATORY
                 DEFAULT 1 TO 30,
                 S_DATE2 FOR BAPIFVDEXP_VZZBEPP-NUM4 NO-EXTENSION OBLIGATORY
                 DEFAULT 30 TO 60,
                 S_DATE3 FOR BAPIFVDEXP_VZZBEPP-NUM4 NO-EXTENSION OBLIGATORY
                 DEFAULT 60 TO 90,
                 S_DATE4 FOR BAPIFVDEXP_VZZBEPP-NUM4 NO-EXTENSION OBLIGATORY
                 DEFAULT 90 TO 120,
                 S_DATE5 FOR BAPIFVDEXP_VZZBEPP-NUM4 NO-EXTENSION OBLIGATORY
                 DEFAULT 120 TO 150.
SELECTION-SCREEN END OF BLOCK B2.
INITIALIZATION.
START-OF-SELECTION.
  PERFORM FETCH_DATA.
  PERFORM DISPLAY.
*&      Form  fetch_data
      text
-->  p1        text
<--  p2        text
FORM FETCH_DATA .
  SELECT *
  INTO TABLE T_BSIK
  FROM BSIK
  WHERE BUKRS IN S_BUKRS
  AND   GJAHR IN S_GJAHR
  AND   LIFNR IN S_LIFNR
  AND   UMSKZ IN S_UMSKZ
  AND   UMSKZ NOT IN ('F','P','L','G').
AND   zfbdt <= P_augdt.
  IF SY-SUBRC = 0.
    SELECT *
    INTO TABLE T_BSAK
    FROM BSAK
    WHERE BUKRS IN S_BUKRS
    AND   GJAHR IN S_GJAHR
    AND   LIFNR IN S_LIFNR
    AND   UMSKZ IN S_UMSKZ
    AND   UMSKZ NOT IN ('F','P','L','G')
    AND   AUGDT > P_AUGDT.
    LOOP AT T_BSAK.
      MOVE-CORRESPONDING T_BSAK TO T_BSIK.
      APPEND T_BSIK.
    ENDLOOP.
    LOOP AT T_BSIK.
     if t_bsik-zfbdt is initial.
       t_bsik-zfbdt = t_bsik-bldat.
      modify t_bsik transporting zfbdt.
     endif.
      IF T_BSIK-BUDAT > P_AUGDT.
        DELETE T_BSIK.
      ENDIF.
     if t_bsik-umskz > P_augdt.
    ENDLOOP.
    SELECT LIFNR
           NAME1
           ADRNR
    INTO TABLE T_LFA1
    FROM LFA1
    FOR ALL ENTRIES IN T_BSIK
    WHERE LIFNR = T_BSIK-LIFNR.
    IF SY-SUBRC = 0.
      SELECT ADDRNUMBER AS ADRNR
             STREET
             CITY1
      INTO TABLE T_ADRC
      FROM ADRC
      FOR ALL ENTRIES IN T_LFA1
      WHERE ADDRNUMBER = T_LFA1-ADRNR.
    ENDIF.
  ENDIF.
  LOOP AT T_BSIK.
    IF T_BSIK-SHKZG = 'S'.
     t_bsik-WRBTR = t_bsik-WRBTR * -1.
      T_BSIK-DMBTR = T_BSIK-DMBTR * -1.
    ENDIF.
    REFRESH T_BSEG.
    CLEAR : T_KOSTL, T_PROJK, T_OUTPUT.
    IF T_BSIK-REBZG IS NOT INITIAL.
      SELECT ZFBDT
             KOART
             KOSTL
             PROJK
      INTO TABLE T_BSEG "t_bsik-ZFBDT
      FROM BSEG
      WHERE BUKRS = T_BSIK-BUKRS
      AND   BELNR = T_BSIK-REBZG
      AND   GJAHR = T_BSIK-REBZJ
      AND   KOART IN ('K','S').
      LOOP AT T_BSEG.
        IF T_BSEG-KOART = 'K' AND T_BSEG-ZFBDT IS NOT INITIAL.
          T_BSIK-BUDAT = T_BSEG-ZFBDT.
          MODIFY T_BSIK TRANSPORTING BUDAT.
        ELSEIF T_BSEG-KOART = 'S'.
          T_KOSTL = T_BSEG-KOSTL.
          T_PROJK = T_BSEG-PROJK.
        ENDIF.
      ENDLOOP.
    ELSE.
      SELECT SINGLE KOSTL PROJK
      INTO (T_KOSTL, T_PROJK)
      FROM BSEG
      WHERE BUKRS = T_BSIK-BUKRS
      AND   BELNR = T_BSIK-BELNR
      AND   GJAHR = T_BSIK-GJAHR
      AND   KOART = 'S'.
    ENDIF.
    MOVE-CORRESPONDING T_BSIK TO T_OUTPUT.
    T_OUTPUT-KOSTL = T_KOSTL.
    CONCATENATE 'PR' T_PROJK INTO T_OUTPUT-OBJNR.
   days = P_augdt - t_bsik-ZFBDT.
    DAYS = P_AUGDT - T_BSIK-BUDAT.
    READ TABLE T_LFA1 WITH KEY LIFNR = T_OUTPUT-LIFNR.
    IF SY-SUBRC = 0.
      T_OUTPUT-NAME1 = T_LFA1-NAME1.
      READ TABLE T_ADRC WITH KEY ADRNR = T_LFA1-ADRNR.
      IF SY-SUBRC = 0.
        T_OUTPUT-STREET = T_ADRC-STREET.
        T_OUTPUT-CITY1 = T_ADRC-CITY1.
      ENDIF.
    ENDIF.
    T_OUTPUT-DAYS = DAYS.
    IF DAYS >= S_DATE1-LOW AND DAYS < S_DATE1-HIGH.
     t_output-dif1 = t_bsik-wrbtr. " days.
      T_OUTPUT-DIF1 = T_BSIK-DMBTR. " days.
    ELSEIF DAYS >= S_DATE2-LOW AND DAYS < S_DATE2-HIGH.
     t_output-dif2 = t_bsik-wrbtr. "days.
      T_OUTPUT-DIF2 = T_BSIK-DMBTR. " days.
    ELSEIF DAYS >= S_DATE3-LOW AND DAYS < S_DATE3-HIGH.
     t_output-dif3 = t_bsik-wrbtr. "days.
      T_OUTPUT-DIF3 = T_BSIK-DMBTR. " days.
    ELSEIF DAYS >= S_DATE4-LOW AND DAYS < S_DATE4-HIGH.
     t_output-dif4 = t_bsik-wrbtr. "days.
      T_OUTPUT-DIF4 = T_BSIK-DMBTR. " days.
    ELSEIF DAYS >= S_DATE5-LOW AND DAYS < S_DATE5-HIGH.
     t_output-dif5 = t_bsik-wrbtr. "days.
      T_OUTPUT-DIF5 = T_BSIK-DMBTR. " days.
    ENDIF.
    APPEND T_OUTPUT.
  ENDLOOP.
  IF T_OUTPUT[] IS NOT INITIAL.
    SELECT POSID
           OBJNR
    INTO TABLE T_PRPS
    FROM PRPS
    FOR ALL ENTRIES IN T_OUTPUT
    WHERE OBJNR = T_OUTPUT-OBJNR.
  ENDIF.
  LOOP AT T_OUTPUT.
    READ TABLE T_PRPS WITH KEY OBJNR = T_OUTPUT-OBJNR.
    IF SY-SUBRC = 0.
      T_OUTPUT-POSID = T_PRPS-POSID.
      MODIFY T_OUTPUT TRANSPORTING POSID.
    ENDIF.
  ENDLOOP.
ENDFORM.                    " fetch_data
*&      Form  display
      text
-->  p1        text
<--  p2        text
FORM DISPLAY .
  PERFORM BUILD_ALV_LAYOUT.
  PERFORM S_SORT_BUILD USING ALV_SORT[].
  PERFORM BUILD_FIELD_CATALOGS.
  PERFORM EVENTTAB_BUILD CHANGING GT_EVENTS.
  SORT t_output BY .
  G_SAVE = 'A'.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM       = G_REPID
      I_CALLBACK_PF_STATUS_SET = ALV_STATUS_SET
      I_CALLBACK_USER_COMMAND  = ALV_USER_COMM
      I_GRID_TITLE             = GRID_TITLE
      I_SAVE                   = G_SAVE
      IS_VARIANT               = GS_VARIANT
      IS_LAYOUT                = ALV_LAYOUT
      IT_FIELDCAT              = ALV_FIELDCAT[]
      IT_EVENTS                = GT_EVENTS[]
      IT_SORT                  = ALV_SORT[]
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER  = G_EXIT_CAUSED_BY_CALLER
      ES_EXIT_CAUSED_BY_USER   = GS_EXIT_CAUSED_BY_USER
    TABLES
      T_OUTTAB                 = T_OUTPUT.
  PERFORM ALV_USER_COMM USING R_UCOMM
                              RS_SELFIELD.
  IF SY-SUBRC = 0.
    IF G_EXIT_CAUSED_BY_CALLER = 'X'.
    ELSE.
      IF GS_EXIT_CAUSED_BY_USER-BACK = 'X'.                 " F3
      ELSE.
        IF GS_EXIT_CAUSED_BY_USER-EXIT = 'X'.               " F15
        ELSE.
          IF GS_EXIT_CAUSED_BY_USER-CANCEL = 'X'.           " F12
          ELSE.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
  ELSE.
*" Fatal error calling ALV
  ENDIF.
ENDFORM.                    " display
*&      Form  build_alv_layout
FORM BUILD_ALV_LAYOUT.
  CLEAR ALV_LAYOUT.
  ALV_LAYOUT-COLWIDTH_OPTIMIZE  = 'X'. "always display full columns
alv_layout-box_fieldname      = 'CHK'.
alv_layout-box_tabname        = 'T_OUTPUT'.
  ALV_LAYOUT-INFO_FIELDNAME     = 'COLOR'. "color a line
  ALV_LAYOUT-DETAIL_POPUP       = 'X'.
  ALV_LAYOUT-ZEBRA              = 'X'. "Zebra output
ENDFORM.                    " build_alv_layout
      FORM s_sort_build                                             *
-->  LT_SORT                                                       *
FORM S_SORT_BUILD USING LT_SORT TYPE SLIS_T_SORTINFO_ALV.
  DATA: LS_SORT TYPE SLIS_SORTINFO_ALV.
  CLEAR  LS_SORT.
  LS_SORT-SPOS      =  1.
  LS_SORT-FIELDNAME =  'LIFNR'.
  LS_SORT-UP        =  'X'.
  LS_SORT-GROUP     =  'UL'.
  LS_SORT-SUBTOT       =  'X'.
  APPEND LS_SORT TO LT_SORT.
  CLEAR  LS_SORT.
  LS_SORT-SPOS      =  2.
  LS_SORT-FIELDNAME =  'BELNR'.
  LS_SORT-UP        =  'X'.
  LS_SORT-SUBTOT       =  'X'.
  LS_SORT-GROUP     =  'UL'.
  APPEND LS_SORT TO LT_SORT.
  CLEAR  LS_SORT.
ENDFORM.                    "s_sort_build
*&      Form  eventtab_build
FORM EVENTTAB_BUILD CHANGING LT_EVENTS TYPE SLIS_T_EVENT.
  FIELD-SYMBOLS: <LT_EVENTS> LIKE LINE OF LT_EVENTS.
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
      I_LIST_TYPE     = 0
    IMPORTING
      ET_EVENTS       = LT_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG = 1
      OTHERS          = 2.
Define TOP_OF_PAGE event
  READ TABLE LT_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
       ASSIGNING <LT_EVENTS>.
  IF SY-SUBRC EQ 0.
    MOVE GC_FORMNAME_TOP_OF_PAGE TO <LT_EVENTS>-FORM.
  ENDIF.
ENDFORM.                    " eventtab_build
*&      Form  TOP_OF_PAGE
FORM TOP_OF_PAGE.
  REFRESH GT_LIST_TOP_OF_PAGE.
  CLEAR GT_LIST_TOP_OF_PAGE.
  PERFORM COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE.
Output GSPC logo on report header
  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
      IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE
      I_LOGO             = 'GSPC_LOGO'.
ENDFORM.                    "top_of_page
*&      Form  COMMENT_BUILD
Build comments at top of page
FORM COMMENT_BUILD CHANGING GT_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
  DATA: GS_LINE TYPE SLIS_LISTHEADER.
  CLEAR GS_LINE.
  GS_LINE-TYP  = 'H'.
  GS_LINE-INFO = 'Vendor Ageing'.
  APPEND GS_LINE TO GT_TOP_OF_PAGE.
  CLEAR GS_LINE.
  GS_LINE-TYP  = 'S'.
  GS_LINE-KEY  = 'Report ID:'.
  GS_LINE-INFO = SY-REPID.
  APPEND GS_LINE TO GT_TOP_OF_PAGE.
  CLEAR GS_LINE.
  GS_LINE-TYP  = 'S'.
  GS_LINE-KEY  = 'User:'.
  GS_LINE-INFO = SY-UNAME.
  APPEND GS_LINE TO GT_TOP_OF_PAGE.
  CLEAR GS_LINE.
  GS_LINE-TYP  = 'S'.
  GS_LINE-KEY  = 'Date:'.
  WRITE SY-DATUM TO GS_LINE-INFO MM/DD/YYYY.
  APPEND GS_LINE TO GT_TOP_OF_PAGE.
  CLEAR GS_LINE.
  GS_LINE-TYP  = 'S'.
  GS_LINE-KEY  = 'Time:'.
  WRITE SY-UZEIT TO GS_LINE-INFO USING EDIT MASK '__:__:__'.
  APPEND GS_LINE TO GT_TOP_OF_PAGE.
  CLEAR GS_LINE.
  GS_LINE-TYP  = 'S'.
  GS_LINE-KEY  = ''.
  WRITE ' '.
  APPEND GS_LINE TO GT_TOP_OF_PAGE.
Output data from selection screen
ENDFORM.                    "comment_build
*Build ALV Summary field catalog
*&      Form  build_field_catalogs
FORM BUILD_FIELD_CATALOGS.
  CLEAR: ALV_FIELDCAT.
  REFRESH: ALV_FIELDCAT.
Vendor Number
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'Vendor Number'.
  alv_fieldcat_line-hotspot = 'X'.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'LIFNR'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
Vendor Name
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'Vendor Name'.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'NAME1'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
Vendor Address
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'Vendor Address'.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'STREET'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
City
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'City'.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'CITY1'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
Object number #
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'object #'.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'OBJNR'.
  ALV_FIELDCAT_LINE-NO_OUT  = 'X'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
WBS Element
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'WBS Element'.
  ALV_FIELDCAT_LINE-FIELDNAME = 'POSID'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
Cost Center
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'Cost Center'.
  ALV_FIELDCAT_LINE-FIELDNAME = 'KOSTL'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
GL Indicator
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'GL Indicator'.
  ALV_FIELDCAT_LINE-FIELDNAME = 'UMSKZ'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
General Ledger Account
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'General Ledger Account'.
  ALV_FIELDCAT_LINE-FIELDNAME = 'HKONT'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
Document No.
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-HOTSPOT = 'X'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'Document No.'.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'BELNR'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
Amount
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'Amount'.
  alv_fieldcat_line-fieldname  = 'WRBTR'.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'DMBTR'.
  ALV_FIELDCAT_LINE-NO_OUT  = 'X'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
dif1
  CLEAR TEXT.
  READ TABLE S_DATE1 INDEX 1.
  CONCATENATE 'DAYS ' S_DATE1-LOW '-' S_DATE1-HIGH INTO TEXT.
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = TEXT.
  ALV_FIELDCAT_LINE-FIELDNAME = 'DIF1'.
  ALV_FIELDCAT_LINE-DO_SUM = 'X'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
dif2
  CLEAR TEXT.
  READ TABLE S_DATE2 INDEX 1.
  CONCATENATE 'DAYS ' S_DATE2-LOW '-' S_DATE2-HIGH INTO TEXT.
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = TEXT.
  alv_fieldcat_line-no_out = 'X'.
  ALV_FIELDCAT_LINE-FIELDNAME = 'DIF2'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
dif3
  CLEAR TEXT.
  READ TABLE S_DATE3 INDEX 1.
  CONCATENATE 'DAYS ' S_DATE3-LOW '-' S_DATE3-HIGH INTO TEXT.
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = TEXT.
  ALV_FIELDCAT_LINE-FIELDNAME = 'DIF3'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
  CLEAR ALV_FIELDCAT_LINE.
dif4
  CLEAR TEXT.
  READ TABLE S_DATE4 INDEX 1.
  CONCATENATE 'DAYS ' S_DATE4-LOW '-' S_DATE4-HIGH INTO TEXT.
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = TEXT.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'DIF4'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
dif5
  CLEAR TEXT.
  READ TABLE S_DATE5 INDEX 1.
  CONCATENATE 'DAYS ' S_DATE5-LOW '-' S_DATE5-HIGH INTO TEXT.
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = TEXT.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'DIF5'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
Days
  ALV_FIELDCAT_LINE-TABNAME    = 'T_OUTPUT'.
  ALV_FIELDCAT_LINE-SELTEXT_L = 'Days'.
  ALV_FIELDCAT_LINE-FIELDNAME  = 'DAYS'.
  alv_fieldcat_line-no_out  = 'X'.
  APPEND ALV_FIELDCAT_LINE TO ALV_FIELDCAT.
ENDFORM.                    " build_field_catalogs
*&      Form  ALV_USER_COMM
Process User Status
FORM ALV_USER_COMM USING R_UCOMM     LIKE SY-UCOMM
                         RS_SELFIELD TYPE SLIS_SELFIELD.
*Determine the main component beign viewed
  READ TABLE T_OUTPUT INDEX RS_SELFIELD-TABINDEX.
  CASE R_UCOMM.
    WHEN '&IC1'.       " single / double click
      CASE RS_SELFIELD-FIELDNAME.
Display FI document
        WHEN 'BELNR'.
          SET PARAMETER ID 'BLN' FIELD T_OUTPUT-BELNR.
          SET PARAMETER ID 'BUK' FIELD T_OUTPUT-BUKRS.
          SET PARAMETER ID 'GJR' FIELD T_OUTPUT-GJAHR.
          CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
      ENDCASE.
    WHEN 'FMB58'.
      SET PARAMETER ID 'MAT' FIELD prtab-matnr.
      CALL TRANSACTION 'MB58' AND SKIP FIRST SCREEN.
    WHEN 'CHK'.
      MOVE 'X' TO prtab-chk.
      MODIFY prtab INDEX rs_selfield-tabindex.
  ENDCASE.
ENDFORM.                    "alv_user_comm
*&      Form  ALV_STATUS_SET
Set the status for the ALV screen
FORM ALV_STATUS_SET USING RT_EXTAB TYPE SLIS_T_EXTAB.
  SET PF-STATUS 'STANDARD' EXCLUDING RT_EXTAB.
ENDFORM.                    "alv_status_set
Thanks,
<b>Sankar M</b>

Similar Messages

  • Scenarios for FICO report

    Hi gurus
         anybody please say a scenario for
    1)Exception
    2)Condition,
    3)Variables,
    4)RRI
    for FICO based reports... its urgent ..please help me out...
       i will assign points
    Thanks in advance
    pradeep

    See below scenarios on which you can implement Exceptions, conditions,........etc on keyfigs.
    1. Balance Sheet and P&L: Actual/Actual Comparison
    Technical name: 0FIGL_VC1_Q0001
    Based on: Virtual InfoCube 0FIGL_VC1
    Use
    This query is used to display the balance sheet and P&L in two different report periods. The report periods are broken down in the columns, the balance sheet structure/P&L is displayed hierarchically in the report rows.
    The balance sheet/P&L is created for exactly one company code. This must be entered using a variable.
    Filters
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    0COMP_CODE     Company code, variable 0P_COCD (individual value, required entry)
    0VERSION     Version, constant value “1”
    0CURTYPE     Currency type, constant value “10” (company code currency)
    0VTYPE     Version, constant value “10” (actual)
    0FISCVARNT     Fiscal year variant, variable 0P_FVAEX (SAP exit variable)
    User-Defined Characteristics
    InfoObject     Description
    0BUS_AREA     Business area
    0GL_ACCOUNT     General ledger account
    Rows
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    0GLACCEXT     Balance sheet/P&L item
    Columns
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    Structure     Key figures
    0FIGL_VC1_CK001     1.     •         Balance value, calculated key figure for the 0FIGL_VC1:
    0FIGL_VC1_CK001 = 0VAL_STOCK + 0VAL_FLOW
    Structure     Periods:
    Report period     1.     •         Selection for characteristic 0FISCPER, variable 0I_FPER
    Comparison period     2.     •         Selection for characteristic 0FISCPER, varianble 0FI_FPER2 (= copy of variable 0I_FPER)
    Absolute variance     3.     •         Formula:
    ‘Report period’ – ‘comparison period’
    Variance (%)     4.     •         Formula:
    ‘Report period’ % ‘comparison period’
    2. Bal. Sheet and P&L (Cost-of-Sales Acc.): Actl/Actl Comparison
    Technical name: 0FIGL_VC2_Q0001
    Based on: virtual InfoCube 0FIGL_VC2
    Use
    This query is used to display the balance sheet and P&L according to the cost-of-sales accounting method in two different reporting periods. The reporting periods are expanded in the columns, the balance sheet/P&L item (hierarchically) in the reporting rows.
    The balance sheet/P&L is created for a single company code that must be entered using a variable.
    Filters
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    0COMP_CODE     Company code, variable 0P_COCD (individual value, required entry)
    0VERSION     Version, constant value ‘1’
    OCURTYPE     Currency type, constant value ‘10’ (company code currency)
    0TYPE     Value type, constant value ‘10’ (actual)
    0FISCVARNT     Fiscal year variant, variable 0P_FVAEX (SAP exit variable)
    User-Defined Characteristics
    InfoObject     Description
    0BUS_AREA     Business area
    0FUNC_AREA     Functional area
    0GL_ACCOUNT     G/L account
    Rows
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    0GLACCEXT     Balance sheet/P&L item
    Columns
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    Structure     Key figures
         Balance sheet value, calculated key figure for InfoCube  0FIGL_VC2:
    0FIGL_VC2_CK001 = 0VAL_STOCK + 0VAL_FLOW
    Structure     Time periods
    Report time period     Selection for characteristic 0FISCPER, variable 0I_FPER
    Comparison period     Selection for characteristic 0FISCPER, variable 0I_FPER2 (= copy of variable 0I_FPER)
    Variance (absolute)     Formula: ‘Report period’ - ‘Comparison period
    Variance (%)     Formula: ‘Report period’ % ‘Comparison period’

  • Regarding FICO report

    Hi to all
    Please tell me what are the importnt tables in FICO module.
    I have to prapare a capital budget report.
    I am new to this module.Please give me some idea about basics related with finance and budget and finance flow.
    Thanks & regards
    Anubhav

    Hi,
    Below are the important tables:
    BVOR
    (Intercompany posting procedures)
    BSAD
    (Accounting: Secondary index for
    customers (cleared items)
    BSID
    (Accounting: Secondary index for
    customers)
    PAYR
    (Payment transfer medium file)
    BKPF
    (Accounting document header)
    BSEG
    (Accounting document segment)
    BSIP
    (Index for vendor validation of double
    documents)
    BSIK
    (Accounting: Secondary index for
    vendors)BSAK
    (Accounting: Secondary index for
    vendors (cleared items))
    BSAS
    (Accounting: Secondary index for G/L
    accounts (cleared items))
    BSIS
    Regards
    Kannaiah

  • Need some FI functional basic knowledge for BI/FICO reporting?

    Hi experts,
    I create FI reports using SAP BI, I need your help to learn some basics about FICO to talk in my interview. I know all the FICO table but may be they will ask me about some functional question about FICO and SD modules. Please share some knowledge about these modules. I have very less time and can't able to read the FICO book at this time.
    Thanks in advance.
    Sharat.

    Hi,
    These are some web site with interestings informations.
    http://www.allinterview.com/showanswers/56726.html
    http://www.jhu.edu/hopkinsone/Library/BluprntArchive.htm
    Regards

  • How to use the cell editor in FICO reports for YTD

    HI experts,
    I am working with BI7.0, in the below report, i have displayed result based on user input.but how to calculate the YTD values. User will give the input like 072007, results will be display one year from 072007 to 062006 (one yearback) and one more column is YTD
    Report structure is :
         user input(single value): 072007
              AUG06....JAN07....JULY07....YTD
    KEYFIGURE-1        453      -
    777     -
       232       -
      777 (Only Jan07 value of Keyfigure-1)   
    KEYFIGURE-2        879      -
    233        -
    123       -
      ???? (only sum from Jan07 to July07)
    KEYFIGURE-3        212            -
    879      -
    989                -
    KEYFIGURE-4        234            -
    656      -
    788                   -
    KEYFIGURE-5        345            -
    878      -
    878                 -
    KEYFIGURE-6        767            -
    767       -
    323                 -
    KEYFIGURE-7        879            -
    878     -
    999                -
    999 (Only last value of keyfigure-7 (July07)
    in the above report, total 7 keyfigures so 7rows of YTD column
    1) in the first YTD column, how will display only one value (keyfigure-1) of Jan07?
    2) in the last YTD Column, how will display only one value (keyfigure-7) of July07?
    3) from 2 to 6 columns of YTD, how will display the sum from Jan07 to July07?
    Note: months will be changed based on user input(single Value)
    how can use cell editor for above the senior.
    if any option is availabel please let me know
    Thanks
    kishore

    I think the following should work:
    Context:
    Rows (node,c=0:n)
    --- rowIndex (integer)
    selectedRowIndex (integer)
    Bind the "selectedKey" property of the radio button (cell editor) to attribute "selectedRowIndex" (outside table data source node) and bind "keyToSelect" to attribute "Rows.rowIndex". Make sure that the "rowIndex" attribute will contain the index of the node element in node "Rows".
    Armin

  • Fico reports

    What are reports that can be obtained in SAP Finance .

    Find below all reports,
    plz assign poitns as a way of thanking
    Technical Name     
    S_ALR_87012249     
    S_ALR_87012250     
    S_ALR_87012284     
    S_ALR_87012252     
    S_ALR_87012253     
    S_ALR_87012271     
    S_ALR_87012277     
    S_ALR_87012279     
    S_ALR_87012304     
    S_ALR_87012332     
    S_ALR_87012167     
    S_ALR_87012179     
    S_ALR_87012180     
    S_ALR_87012093     
    S_ALR_87012081     
    S_ALR_87012078     
    S_ALR_87012084     
    S_P99_41000099     
    GRR1     
    GRR4     
    F.20     
    F.23     
    F.21     
    F.40     
    F.42     
    F.41     
    AR01     
    AR02     
    AR03     
    OARP     
    AW01N     
    S_ALR_87011964     
    S_ALR_87011966     
    S_ALR_87011963     
    S_ALR_87011979     
    S_ALR_87011981     
    S_ALR_87011978     
    S_ALR_87011963     
    S_ALR_87011964     
    S_ALR_87011966     
    S_ALR_87012018     
    S_ALR_87010173     
    S_P99_41000192     
    S_ALR_87010175     
    S_ALR_87012936     
    S_ALR_87012026     
    GD13     
    GD23     
    GD33     
    TJ04     
    FF7A     
    FF7B     
    FF-8     
    FF-7     
    FF/1     
    FF.3     
    FF-1     
    FF-3     
    FF-5     
    FF-6     
    TJ01     
    TBCD     
    TJ12     
    S_ALN_01001160     
    S_ALN_01001159     
    S_ALR_87013598     
    S_ALR_87013599     
    S_ALR_87013607     
    KAL7     
    KSB5     
    KA23     
    KS13     
    S_ALR_87013610     
    S_ALR_87013611     
    S_ALR_87013612     
    S_ALR_87013613     
    S_ALR_87013624     
    KSBL     
    KSB1     
    KSB2     
    KSBP - Cost Centers: Plan Line Items     
    KSB5     
    KS13     
    KA23     
    S_ALR_87013632     
    S_ALR_87013640     
    CPBL     
    S_ALR_87011767     
    KABP     
    KA23     
    S_ALR_87011774     
    S_ALR_87099931     
    S_P99_41000111     
    CK86_99 - Costed Multilevel BOM     
    S_ALR_87013046     
    KKP6     
    KKP4     
    KKBC_PKO     
    KKFB     
    KOB8     
    KRMI     
    KKCA     
    KKCS     
    S_ALR_87013170     
    KOB3     
    KOB1     
    KOB2     
    S_ALR_87013104     
    CKAPP03     
    KKBC_KUN     
    KVBI     
    KKAA     
    KE30     
    KE31     
    KE91     
    KE24     
    KE25     
    KE3Q     
    KE3P     
    S_ALR_87013326     
    S_ALR_87013327     
    S_ALR_87013336     
    S_ALR_87013337     
    S_ALR_87009712     
    S_ALR_87013342     
    KE5Z     
    KE5Y     
    S_ALR_87013343     
    S_ALR_87013344     
    S_ALR_87013345     
    S_ALR_87013346     
    S_ALR_87013347     
    S_ALR_87013348     
    ) 2KEE     
    KE5X

  • Custom field's text not getting displayed in standard report

    Hi All,
    I have a requirement like this .
    There is a Custom field which we have added in a standard FICO report ie S_PL0_86000030 ( G/L Account - Balances ).
    The custom field is added through a report painter , while seeing the config of report painter the custom field is showing the selection text , but when we run this transaction S_PL0_86000030 , the technical name of that field appears in the selection screen .
    For example if the field is ' matnr'  then we give the text as 'Material Number' . Then in the screen this field is getting displayed as Matnr instead of Material Number.
    Please suggest me on this.
    Thanks,
    Sumit

    In transaction GRR2
    Insert->
    selection parameters ->
    take the variable type as >Tesxt varaible for selection parameter
    chosse >material no.
    hope ths helps
    Bhanu

  • My fico vs credit karma vs equifax credit monitoring

    As you all can see I am new here and have just begun my credit repair journey I'm hoping that some one can shed some light on credit score questions and educate me in the differences.
    I have recently started using credit karma and they tell me the my credit score is 603 on trans union and 605 on equifax so not a huge difference however I was told by a lender that my score was 521. Can anyone educate me where the difference comes from.
    Also I was looking at paying for one of the monthly subscriptions here on my fico for monitoring purposes as I have written a lot of GW letters and was just sucess ful at disputing a collection account that was not mine
    What do you guys use and what are the pros and cons thanks

    fire_bug wrote:
    As you all can see I am new here and have just begun my credit repair journey I'm hoping that some one can shed some light on credit score questions and educate me in the differences.
    I have recently started using credit karma and they tell me the my credit score is 603 on trans union and 605 on equifax so not a huge difference however I was told by a lender that my score was 521. Can anyone educate me where the difference comes from.
    There are many different credit scores out there and they are all "correct" based on their own score model. Of those scores, there are FICO scores and Non-FICO scores, or "FAKO's" as they have come to be known. FICO reports that 90% of top lenders use FICO for credit decisions. It is clearly accepted as the industry leader. Your FICO score, just as any credit score, is based on the information in your credit report, you have 3 credit reports from the 3 main credit agencies, Equifax, Experian and TransUnion, and you will have a FICO score for each of those 3 credit reports. Your credit reports may have different info in them thus your scores may not be the same. In addition, the info in your 3 credit reports is always changing, even on a daily basis, thus your FICO credit scores are not static and will change with time, sometimes daily based on new info added to your credit reports or simply due to the passing of time (time is one of the major factors taken into account in you credit score). Additional info:http://www.myfico.com/crediteducation/questions/different-scores-for-3-credit-bureaus.aspx

  • List of Standard reports available in BI related to FI-CA

    Hi Gurus,
      Can anyone please let me know the standard reports related to FI-CA in BI.
    Thanks
    Santosh

    Hi...
    For the FICO reports, look at the SAP delivered roles in the FICO area and download the txns in a spreadsheet or look at the transactions under the standard SAP Financial Accounting menu F000 or any other menu that seems pertinent. You can download the list of txns from an area menu via txn code SE43.
    Also check this link :
    pls tell me some fico report1s
    Regards,
    Debjani......
    Edited by: Debjani  Mukherjee on Oct 2, 2008 7:29 AM
    Edited by: Debjani  Mukherjee on Oct 2, 2008 8:07 AM

  • Implementing S_ALR_87011966 Report in SAP BI

    Hi Gurus,
    I need to implement SAP FICO Report S_ALR_87011966. Can anyone please help me with it. Which DS I should use to see the Asset Balances in BI.
    Thanks and Regards
    Edited by: A S on Sep 13, 2010 6:38 PM

    HI ,
    You can try using the datasource 0FI_AA_11 and 0FI_AA_12  for Asset reporting ,
    Below are standard DSO s delivered
    0FIA_DS11 - This object contains all transactions and annual value information for an asset
    0FIA_DS12 - This object contains the annual values for an asset
    0FIA_DS13 - This object contains the periodic values for an asset
    Check the below link on sap help for more information
    http://help.sap.com/saphelp_nw70/helpdata/en/a8/f4153c4eb5d82ce10000000a114084/frameset.htm
    Regards,
    Sathya

  • Abap FICO. s_alr_87012172

    Hi Friends,
    This is FICO report for Customer balance in local currency.
    i want this report to be out put according to the USER NAME
    in the selection criteria. For this either i can change the source code or do it from scratch.Please give any suggestion

    I have searched there is no user exit for this ..
    Thnx
    Puneet

  • AU not counting toward AAoA Equifax FICO score!!

    I recently pulled my Equifax FICO score and report. The Equifax FICO score usually indicates the oldest account that was opened and average age of accounts. I have a AAoA calculator which when populated with all the accounts on my credit report produces an AAoA of over 10 years. After messing around with the AAoA calulator, I figured out that the Equifax FICO calculation is not counting my AU credit card. When I delete the AU from the calculation, the AAoA produces 7 years, which matches the FICO report. Additionally, I saw on my FICO report that the oldest account was 29years 4months. The AU that is on my FICO report was opened 2/1984 which would be 31years 5months. Thought this interesting. Don't know if it has always been this way or if it is a new development or perhaps something wrong with the calculation of my credit report only. Kind of irritates me somewhat. I mean, if a AU isn't going to count toward your AAoA, what is the point other than having a good trade line on your report? As matter of fact, the AU card isn't counting toward my utilization either. Basically, it is there on the credit report, but seems invisible when FICO's calculates. I will try and determine if Experian and TransUnion FICO calculations are also treating it this way when I get around to pulling them. Will paste what I am seeing for Equifax You have an established credit history.Your oldest account was opened 29 Years, 4 Months agoAverage age of your accounts7 yearsFICO High Achievers opened their oldest account 25 years ago, on average.Most FICO High Achievers have an average age of accounts of 11 years or more. Ratio of your revolving balances to your credit limits1%For FICO High Achievers, the average ratio is less than 6%.Company                  Date opened    Balance      StatusSyncb/Belk AU               2/1984           $855         Pays account as agreed  (This is the AU) Macy's/Dsnb                    3/1986               $1         Pays account as agreed   ( FICO says this is my oldest account 29yrs 4mths)Usaa Savings Bank         1/2015             $41         Pays account as agreedAmalgamated Bank          8/2014              $0          Pays account as agreedBarclays Bank                  6/2015              $0          Pays account as agreedAmalgamated Bank          8/2014              $0          Pays account as agreedIberia Bank                       5/2003              $0          Pays account as agreedFmc-Omaha                    11/2003             $0          Pays account as agreed AAoA calulator with all accounts 10.63 yearsAAoA calulator without the Belk AU 7.75 years The Belk AU card is not counting toward my utilization either, as you can see FICO says 1%. If it counted the AU it would be 5 or 6%. Didn't know if this should be on this forum, or maybe Understanding FICO scoring forum. Any one have any input??

    Momof5 wrote:
    TRC_WA wrote:
    slimshady66 wrote:
     I am under the opinion, legally, it is suppose to count. And if it is counting or making a difference, how is it doing that without effecting AAoA or Utilization?Good question. My question is why AU's carry any weight at all in FICO scoring. If my FICO score is supposed to be an indication of how I pay my debts... how would being added to Mom's 30 year old CC and inheriting her payment history be any indication at all of how I would pay my debts? I was in like 4th grade 30 years ago.  The whole thing is just baffling to me.  I'm all for AU accounts... I have added my Dad to my Sallie Mae MC because he has a limited history and I wanted him to have a CC he can use on a daily basis... but IMHO the FICO score shouldn't be affected at all by someone else's account.I believe that this stems from the old housewives, married women don't get credit days.  The wife was an AU on DH's account, but was the one that actually managed the finances for the family.  This helped bring women into the credit world.Basically this, millions of stay-at-home spouses who didn't bother with credit effectively lost their credit scores when FICO 8 was introduced.  It was rolled back in favor of an anti-abuse algorithm to determine whether the AU counts or doesn't.  All or nothing now. Presumably the lenders don't want AU's to count still (or they wouldn't have pushed FICO to do that in the first place), it wouldn't surprise me if further tweaks happen.  FWIW I would strongly recommend everyone to have tradelines in their own name, regardless of AU's on the report.  While mortgages are leaving the mandate of having to have your own tradelines behind, it's simply better to have your own history period to fall back on. OP: you can't really trust any third party (including MF's) interpretation for an AAOA calculation.  I would be stunned and amazed if the abuse calculation was given to the front-end developers in FICO Consumer who wrote the simulator.

  • Re:Bi content reports in excel Format

    Hi expert,
    This is pradeep.in my project  my client required sd,mm and fico reports are  in excel format ofter then the client decision take place .please give me those reports please .my id [email protected]
    Thanks & Regards,
    Pradeep kandepu
    Edited by: pradeep kandepu on Jul 3, 2008 8:14 AM

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by rw([email protected]):
    Hello all,
    Can we generate reports in excel format
    directly ? How ?
    (Or start the Excel application after the report was generated automatically, so that the excel macro programming can capture the report data and save as excel file?)<HR></BLOCKQUOTE>
    Ray,
    For generating reports in excel you should write the query with tab delimiters
    like
    select CHR(9),COL1,CHR(9),COL2... FROM TABLE
    CHR(9) REPRESENTS the tab
    I've tried opening the RDF in excel but with no results.
    Instead in Reports Runtime preview go to
    File>Generator options>HTML
    Open this HTML file in Excel(the query should have tab delimiters) convert it in to a tab delimited format or txt,save & when you open this converted file you will see all the cols
    & Rows aligned properly in the cells.
    Mahesh

  • Re:Bi content reports

    Hi expert,
    This is pradeep.in my project my client required sd,mm and fico reports are in excel format ofter then the client decision take place .please give me those reports please .my id [email protected]
    Thanks & Regards,
    Pradeep kandepu
    Edited by: pradeep kandepu on Jul 3, 2008 8:27 AM

    Hi,
    For this you have good experince else you see help and find
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Or
    In Business Contenet you can find in Report option,
    RSA1>BI Contenet>Objects accroding to Type>Query Elements>Query>Select Objects>Double cilk on that and give star Cube name star
    Eg: 0SD_C03 and find., it will display all reports on that Cube.
    Thanks
    Reddy

  • Plan Data Does Not Show in FI Report

    I am using 6.0 with New GL and Functional Area standard Report S_PL0_86000029.  I added cost center plan data using KP06 and that info shows fine in std report for cost centers (S_ALR_87013611), but does not appear in the aforementioned FI based report.  Is there some transfer transaction I am missing? 
    Thanks
    David

    I resolved my problem by creating a new GRR1 report using the New GL (FAGLFLEXT) table.  This report brings in all of the primary cost element postings as well as the secondary overhead postings.  This provides a much more holistic view of FICO reporting.  I used Functional Areas in order to break out the income statement into typical sections, including one for Net Order Consumption.  This special section for orders should be zero if everything is settled to either WIP or variances.  Otherwise I see a order related settlement problem on the face of the income statement.  I found there was a slight problem with the secondary postings between the cost center and order.  I used substitution rules to force the order postings to have one functional area while the cost centers provided the other side.
    Once I haad the actual postings working, the next problem was that no plan data was coming to the report.  I had to work through many details to finally get the plan data to come through, but now it works as designed.
    Juggler

Maybe you are looking for

  • How do I export voice memos from my iPhone 5S to my iTunes?

    I have numerous voice memos that I want to get off my iPhone.  However, I don't want them deleted.  Some of them are of my mom's voice (she recently passed away) so I REALLY don't want to lose those.  I've searched the forum and I've been unable to f

  • Problem Connection at Runtime

    Hi everybody, Context: Crystal Reports 9, Windows XPPro, SQL Server When I change my report to another Datasource at runtime doesn't work I retrive always the same data from the original Datasource. Below the code I'm using     Dim sql As String, Con

  • Troubles with my speakers

    I have a Mac Pro tower with functioning speakers. If I watch a video etc. the sound is perfect. However, when I change the volume, I get no feedback as I have for decades. In settings, I have:  Sound >  "Play feedback when volume is changed"  is chec

  • Thomson Treasura - replace with Electronic Bank Statement

    Hi All, We are planning to implement EBS in our co and replace an external Software called Thomson treasura. I would like to know what sort of reports are availble through the EBS in SAP. Thomson treasura gives the ability to generate several reports

  • Explorer.exe application error "Memory could not be written" ?! OS seems stuck now

    (Model # m6-k010dx) My new laptop after 13 months automatically updated from windows 8 to 8.1 after I had said 'no' as many times as it allowed. After the update my files are still on it and most things are there but it seems 'stuck' and the orange s