Alv : drill down not working.

Hi All,
Could you please tell me whats wrong with this code ? its not drilling down to show 'ebeln' with me22n.  Am I missing something ?
Please help.
Hrishi
code is :-
REPORT  Z_VENDOR_BACKORDER_REPORT_ALV .
TABLES:  EKKO, LFA1, MAKT, EKET, EKPO, AFPO, MARC.
*Data Declaration
DATA:  BEGIN OF ITAB OCCURS 0 ,
        ebeln       LIKE ekko-ebeln  ,  " PO number
        aedat       LIKE ekko-aedat  ,  " creation date
        ebelp       LIKE ekpo-ebelp  ,  " item no
        lifnr       LIKE ekko-lifnr  ,  " vendor number
        name1       LIKE lfa1-name1  ,  " vendor name
        RESWK       LIKE EKKO-RESWK  ,  " PLANT NO
        MEMORY      LIKE EKKO-MEMORY , " ORDER INCOMPLETE
        matnr       LIKE ekpo-matnr  ,  " material number
        werks       like ekpo-werks  ,  " plant
        txz01       LIKE ekpo-txz01  ,  " material description
        eindt       LIKE eket-eindt  ,  " Promised date
        menge       LIKE eket-menge  ,  " quantity
        wemng       LIKE eket-wemng  ,  " delivered quantity
        netpr       like ekpo-netpr  ,  " value in AUD
        peinh       like ekpo-peinh  ,  " price unit
        banfn       like ekpo-banfn  ,  " PR no
        aufnr       like ebkn-aufnr  ,  " Production order no
        MAABC       LIKE MARC-MAABC  ,  " MATERIAL ABC Indicator
        maktx       like makt-maktx  ,  " material long description
        open_quant  type p decimals 2,  " quantity - delivered
        VALUE       TYPE p decimals 2,  " $ VALUE * OPEN QUANTITY
        end of ITAB.
data: wa like itab.
DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
DATA: TEMP TYPE EKKO-LIFNR.
data: opt like CTU_PARAMS.
*DATA:  WA TYPE FINAL.
all ALV declarations
type-pools: slis.                                 "ALV Declarations
DATA:   fieldcatalog        TYPE slis_t_fieldcat_alv with header line,
        G_REPID             TYPE SY-REPID,
        GS_PRINT            TYPE SLIS_PRINT_ALV,
        GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
        GT_EVENTS           TYPE SLIS_T_EVENT,
        GT_SORT             TYPE SLIS_T_SORTINFO_ALV,
        GS_LAYOUT           TYPE SLIS_LAYOUT_ALV,
        COL_POS TYPE I.
-----------------SELECTION SCREEN----------------------
  selection-screen begin of block b1 with frame title text-001.
  select-options VENDORNO for ekko-lifnr.
  select-options MATERIAL for ekpo-matnr.
  SELECT-OPTIONS PLANT FOR EKKO-RESWK.
  select-options REQDAT for eket-eindt.
  selection-screen end of block b1.
*................... GET DATA..................
START-OF-SELECTION.
PERFORM GATHER_DATA.
END-OF-SELECTION.
FORM USER_COMMAND USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'.
CASE  rs_selfield-sel_tab_field.
WHEN 'ITAB-EBELN'.
CHECK NOT rs_selfield-value IS INITIAL.
SET PARAMETER ID 'BUS' FIELD rs_selfield-value.
CALL TRANSACTION 'ME22N' AND SKIP FIRST SCREEN.
Do something at 'Sales document type' field selection
when 'ITAB-MATNR'.
SET PARAMETER ID 'BUS' FIELD rs_selfield-value.
CALL TRANSACTION 'MD04' AND SKIP FIRST SCREEN.
ENDCASE.
ENDCASE.
ENDFORM.
form gather_data.
SELECT EKKO~EBELN
       EKKO~AEDAT
       EKKO~LIFNR
      EKKO~MEMORY
      EKKO~RESWK
       EKPO~EBELP
       EKPO~MATNR
       ekpo~werks
       ekpo~netpr
       ekpo~peinh
       ekpo~banfn
       ekpo~txz01
      makt~maktx
       EKET~EINDT
       EKET~MENGE
       EKET~WEMNG
       LFA1~NAME1
INTO corresponding fields of ITAB
FROM (
EKKO inner JOIN EKPO
ON EKKOEBELN = EKPOEBELN
inner JOIN EKET
ON EKPOEBELN = EKETEBELN
AND EKPOEBELP = EKETEBELP
inner JOIN LFA1
ON EKKOLIFNR = LFA1LIFNR
*left outer join makt
*on ekpomatnr = maktmatnr
WHERE EKKO~LIFNR IN VENDORNO
AND EKKO~RESWK IN PLANT
and EKPO~MATNR IN MATERIAL
and ekpo~elikz eq ' '
and ekpo~loekz ne 'L'
and eket~eindt in REQDAT.
append itab.
CLEAR ITAB.
endselect.
clear temp.
sort itab by lifnr.
loop at itab .
ITAB-OPEN_QUANT = ITAB-MENGE - ITAB-WEMNG.
if itab-matnr eq ''.
select single aufnr from ebkn into itab-aufnr where banfn = itab-banfn.
  select single matnr from afpo into itab-matnr where aufnr = itab-aufnr.
endif.
select single maktx from makt into itab-maktx where matnr = itab-matnr.
select single maabc from MARC INTO ITAB-MAABC WHERE MATNR = ITAB-MATNR.
ITAB-VALUE = ITAB-NETPR * ITAB-OPEN_QUANT / itab-peinh.
modify itab.
endloop.
SKIP.
  fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'LIFNR'.
  fieldcatalog-seltext_m   = 'vendor no'.
  fieldcatalog-col_pos     = 1.
  fieldcatalog-outputlen   = 15.
   fieldcatalog-inttype = 'C'.
  fieldcatalog-emphasize   = 'X'.
  fieldcatalog-key         = 'X'.
fieldcatalog-do_sum      = 'X'.
  fieldcatalog-no_zero     = 'X'.
  append fieldcatalog to fieldcatalog.
    clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'EBELN'.
  fieldcatalog-seltext_m   = 'po Number'.
  fieldcatalog-col_pos     = 2.
   fieldcatalog-inttype = 'C'.
   fieldcatalog-emphasize = 'C401'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'AEDAT'.
  fieldcatalog-seltext_m   = 'po date'.
  fieldcatalog-col_pos     = 3.
   fieldcatalog-inttype = 'C'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
fieldcatalog-fieldname   = 'EBELP'.
  fieldcatalog-seltext_m   = 'item number'.
  fieldcatalog-col_pos     = 4.
   fieldcatalog-inttype = 'C'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'MATNR'.
   fieldcatalog-no_zero     = 'X'.
  fieldcatalog-seltext_m   = 'material number'.
  fieldcatalog-col_pos     = 5.
   fieldcatalog-inttype = 'C'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'MAABC'.
  fieldcatalog-seltext_m   = 'material type'.
  fieldcatalog-col_pos     = 6.
   fieldcatalog-inttype = 'C'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'TXZ01'.
  fieldcatalog-seltext_m   = 'short text'.
  fieldcatalog-col_pos     = 7.
   fieldcatalog-inttype = 'C'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'MAKTX'.
  fieldcatalog-seltext_m   = 'long text'.
  fieldcatalog-col_pos     = 8.
   fieldcatalog-inttype = 'C'.
   fieldcatalog-outputlen   = 15.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
fieldcatalog-fieldname   = 'EINDT'.
  fieldcatalog-seltext_m   = 'date promised'.
  fieldcatalog-col_pos     = 9.
   fieldcatalog-inttype = 'C'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'MENGE'.
  fieldcatalog-seltext_m   = 'Quantity'.
  fieldcatalog-col_pos     = 10.
   fieldcatalog-inttype = 'C'.
  fieldcatalog-outputlen   = 15.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'WEMNG'.
  fieldcatalog-seltext_m   = 'Delivered'.
  fieldcatalog-col_pos     = 11.
   fieldcatalog-inttype = 'C'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
  fieldcatalog-fieldname   = 'OPEN_QUANT'.
  fieldcatalog-seltext_m   = 'Open quantity'.
  fieldcatalog-col_pos     = 12.
   fieldcatalog-inttype = 'C'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
fieldcatalog-tabname = 'ITAB'.
fieldcatalog-fieldname   = 'VALUE'.
  fieldcatalog-seltext_m   = '$ value'.
  fieldcatalog-col_pos     = 13.
   fieldcatalog-inttype = 'C'.
   fieldcatalog-do_sum      = 'X'.
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.
call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
            i_callback_program      = g_repid
             I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
            it_fieldcat             = fieldcatalog[]
            is_layout               = GS_layout
              IT_SORT                = gt_sort
              I_DEFAULT = 'X'
                I_SAVE = 'X'
           is_variant              = z_template
       tables
            t_outtab                = ITAB
            exceptions
            program_error           = 1
            others                  = 2.
endform.

hi,
please run the code below.
REPORT yfi7g_ing_mic_001 .
*PROGRAM YFI7G_ING_MIC_001.
TABLES: vbak .
TABLES: mara .
TYPES: BEGIN OF tp_vbak ,
      vbeln TYPE vbak-vbeln,
      erdat TYPE vbak-erdat,
      erzet TYPE vbak-erzet,
      ernam TYPE vbak-ernam,
      vbtyp TYPE vbak-vbtyp,
      trvog TYPE vbak-trvog,
      auart TYPE vbak-auart,
      lifsk TYPE vbak-lifsk,
      faksk TYPE vbak-faksk,
      waerk TYPE vbak-waerk,
      vkorg TYPE vbak-vkorg,
      kunnr TYPE vbak-kunnr,
      vgbel TYPE vbak-vgbel,
      vgtyp TYPE vbak-vgtyp,
END OF tp_vbak .
TYPES: BEGIN OF tp_mara ,
        matnr TYPE mara-matnr,
END OF tp_mara .
TYPES: BEGIN OF tp_alv1_data.
INCLUDE TYPE tp_vbak .
TYPES: END OF tp_alv1_data.
TYPES: BEGIN OF tp_alv2_data.
INCLUDE TYPE tp_mara .
TYPES: END OF tp_alv2_data.
TYPE-POOLS: slis.
DATA: gt_vbak TYPE STANDARD TABLE OF tp_vbak WITH HEADER LINE.
DATA: gt_mara TYPE STANDARD TABLE OF tp_mara WITH HEADER LINE.
DATA: gs_variant LIKE disvariant.
DATA: gt_alv1_data TYPE STANDARD TABLE OF tp_alv1_data WITH HEADER LINE.
DATA: gt_alv2_data TYPE STANDARD TABLE OF tp_alv2_data WITH HEADER LINE.
SELECTION-SCREEN                                                     *
BLOCK b0                                                             *
SELECTION-SCREEN BEGIN OF BLOCK b0 WITH FRAME.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.        "<field not defined?>
PARAMETERS: p_matnr LIKE mara-matnr.           "<field not defined?>
SELECTION-SCREEN END OF BLOCK b0.
BLOCK bvar                                                           *
SELECTION-SCREEN BEGIN OF BLOCK bvar WITH FRAME.
PARAMETERS: p_vari  LIKE disvariant-variant.
SELECTION-SCREEN END OF BLOCK bvar.
BLOCK bbox                                                           *
SELECTION-SCREEN BEGIN OF BLOCK bbox WITH FRAME.
PARAMETERS: p_box_up  RADIOBUTTON GROUP b1,
            p_box_do  RADIOBUTTON GROUP b1 DEFAULT 'X',
            p_box_no  RADIOBUTTON GROUP b1.
SELECTION-SCREEN END OF BLOCK bbox.
      AT SELECTION-SCREEN ON P_VARI                                 *
AT SELECTION-SCREEN ON p_vari.
  PERFORM alv_variant_existence USING    p_vari
                                CHANGING gs_variant.
      AT SELECTION-SCREEN ON VALUE REQUEST FOR P_VARI               *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
  PERFORM alv_variant_f4 CHANGING p_vari
                                  gs_variant.
INITIALIZATION                                                       *
INITIALIZATION.
START-OF-SELECTION                                                   *
START-OF-SELECTION.
  PERFORM authority_check.
  PERFORM get_control_data.
  PERFORM get_transaction_data.
  PERFORM process_transaction_data.
END-OF-SELECTION                                                     *
END-OF-SELECTION.
  PERFORM output_data.
F   O   R   M   S                                                   *
      FORM AUTHORITY_CHECK                                          *
      Perform authority checks for the report                       *
FORM authority_check.
!!! Note: authorisation checks are application-dependent.
!!! Some common cases are listed below - please select one of them
!!! or add new authorisation checks.
!!! If the report is creating batch input session or using LDB
!!! it may be sufficient to use automatic SAP auth.checks.
Authorisation for displaying documents in a single company code
authority-check object 'F_BKPF_BUK'
       id 'BUKRS' field p_bukrs
       id 'ACTVT' field '03'.
if sy-subrc <> 0.
  message e001(z9) with 'No authorisation to display documents'
                        'in company code' p_bukrs.
endif.
Displaying documents from a list of company codes (select-options)
call function 'Y_BUKRS_AUTHORITY_CHECK'
   EXPORTING
        ACTVT     = '03'
        NOMESSAGE = ' '
   tables
        s_bukrs   = s_bukrs.
ENDFORM.                              " AUTHORITY_CHECK
      FORM GET_CONTROL_DATA                                         *
      Read configuration etc.                                       *
FORM get_control_data.
ENDFORM.                               " GET_CONTROL_DATA
      FORM GET_TRANSACTION_DATA                                     *
      Read documents etc.                                           *
FORM get_transaction_data.
!!! Data selection statement below has been generated automatically.
!!! Please check if it is correct and complete.
!!! Use table joins or 'SELECT FOR ALL ENTRIES' when selecting data
!!! from related tables.
  SELECT
            vbeln
            erdat
            erzet
            ernam
   FROM vbak
      INTO CORRESPONDING FIELDS OF TABLE gt_vbak
  CHECK NOT gt_vbak[] IS INITIAL.
  SELECT
            matnr
   FROM mara
      INTO CORRESPONDING FIELDS OF TABLE gt_mara
      FOR ALL ENTRIES IN gt_vbak
      WHERE ernam = gt_vbak-ernam
ENDFORM.                               " GET_TRANSACTION_DATA
      FORM PROCESS_TRANSACTION_DATA                                 *
FORM process_transaction_data.
  LOOP AT gt_vbak .
    MOVE-CORRESPONDING gt_vbak TO gt_alv1_data .
    APPEND gt_alv1_data .
  ENDLOOP.
  FREE gt_vbak .
  LOOP AT gt_mara .
    MOVE-CORRESPONDING gt_mara TO gt_alv2_data .
    APPEND gt_alv2_data .
  ENDLOOP.
  FREE gt_mara .
ENDFORM.                               " PROCESS_TRANSACTION_DATA
      FORM OUTPUT_DATA                                              *
FORM output_data.
  PERFORM alv_list_display.
ENDFORM.                               " OUTPUT_DATA
      FORM DISPLAY_RECORD                                           *
      Display object associated with the current ALV line           *
FORM display_record USING is_selfield TYPE slis_selfield.
  READ TABLE gt_alv1_data INDEX is_selfield-tabindex.
  CHECK sy-subrc = 0.
!!! SAMPLE IMPLEMENTATION FOR DISPLAYING FI DOCUMENTS:
  SET PARAMETER ID 'BUK' FIELD gt_alv1_data-vbeln.
set parameter id 'BLN' field gt_alv1_data-belnr.
set parameter id 'GJR' field gt_alv1_data-gjahr.
  CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
ENDFORM.                               " DISPLAY_RECORD
      FORM ALV_LIST_DISPLAY                                         *
      Invoke main ALV function to format and show the report        *
FORM alv_list_display.
  DATA: ls_layout      TYPE slis_layout_alv,
        ls_print       TYPE slis_print_alv,
        ls_keyinfo     TYPE slis_keyinfo_alv,
        lt_fieldcat    TYPE slis_t_fieldcat_alv,
        lt_exctab      TYPE slis_t_extab,
        lt_sorttab     TYPE slis_t_sortinfo_alv,
        lt_events      TYPE slis_t_event.
  PERFORM alv_init_report_events TABLES   lt_events.
  PERFORM alv_init_report_layout TABLES   lt_fieldcat
                                          lt_exctab
                                          lt_sorttab
                                 CHANGING ls_layout
                                          ls_print
                                          ls_keyinfo.
  CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
      i_interface_check        = ' '
      i_callback_program       = sy-cprog
      is_layout                = ls_layout
      it_fieldcat              = lt_fieldcat
      it_excluding             = lt_exctab
    IT_SPECIAL_GROUPS        =
      it_sort                  = lt_sorttab
    IT_FILTER                =
    IS_SEL_HIDE              =
    I_SCREEN_START_COLUMN    = 0
    I_SCREEN_START_LINE      = 0
    I_SCREEN_END_COLUMN      = 0
    I_SCREEN_END_LINE        = 0
    I_DEFAULT                = 'X'
      i_save                   = 'A'
      is_variant               = gs_variant
      it_events                = lt_events
    IT_EVENT_EXIT            =
      i_tabname_header         = 'GT_ALV1_DATA'
      i_tabname_item           = 'GT_ALV2_DATA'
    I_STRUCTURE_NAME_HEADER  =
    I_STRUCTURE_NAME_ITEM    =
      is_keyinfo               =  ls_keyinfo
      is_print                 =  ls_print
    IS_REPREP_ID             =
  IMPORTING
    E_EXIT_CAUSED_BY_CALLER  =
    ES_EXIT_CAUSED_BY_USER   =
    TABLES
      t_outtab_header          = gt_alv1_data
      t_outtab_item            = gt_alv2_data.
  EXCEPTIONS
    PROGRAM_ERROR            = 1
    OTHERS                   = 2
ENDFORM.                           " ALV_LIST_DISPLAY
      FORM ALV_INIT_REPORT_LAYOUT                                   *
      Set up report layout definition for ALV_LIST_DISPLAY          *
<-- OT_FIELDCAT list of fields                                     *
<-- OT_EXCTAB   excluded menu options                              *
<-- OT_SORTTAB  sorting/grouping definition                        *
<-- OS_LAYOUT   global report layout settings                      *
<-- OS_PRINT    global report printout settings                    *
<-- OS_KEYINFO  itab key fields (required only for hier.lists)     *
FORM alv_init_report_layout TABLES ot_fieldcat TYPE slis_t_fieldcat_alv
                                   ot_exctab   TYPE slis_t_extab
                                   ot_sorttab  TYPE slis_t_sortinfo_alv
                          CHANGING cs_layout   TYPE slis_layout_alv
                                   cs_print    TYPE slis_print_alv
                                   cs_keyinfo  TYPE slis_keyinfo_alv.
add menu items to be excluded to ot_exctab.
  REFRESH ot_exctab.
  REFRESH ot_fieldcat.
  REFRESH ot_sorttab.
!!! List all ALV data fields for display here:
DD-struct  = data dictionary structure name
DD-field   = field of data dictionary structure
itab       = internal table for output data
itab-field = internal table field name
key        = set to 'X' if key field
sum        = set to 'X' for totals
hid        = set to 'X' if field is initially hidden
row        = list row number (multi-line list if >1)
DD-struct    DD-field     itab         itab-field  key sum hid row
  PERFORM alv_build_fieldcat TABLES ot_fieldcat USING:
'VBAK'       'VBELN'      'GT_ALV1_DATA' 'VBELN'     ' ' ' ' ' ' 1 ,
'VBAK'       'ERDAT'      'GT_ALV1_DATA' 'ERDAT'     ' ' ' ' ' ' 1 ,
'VBAK'       'ERZET'      'GT_ALV1_DATA' 'ERZET'     ' ' ' ' ' ' 1 ,
'VBAK'       'ERNAM'      'GT_ALV1_DATA' 'ERNAM'     ' ' ' ' ' ' 1.
  PERFORM alv_build_fieldcat TABLES ot_fieldcat USING:
'MARA'       'MATNR'      'GT_ALV2_DATA' 'MATNR'     ' ' ' ' ' ' 1 .
!!! List all ALV data fields for sorting/grouping here
itab       = internal table for output data
itab-field = internal table field name
up         = sort ascending
down       = sort descending
grp        = group by
comp       = group initially compressed
pos        = field position in sort sequence
itab                   field              up down grp comp        pos
  PERFORM alv_build_sorttab TABLES ot_sorttab USING:
'GT_ALV1_DATA'         'VBELN'             'X' ' ' ' ' ' '           1.
  PERFORM alv_build_sorttab TABLES ot_sorttab USING:
'GT_ALV2_DATA'         'MATNR'             'X' ' ' ' ' ' '           1.
!!! key definition - required only for hierarchical display (2 itabs)
  cs_keyinfo-header01 = 'VBELN' .
  cs_keyinfo-item01   = 'MATNR' .
!!! See the declaration of type SLIS_LAYOUT_ALV and set the fields
!!! of OS_LAYOUT record to change list-level attributes
os_layout-no_colhead     = 'X'.         " no headings
  cs_layout-zebra          = 'X'.         " stripped pattern
os_layout-no_vline       = 'X'.         " columns separated by space
os_layout-totals_only    = 'X'.         " show only totals
os_layout-totals_text    = 'Total'.     " totals line label
os_layout-subtotals_text = 'Subtotal'.  " subtotals line label
os_layout-subtotals_text = 'Subtotal'.  " subtotals line label
os_layout-key_hotspot    = 'X'.         " keys as hotspot
os_layout-expand_all     = 'X'.         " Expand all positions
os_layout...
  cs_print-no_print_selinfos = 'X'.       " Skip selection statistics
  cs_print-no_print_listinfos = 'X'.      " Skip list statistics
os_print-...
ENDFORM.                               " INIT_REPORT_LAYOUT
      FORM ALV_BUILD_FIELDCAT                                       *
      Format a single line for ALV_INIT_REPORT_LAYOUT               *
FORM alv_build_fieldcat TABLES ot_fieldcat
                        USING  iv_ref_tabname   "ref to a table/field
                               iv_ref_fieldname
                               iv_tabname     "actual table/field name
                               iv_fieldname
                               iv_key
                               iv_do_sum
                               iv_no_out
                               iv_row_pos.
status variables for auto-numbering of field column position
(column number reset when a new table or row begins)
  STATICS: sv_last_tabname TYPE slis_tabname,
           sv_last_row_pos TYPE i,
           sv_current_col  TYPE i.
  IF sv_last_tabname <> iv_tabname OR sv_last_row_pos <> iv_row_pos.
    sv_current_col = 1.
  ELSE.
    ADD 1 TO sv_current_col.
  ENDIF.
  sv_last_tabname = iv_tabname.
  sv_last_row_pos = iv_row_pos.
  DATA: ls_fieldcat    TYPE slis_fieldcat_alv.
  DATA: lv_fieldname   TYPE slis_fieldname.
  lv_fieldname = iv_fieldname.
!!! List all the special formatting requirements in cases below
case lv_fieldname.
  when 'WRBTR'.                      "<-- link with currency required
    ls_fieldcat-cfieldname = 'WAERS'.
    ls_fieldcat-ctabname   = iv_tabname.
  when 'HKONT'.                     "<-- change default column header
    ls_fieldcat-seltext_s  = 'GL Acc.'.
    ls_fieldcat-ddictxt    = 'S'.          " (S)hort (M)iddle (L)ong
  when 'SOME_NUMBER'                 "<-- change number formatting
    ls_fieldcat-nosign     = 'X'.
    ls_fieldcat-nozero     = 'X'.
    ls_fieldcat-just       = 'L'.         " (L)eft (R)ight (C)enter
endcase.
  ls_fieldcat-ref_tabname   = iv_ref_tabname.
  ls_fieldcat-ref_fieldname = iv_ref_fieldname.
  ls_fieldcat-tabname       = iv_tabname.
  ls_fieldcat-fieldname     = iv_fieldname.
  ls_fieldcat-key           = iv_key.
  ls_fieldcat-do_sum        = iv_do_sum.
  ls_fieldcat-no_out        = iv_no_out.
  ls_fieldcat-row_pos       = iv_row_pos.
  ls_fieldcat-col_pos       = sv_current_col.
  APPEND ls_fieldcat TO ot_fieldcat.
ENDFORM.                          " ALV_BUILD_FIELDCAT
      FORM ALV_BUILD_SORTTAB                                        *
      Set up sorting information for ALV_INIT_REPORT_LAYOUT         *
FORM alv_build_sorttab TABLES ot_sorttab TYPE slis_t_sortinfo_alv
                       USING  iv_tabname   TYPE slis_fieldname
                              iv_fieldname TYPE slis_fieldname
                              iv_up        TYPE c
                              iv_down      TYPE c
                              iv_subtot    TYPE c
                              iv_comp      TYPE c
                              iv_spos      TYPE n.
  ot_sorttab-spos      = iv_spos.
  ot_sorttab-fieldname = iv_fieldname.
  ot_sorttab-tabname   = iv_tabname.
  ot_sorttab-up        = iv_up.
  ot_sorttab-down      = iv_down.
  ot_sorttab-subtot    = iv_subtot.
  ot_sorttab-comp      = iv_comp.
  APPEND ot_sorttab.
ENDFORM.                            " ALV_BUILD_SORTTAB
      FORM ALV_INIT_REPORT_EVENTS                                   *
      Set up program events for ALV_LIST_DISPLAY                    *
<-- OT_EVENTS   list of events and associated report subroutines   *
FORM alv_init_report_events TABLES ot_events TYPE slis_t_event.
  CLEAR   ot_events.
  REFRESH ot_events.
  ot_events-name = slis_ev_user_command.
  ot_events-form = 'USER_COMMAND'.
  APPEND ot_events.
  ot_events-name = slis_ev_pf_status_set.
  ot_events-form = ''.                         "'PF_STATUS_SET'.
  APPEND ot_events.
  ot_events-name = slis_ev_top_of_list.
  ot_events-form = 'TOP_OF_LIST'.
  APPEND ot_events.
  ot_events-name = slis_ev_end_of_list.
  ot_events-form = 'END_OF_LIST'.
  APPEND ot_events.
  ot_events-name = slis_ev_top_of_page.
  ot_events-form = 'TOP_OF_PAGE'.
  APPEND ot_events.
  ot_events-name = slis_ev_end_of_page.
  ot_events-form = 'END_OF_PAGE'.
  APPEND ot_events.
  ot_events-name = slis_ev_foreign_top_of_page.
  ot_events-form = ''.
  APPEND ot_events.
  ot_events-name = slis_ev_foreign_end_of_page.
  ot_events-form = ''.
  APPEND ot_events.
  ot_events-name = slis_ev_top_of_coverpage.
  ot_events-form = ''.
  APPEND ot_events.
  ot_events-name = slis_ev_end_of_coverpage.
  ot_events-form = ''.
  APPEND ot_events.
  ot_events-name = slis_ev_before_line_output.
  ot_events-form = ''.
  APPEND ot_events.
  ot_events-name = slis_ev_after_line_output.
  ot_events-form = ''.
  APPEND ot_events.
  ot_events-name = slis_ev_caller_exit_at_start.
  ot_events-form = ''.
  APPEND ot_events.
  ot_events-name = slis_ev_list_modify.
  ot_events-form = ''.
  APPEND ot_events.
  ot_events-name = slis_ev_subtotal_text.
  ot_events-form = ''.
  APPEND ot_events.
ENDFORM.                            " ALV_INIT_REPORT_EVENTS
      FORM USER_COMMAND                                             *
      Subroutine attached as callback form to ABAP List Viewer      *
  --> UCOMM    - user command code passed from ALV                  *
  --> SELFIELD - information record describing current line/field   *
FORM user_command USING value(iv_ucomm) LIKE sy-ucomm
                        is_selfield     TYPE slis_selfield.
  CASE iv_ucomm.
    WHEN '&IC1'.                                  "ALV record selection
      PERFORM display_record USING is_selfield.
  when ...
  ENDCASE.
ENDFORM.                               " USER_COMMAND
      FORM PF_STATUS_SET                                            *
      Subroutine attached as callback form to ABAP List Viewer,     *
      allows setting alternative menu.  If necessary:               *
      1. Copy 'STANDARD' menu from SAPLKKBL and modify as required, *
      2. Activate callback                                          *
FORM pf_status_set USING it_exctab TYPE slis_t_extab.
set pf-status 'STANDARD' excluding it_exctab.
ENDFORM.                               " PF_STATUS_SET
      FORM TOP_OF_LIST                                              *
      Subroutine attached as callback form to ABAP List Viewer,     *
      executed once at the start of list output.                    *
FORM top_of_list.
  DATA: lt_seltab TYPE STANDARD TABLE OF rsparams WITH HEADER LINE.
  DATA: lv_report LIKE sy-repid.
  lv_report = sy-repid.             "do not pass sy-repid to function!
  IF p_box_up = 'X'. "display select options at report start
    CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
      EXPORTING
        curr_report     = lv_report
      TABLES
        selection_table = lt_seltab.
remove 'technical' parameters with 'DELETE LT_SELTAB WHERE...'
before display, if necessary
    CALL FUNCTION 'RS_LIST_SELECTION_TABLE'
       EXPORTING
            report        = lv_report
            seltext       = 'X'
        dyn_range     =
            newpage       = ' '
        screennr      = 1000
       TABLES
            sel_tab       = lt_seltab
       EXCEPTIONS
            sel_tab_empty = 1.
  ENDIF. "p_box_up = 'X'
ENDFORM.                               " TOP_OF_LIST
      FORM END_OF_LIST                                              *
      Subroutine attached as callback form to ABAP List Viewer      *
      executed once at the end of list output.                      *
FORM end_of_list.
  DATA: lt_seltab TYPE STANDARD TABLE OF rsparams WITH HEADER LINE.
  DATA: lv_report LIKE sy-repid.
  lv_report = sy-repid.             "do not pass sy-repid to function!
  IF p_box_do = 'X'. "display select options at report end
    CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
      EXPORTING
        curr_report     = lv_report
      TABLES
        selection_table = lt_seltab.
remove 'technical' parameters with 'DELETE LT_SELTAB WHERE...'
before display, if necessary
    CALL FUNCTION 'RS_LIST_SELECTION_TABLE'
       EXPORTING
            report        = lv_report
            seltext       = 'X'
        dyn_range     =
            newpage       = ' '
        screennr      = 1000
       TABLES
            sel_tab       = lt_seltab
       EXCEPTIONS
            sel_tab_empty = 1.
  ENDIF. "p_box_do = 'X'
ENDFORM.                               " END_OF_LIST
      FORM TOP_OF_PAGE                                              *
      Subroutine attached as callback form to ABAP List Viewer      *
FORM top_of_page.
standard Ingram Micro report page heading
  DATA: lv_coco_pos TYPE i,          "CurPos of 'Company confidential'
        lv_title_pos TYPE i,           "CurPos of report title
        lv_title(70) TYPE c,           "Truncated report title
        lv_page_pos TYPE i,            "CurPos of page number
        lv_date_pos TYPE i,            "CurPos of date and time
        lv_page_no(10) TYPE c,
        lv_date(25) TYPE c,
        lv_time(20) TYPE c,
        lv_page(10) TYPE c.
We may need to truncate title if the line size is < 81.
  IF sy-linsz < 81.
    lv_title = sy-title+0(50).
  ELSE.
    lv_title = sy-title.
  ENDIF.
Decide on positioning of text depending on width of page
  lv_title_pos = ( sy-linsz / 2 ) - ( STRLEN( lv_title ) / 2 ).
  lv_coco_pos = sy-linsz - 20.
  FORMAT COLOR COL_HEADING INTENSIFIED ON.
  WRITE: / 'Ingram Micro',
           AT lv_title_pos lv_title,
           AT lv_coco_pos 'Company Confidential'.
Setup data correctly in the correct format for the display fields.
  lv_page = sy-pagno.
  SHIFT lv_page LEFT DELETING LEADING ' '.
  CONCATENATE sy-datum6(2) sy-datum4(2) sy-datum+0(4)
               INTO lv_date SEPARATED BY '.'.
  CONCATENATE sy-uzeit0(2) ':' sy-uzeit2(2) INTO lv_time.
  CONCATENATE lv_date lv_time INTO lv_date SEPARATED BY ' '.
  CONCATENATE 'Page' lv_page INTO lv_page_no SEPARATED BY ' '.
Decide on positioning of text depending on width of page.
  lv_page_pos = sy-linsz - ( STRLEN( lv_page_no ) ).
  WRITE: / lv_date,
           AT lv_page_pos lv_page_no.
  ULINE.
ENDFORM.                               " TOP_OF_PAGE
      FORM END_OF_PAGE                                              *
      Subroutine attached as callback form to ABAP List Viewer      *
FORM end_of_page.
ENDFORM.                               " END_OF_PAGE
      Form  ALV_VARIANT_EXISTENCE
      Reads ALV variant definition
FORM alv_variant_existence  USING    iv_variant LIKE disvariant-variant
                            CHANGING os_variant LIKE disvariant.
  CHECK NOT iv_variant IS INITIAL.
  os_variant-report  = sy-repid.
  os_variant-variant = iv_variant.
  IF iv_variant CP '/*'.    "user-specific variants begin with slash
    os_variant-username = sy-uname.
  ENDIF.
  CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
    EXPORTING
      i_save        = 'A'
    CHANGING
      cs_variant    = os_variant
    EXCEPTIONS
      wrong_input   = 1
      not_found     = 2
      program_error = 3
      OTHERS        = 4.
  IF sy-subrc <> 0.
    MESSAGE e001(z9) WITH 'Please select a valid display variant.'.
  ENDIF.
ENDFORM.                               " ALV_VARIANT_EXISTENCE
      FORM ALV_VARIANT_F4                                           *
      Display list of layout variants on report selection screen    *
FORM alv_variant_f4  CHANGING cv_varname  LIKE disvariant-variant
                              cs_variant  LIKE disvariant.
  DATA: lv_exit(1) TYPE c.
  cs_variant-report = sy-repid.
  CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
       EXPORTING
            is_variant          = cs_variant
            i_save              = 'A'
          it_default_fieldcat =
       IMPORTING
            e_exit              = lv_exit
            es_variant          = cs_variant
       EXCEPTIONS
            not_found = 2.
  IF sy-subrc = 2.
    MESSAGE ID sy-msgid TYPE 'S'      NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ELSE.
    IF lv_exit = space.
      cv_varname = cs_variant-variant.
    ENDIF.
  ENDIF.
hope this will help.
see form  user_command.
regards,
Ruchika

Similar Messages

  • Problem with ALV drill down Internet Application Component

    Hi all,
    If custom R/3 transaction (ALV drill down report) is converted to Internet Application Component (IACs) in ITS , the main ALV report is working fine. when i click on the sales order it should display invoices in a new ALV. This is working fine in R/3 but in ITS it is not working.
    Can anyone help me.
    thank you

    this new ALV is a pop up, or navigation in the same screen or are you openning a new session?
    Regards
    Raja

  • Hiding fields in ALV DRILLED DOWN REPORT

    Hi
    My scenario is like this i created a alv drilled down report , in that once the user executes it ,it will displays the header contents of the purchase order.
    If the user double clicks on any of the header line item it will displays the item detials of the particular header data..
    My probelm is if i double click  it i am getting the header details added with the item fields..i want to hide the header detials if i want to c the item level details..
    Can any suggest me some better ways to hide the header contents ??
    Arun Joseph

    hi,
    check ur field cat...
    R u using same name?
    If possible paste ur code here...

  • WD ABAP on IPAD - drop down not working on IPADA / TABLETS

    Hi Experts
    We are on NW 7.0 and EHP2 for E-recruitment system. We have a candidate registration WD ABAP application.
    Application sccessfully opens on IPAD but drop down not working even we can not select any value from the drop down.
    Pleas can you suggest some fix for this.
    If we can acheieve this functionality fo IPADS and TABLETS.
    Much appreciated inputs in this direction.

    Hi,
    There are known restrictions for browser support in web dynpro abap. You may have to implement the "Unified rendering corrections " SAP Notes for your netweaver version which has constant updates for browser support, UI element enhancements and other corrections Or import the relevant support packs.
    For ex: SAP Notes: 1677729 and 1672454
    hope this helps,
    Regards,
    Kiran

  • How the Drill down functionality works if the source is Bex Query

    Dear All,
    How the Drill down functionality works if the source is Bex Query through the query browser in Dashboard 4.1
    Please let me know process.
    Thanks
    Regards,
    Sai

    Hi sai,
    Drill down can be done by two ways.
    1. you need to bring all the data in one shot to the spreadsheet and then by using the components you can achieve it. Below given link explains in detailed about that.
    Filtering Through Combo Box
    2. you can use different set of query to pass the value from one set to another to fetch the data using the prompt. please check the below which explain them.
    Difference between "When value Becomes & When value Changes"
    Revert any clarification required on this.
    --SumanT

  • Cost Centre drop down not working in Shopping Cart

    Hi Experts,
    Cost Centre drop down is not working in Shopping Cart.
    Version: SRM 7.0 SP05
    Message - no input help due to errors when checking the display authoriz.
    I have checked there are some SAP Notes available for this issue, but it is for SRM 5.0 version
    725247 - Search help and BAdI BBP_F4_READ_ON_ENTRY in accnt assgn scr
    839534 - Problems with dropdown list in Acc. ***. overview
    925890 - Cost centre drop down not working
    I have raised OSS Message, Please gothrough the reply from SAP below
    Note
    656633
    815849 top 5
    Customizing Recommendations
    - Note 656633 desribes pre-requisites for ERP RFC-user using F4-help.
    - Assign SRM standard role /SAPSRM/EMPLOYEE during F4-help testing.
    - Check RFC-dialog for F4-help destination using SM59.
    - ERP F4-help destination must be maintained in IMG table bbp_backend_dest.
    - Using PPOMA_BBP dropdown disable BE_F4_HELP authority activity as of note 815849. Multiple values must be maintained in  attribute CNT cost center.
    - Hint: Mix of ERP F4-help and PPOMA_BBP dropdown is not possible.
    Return
    a.SRM system ID, client, remote access, logon data buyer who face the problem incl. sap_all
    b.ERP RFC-dialog access via SRM, RFC-user incl. display or sap_all
    I have followed both the notes, but still problem presists
    Please advice.
    BR,
    Siva

    Hi,
    This issue has been resloved.
    Solution:
    Step:1
    Assign SRM standard or custom role like /SAPSRM/EMPLOYEE to user; Please make sure multiple values been maintained in attribute CNT cost center in PPOMA_BBP for the user
    Step: 2
    Disable BE_F4_HELP authority activity for role /SAPSRM/EMPLOYEE in BBP Component > SRM: General Access Authorizations in EBP
    Step: 3
    Apply SAP Note 668746 - COIN - Switching off OKB9 in EBP scenario in SAP R/3 as per note 815849 Solution 1
    System will check during the processing of account assignment objects in an EBP scenario, the backend system reads the default account assignment (Transaction OKB9) as usual if EBP does not provide any account assignment. This note will Switch off OKB9 in EBP scenario and it will list the CNT values from PPOMA in the shopping cart account assignment F4 help.
    BR,
    Siva

  • Late 2009 imac 27, bluetooth keyboard pressing fn f11 volume down not working and automattically go to mute

    Hi all,
    having problem last few days with my late 2009 imac 27,  my wireless keyboard volume down not working when i pressing, up is working (f12). but when i press down (f11) after few pressing it will go all the way to mute.
    but the stranged is after awile ( if i have pressed up) it will go down all the way to mute as i didn't press anything. and if i leave it for awile my mute icon still show it on display and will not turn on my screensaver /  sleepmode.
    have osx 10.8.3 newest version. mountain lion.
    please help.

    i had the same problem like you did
    i wanna ask you something.How can i dod reset PRAM?
    Because when i restart my imac,the keyboard is shutting down.then it takes a time to reconnect again to imac.
    that time the screen appear in log in view
    help me out please

  • EREC external user registration - WD ABAP on IPAD - drop down not working on IPADA / TABLETS

    Hi Experts
    We are on NW 7.0 and EHP2 for E-recruitment system. We have a candidate registration WD ABAP application.
    Application sccessfully opens on IPAD but drop down not working even we can not select any value from the drop down.
    Pleas can you suggest some fix for this.
    If we can acheieve this functionality fo IPADS and TABLETS.
    Much appreciated inputs in this direction.

    Using http://service.sap.com/pam you can check which browsers are supported for which application/version. This is for apple safari:
    Product Version
    Release Category
    Product Instance
    Web-Browser
    Web-Browser maintained until
    Operating System
    Operating System maintained until
    Scope
    Scope maintained until
    Status
    Valid from
    Additional Information
    Link to SAP Service Marketplace. Disclaimer: Please note that the online information on SAP Service Marketplace is the most recent information.
    SAP EHP2 FOR SAP NETWEAVER 7.0
    Web Browser Platforms
    Application Server ABAP
    APPLE SAFARI 6
    OS X 10.8 (MOUNTAIN LION)
    SAP BASIS 7.02 [>= SAPKB70212]
    31.12.2020
    Released
    03.12.2012
    https://service.sap.com/sap/support/pam?hash=pvnr%3D01200615320900003225%26pt%3Dt%257CWBRPFM%26ainstnr%3D01200615324900006401
    SAP EHP2 FOR SAP NETWEAVER 7.0
    Web Browser Platforms
    Application Server ABAP
    APPLE SAFARI 7
    OS X 10.9 (MAVERICKS)
    SAP BASIS 7.02 [>= SAPKB70215]
    31.12.2020
    Released
    06.02.2014
    https://service.sap.com/sap/support/pam?hash=pvnr%3D01200615320900003225%26pt%3Dt%257CWBRPFM%26ainstnr%3D01200615324900006401

  • My new 3 month old imac 27 with 10.6.8 snow is giving a **** of noise from the fan. suddently starting after today starting up. and the volume buttoms and screen lights up and down not working any more.. any one who can help here???

    my new 3 month old imac 27 with 10.6.8 snow is giving a **** of noise from the fan. suddently starting after today starting up. and the volume buttoms and screen lights up and down not working any more.. any one who can help here???

    Try an SMC Reset. (System Management Controller)
    Shutdown>unplug from power for ten minutes>press and hold in the power button for ten seconds>startup again.
    Also try a PRAM Reset. (Parameter RAM)
    Shutdown. At the bootup chime, hold down CMD-Option-P-R together, wait for two more chimes, total three, then let go of all keys to finish booting,
    If this doesn't do it, run the Hardware Test in Extended
    http://support.apple.com/kb/ht1509

  • Ipod nano 6 gen power button and volume up and down not working, Ipod nano 6 gen power button and volume up and down not working

    Ipod nano 6 gen power button and volume up and down not working, Ipod nano 6 gen power button and volume up and down not working

    Try restarting your device. If that doesn't work, take it to an Apple store. If it is less than a year old and just stopped working, they will replace it for free (be sure to back it up to iTunes first). If you dropped it, you will have to pay because Apple will not replace a device due to "Human Error." If it is more than a year old, you will either have to pay to get it fixed, or have to pay to get it replaced.

  • How to get the 'hand' cursor on an ALV drill down report?

    I have a drill down on PO # going to trans ME23N that is working great.
    But I have noticed on my other drill downs (E.G for billing doc VF03) that when the report is displayed the drill down field value is a) underlined and b) has a 'Hand' appear when you place the cursor over the billing document field.
    This does not happen on my PO # - it is not highlighted with an underscore, nor do you get the small hand  - but it does work when you double click the field.
    The field I am using on the ALV report is RSEG-EBELN.  This is not a KEY field in the table - perhaps that is why it does not have the underscore and the 'hand'.
    Thanks!
    Scott

    Here it is.
    When you build your field cat use the below code.
    DATA : x_fieldcat TYPE slis_fieldcat_alv.
    * Single click on the field will trigger double click event.Also, a hand
    * will appear when the cursor navigates to the field
      X_FIELDCAT-HOTSPOT = 'X'.
    Regards,
    ARS

  • Workaround for PDF drill down not opening in new window

    Has anyone found a way of getting a drill down PDF which doesn't
    replace the original report in the window?
    TIA
    Paul Williams

    Four years later...
    Is there a way to do this yet?
    So far I have had to create the report as DESTYPE=HTML in order to give the user a 'drilldown' with the option of using the back button on the browser and also 'Open in a new window'. When using PDF the 'back' button does not work and 'Open in a new Window' does not seem to be an option.
    OAS 10g, Reports 10g, Acrobat 6
    Bob

  • Drop down not working in ie8

    Hi and thanks in advance for any help you can provide.
    I have a site http://www.webworksnow3.com/src id:src, pwd:src12345.  There is a spry horizontal menu and a spry vertical menu on the pages under "About Us".  When on one of the children pages with an active vertical menu, the horizontal menu "About Us" drop down does not work.  Check it out on any of the pages "Our Firm" or "Our Team".  It works in Firefox but not ie.
    Code for Our firm:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt.php" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Discretionary Investment Management since 1938</title>
    <!-- InstanceEndEditable -->
    <link rel="icon" type="image/x-icon" href="images/logo.ico" />
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryDOMUtils.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
    function InitPage() {
    Spry.$$('.MenuBarVertical li').forEach(function(node){
         var a=node.getElementsByTagName("a")[0]; // finds all a elements inside the li, but we only want the first so [0]
         if(a.href == window.location){
             Spry.Utils.addClassName(node,"activeMenuItem");
    Spry.Utils.addLoadListener(InitPage);
    </script>
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="container">
      <div id="header">
        <div id="phone">212.754.5100</div>
        <!--<div id="reg">registered investment advisors - member New York Stock Exchange</div>-->
      </div>
      <div id="menu">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="index.php">Home</a>      </li>
          <li><a href="#" class="MenuBarItemSubmenu">About Us </a>
            <ul>
              <li><a href="ourFirm.php">Our Firm</a></li>
              <li><a href="ourTeam.php">Our People</a></li>
              <li><a href="adv.php" title="Investment Advisory Brochure">Investment Advisory Brochure</a></li>
            </ul>
          </li>
          <li><a href="philosophy.php">Philosophy</a>      </li>
          <li><a href="services.php">Services</a></li>
          <li><a href="contact.php">Contact Us</a></li>
        </ul>
      </div>
      <!-- InstanceBeginEditable name="EditRegion1" -->
      <div id="main">
    <div id="rightPage">
      <div id="sidebarNav">
        <h2>About Us</h2>
            <ul id="MenuBar2" class="MenuBarVertical">
                <li><a class="activeMenuItem" href="ourFirm.php" title="Our Firm">Our Firm</a>          </li>
                <li><a href="ourTeam.php" title="Our People">Our People</a></li>
                <li><a href="adv.php" title="Investment Advisory Brochure">Investment Advisory Brochure</a>          </li>
    </ul>
      </div>
      <div id="quoteDiv">
       Earning our clients' trust for over 70 years
      </div>
          <div id="sidebarContainer">
            <?php require_once('sidebar.inc.php'); ?>
          </div>
        </div>   
        <div id="leftPage">
      <div id="pageTitle">
        <h1>Shufro, Rose &amp; Co.</h1>
        </div>
      <div id="subHeading">
      <h2>Leaders in Discretionary Wealth Management</h2>
      </div>
            <div id="pageContent">
              <p><img src="images/wall-street-for-about.png" alt="Discretionary investment management - Shufro Rose &amp; Co." width="120" height="180" hspace="0" vspace="27" align="left" /></p>
              <p> </p>
              <p>Shufro, Rose &amp; Co. (SRC) was founded as a  partnership in 1938. We are members of the New York Stock Exchange and are  among the oldest such firms specializing in the discretionary management of  investment portfolios. We are independent and owned entirely by our working Principals,  each of whom is a Senior Managing Director. The Principals of SRC have worked  together for many years; three have been in the investment business for more  than forty years.  Foremost in our minds  is that putting our client’s interests first and producing good investment  results are the most important services we can provide.  In numerous instances we now advise the fourth successive generation of a family. These  long relationships as well as the growth in our assets under management attest  to our diligence on behalf of our clients.</p>
          </div><!--close page content-->
          </div><!--close left page-->
        </div><!--close main-->
          <script type="text/javascript">
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
        </script>
      <!-- InstanceEndEditable -->
    </div>
    <div id="footerContainer">
      <div id="footer">
        <div id="footerText">745 Fifth Avenue | New York, NY 10151-2600 | (212) 754-5100 | (212) 754-5111 (Fax)</div>
        <div id="subFooter"><a href="legal.php" title="Privacy Policy" target="_blank">Privacy Policy</a> | <a href="legal.php" title="Business Continuity" target="_blank">Business Continuity</a> | <a href="legal.php" title="Order Routing" target="_blank">Order Routing</a></div>
        <div id="illus">Illustration: Kenneth Noland, Mysteries: Yellow and Blue 2000</div>
        </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    <!-- InstanceEnd --></html>
    Horizontal CSS:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    padding: 0;
    list-style-type: none;
    font-size: 16px;
    cursor: default;
    width: 720px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    font-family: Georgia, "Times New Roman", Times, serif;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    padding: 0;
    list-style-type: none;
    font-size: 16px;
    position: relative;
    text-align: center;
    cursor: pointer;
    width: 7.8em;
    float: left;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #FF0;
    font-family: Georgia, "Times New Roman", Times, serif;
    margin-top: 0px;
    margin-right: 0;
    margin-bottom: 0px;
    margin-left: 0;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 7.0em;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 12em;
    border: none;
    background-color: #224769;
    text-align:left;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    /*border: 1px solid #CCC;*/
    ul.MenuBarHorizontal ul li
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #FEEF50;/*border: 1px solid #CCC;*/
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background: transparent;
    color: #FEE54B;
    text-decoration: none;
    padding-top: 0.4em;
    padding-right: 0.75em;
    padding-bottom: 0.4em;
    padding-left: 0.75em;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    color: #FFFFFF;
    font-size: 16px;
    font-weight: normal;
    background-image: url(../images/grad2.png);
    background-repeat: repeat-x;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    color: #FFF;
    background-image: url(../images/grad2.png);
    background-repeat: repeat-x;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
      display: inline;
      f\loat: left;
    /*  background: #FFF;*/
    Vertical CSS:
    @charset "UTF-8";
    /* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
    ul.MenuBarVertical
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 190px;
    text-align:left;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are same fixed width as parent */
    ul.MenuBarVertical li
    margin: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 180px;
    padding-top: 2px;
    padding-right: 2px;
    padding-bottom: 2px;
    padding-left: 2px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #CCC;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarVertical ul
    margin: -5% 0 0 95%;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: absolute;
    z-index: 1020;
    cursor: default;
    width: 8.2em;
    left: -1000em;
    top: 0;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
    left: 0;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarVertical ul li
    width: 8.2em;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Outermost menu container has borders on all sides */
    ul.MenuBarVertical
    /* Submenu containers have borders on all sides */
    ul.MenuBarVertical ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    .activeMenuItem a {
      color: #FFF;
    ul.MenuBarVertical a
    display: block;
    cursor: pointer;
    color: #666;
    text-decoration: none;
    padding-top: 0.5em;
    padding-right: 0px;
    padding-bottom: 0.5em;
    padding-left: 10px;
    font-family: Georgia, "Times New Roman", Times, serif;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
    background-color: #313538;
    color: #FFF;
    background-image: url(../images/vertMenuBg.png);
    background-repeat: repeat-x;
    .activeMenuItem {
    background-color: #CCC;
    background-image: url(../images/vertMenuBg.png);
    background-repeat: repeat-x;
    color:#FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
    background-color: #30363C;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarVertical li.MenuBarItemIE
      display: inline;
      f\loat: left;
      background: #FFF;
    #container #main #rightPage #sidebarNav #MenuBar2 li .activeMenuItem {
    color: #FFEA51;
    Thanks!

    Wow,  Thanks so much!
    I was using a template for the sub pages and I was sticking things in the editable regions, not paying attention to order.  I pulled the DOMUtils out and put it as the first <script> on all pages and it works!
    Thanks so much for taking the time.  You are truly amazing!

  • Allow Custom Text Entry for Drop down not working For Dynamic form

    Dear All,
    In drop down field Allow custom text entry is working fine if the form is save as a static pdf form file.But if the form is save as a Dynamic pdf form file it is not working.I can enter custom text in drop down field but after filling it up when I click on next field the text from the drop down is disappearing.
    If any body can please help me to solve this problem.
    Thanks a lot in advance
    Regards
    Rakesh

    Dear Jimmypham,
    Thanks a lot for your quick response.But it's not working for me.I have even tried with a form having only single field and save it as a dynamic pdf file.In that form also it's not working.The text which I have entered is disappearing when I click outside of this field.
    Can you please help me to find out the solution for this problem.
    Regards
    Rakesh

  • Search criteria drop down not working in CRM 7.0 Web UI for few users.

    Hi Gurus,
    i have come across problem in sap CRM 7.0 web ui,
    it goes here....
    when a user opens a webui page and goes to "account management" work center page under "search" work center link group... he selects "accounts"(or contacts or account plan)... there in search criteria fields..(account id,role,country etc ) drop down list is not working for him...he can only see only which is maintained as default but if wants to change it by drop down list selection it is not possible...for me it is working ..can u please suggest what is missing in his case..?
    if it is authorization issue please tell which object should i check..?
    Thanks,
    gaurav

    Hi,
    Please check if the user is assigned to a Business Partner.If not then assign the User to a Business Partner and check.
    Regards.
    Deepak Ramchandran.

Maybe you are looking for

  • Oracle Java Compiler 11g - JVM ERROR

    Hi Jdev Team, I have an issue to report, Sometimes when run a project and navigate through the pages, i get the following error message: Oracle Java Compiler 11g Unable to create an instance of the Java Virtual Machine Located at path: H:\jdevstudio1

  • Selection statement not working as expected

    The hotter and cooler methods are the ones in question. It just prints "Cannot go below the minimum temperature" ,no matter what value I set increment, min, or max to. It also does not change the value of temperature. I've already tried adding parent

  • How to Back-Up Mac through Recovery Mode?

    I'm not to good with computer terms or stuff like that, so please bear with me. Every time I start up my MacBook Pro, a loading bar comes up and then when it completes, it restarts, with the same thing, a endless cycle of loading bars. So I looked at

  • Strange problem with videos substituted

    I an making videos tom accumulated clips taken with a D4 camera.  these are of birds and each with its own species folder. So I chose all the videos in the American Redstart folder and imported them into PP.  then I was editing, trimming and such. Us

  • How do I import or open a Pagemaker 4 file (.pm4) into Indesign CS 5

    I created a special get well card in Pagemaker 4 for my aunt. She has since died, but I would like to convert it to CS 5, and then distribute it to the family.  I saw elsewhere that it can only import PM 6.0 and higher. Any other solutions I can try?