How to display ?

This is program,
TYPES : BEGIN OF TY_HEAD,
         TICK_NO TYPE ZTICK_NO,
         FISRT_WT TYPE ZFT_WEIGHT,
         F_DATE TYPE ZDATE,
         SECOND_WT TYPE ZSC_WEIGHT,
         SEC_DATE TYPE ZDATE,
         NET_WEIGHT TYPE ZNET_WT,
        END OF TY_HEAD.
TYPES : BEGIN OF TY_FINAL,
        TICK_NO TYPE ZTICK_NO,
        FISRT_WT TYPE ZFT_WEIGHT,
        F_DATE TYPE ZDATE,
        SECOND_WT TYPE ZSC_WEIGHT,
        SEC_DATE TYPE ZDATE,
        NET_WEIGHT TYPE ZNET_WT,
        SNO TYPE ZWEIGHT_ITEM-SNO,
        VENDOR TYPE ZWEIGHT_ITEM-VENDOR,
        VENDOR_NAME TYPE ZWEIGHT_ITEM-VENDOR_NAME,
        EBELN TYPE ZWEIGHT_ITEM-EBELN,
        EBELP TYPE ZWEIGHT_ITEM-EBELP,
        MATNR TYPE ZWEIGHT_ITEM-MATNR,
        MAKTX TYPE ZWEIGHT_ITEM-MAKTX,
        MBLNR TYPE ZWEIGHT_ITEM-MBLNR,
        MBLPO TYPE ZWEIGHT_ITEM-MBLPO,
        NO_BAGS TYPE ZWEIGHT_ITEM-NO_BAGS,
        WT_BAG TYPE ZWEIGHT_ITEM-WT_BAG,
        POST_WT TYPE ZWEIGHT_ITEM-POST_WT,
        TOTAL_WT TYPE ZWEIGHT_ITEM-TOTAL_WT,
        BAG_TYP TYPE ZWEIGHT_ITEM-BAG_TYP,
        MAT_UPD TYPE ZWEIGHT_ITEM-MAT_UPD,
        LFBNR TYPE ZWEIGHT_ITEM-LFBNR,
        LFPOS TYPE ZWEIGHT_ITEM-LFPOS,
          END OF TY_FINAL.
TYPES :BEGIN OF TY_NUM,
         TICK_NO TYPE CHAR2,
        END OF TY_NUM.
DATA : LT_NUM TYPE TABLE OF TY_NUM,
       WA_NUM TYPE TY_NUM.
DATA : LT_HEAD TYPE  STANDARD TABLE OF TY_HEAD,
       WA_HEAD TYPE TY_HEAD,
       LT_HEAD1 LIKE  LT_HEAD,
       LT_ITEM TYPE STANDARD TABLE OF ZWEIGHT_ITEM,
       WA_ITEM TYPE ZWEIGHT_ITEM,
       LT_FINAL TYPE TABLE OF TY_FINAL,
       WA_FINAL TYPE TY_FINAL.
DATA : LT_FLDCAT TYPE SLIS_T_FIELDCAT_ALV,
       WA_FLDCAT TYPE SLIS_FIELDCAT_ALV.
DATA : LT_EVENTS TYPE SLIS_T_EVENT,
       WA_EVENTS TYPE SLIS_ALV_EVENT.
DATA:  LT_SORT  TYPE  SLIS_T_SORTINFO_ALV,
       WA_SORT TYPE SLIS_SORTINFO_ALV.
DATA : LV_NUM TYPE CHAR2.
TABLES:ZWEIGHT_HEADER.
DATA:  CNT TYPE I VALUE 1.
DATA:  LT_STRUCT TYPE DD02L-TABNAME.
SELECT-OPTIONS :  S_TICK FOR ZWEIGHT_HEADER-TICK_NO,
                  S_DATE FOR ZWEIGHT_HEADER-F_DATE.
PARAMETERS: P_NUM TYPE CHAR2 .
TYPES:
    BEGIN OF TY_TICK,
      TICK_NO TYPE ZTICK_NO,
    END OF TY_TICK,
    T_RETURN_TAB  TYPE DDSHRETVAL.
DATA:
    WA_TICK      TYPE TY_TICK,
    W_RETURN_TAB TYPE T_RETURN_TAB,
    C TYPE C VALUE 'S'.
DATA:
    LT_TICK      TYPE STANDARD TABLE OF TY_TICK,
    I_RETURN_TAB TYPE STANDARD TABLE OF T_RETURN_TAB,
    WA_RETURN LIKE LINE OF I_RETURN_TAB.
*&      AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_TICK-LOW.
  PERFORM F4_HELP_FOR_PALANT USING 'S_TICK-LOW'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_TICK-HIGH.
  PERFORM F4_HELP_FOR_PALANT USING 'S_TICK-HIGH'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_NUM.
  PERFORM F4_HELP_FOR_P_NUM.
*&      Form  f4_help_for_palant
FORM F4_HELP_FOR_PALANT USING L_DYNPROFIELD.
  SELECT TICK_NO
  FROM ZWEIGHT_HEADER
  INTO TABLE LT_TICK.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
  EXPORTING
*   DDIC_STRUCTURE         = ' '
  RETFIELD               = 'TICK_NO'
*   PVALKEY                = ' '
  DYNPPROG               = SY-REPID
  DYNPNR                 = SY-DYNNR
  DYNPROFIELD            = L_DYNPROFIELD
*   STEPL                  = 0
*   WINDOW_TITLE           =
*   VALUE                  = ' '
  VALUE_ORG              = C
*   MULTIPLE_CHOICE        = ' '
*   DISPLAY                = ' '
*   CALLBACK_PROGRAM       = ' '
*   CALLBACK_FORM          = ' '
*   MARK_TAB               =
* IMPORTING
*   USER_RESET             =
  TABLES
  VALUE_TAB              = LT_TICK
*   FIELD_TAB              =
  RETURN_TAB             = I_RETURN_TAB
*   DYNPFLD_MAPPING        =
EXCEPTIONS
   PARAMETER_ERROR        = 1
   NO_VALUES_FOUND        = 2
   OTHERS                 = 3.
  IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
ENDFORM.                    "f4_help_for_palant
START-OF-SELECTION.
  SELECT  TICK_NO
          FISRT_WT
          F_DATE
          SECOND_WT
          SEC_DATE
          NET_WEIGHT
                     FROM ZWEIGHT_HEADER INTO TABLE LT_HEAD
                     WHERE TICK_NO IN S_TICK AND F_DATE IN S_DATE.
  IF LT_HEAD IS NOT INITIAL.
    SELECT * FROM ZWEIGHT_ITEM INTO TABLE LT_ITEM
      FOR ALL ENTRIES IN LT_HEAD WHERE TICK_NO = LT_HEAD-TICK_NO .
  ENDIF.
  IF P_NUM IS INITIAL.
    LOOP AT LT_ITEM INTO WA_ITEM.
      READ TABLE LT_HEAD INTO WA_HEAD WITH KEY TICK_NO = WA_ITEM-TICK_NO.
      IF SY-SUBRC = 0.
        WA_FINAL-TICK_NO    = WA_HEAD-TICK_NO.
        WA_FINAL-FISRT_WT   = WA_HEAD-FISRT_WT.
        WA_FINAL-F_DATE     = WA_HEAD-F_DATE.
        WA_FINAL-SECOND_WT  = WA_HEAD-SECOND_WT.
        WA_FINAL-SEC_DATE   = WA_HEAD-SEC_DATE.
        WA_FINAL-NET_WEIGHT = WA_HEAD-NET_WEIGHT.
        WA_FINAL-SNO           = WA_ITEM-SNO.
        WA_FINAL-VENDOR        = WA_ITEM-VENDOR.
        WA_FINAL-VENDOR_NAME   = WA_ITEM-VENDOR_NAME.
        WA_FINAL-EBELN         = WA_ITEM-EBELN.
        WA_FINAL-EBELP         = WA_ITEM-EBELP.
        WA_FINAL-MATNR         = WA_ITEM-MATNR.
        WA_FINAL-MAKTX         = WA_ITEM-MAKTX.
        WA_FINAL-MBLNR         = WA_ITEM-MBLNR.
        WA_FINAL-MBLPO         = WA_ITEM-MBLPO.
        WA_FINAL-NO_BAGS       = WA_ITEM-NO_BAGS.
        WA_FINAL-WT_BAG        = WA_ITEM-WT_BAG.
        WA_FINAL-POST_WT       = WA_ITEM-POST_WT.
        WA_FINAL-TOTAL_WT      = WA_ITEM-TOTAL_WT.
        WA_FINAL-BAG_TYP       = WA_ITEM-BAG_TYP.
        WA_FINAL-MAT_UPD       = WA_ITEM-MAT_UPD.
        WA_FINAL-LFBNR         = WA_ITEM-LFBNR.
        WA_FINAL-LFPOS         = WA_ITEM-LFPOS.
        APPEND WA_FINAL TO LT_FINAL.
        CLEAR WA_FINAL.
      ENDIF.
    ENDLOOP.
    SORT LT_FINAL.
  ELSE.
    LOOP AT LT_ITEM INTO WA_ITEM.
      IF WA_ITEM-TICK_NO+0(2) = P_NUM.
        READ TABLE LT_HEAD INTO WA_HEAD WITH KEY TICK_NO = WA_ITEM-TICK_NO.
        IF SY-SUBRC EQ 0.
          WA_FINAL-TICK_NO = WA_HEAD-TICK_NO.
          WA_FINAL-FISRT_WT = WA_HEAD-FISRT_WT.
          WA_FINAL-F_DATE = WA_HEAD-F_DATE.
          WA_FINAL-SECOND_WT = WA_HEAD-SECOND_WT.
          WA_FINAL-SEC_DATE = WA_HEAD-SEC_DATE.
          WA_FINAL-NET_WEIGHT = WA_HEAD-NET_WEIGHT.
        ENDIF.
        WA_FINAL-SNO           = WA_ITEM-SNO.
        WA_FINAL-VENDOR        = WA_ITEM-VENDOR.
        WA_FINAL-VENDOR_NAME   = WA_ITEM-VENDOR_NAME.
        WA_FINAL-EBELN         = WA_ITEM-EBELN.
        WA_FINAL-EBELP         = WA_ITEM-EBELP.
        WA_FINAL-MATNR         = WA_ITEM-MATNR.
        WA_FINAL-MAKTX         = WA_ITEM-MAKTX.
        WA_FINAL-MBLNR         = WA_ITEM-MBLNR.
        WA_FINAL-MBLPO         = WA_ITEM-MBLPO.
        WA_FINAL-NO_BAGS       = WA_ITEM-NO_BAGS.
        WA_FINAL-WT_BAG        = WA_ITEM-WT_BAG.
        WA_FINAL-POST_WT       = WA_ITEM-POST_WT.
        WA_FINAL-TOTAL_WT      = WA_ITEM-TOTAL_WT.
        WA_FINAL-BAG_TYP       = WA_ITEM-BAG_TYP.
        WA_FINAL-MAT_UPD       = WA_ITEM-MAT_UPD.
        WA_FINAL-LFBNR         = WA_ITEM-LFBNR.
        WA_FINAL-LFPOS         = WA_ITEM-LFPOS.
        APPEND WA_FINAL TO LT_FINAL.
        CLEAR WA_FINAL.
      ENDIF.
    ENDLOOP.
  ENDIF.
  WA_FLDCAT-FIELDNAME = 'TICK_NO'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'TICKET NO'.
  WA_FLDCAT-SELTEXT_M = 'TICKET NO'.
  WA_FLDCAT-SELTEXT_S = 'TICKET NO'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 1.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'FISRT_WT'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'FIRST WEIGHT'.
  WA_FLDCAT-SELTEXT_M = 'FIRST WEIGHT'.
  WA_FLDCAT-SELTEXT_S = 'FIRST WEIGHT'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 3.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'F_DATE'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'FIRST DADE'.
  WA_FLDCAT-SELTEXT_M = 'FIRST DADE'.
  WA_FLDCAT-SELTEXT_S = 'FIRST DADE'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 6.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'SECOND_WT'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'SECOND WEIGHT'.
  WA_FLDCAT-SELTEXT_M = 'SECOND WEIGHT'.
  WA_FLDCAT-SELTEXT_S = 'SECOND WEIGHT'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 4.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'SEC_DATE'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'SECOND DATE'.
  WA_FLDCAT-SELTEXT_M = 'SECOND DATE'.
  WA_FLDCAT-SELTEXT_S = 'SECOND DATE'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 7.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'NET_WEIGHT'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'NET_WEIGHT'.
  WA_FLDCAT-SELTEXT_M = 'NET_WEIGHT'.
  WA_FLDCAT-SELTEXT_S = 'NET_WEIGHT'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 5.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'SNO'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'SERIAL NUMBER'.
  WA_FLDCAT-SELTEXT_M = 'SNO'.
  WA_FLDCAT-SELTEXT_S = 'SNO'.
  WA_FLDCAT-OUTPUTLEN = 5.
  WA_FLDCAT-COL_POS   = 2.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'VENDOR'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'ACCOUNT NUMBER'.
  WA_FLDCAT-SELTEXT_M = 'ACCOUNT NUMBER'.
  WA_FLDCAT-SELTEXT_S = 'ACCOUNT NUMBER'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 8.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'VENDOR_NAME'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'VENDOR NAME'.
  WA_FLDCAT-SELTEXT_M = 'VENDOR NAME'.
  WA_FLDCAT-SELTEXT_S = 'VENDOR NAME'.
  WA_FLDCAT-OUTPUTLEN = 40.
  WA_FLDCAT-COL_POS   = 9.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'EBELN'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'PURCHASING DOCUMENT NUMBER'.
  WA_FLDCAT-SELTEXT_M = 'PURCHASING DOCUMENT NO'.
  WA_FLDCAT-SELTEXT_S = 'PURCHASE DOC.NO'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 10.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'EBELP'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Item Number of Purchasing Document'.
  WA_FLDCAT-SELTEXT_M = 'ITEM NUMBER OF PURCHASE DOC'.
  WA_FLDCAT-SELTEXT_S = 'ITEM NO'.
  WA_FLDCAT-OUTPUTLEN = 10.
  WA_FLDCAT-COL_POS   = 11.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'MATNR'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'MATERIAL NUMBER'.
  WA_FLDCAT-SELTEXT_M = 'MATERIAL NO'.
  WA_FLDCAT-SELTEXT_S = 'MATERIAL NO'.
  WA_FLDCAT-OUTPUTLEN = 20.
  WA_FLDCAT-COL_POS   = 12.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'MAKTX'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Material Description'.
  WA_FLDCAT-SELTEXT_M = 'Material Desc'.
  WA_FLDCAT-SELTEXT_S = 'Mat Desc'.
  WA_FLDCAT-OUTPUTLEN = 40.
  WA_FLDCAT-COL_POS   = 13.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'MBLNR'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Number of Material Document'.
  WA_FLDCAT-SELTEXT_M = 'NO of Material Doc'.
  WA_FLDCAT-SELTEXT_S = 'NO of Mat Doc'.
  WA_FLDCAT-OUTPUTLEN = 20.
  WA_FLDCAT-COL_POS   = 14.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'MBLPO'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Item in Material Document'.
  WA_FLDCAT-SELTEXT_M = 'Item in Material Document'.
  WA_FLDCAT-SELTEXT_S = 'Item in MATERIAL Doc'.
  WA_FLDCAT-OUTPUTLEN = 20.
  WA_FLDCAT-COL_POS   = 15.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'NO_BAGS'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'No.of Bags'.
  WA_FLDCAT-SELTEXT_M = 'No.of Bags'.
  WA_FLDCAT-SELTEXT_S = 'No.of Bags'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 16.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'WT_BAG'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Weight Per Bag'.
  WA_FLDCAT-SELTEXT_M = 'Weight Per Bag'.
  WA_FLDCAT-SELTEXT_S = 'Weight Per Bag'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 17.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'POST_WT'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Post Weight'.
  WA_FLDCAT-SELTEXT_M = 'Post Weight'.
  WA_FLDCAT-SELTEXT_S = 'Post Weight'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 18.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'TOTAL_WT'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Total Weight'.
  WA_FLDCAT-SELTEXT_M = 'Total Weight'.
  WA_FLDCAT-SELTEXT_S = 'Total Weight'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 19.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'BAG_TYP'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Bag Type'.
  WA_FLDCAT-SELTEXT_M = 'Bag Type'.
  WA_FLDCAT-SELTEXT_S = 'Bag Type'.
  WA_FLDCAT-OUTPUTLEN = 10.
  WA_FLDCAT-COL_POS   = 20.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'MAT_UPD'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'status of Material Document'.
  WA_FLDCAT-SELTEXT_M = 'status of Material Doc'.
  WA_FLDCAT-SELTEXT_S = 'status of Mat Doc'.
  WA_FLDCAT-OUTPUTLEN = 20.
  WA_FLDCAT-COL_POS   = 21.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'LFBNR'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Document No. of a Reference Document'.
  WA_FLDCAT-SELTEXT_M = 'Doc No.of a Reference Doc'.
  WA_FLDCAT-SELTEXT_S = 'Doc No.of a Reference Doc'.
  WA_FLDCAT-OUTPUTLEN = 20.
  WA_FLDCAT-COL_POS   = 22.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'LFPOS'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'Item of a Reference Document'.
  WA_FLDCAT-SELTEXT_M = 'Item of a Reference Doc'.
  WA_FLDCAT-SELTEXT_S = 'Item of a Reference Doc'.
  WA_FLDCAT-OUTPUTLEN = 20.
  WA_FLDCAT-COL_POS   = 23.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
END-OF-SELECTION.
  WA_SORT-FIELDNAME = 'TICK_NO'.
  APPEND WA_SORT TO LT_SORT.
  CLEAR WA_SORT.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
   EXPORTING
*   I_INTERFACE_CHECK                 = ' '
*   I_BYPASSING_BUFFER                = ' '
*   I_BUFFER_ACTIVE                   = 'X'
     I_CALLBACK_PROGRAM                = SY-REPID
*   I_CALLBACK_PF_STATUS_SET          = ' '
*   I_CALLBACK_USER_COMMAND           = ' '
     I_CALLBACK_TOP_OF_PAGE            = ''
*   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
*   I_CALLBACK_HTML_END_OF_LIST       = ' '
     I_STRUCTURE_NAME                  = LT_STRUCT
*   I_BACKGROUND_ID                   = ' '
*   I_GRID_TITLE                      =
*   I_GRID_SETTINGS                   =
*   IS_LAYOUT                         =
     IT_FIELDCAT                       = LT_FLDCAT
*   IT_EXCLUDING                      =
*   IT_SPECIAL_GROUPS                 =
   IT_SORT                           = LT_SORT
*   IT_FILTER                         =
*   IS_SEL_HIDE                       =
     I_DEFAULT                         = 'X'
*   I_SAVE                            = ' '
*   IS_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
*   I_HTML_HEIGHT_TOP                 = 0
*   I_HTML_HEIGHT_END                 = 0
*   IT_ALV_GRAPHICS                   =
*   IT_HYPERLINK                      =
*   IT_ADD_FIELDCAT                   =
*   IT_EXCEPT_QINFO                   =
*   IR_SALV_FULLSCREEN_ADAPTER        =
* IMPORTING
*   E_EXIT_CAUSED_BY_CALLER           =
*   ES_EXIT_CAUSED_BY_USER            =
    TABLES
      T_OUTTAB                          = LT_FINAL
   EXCEPTIONS
     PROGRAM_ERROR                     = 1
     OTHERS                            = 2
  IF SY-SUBRC <> 0.
* Implement suitable error handling here
  ENDIF.
*&      Form  F4_HELP_FOR_P_NUM
*       text
*  -->  p1        text
*  <--  p2        text
FORM F4_HELP_FOR_P_NUM .
  SELECT  TICK_NO
          FISRT_WT
          F_DATE
          SECOND_WT
          SEC_DATE
          NET_WEIGHT
                     FROM ZWEIGHT_HEADER INTO TABLE LT_HEAD1
                     WHERE TICK_NO IN S_TICK AND F_DATE IN S_DATE .
  LOOP AT LT_HEAD1 INTO WA_HEAD.
    LV_NUM = WA_HEAD-TICK_NO+0(2).
    WA_NUM-TICK_NO = LV_NUM.
    APPEND WA_NUM TO LT_NUM.
    CLEAR WA_NUM.
  ENDLOOP.
  SORT LT_NUM BY TICK_NO.
  DELETE ADJACENT DUPLICATES FROM LT_NUM COMPARING TICK_NO.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
   EXPORTING
*   DDIC_STRUCTURE         = ' '
   RETFIELD               = 'TICK_NO'
*   PVALKEY                = ' '
   DYNPPROG               = SY-REPID
   DYNPNR                 = SY-DYNNR
*  dynprofield            = l_dynprofield
*   STEPL                  = 0
*   WINDOW_TITLE           =
*   VALUE                  = ' '
   VALUE_ORG              = C
*   MULTIPLE_CHOICE        = ' '
*   DISPLAY                = ' '
*   CALLBACK_PROGRAM       = ' '
*   CALLBACK_FORM          = ' '
*   MARK_TAB               =
* IMPORTING
*   USER_RESET             =
   TABLES
   VALUE_TAB              = LT_NUM
*   FIELD_TAB              =
   RETURN_TAB             = I_RETURN_TAB
*   DYNPFLD_MAPPING        =
  EXCEPTIONS
    PARAMETER_ERROR        = 1
    NO_VALUES_FOUND        = 2
    OTHERS                 = 3.
  IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ELSE.
    LOOP AT I_RETURN_TAB INTO WA_RETURN.
      P_NUM = WA_RETURN-FIELDVAL.
    ENDLOOP.
    CLEAR:LT_NUM.
  ENDIF.
ENDFORM.                    " F4_HELP_FOR_P_NUM
This program output:
but i need to this type of output

Hi Gopi ,
Change the order of appending wa_fldcat to lt_fldcat .Also pass the values to COL_POS in single quotes .
append in this order :
WA_FLDCAT-FIELDNAME = 'TICK_NO'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'TICKET NO'.
  WA_FLDCAT-SELTEXT_M = 'TICKET NO'.
  WA_FLDCAT-SELTEXT_S = 'TICKET NO'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = '1'.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'SNO'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_ITEM'.
  WA_FLDCAT-SELTEXT_L = 'SERIAL NUMBER'.
  WA_FLDCAT-SELTEXT_M = 'SNO'.
  WA_FLDCAT-SELTEXT_S = 'SNO'.
  WA_FLDCAT-OUTPUTLEN = 5.
  WA_FLDCAT-COL_POS   = '2' .
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'FISRT_WT'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'FIRST WEIGHT'.
  WA_FLDCAT-SELTEXT_M = 'FIRST WEIGHT'.
  WA_FLDCAT-SELTEXT_S = 'FIRST WEIGHT'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = '3'.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'SECOND_WT'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'SECOND WEIGHT'.
  WA_FLDCAT-SELTEXT_M = 'SECOND WEIGHT'.
  WA_FLDCAT-SELTEXT_S = 'SECOND WEIGHT'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = '4'.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'NET_WEIGHT'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'NET_WEIGHT'.
  WA_FLDCAT-SELTEXT_M = 'NET_WEIGHT'.
  WA_FLDCAT-SELTEXT_S = 'NET_WEIGHT'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   =  '5'.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'F_DATE'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'FIRST DADE'.
  WA_FLDCAT-SELTEXT_M = 'FIRST DADE'.
  WA_FLDCAT-SELTEXT_S = 'FIRST DADE'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = '6'.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.
  WA_FLDCAT-FIELDNAME = 'SEC_DATE'.
  WA_FLDCAT-TABNAME = 'ZWEIGHT_HEADER'.
  WA_FLDCAT-SELTEXT_L = 'SECOND DATE'.
  WA_FLDCAT-SELTEXT_M = 'SECOND DATE'.
  WA_FLDCAT-SELTEXT_S = 'SECOND DATE'.
  WA_FLDCAT-OUTPUTLEN = 15.
  WA_FLDCAT-COL_POS   = 7.
  APPEND WA_FLDCAT TO LT_FLDCAT.
  CLEAR WA_FLDCAT.

Similar Messages

  • Idoc-xi-file scenario.  how to display file in html format

    I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
    In idoc-xi-file scenario.......  how to display file in html format ??
    Thanks in advance
    Kumar

    Hi Vijayakumar,
    Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
    Regards
    Kumar

  • In sap scripts how to display the driver program

    Hi,
        I Want to know the sap scripts How to display the output to driver program

    Hi,
    Go to NACE Transaction.
    Select application for ex: if sales V1.
    Click on output types.
    Select the output type for ex : BA00
    Double click on Processing routines.
    There you can find the Driver Program name and Script/smart form name.
    Reward if useful.
    Thanks,
    Raju

  • How to display username in RTF BI publisher report?

    Please advice how to display username in RTF BI publisher report?
    May be this can be done via hidden parameter of BIP report which default value will be set up with macro like {$username$} (or smth like)?
    Thanks in advance!

    Thanks. That worked. I was trying to get it as part of a multi-table query, aliasing dual. But that doesn't work in SQL Plus either so I guess I can't do that.
    I was trying
    select o.*, d.:xdo_user_name
    from oblix_audit_events o, dual d
    Before that I was trying
    select
    :xdo_user_name as USER_ID,
    :xdo_user_roles as USER_ROLES,
    :xdo_user_report_oracle_lang as REPORT_LANGUAGE,
    :xdo_user_report_locale as REPORT_LOCALE,
    :xdo_user_ui_oracle_lang as UI_LANGUAGE,
    :xdo_user_ui_locale as UI_LOCALE
    from dual
    but I must have fat fingered something because that works now too. Thanks.
    So if I need to do this in it's own query and I'm using an RTF template, how do I make that work?
    If I have to do it with it's own

  • How to display and edit the clob datatype column from Data base

    Hi ,
    I have a requiremsnt as below
    1) One Table having some columns with CLOB data type along with varchar columns
    2) need to display the data from DB in search screen and need to be edited clob column in edit screen
    I created EO and VO with that Table and how to display the clob value into the input box for editing.
    using Jdev 11.1.1.5.0 version.
    Can you please help on this.
    THanks & REgards,
    Madhu

    Hi,
    If you are using an inputText component to display a Character Large Object (CLOB), then you will need to create a custom converter that converts the CLOB to a String.
    For custom convertor refer below link,
    http://docs.oracle.com/cd/E2438201/web.1112/e16181/af_validate.htm#BABGIEDH
    (section7.4 Creating Custom JSF Converters)
    Thanks,
    Santosh M E

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • How to Display Excel Report in Client machine  in Forms11g

    Hi All,
    we are running database in Linux server and separate Linux Application Server , But my question is how to display the data to Excel Report in the Client machine
    in Forms11g applications.
    Plesase suggest any method.
    Regards
    Venkatesulu Gunisetty

    You should use webutils.
    For proper answer, place ur request here in oracle Forms Thread,
    Forms

  • Please Help::How to display a Map with LIsts as Keys and Values using JSTL

    Hi,
    I need some assistance on how to display a Map in JSP using struts or core JSTL. I have a HashMap which has a List of keys and each key maps to a value of an ArrayList.i.e I have an ArrayList of taxCodes and each taxCode maps to a value of taxDetails which is an ArrayList of details for for that particular taxCode. I have some trouble to display each taxCode then display taxDetails for each taxCode. Here is my code below:
    OrderDetails.java
    package orderitems;
    import java.sql.*;
    import java.util.*;
    public class OrderDetails {
        private LineOder lineOrder;
        private Map lineItems;
        //returns an item number, key_item, from its unique keys
        public int getItemNumber(int key_item, String key_year,
                String key_office,String key_client,String key_company){
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            int itmNum = 0;
             * key_item a unique number for an item.
             * key_year,key_office,key_client,key_company unique keys
             * for each order where this key_item is taken
             * from.
            String select = "SELECT key_item FROM "+
                    Constants.WEB_TABLE +" WHERE key_item = " + key_item +
                    " AND key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company +"'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                if(rst.next()){
                    itmNum = Integer.parseInt(rst.getString("key_item"));
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itmNum;
        //get a list of item number(item codes)
        public List getAllItemNumbers(String key_year,
                String key_office,String key_client,String key_company){
            List itemNumbers = new ArrayList();
            LineItem itemNumber = null;
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            String select = "SELECT key_item FROM "+ Constants.WEB_TABLE +
                    " WHERE key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company + "'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    itemNumber = new LineItem();
                    itemNumber.setKey_item(Integer.parseInt(rst.getString("key_item")));
                    itemNumbers.add(itemNumber);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itemNumbers;
        //get a list of tax codes
        public List getAllTaxCodes(int key_item, String key_year,
                String key_office,String key_client,String key_company){
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            ItemTax taxCode;
            List taxCodes = new ArrayList();
            int itemNum = getItemNumber(key_item, key_year,
                    key_office,key_client,key_company);
            String select = "SELECT key_tax_code FROM "+
                    Constants.WEB_TABLE +" WHERE key_item = " + itemNum +
                    " AND key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company +"'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    taxCode = new ItemTax();
                    taxCode.setKey_tax_code(rst.getString("key_tax_code"));
                    taxCodes.add(taxCode);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return taxCodes;
        /////This methode returns a Map which am trying to display in JSP
        //use tax code to get tax details
        public Map getItemTaxDetails(String key_year,String key_office,
                String key_client,String key_company,int key_item){
            ItemTax taxDetail = null;
            List taxDetails = new ArrayList();
            List itemTaxCodes = new ArrayList();
            Map itemTaxDetails = new HashMap();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //get a list of all tax codes of an item with a
            //given item number
            itemTaxCodes = getAllTaxCodes(key_item,key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator taxCodeIter= itemTaxCodes.iterator(); taxCodeIter.hasNext();){
                    ItemTax itemTaxCode = (ItemTax)taxCodeIter.next();
                    String taxCode = itemTaxCode.getKey_tax_code();
                    String select = "SELECT tax_type,tax_value," +
                            "tax_limit_val FROM "+ Constants.WEB_TABLE +
                            " WHERE key_item = "+ key_item +
                            " AND key_year = '" + key_year + "'" +
                            " AND key_office = '" + key_office + "'" +
                            " AND key_client = '" + key_client + "'" +
                            " AND key_company = '" + key_company +"'" +
                            " AND key_tax_code = '" + taxCode + "'";
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        taxDetail = new ItemTax();
                        //records to be displayed only
                        taxDetail.setKey_item(Integer.parseInt(rst.getString("key_item")));
                        taxDetail.setTax_value(rst.getString("tax_value"));
                        taxDetail.setTax_limit_val(Float.parseFloat(rst.getString("tax_limit_val")));
                        //////other details records ommited//////////////////////////
                        taxDetails.add(taxDetail);////An ArrayList of taxDetails for each taxCode
                     * A HashMap which has all taxCodes of an item as its keys
                     * and an ArrayList of taxdetails as its values.
                     * I return this for display in a JSP.
                    itemTaxDetails.put(taxCode,taxDetails);
                System.out.println();
                System.out.println("*********CONSOLE OUTPUT*************");//display on console
                Set set = itemTaxDetails.keySet();
                Iterator iter = set.iterator();
                System.out.println("Key\t\tValue\r\n");
                while (iter.hasNext()) {
                    Object taxCode=iter.next();
                    Object details=itemTaxDetails.get(taxCode);
                    System.out.println(taxCode +"\t" + details);
                System.out.println("************************************");
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itemTaxDetails;
        //details of an item with all its taxes
        public List getAllItemDetails(String key_year,
                String key_office,String key_client,String key_company){
            List lineItems = new ArrayList();
            List itemNumbers = new ArrayList();
            Map taxDetails = new HashMap();
            LineItem item = null;
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //A list of all item numbers in the declaration
            itemNumbers = getAllItemNumbers(key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator itemIter= itemNumbers.iterator(); itemIter.hasNext();){
                    LineItem itemNum = (LineItem)itemIter.next();
                    int itemNumber = itemNum.getKey_item();
                    String select = "SELECT item_description,item_mass," +
                            "item_cost" +
                            " FROM " + Constants.WEB_TABLE +
                            " WHERE key_year = '"+key_year+"'" +
                            " AND key_office = '"+key_office+ "'"+
                            " AND key_client = '"+key_client+ "'"+
                            " AND key_company = '"+key_company+ "'"+
                            " AND key_item = " + itemNumber;
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        item = new LineItem();
                        item.setItem_description(rst.getString("item_description"));
                        item.setItem_mass(Float.parseFloat(rst.getString("item_mass")));
                        item.setKey_item(Integer.parseInt(rst.getString("item_cost")));
                        //////other details records ommited//////////////////////////
                        /* A HashMap of all itemTaxeCodes as its keys and an
                         * ArrayList of itemTaxedetails as its values
                        taxDetails = getItemTaxDetails(item.getKey_year(),item.getKey_office(),
                                item.getKey_client(),item.getKey_company(),item.getKey_item());
                        //item tax details
                        item.setItmTaxes(taxDetails);
                        //list of items with tax details
                        lineItems.add(item);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return lineItems;
        public Set getOrders(String key_year,String key_office,
                String key_client,String key_company){
            List lineItems = new ArrayList();
            Set lineOrders = new HashSet();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            LineOder lineOrder = null;
            String select = "SELECT * FROM " + Constants.WEB_TABLE +
                    " WHERE key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company + "'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    lineOrder = new LineOder();
                    lineOrder.setKey_year(rst.getString("key_year"));
                    lineOrder.setKey_office(rst.getString("key_office"));
                    lineOrder.setKey_client(rst.getString("key_client"));
                    lineOrder.setKey_company(rst.getString("key_company"));
                    ////list of items with all their details
                    lineItems = getAllItemDetails(lineOrder.getKey_year(),lineOrder.getKey_office(),
                            lineOrder.getKey_client(),lineOrder.getKey_company());
                    //setting item details
                    lineOrder.setItems(lineItems);
                    //a list of order with all details
                    lineOrders.add(lineOrder);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return lineOrders;
    Controller.java
    package orderitems;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Controller extends HttpServlet {
        private Map taxDetails = new HashMap();
        private OrderDetails orderDetails = null;
        protected void processRequest(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            String key_year = "2007";
            String key_office = "VZX00";
            String key_company = "DG20";
            String key_client =  "ZI001";
            int key_item = 1;
            String nextView = "/taxdetails_list.jsp";
            orderDetails = new OrderDetails();
            taxDetails = orderDetails.getItemTaxDetails(key_year,key_office,
                    key_company,key_client,key_item);
            //Store the collection objects into HTTP Request
            request.setAttribute("taxDetails", taxDetails);
            RequestDispatcher reqstDisp =
                    getServletContext().getRequestDispatcher(nextView);
            reqstDisp.forward(request,response);
        protected void doGet(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            processRequest(request, response);
        protected void doPost(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            processRequest(request, response);
    taxdetails_list.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <title>Simple Tax Detail Diaplay ::</title>
            <link rel="stylesheet" type="text/css" href="imgs/orders.css"/>
        </head>
        <body>
            <jsp:useBean id="taxDetails" class="java.util.HashMap" scope="request"/>
            <table>
                <c:forEach items="${taxDetails}" var="hMap">
                    <tr>
                        <td><c:out value="${hMap.key}" /></td>
                        <!--td><%--c:out value="${hMap.value}" /--%></td-->
                    </tr>
                </c:forEach>
            </table>
        </body>
    </html>am displaying taxCodes(in this case i have VAT and ICD) fine but cant figure out how to display a list of value for each taxCode.Here is the output am getting
    both in my JSP and on the console:
    *******************************CONSOLE OUTPUT****************************
    Key          Value
    ICD     [orderItems.ItemTax@13e6226, orderItems.ItemTax@9dca26]
    VAT [orderItems.ItemTax@13e6226, orderItems.ItemTax@9dca26]
    Edited by: aiEx on Oct 8, 2007 6:54 AM

    hi evnafets,
    yes i need a nested for loop.I have tried your advice but my bean properties are not found.Am getting this error:
    javax.servlet.ServletException: Unable to find a value for "key_item" in object of class "java.lang.String" using operator "."
    I have tried this as stated earlier in the post:I have tried to make the method getItemTaxDetails return a List and get the returned list value as taxDetails. I then tested to display this list on JSP and its displaying fine.
    public List getItemTaxDetails(String key_year,String key_office,
                String key_client,String key_company,int key_item){
            ItemTax taxDetail = null;
            List taxDetails = new ArrayList();
            List itemTaxCodes = new ArrayList();
            Map itemTaxDetails = new HashMap();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //get a list of all tax codes of an item with a
            //given item number
            itemTaxCodes = getAllTaxCodes(key_item,key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator taxCodeIter= itemTaxCodes.iterator(); taxCodeIter.hasNext();){
                    ItemTax itemTaxCode = (ItemTax)taxCodeIter.next();
                    String taxCode = itemTaxCode.getKey_tax_code();
                    String select = "SELECT tax_type,tax_value," +
                            "tax_limit_val FROM "+ Constants.WEB_TABLE +
                            " WHERE key_item = "+ key_item +
                            " AND key_year = '" + key_year + "'" +
                            " AND key_office = '" + key_office + "'" +
                            " AND key_client = '" + key_client + "'" +
                            " AND key_company = '" + key_company +"'" +
                            " AND key_tax_code = '" + taxCode + "'";
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        taxDetail = new ItemTax();
                        //records to be displayed only
                        taxDetail.setKey_item(Integer.parseInt(rst.getString("key_item")));
                        taxDetail.setTax_value(rst.getString("tax_value"));
                        taxDetail.setTax_limit_val(Float.parseFloat(rst.getString("tax_limit_val")));
                        //////other details records ommited//////////////////////////
                        taxDetails.add(taxDetail);////An ArrayList of taxDetails for each taxCode
                     * A HashMap which has all taxCodes of an item as its keys
                     * and an ArrayList of taxdetails as its values.
                     * I return this for display in a JSP.
                    itemTaxDetails.put(taxCode,taxDetails);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            //return itemTaxDetails;
            return taxDetails;
        }And my JSP
    taxdetails_list.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="stylesheet" type="text/css" href="imgs/orders.css"/>
        </head>
        <body>
            <table>
                <c:forEach var="curRecord" items="${taxDetails}" varStatus="rowCounter">
                        <c:choose>
                            <c:when test="${rowCounter.count % 2 == 0}">
                                <c:set var="rowStyle" scope="page" value="odd" />
                            </c:when>
                            <c:otherwise>
                                <c:set var="rowStyle" scope="page" value="even" />
                            </c:otherwise>
                        </c:choose>
                        <tr class="${rowStyle}">
                            <td>${curRecord.key_item}</td>
                            <td>${curRecord.tax_value}</td>
                            <td>${curRecord.tax_limit_val}</td>
                        </tr>
                    </c:forEach>
            </table>
        </body>
    </html>I can't see where am going wrong even with your advice.Please help.
    Thnx.

  • How to display total in ALV Header

    How to display total in ALV Header?

    Hi Venkey,
    As far as your issue is concerned I would like to quote my perception.
    Create a header internal table with title and number of records.
    At the later part of your program you should have found the total number of records ,now assign it to the header internal table and print it.
    For further clarification you can go check this link:
    http://wiki.sdn.sap.com/wiki/display/ABAP/AddHeadertoALVreport
    Thanks
    P.Srikanth

  • How to display database items

    can anyone tell me how to display the selected contents of
    the database by using a variable from my form field(like text box
    )

    Hello Guys!
    Sorry forever to get back. Going to throw this up here quick
    so I dont time out, but if you need further help post back and I
    will help with specific questions.
    Using the City, State example. This operation is two fold.
    (a) the search page, and (b) the results page.
    (a) On your search page you would have two fields. City and
    State. Make sure your table that holds these fields are containted
    within a form tag. (Insert > Form > Form). Also make sure
    your textfields have names. You can click on the textfield to
    highlight in design view and change the name from 'textfield' and
    'textfield1' to 'city' and 'state'..
    Highlight the form tag and in the properties panel where it
    says "action" insert the URL/file of your results page. This is the
    page that is actually going to display the information, then save
    your work.
    (b) Open up your results page, and in the bindings panel
    click the "+" then select query. In the 'simple' window name your
    recordset (example: rsStores) select your connection, then select
    the table you desire to display results from. From this window you
    can also choose a field to use as an order by. Do not use the
    filter!
    With this done and 'without' saving yet, click on the
    "advanced" tab. You should now see and a simple statement in the
    window that looks something like:
    SELECT *
    FROM Stores (The name 'Stores' will actually be replaced with
    your table name)
    Below the statement you will see 'parameters' with a + and -.
    Hit the plus to add a parameter. For name use varState, for Type
    use text, for Value use Request("State") and for default value use
    zero. Replicate the process for varCity using Request("City") for
    the value. (The requests are the same names as the names you used
    to name your fields in the search form). Now go up to the original
    statement and edit it to look like this:
    SELECT *
    FROM Stores WHERE yourfieldname = varState AND WHERE
    yourfieldname = varCity
    Replace 'yourfieldname' with the actual field name holding
    the values. Keep EVERYTHING case sensitive. Testing in design view
    will not work because there are no values yet passed. So click ok,
    save the page and upload them to server. Test by going to the
    search page and submitting the search form.
    Hope that helps..!!

  • How to display Opening Balance/Closing Balance in Genral Ledger PLD

    Hi all,
    How to display Opening Balance
    in General Ledger
    PLD
    (OB is already displayed in
    header of print report)
    on first page only?
    How to display Closing  Balance
    in General Ledger
    PLD
    (CB is already displayed in
    footer of print report)
    on Last page only?
    Thanks,
    With regards,
    Jeyakanthan.

    Hi,
    If you open General Ledger Report and after selecting customer code you will see the Print Preview. On that time, one window opens and asks you to select any one from two options.
    Option 1 : Book of Accounts
    Option 2 : Subsidiary Account
    In both the Options, PLD has Opening Balance in Repetitive Area Header and Closing Balance in Repetitive Area Footer. So, it will when Report grows more than one page and if you want to see both the Opening Balance and Closing Balance in all the pages then you should Tick the Check Box "Display Repetitive Area Footer on all Pages" . So that you can view OB and CB in all the pages.
    Raja.S

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    Take a look at this document that discusses how to monitor IMAQ memory usage:
    http://digital.ni.com/public.nsf/websearch/8C6E405861C60DE786256DB400755957
    Hope this helps -
    Julie

  • How to display subtotals in separate column in alv report?

    hi,
    I am displayed the subtotals  for QUantity field BDMNG in Reuse_alv_grid_display  in the same column.
    but I want to display subtotal in separate column.
    How to display subtotals in separate column in alv report?
    thanks&regards.
    samba.k

    Hi
    As far as i know you can't do this,the option you have is to create one more column (subtotal) and populate it by manual calculation at every subtotal (not alv subtotal but yours) .
    Best Regards
    Yossi

  • How to display the sort value in the selection screen in the report title

    Dear All,
    How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
    Good day,
    Thanks and regards
    Arun S

    Hi Arun,
    Try this.
    1, Set one dynamic parameter,
    2, Drag and drop that parameter into  your report title.
    3, Pass the value(sort value) dynamically from your application,
    4, Cheers..
    Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then  set the data source from CR designer. and darg and drop that data column into the report.
    Hope this will work,
    Regards,
    Salah
    Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM

  • How to display the header data on different position in alv report

    hi all,
    how to display the header data on different position in alv report.
    for example ,
    customer                                                   name
      xxxx                                                         xxxx
                     vendor        name     street 
                      xxxx         xxxx      xxxxx
    pls   help me .

    hi
    as per my understanding you need to trnasfer header internal table data  to pdf..
    please check the following links for internal table to pdf..
    Convertion of Internal table data to PDF
    This link is related to ur issue
    Re: how to insert the calling of the FM: OTF to PDF
    Thanks

  • OBIEE:How to display row/columns where no data is present in pivot results?

    I have a request from some team members to provide an OBIEE report of 7 teams and the number of open incidents for each team by week.
    I was able to create the pivot listing the teams vertically and the age (by week#: 1 week, 2 weeks, 3 weeks, 4 weeks & > 4weeks) horizontally.
    The dilemma I have is that of the 7 teams that have incidents tickets only 4 of them have data, thus only those 4 teams that have ticket data show up in my pivot. I would like to be able to reflect ALL 7 teams even if representing a dash or null value across the pivot for those teams that don't have data.
    Does anyone know if this is possible and if so, how would I do this? I've tried searching the internet and found out how to replace a null value with a dash in columns/rows when a cell is null. But not how to display an entire row (or column) where no data is present.
    Edited by: coutya on May 22, 2012 11:01 AM
    Edited by: coutya on May 22, 2012 11:02 AM

    You are correct; if there are no data at all, those teams won't show in a pivot table. NULLs or dashes only work if a particular column is null. There are two ways to accomplish what you wish. The first example I thought when I wasn't aware of being able to do a LEFT OUTER JOIN in Answers using the Advanced tab. The first method works nicely, though and is simpler to execute.
    Read my solution here:
    Re: Section Values showing NULL in Pivot
    To do the LEFT OUTER JOIN read this:
    http://gerardnico.com/wiki/dat/obiee/multiple_subject_area
    Both will get you what you want...

Maybe you are looking for

  • Ipod touch is stuck on connect to iTunes screen and won't restore settings.

    So, I'll start from the beginning. I wanted to update my twitter app, so i installed it but it took ages and so i pressed the home button and the top button at the same time. Then the apple logo appeared for over 30 minutes. The screen then went whit

  • Printer Default to Photo Tray

    Hello all, I am trying to change my printer's default settings. I need to change the default paper size from "US Letter" to 4x6. It is a HP Printer. I am printing files via Applescript. An applescript command or just a way to change the default setti

  • Mail button in dock

    Mail button is stuck. Wont launch ...... pinwheel spins and spins ..... any suggestions

  • Users using server with netinfo database security. Better/Worse than Ldap?

    Hello, I have a small department of Mac users and I am in the process of setting them up to access a new Mac os/x 10.4 server. I created the accounts for the users in the local netinfo database with access rights granted to network shares via groups.

  • Can Sun Webserver 7.0 be managed through JMX instead of CLI / GUI?

    Hi, I've recently got the new book on Sun Webserver 7.0 and something piqued my interest; the fact that both the CLI and the GUI use JMX to manage the underlying software. Having used JMX before to manage servers and looking to integrate Sun Webserve