Slis_t_listheader-typ

Explain the purpose of all the possible values for slis_t_listheader-typ?

hi,
There are three types of slis_listheader-typ
1.    Typ H is for displaying header data. Ex.
      wa_list_header-typ  = 'H'.
      wa_list_header-info = 'Capgemini Mumbai'.
      APPEND wa_list_header TO LIST_HEADER.
      CLEAR WA_LIST_HEADER.
      output:   Capgemini Mumbai
It displays data in normal font with bold and big character.
wherever you define this in a sequence of typ S and typ A, it always holds the top line in alv report list header area.
If two typ H are there than according to the triggering they get displayed in successive lines.
There is no use of list_header-key with typ H.
2.     Typ S is for selection.
   We use typ S to display text as well as its value in a single line. We can't display text and value in a single line by using typ H or typ A.  Ex.
     WA_list_header-typ  = 'S'.
      wa_list_header-KEY   = 'Date::'.
      wa_list_header-INFO  = sy-datum.
      APPEND wa_list_header TO LIST_HEADER.
      CLEAR WA_LIST_HEADER.
output:  Date::   20080525
( you can change the above showing date format by concatenate or any formatting options)
The key text displays in normal bold font and info value displays in normal font. These two have font size just half of the font size of typ H.For this reason  we prefer only typ H to display header data in header area of alv report like company name, purpose of the report etc.
3.  Typ A is for action.
      WA_list_header-typ  = 'A'.
      concatenate 'typ' 'A' into wa_list_header-info separated      by space.
      APPEND wa_list_header TO LIST_HEADER.
      CLEAR WA_LIST_HEADER.
or
     WA_list_header-typ  = 'A'.
     wa_list_header-info  = 'typ A'.
      APPEND wa_list_header TO LIST_HEADER.
      CLEAR WA_LIST_HEADER.
output: typ A
It displays data in normal italic font with font size same as font size  of typ S.
wherever you define this, it always hold the bottom line in alv report list header area.
There is no use of list_header-key with this typ A.
so according to our requirement we chose typ.

Similar Messages

  • ALV list heade problem

    Hi all,
    I have created list heade r using FM commentary_wirite.
    the parameter slis_listheader-info has length of only 60 characters.
    So my header is getting truncated .
    Plase suggest me on how to increase the length.
    Regards,
    Naveen

    hey u need to consider slis_t_listheader
    typ(1) type c,   " H = Header, S = Selection, A = Action
    key(20) type c,
    seggregate u r text and give some text in header and some other in selection ..and some other in action
    i hope this may help u......
    reward points if helpful

  • W_list_comments-typ  = 'A'. " H = Header, S = Selection, A = Action

    Hi
    w_list_comments-typ  = 'A'. " H = Header, S = Selection, A = Action
    here what is H AND S AND A?

    hi,
    pls chk the code below also.
    Form  TOP-OF-PAGE                                                 *
    ALV Report Header                                                 *
    Form top-of-page.
    *ALV Header declarations
    data: t_header type slis_t_listheader,
          wa_header type slis_listheader,
          t_line like wa_header-info,
          ld_lines type i,
          ld_linesc(10) type c.
    Title
      wa_header-typ  = 'H'.
      wa_header-info = 'EKKO Table Report'.
      append wa_header to t_header.
      clear wa_header.
    Date
      wa_header-typ  = 'S'.
      wa_header-key = 'Date: '.
      CONCATENATE  sy-datum+6(2) '.'
                   sy-datum+4(2) '.'
                   sy-datum(4) INTO wa_header-info.   "todays date
      append wa_header to t_header.
      clear: wa_header.
    Total No. of Records Selected
      describe table it_ekko lines ld_lines.
      ld_linesc = ld_lines.
      concatenate 'Total No. of Records Selected: ' ld_linesc
                        into t_line separated by space.
      wa_header-typ  = 'A'.
      wa_header-info = t_line.
      append wa_header to t_header.
      clear: wa_header, t_line.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
                it_list_commentary = t_header.
               i_logo             = 'Z_LOGO'.
    endform.
    regards,
    anversha

  • Types of ALV

    Can someone explain different types of ALVs like simple, blocked and hierarchical and also provide some examples.

    HI
    EXAMPLE FOR INTERACTIVE ALV.......
    TYPE-POOLS : slis.
    TYPES : BEGIN OF st_ekko,
              ebeln TYPE ekko-ebeln,    "Purchasing Document Number
              bstyp TYPE ekko-bstyp,    "Purchasing Document Category
              bsart TYPE ekko-bsart,    "Purchasing Document Type
              aedat TYPE ekko-aedat,    "record created on
              ernam TYPE ekko-ernam,    "Person who Created the Object
              check(1),
            END OF st_ekko.
    TYPES : BEGIN OF st_ekpo,
             ebeln TYPE ekko-ebeln,
             ebelp TYPE ekpo-ebelp,    "Item Number of Purchasing Document
             ematn TYPE ekpo-ematn,    "Material number
             matkl TYPE ekpo-matkl,    "Material group
             netpr TYPE ekpo-netpr,    "Net price in purchasing document
            END OF st_ekpo.
    TYPES : BEGIN OF st_ebeln,
             ebeln TYPE ekpo-ebeln,
            END OF st_ebeln.
    TYPES : BEGIN OF st_eine,
             ebeln TYPE ekko-ebeln,
             ekorg TYPE eine-ekorg,
             ekgrp TYPE eine-ekgrp,
            END OF st_eine.
    TYPES : BEGIN OF st_check,
             check(1),
            END OF st_check.
    DATA : it_ekpo TYPE STANDARD TABLE OF st_ekpo,
           it_ekko TYPE STANDARD TABLE OF st_ekko,
           wa_ekko LIKE LINE OF it_ekko,
           it_fieldcat TYPE slis_t_fieldcat_alv,
           wa_fieldcat LIKE LINE OF it_fieldcat,
           wa_layout TYPE slis_layout_alv,
           it_events  TYPE slis_t_event,
           st_event LIKE LINE OF it_events,
           it_listheadr TYPE slis_t_listheader ,
           wa_listheadr LIKE LINE OF it_listheadr,
           st_printparams TYPE slis_print_alv,
           it_sortinfo TYPE slis_t_sortinfo_alv,
           wa_sortinfo LIKE LINE OF it_sortinfo,
           it_ekposortinfo TYPE slis_t_sortinfo_alv,
           wa_ekposortinfo LIKE LINE OF it_ekposortinfo,
           it_filter TYPE slis_t_filter_alv,
           it_ebeln TYPE STANDARD TABLE OF st_ebeln,
           it_eine TYPE STANDARD TABLE OF st_eine,
           wa_eine TYPE st_eine,
           it_popup TYPE STANDARD TABLE OF st_eine,
           wa_popup TYPE st_eine,
           it_check TYPE STANDARD TABLE OF st_check,
           wa_check TYPE st_check.
    DATA : v_ebeln TYPE ekko-ebeln.
                           SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE tit.
    SELECT-OPTIONS: so_ebeln FOR v_ebeln OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b.
                             INITIALIZATION
    INITIALIZATION.
      tit = text-000.
                             AT SELECTION-SCREEN ON
    AT SELECTION-SCREEN ON so_ebeln.
      PERFORM validate_ebeln.
                             START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM get_ekko_data.
      PERFORM get_eine_data.
                             END-OF-SELECTION
    END-OF-SELECTION.
      PERFORM populate_fieldcat1.
      PERFORM populate_layout.
      PERFORM get_eventlist.
      PERFORM get_ekkosortinfo.
      PERFORM ekkodisplay_onalv.
    *&      Form  POPULATE_FIELDCAT1
    FORM populate_fieldcat1.
      wa_fieldcat-fieldname = 'EBELN'.
      wa_fieldcat-seltext_l = text-004.
      wa_fieldcat-no_zero = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'BSTYP'.
      wa_fieldcat-seltext_l = text-005.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'BSART'.
      wa_fieldcat-seltext_l = text-006.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'AEDAT'.
      wa_fieldcat-seltext_l = text-007.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'ERNAM'.
      wa_fieldcat-seltext_l = text-008.
      APPEND wa_fieldcat TO it_fieldcat.
    ENDFORM.                    "POPULATE_FIELDCAT1
    *&      Form  populate_fieldcat2
    FORM populate_fieldcat2 .
      CLEAR wa_fieldcat.
      CLEAR it_fieldcat.
      REFRESH it_fieldcat.
      wa_fieldcat-fieldname = 'EBELN'.
      wa_fieldcat-seltext_l = text-004.
      wa_fieldcat-hotspot   = 'X'.
    wa_fieldcat-no_zero = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'EBELP'.
      wa_fieldcat-seltext_l = text-009.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'EMATN'.
      wa_fieldcat-seltext_l = text-010.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'MATKL'.
      wa_fieldcat-seltext_l = text-011.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'NETPR'.
      wa_fieldcat-seltext_l = text-012.
      wa_fieldcat-datatype =  'CURR'.            "Obligatory to perform SUM
      wa_fieldcat-do_sum    = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
    ENDFORM.                                     "populate_fieldcat2
    *&      Form  GET_EVENTLIST
    FORM get_eventlist.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = it_events[]
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      READ TABLE it_events WITH KEY name = slis_ev_pf_status_set INTO st_event.
      IF sy-subrc EQ 0.
        st_event-form = 'SET_PF_STATUS1'.
        APPEND st_event TO it_events.
        CLEAR st_event.
      ENDIF.
      READ TABLE it_events WITH KEY name = slis_ev_end_of_page INTO st_event.
      IF sy-subrc EQ 0.
        st_event-form = 'END_OF_PAGE'.
        APPEND st_event TO it_events.
        CLEAR st_event.
      ENDIF.
    ENDFORM.                    "GET_EVENTLIST
    *&      Form  ekpodisplay_onalv
    FORM ekpodisplay_onalv .
      IF it_ekpo[] IS INITIAL.
        MESSAGE 'NO DATA FOUND' TYPE 'I'.
      ELSE.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
         i_callback_program                = sy-repid
         i_callback_pf_status_set          = 'SET_PF_STATUS'
         i_callback_user_command           = 'AT_USER_COMMAND1'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
        I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
        I_CALLBACK_HTML_END_OF_LIST       = ' '
        I_STRUCTURE_NAME                  = I_STRUCTURE_NAME
        I_BACKGROUND_ID                   = ' '
        I_GRID_TITLE                      = I_GRID_TITLE
        I_GRID_SETTINGS                   = I_GRID_SETTINGS
           is_layout                         = wa_layout
           it_fieldcat                       = it_fieldcat
        IT_EXCLUDING                      = IT_EXCLUDING
        IT_SPECIAL_GROUPS                 = IT_SPECIAL_GROUPS
         it_sort                           = it_ekposortinfo[]
        IT_FILTER                         = IT_FILTER
        IS_SEL_HIDE                       = IS_SEL_HIDE
        I_DEFAULT                         = 'X'
        I_SAVE                            = ' '
        IS_VARIANT                        = IS_VARIANT
        it_events                         = it_events
        IT_EVENT_EXIT                     = IT_EVENT_EXIT
        IS_PRINT                          = IS_PRINT
        IS_REPREP_ID                      = 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_ALV_GRAPHICS
        IT_HYPERLINK                      = IT_HYPERLINK
        IT_ADD_FIELDCAT                   = IT_ADD_FIELDCAT
        IT_EXCEPT_QINFO                   = IT_EXCEPT_QINFO
        IR_SALV_FULLSCREEN_ADAPTER        = IR_SALV_FULLSCREEN_ADAPTER
      IMPORTING
        E_EXIT_CAUSED_BY_CALLER           = E_EXIT_CAUSED_BY_CALLER
        ES_EXIT_CAUSED_BY_USER            = ES_EXIT_CAUSED_BY_USER
          TABLES
            t_outtab                          = it_ekpo
       EXCEPTIONS
         program_error                     = 1
         OTHERS                            = 2           .
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFORM.                    "ekpodisplay_onalv
    *&      Form  SET_PF_STATUS1
    FORM set_pf_status1 USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'MENU' excluding rt_extab.      "Copy from SALV .
    ENDFORM.                                        "SET_PF_STATUS1
    *&      Form  SET_PF_STATUS
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'STANDARD' excluding rt_extab.  "Copy from SALV .
    ENDFORM.                                        "SET_PF_STATUS
    *&      Form  AT_user_command
    FORM at_user_command  USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&IC1'.
          IF rs_selfield-fieldname EQ 'EBELN'.
            READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
            SELECT ebeln ebelp ematn matkl netpr
              FROM ekpo
              INTO TABLE it_ekpo
             WHERE ebeln EQ wa_ekko-ebeln.
            PERFORM populate_fieldcat2.
            PERFORM populate_layout2.
            PERFORM get_ekposortinfo.
            PERFORM ekpodisplay_onalv.
          ELSE.
            MESSAGE i020(z50871msg) WITH text-013.
          ENDIF.
        WHEN 'SE16'.
          CALL TRANSACTION 'SE16'.
        WHEN 'SE37'.
          CALL TRANSACTION 'SE37'.
        WHEN 'DISP'.
          PERFORM get_popupdata.
          PERFORM get_popupfcat.
          PERFORM display_popup.
      ENDCASE.
    ENDFORM.                                            "AT_user_command
    *&      Form  TOP_OF_PAGE
    FORM top_of_page.
      REFRESH it_listheadr.
      wa_listheadr-typ = 'H'.
      wa_listheadr-info = text-001.
      APPEND wa_listheadr TO it_listheadr.
      CLEAR wa_listheadr.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_listheadr[]
          i_logo             = 'ENJOYSAP_LOGO'.    "From OAER transaction
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  build_print_params
    FORM build_print_params.
      st_printparams-reserve_lines = '3'.               "Lines reserved for footer
      st_printparams-no_coverpage = 'X'.
    ENDFORM.                    "build_print_params
    *&      Form  end_of_page
    FORM end_of_page.
      REFRESH it_listheadr.
      wa_listheadr-typ = 'H'.
      wa_listheadr-info = sy-pagno.
      APPEND wa_listheadr TO it_listheadr.
      CLEAR wa_listheadr.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_listheadr[].
    ENDFORM.                                            "end_of_page
    *&      Form  GET_EKPOSORTINFO
    FORM get_ekposortinfo.
      wa_ekposortinfo-up = 'X'.
      wa_ekposortinfo-spos = 1.
      wa_ekposortinfo-fieldname = 'EBELP'.
      wa_ekposortinfo-tabname = 'EKPO'.
      APPEND wa_ekposortinfo TO it_ekposortinfo.
      CLEAR wa_ekposortinfo.
      wa_ekposortinfo-up = 'X'.
      wa_ekposortinfo-spos = 2.
      wa_ekposortinfo-fieldname = 'EMATN'.
      wa_ekposortinfo-tabname = 'EKPO'.
      APPEND wa_ekposortinfo TO it_ekposortinfo.
      CLEAR wa_ekposortinfo.
    ENDFORM.                                           "GET_EKPOSORTINFO
    *&      Form  POPULATE_LAYOUT
    FORM populate_layout.
      wa_layout-colwidth_optimize = 'X'.               "column width
      wa_layout-zebra = 'X'.
    wa_layout-no_hline = 'X'.
    wa_layout-no_vline = 'X'.
    wa_layout-cell_merge = 'X'.
      wa_layout-box_fieldname = 'CHECK'.
      wa_layout-box_tabname = 'IT_EKKO'.
      wa_layout-window_titlebar = 'PURCHASE ORDER HEADER DETAILS'.
    ENDFORM.                                         "POPULATE_LAYOUT
    *&      Form  get_EKKOsortinfo
    FORM get_ekkosortinfo.
      wa_sortinfo-up = 'X'.
      wa_sortinfo-spos = 1.
      wa_sortinfo-fieldname = 'EBELN'.
      wa_sortinfo-tabname = 'EKKO'.
      APPEND wa_sortinfo TO it_sortinfo.
      CLEAR wa_sortinfo.
      wa_sortinfo-up = 'X'.
      wa_sortinfo-spos = 2.
      wa_sortinfo-fieldname = 'BSTYP'.
      wa_sortinfo-tabname = 'EKKO'.
      APPEND wa_sortinfo TO it_sortinfo.
      CLEAR wa_sortinfo.
      wa_sortinfo-up = 'X'.
      wa_sortinfo-spos = 3.
      wa_sortinfo-fieldname = 'AEDAT'.
      wa_sortinfo-tabname = 'EKKO'.
      APPEND wa_sortinfo TO it_sortinfo.
      CLEAR wa_sortinfo.
    ENDFORM.                                         "get_EKKOsortinfo
    *&      Form  EKKODISPLAY_ONALV
    FORM ekkodisplay_onalv.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_callback_pf_status_set = 'SET_PF_STATUS1'
          i_callback_user_command  = 'AT_USER_COMMAND'
          is_layout                = wa_layout
          it_fieldcat              = it_fieldcat
          it_sort                  = it_sortinfo[]
          it_filter                = it_filter
          it_events                = it_events[]
        TABLES
          t_outtab                 = it_ekko[]
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                                            "EKKODISPLAY_ONALV
    *&      Form  validate_ebeln
    FORM validate_ebeln.
      SELECT  ebeln
          FROM ekpo
          INTO TABLE it_ebeln
          WHERE ebeln IN so_ebeln.
      IF sy-subrc NE 0.
        MESSAGE e020(z50871msg) WITH text-014.
      ENDIF.
    ENDFORM.                                           "validate_ebeln
    *&      Form  populate_layout2
    FORM populate_layout2 .
      CLEAR wa_layout.
      wa_layout-colwidth_optimize = 'X'.               "column width
    wa_layout-zebra = 'X'.
    wa_layout-no_hline = 'X'.
    wa_layout-no_vline = 'X'.
    wa_layout-cell_merge = 'X'.
      wa_layout-window_titlebar = 'PURCHASE ORDER DETAILS SECOND SCREEN'.
    ENDFORM.                    " populate_layout2
    *&      Form  GET_POPUPDATA
    FORM get_popupdata .
      LOOP AT it_ekko INTO wa_ekko WHERE check = 'X'.
        READ TABLE it_eine INTO wa_eine WITH KEY ebeln = wa_ekko-ebeln.
        IF sy-subrc NE 0.
          MESSAGE i020(z50871msg) WITH text-015 wa_ekko-ebeln .
        ELSE.
          wa_popup-ebeln = wa_eine-ebeln.
          wa_popup-ekorg = wa_eine-ekorg.
          wa_popup-ekgrp = wa_eine-ekgrp.
          APPEND wa_popup TO it_popup.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " GET_POPUPDATA
    *&      Form  GET_POPUPFCAT
    FORM get_popupfcat .
      CLEAR wa_fieldcat.
      REFRESH it_fieldcat.
      wa_fieldcat-fieldname = 'EBELN'.
      wa_fieldcat-seltext_l = text-004.
      wa_fieldcat-hotspot   = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'EKORG'.
      wa_fieldcat-seltext_l = text-016.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'EKGRP'.
      wa_fieldcat-seltext_l = text-017.
      APPEND wa_fieldcat TO it_fieldcat.
    ENDFORM.                    " GET_POPUPFCAT
    *&      Form  DISPLAY_POPUP
    FORM display_popup .
      LOOP AT it_ekko INTO wa_ekko WHERE check EQ 'X'.
        wa_check-check = wa_ekko-check.
        APPEND wa_check TO it_check.
      ENDLOOP.
      IF it_check[] IS INITIAL.
        MESSAGE i020(z50871msg) WITH text-018.
      ENDIF.
      IF NOT it_popup[] IS INITIAL.
        CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
          EXPORTING
            i_title              = text-003
            i_allow_no_selection = 'X'
            i_scroll_to_sel_line = 'X'
            i_tabname            = 'IT_POPUP'
            it_fieldcat          = it_fieldcat
            i_callback_program   = sy-repid
          TABLES
            t_outtab             = it_popup
          EXCEPTIONS
            program_error        = 1
            OTHERS               = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
      REFRESH it_check.
      REFRESH it_popup.
    ENDFORM.                    " DISPLAY_POPUP
    *&      Form  get_ekko_data
    FORM get_ekko_data .
      SELECT ebeln bstyp bsart aedat ernam
          FROM ekko
          INTO CORRESPONDING FIELDS OF TABLE it_ekko
         WHERE ebeln IN so_ebeln.
      IF sy-subrc NE 0.
        MESSAGE e020(z50871msg) WITH text-019.
      ENDIF.
    ENDFORM.                    " get_ekko_data
    *&      Form  get_eine_data
    FORM get_eine_data .
      SELECT ebeln  ekorg ekgrp
        FROM eine
        INTO TABLE it_eine
       WHERE ebeln IN so_ebeln.
    ENDFORM.                    " get_eine_data
    *&      Form  at_user_command1
    FORM at_user_command1  USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
        CASE r_ucomm.
        WHEN 'SE16'.
          CALL TRANSACTION 'SE16'.
        WHEN 'SE37'.
          CALL TRANSACTION 'SE37'.
      ENDCASE.
    ENDFORM.                    "at_user_command1
    EXAMPLE FOR BLOCK.........
    TYPE-POOLS : slis.
    TYPES : BEGIN OF st_kna1,
             kunnr TYPE kna1-kunnr,
             name1 TYPE kna1-name1,
             ort01 TYPE kna1-ort01,
             land1 TYPE kna1-land1,
             stras TYPE kna1-stras,
            END OF st_kna1.
    TYPES : BEGIN OF st_knbk,
             kunnr TYPE kna1-kunnr,
             banks TYPE knbk-banks,
             bankl TYPE knbk-bankl,
             bankn TYPE knbk-bankn,
            END OF st_knbk.
    TYPES : BEGIN OF st_kunnr,
             kunnr TYPE kna1-kunnr,
            END OF st_kunnr.
    DATA : it_kna1 TYPE STANDARD TABLE OF st_kna1,
           it_knbk TYPE STANDARD TABLE OF st_knbk,
           it_kunnr TYPE STANDARD TABLE OF st_kunnr,
           it_kna1_fcat TYPE slis_t_fieldcat_alv,
           wa_kna1_fcat LIKE LINE OF it_kna1_fcat,
           it_knbk_fcat TYPE slis_t_fieldcat_alv,
           wa_knbk_fcat LIKE LINE OF it_knbk_fcat,
           wa_layout TYPE slis_layout_alv,
           it_events  TYPE slis_t_event.
    DATA : v_kunnr TYPE kna1-kunnr.
                           SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE tit.
    SELECT-OPTIONS: so_kunnr FOR v_kunnr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b.
                             INITIALIZATION
    INITIALIZATION.
      tit = text-000.
                             AT SELECTION-SCREEN ON
    AT SELECTION-SCREEN ON so_kunnr.
      PERFORM validate_kunnr.
                             START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM get_customerdata.
      PERFORM get_bankdata.
                             END-OF-SELECTION
    END-OF-SELECTION.
      PERFORM get_events.
      PERFORM fill_layout.
      PERFORM block_init.
      PERFORM get_kna1_fcat.
      PERFORM get_knbk_fcat.
      PERFORM block_kna1_append.
      PERFORM block_knbk_append.
      PERFORM block_list_display.
    *&      Form  validate_kunnr
    FORM validate_kunnr.
      SELECT  kunnr
        FROM kna1
        INTO TABLE it_kunnr
       WHERE kunnr IN so_kunnr.
      IF sy-subrc NE 0.
        MESSAGE e020(z50871msg) WITH 'Customer number is invalid'(001).
      ENDIF.
    ENDFORM.                    "validate_kunnr
    *&      Form  get_customerdata
    FORM get_customerdata .
      SELECT kunnr name1 ort01 land1 stras
          FROM kna1
          INTO TABLE it_kna1
         WHERE kunnr IN so_kunnr.
      IF sy-subrc NE 0.
        MESSAGE i020(z50871msg) WITH 'General data not found'(002).
      ENDIF.
    ENDFORM.                    " get_customerdata
    *&      Form  get_bankdata
    FORM get_bankdata .
      SELECT kunnr banks bankl bankn
          FROM knbk
          INTO TABLE it_knbk
         WHERE kunnr IN so_kunnr.
      IF sy-subrc NE 0.
        MESSAGE i020(z50871msg) WITH 'Bank data not found'(003).
      ENDIF.
    ENDFORM.                             " get_bankdata
    *&      Form  block_init
    FORM block_init .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          i_callback_program       = sy-repid
          i_callback_pf_status_set = 'SET_PF_STATUS'.
        I_CALLBACK_USER_COMMAND  = ' '
        IT_EXCLUDING             = IT_EXCLUDING
    ENDFORM.                             " block_init
    *&      Form  SET_PF_STATUS
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'STANDARD'.  "Copy from SALV .
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  get_kna1_fcat
    FORM get_kna1_fcat .
      wa_kna1_fcat-fieldname = 'KUNNR'.
      wa_kna1_fcat-seltext_l = 'Customer Number'(004).
      APPEND wa_kna1_fcat TO it_kna1_fcat.
      wa_kna1_fcat-fieldname = 'NAME1'.
      wa_kna1_fcat-seltext_l = 'Customer Name'(005).
      APPEND wa_kna1_fcat TO it_kna1_fcat.
      wa_kna1_fcat-fieldname = 'ORT01'.
      wa_kna1_fcat-seltext_l = 'City'(006).
      APPEND wa_kna1_fcat TO it_kna1_fcat.
      wa_kna1_fcat-fieldname = 'LAND1'.
      wa_kna1_fcat-seltext_l = 'Country'(007).
      APPEND wa_kna1_fcat TO it_kna1_fcat.
      wa_kna1_fcat-fieldname = 'STRAS'.
      wa_kna1_fcat-seltext_l = 'Street & House No.'(008).
      APPEND wa_kna1_fcat TO it_kna1_fcat.
    ENDFORM.                    " get_kna1_fcat
    *&      Form  GET_KNBK_FCAT
    FORM get_knbk_fcat .
      wa_knbk_fcat-fieldname = 'KUNNR'.
      wa_knbk_fcat-seltext_l = 'Customer Number'(004).
      APPEND wa_knbk_fcat TO it_knbk_fcat.
      wa_knbk_fcat-fieldname = 'BANKS'.
      wa_knbk_fcat-seltext_l = 'Bank country key'(009).
      APPEND wa_knbk_fcat TO it_knbk_fcat.
      wa_knbk_fcat-fieldname = 'BANKL'.
      wa_knbk_fcat-seltext_l = 'Bank key'(010).
      APPEND wa_knbk_fcat TO it_knbk_fcat.
      wa_knbk_fcat-fieldname = 'BANKN'.
      wa_knbk_fcat-seltext_l = 'Bank account number'(011).
      APPEND wa_knbk_fcat TO it_knbk_fcat.
    ENDFORM.                    " GET_KNBK_FCAT
    *&      Form  BLOCK_KNA1_APPEND
    FORM block_kna1_append .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
         is_layout           = wa_layout
         it_fieldcat         = it_kna1_fcat
         i_tabname           = 'it_kna1'
        it_events            = it_events[]
      IT_SORT              = IT_SORT
      I_TEXT               = ' '
        TABLES
          t_outtab           = it_kna1
       EXCEPTIONS
         program_error                    = 1
         maximum_of_appends_reached       = 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.                    " BLOCK_KNA1_APPEND
    *&      Form  block_knbk_append
    FORM block_knbk_append .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
         is_layout              = wa_layout
         it_fieldcat            = it_knbk_fcat
         i_tabname              = 'it_knbk'
        it_events               = it_events[]
      IT_SORT                 = IT_SORT
      I_TEXT                  = ' '
        TABLES
          t_outtab              = it_knbk
       EXCEPTIONS
         program_error                    = 1
         maximum_of_appends_reached       = 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.                    " block_knbk_append
    *&      Form  block_list_display
    FORM block_list_display .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK             = ' '
      IS_PRINT                      = IS_PRINT
      I_SCREEN_START_COLUMN         = 0
      I_SCREEN_START_LINE           = 0
      I_SCREEN_END_COLUMN           = 0
      I_SCREEN_END_LINE             = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER       = E_EXIT_CAUSED_BY_CALLER
      ES_EXIT_CAUSED_BY_USER        = ES_EXIT_CAUSED_BY_USER
       EXCEPTIONS
         program_error                 = 1
         OTHERS                        = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " block_list_display
    *&      Form  GET_EVENTS
    FORM get_events .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 2
        IMPORTING
          et_events       = it_events[]
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " GET_EVENTS
    *&      Form  fill_layout
    FORM fill_layout .
      wa_layout-colwidth_optimize = 'X'.               "column width
      wa_layout-zebra = 'X'.
    wa_layout-no_hline = 'X'.
    wa_layout-no_vline = 'X'.
    wa_layout-cell_merge = 'X'.
    wa_layout-box_fieldname = 'CHECK'.
    wa_layout-box_tabname = 'IT_EKKO'.
      wa_layout-window_titlebar = 'CUSTOMER DETAILS INITIAL SCREEN'.
    ENDFORM.                    " fill_layout
    EXAMPLE FOR HIRERICAL....
    TYPE-POOLS : slis.
    *TYPES : BEGIN OF st_ekko,
             ebeln TYPE ekko-ebeln,    "Purchasing Document Number
             bstyp TYPE ekko-bstyp,    "Purchasing Document Category
             bsart TYPE ekko-bsart,    "Purchasing Document Type
             aedat TYPE ekko-aedat,    "record created on
             ernam TYPE ekko-ernam,    "Person who Created the Object
           END OF st_ekko.
    *TYPES : BEGIN OF st_ekpo,
            ebeln TYPE ekko-ebeln,    "Purchasing Document Number
            ebelp TYPE ekpo-ebelp,    "Item Number of Purchasing Document
            ematn TYPE ekpo-ematn,    "Material number
            matkl TYPE ekpo-matkl,    "Material group
            netpr TYPE ekpo-netpr,    "Net price in purchasing document
           END OF st_ekpo.
    TYPES : BEGIN OF st_ebeln,
             ebeln TYPE ekpo-ebeln,
            END OF st_ebeln.
    DATA :  IT_EKPO TYPE STANDARD TABLE OF EKPO WITH HEADER LINE,
            IT_EKKO TYPE STANDARD TABLE OF EKKO WITH HEADER LINE,
          it_ekpo TYPE STANDARD TABLE OF st_ekpo with header line,
          wa_ekpo TYPE st_ekpo,
          it_ekko TYPE STANDARD TABLE OF st_ekko with header line,
          wa_ekko LIKE LINE OF it_ekko,
           it_fieldcat TYPE slis_t_fieldcat_alv,
           wa_fieldcat LIKE LINE OF it_fieldcat,
           wa_layout TYPE slis_layout_alv,
           it_events  TYPE slis_t_event,
           st_event LIKE LINE OF it_events,
           st_keyinfo TYPE slis_keyinfo_alv,
           it_ebeln TYPE STANDARD TABLE OF st_ebeln.
    DATA : v_ebeln TYPE ekko-ebeln.
                           SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE tit.
    SELECT-OPTIONS: so_ebeln FOR v_ebeln OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b.
                             INITIALIZATION
    INITIALIZATION.
      tit = text-000.
                             AT SELECTION-SCREEN ON
    AT SELECTION-SCREEN ON so_ebeln.
      PERFORM validate_ebeln.
                             START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM get_data.
                             END-OF-SELECTION
    END-OF-SELECTION.
      PERFORM populate_fcat using 'IT_EKKO' 'EKKO'.
      PERFORM populate_fcat using 'IT_EKPO' 'EKPO'.
      PERFORM fill_keyinfo.
      PERFORM display_alv.
    *&      Form  validate_ebeln
    FORM validate_ebeln.
      SELECT  ebeln
          FROM ekpo
          INTO TABLE it_ebeln
          WHERE ebeln IN so_ebeln.
      IF sy-subrc NE 0.
        MESSAGE e020(z50871) WITH 'Purchase Document Number Is Invalid'.
      ENDIF.
    ENDFORM.                                           "validate_ebeln
    *&      Form  get_data
    FORM get_data .
    SELECT ebeln bstyp bsart aedat ernam
         FROM ekko
         INTO TABLE it_ekko
        WHERE ebeln IN so_ebeln.
    IF NOT it_ekko[] IS INITIAL.
       SELECT ebeln ebelp ematn matkl netpr
         FROM ekpo
         INTO TABLE it_ekpo
         FOR  ALL ENTRIES IN it_ekko
        WHERE ebeln EQ it_ekko-ebeln.
    ENDIF.
    SELECT *
      FROM ekko
          INTO TABLE it_ekko
         WHERE ebeln IN so_ebeln.
      IF NOT it_ekko[] IS INITIAL.
        SELECT *
          FROM ekpo
          INTO TABLE it_ekpo
          FOR  ALL ENTRIES IN it_ekko
         WHERE ebeln EQ it_ekko-ebeln.
      ENDIF.
    ENDFORM.                    " get_data
    *&      Form  POPULATE_FCAT
    FORM POPULATE_FCAT USING P_TABNAME TYPE SLIS_TABNAME
                             P_STRUCTURE LIKE DD02L-TABNAME.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'EBELN'.
    wa_fieldcat-tabname   = 'it_ekko'.
    wa_fieldcat-seltext_l = 'Purchase document number'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'BSTYP'.
    wa_fieldcat-tabname   = 'it_ekko'.
    wa_fieldcat-seltext_l = 'Purchasing Document Category'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'BSART'.
    wa_fieldcat-tabname   = 'it_ekko'.
    wa_fieldcat-seltext_l = 'Purchasing Document Type'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'AEDAT'.
    wa_fieldcat-tabname   = 'it_ekko'.
    wa_fieldcat-seltext_l = 'Created On'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'ERNAM'.
    wa_fieldcat-tabname   = 'it_ekko'.
    wa_fieldcat-seltext_l = 'Created By'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'EBELN'.
    wa_fieldcat-tabname   = 'it_ekpo'.
    wa_fieldcat-seltext_l = 'Purchase document number'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'EBELP'.
    wa_fieldcat-tabname   = 'it_ekpo'.
    wa_fieldcat-seltext_l = 'Item Number'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'EMATN'.
    wa_fieldcat-tabname   = 'it_ekpo'.
    wa_fieldcat-seltext_l = 'Material Number'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'MATKL'.
    wa_fieldcat-tabname   = 'it_ekpo'.
    wa_fieldcat-seltext_l = 'Material group'.
    APPEND wa_fieldcat TO it_fieldcat.
    wa_fieldcat-fieldname = 'NETPR'.
    wa_fieldcat-tabname   = 'it_ekpo'.
    wa_fieldcat-seltext_l = 'Net price in purchasing document'.
    APPEND wa_fieldcat TO it_fieldcat.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = SY-REPID
       I_INTERNAL_TABNAME           = P_TABNAME
       I_STRUCTURE_NAME             = P_STRUCTURE
      I_CLIENT_NEVER_DISPLAY       = 'X'
      I_INCLNAME                   = I_INCLNAME
      I_BYPASSING_BUFFER           = I_BYPASSING_BUFFER
      I_BUFFER_ACTIVE              = I_BUFFER_ACTIVE
      CHANGING
        ct_fieldcat                  = It_fieldcat
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 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.                    " POPULATE_FCAT
    *&      Form  fill_keyinfo
    FORM fill_keyinfo.
      CLEAR st_keyinfo.
      st_keyinfo-header01 = 'EBELN'.
      st_keyinfo-item01   = 'EBELN'.
    ENDFORM.                    " fill_keyinfo
    *&      Form  DISPLAY_ALV
    FORM display_alv .
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
        EXPORTING
      I_INTERFACE_CHECK              = ' '
         i_callback_program             = sy-repid
         i_callback_pf_status_set       = 'SET_PF_STATUS'
      I_CALLBACK_USER_COMMAND        = ' '
      IS_LAYOUT                      = IS_LAYOUT
         it_fieldcat                    = it_fieldcat
      IT_EXCLUDING                   = IT_EXCLUDING
      IT_SPECIAL_GROUPS              = IT_SPECIAL_GROUPS
      IT_SORT                        = IT_SORT
      IT_FILTER                      = IT_FILTER
      IS_SEL_HIDE                    = 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                         = ' '
      IS_VARIANT                     = IS_VARIANT
    IT_EVENTS                      = IT_EVENTS[]
      IT_EVENT_EXIT                  = IT_EVENT_EXIT
          i_tabname_header               = 'IT_EKKO'
          i_tabname_item         

  • Type pool

    what is the type pool used for placing a drop down list box on the module pool screen

    <b>TYPE-POOL</b>
    The introductory statement TYPE-POOL can only be used for type groups (type T programs). A program introduced with the TYPE-POOL statement can only contain global type definitions and constants declarations. The CLASS-POOL statement is generated automatically where required by the ABAP Dictionary - you should not insert it into programs manually.
    <b>example  for ALV</b>
    type-pools: slis.
    data:
    i_alv_fieldcat type slis_t_fieldcat_alv,
    i_alv_sortcat type slis_t_sortinfo_alv,
    i_alv_filtercat type slis_t_filter_alv,
    i_alv_eventcat type slis_t_event,
    i_alv_eventexitcat type slis_t_event_exit,
    i_alv_spgroupcat type slis_t_sp_group_alv,
    i_alv_excludingcat type slis_t_extab,
    w_alv_selhide type slis_sel_hide_alv,
    w_alv_isprint type slis_print_alv,
    w_alv_keyinfo type slis_keyinfo_alv,
    w_alv_layout type slis_layout_alv,
    w_alv_variant type slis_layout_alv,
    i_alv_list_top_of_page type slis_t_listheader,
    w_alv_save(1) type c value 'A',
    w_alv_default(1) type c value 'X',
    w_alv_interface_check type c,
    w_alv_sort_pos type i,
    w_alv_screen_start_column type i,
    w_alv_screen_start_line type i,
    w_alv_screen_end_column type i,
    w_alv_screen_end_line type i,
    w_percentage_old type i value 1.
    data: gt_events type slis_t_event,
    ls_event type slis_alv_event,
    g_repid type sy-repid,
    w_callback_subroutine type slis_formname,
    w_callback_program type sy-repid,
    w_no_zero(1) value 'X',
    w_alv_sortcat type slis_sortinfo_alv.
    data: t_header type slis_t_listheader,
    wa_header type slis_listheader,
    t_line like wa_header-info.
    reward points  if it is usefull ...
    Girish

  • Necessary Fields For Creation of Service PO of Order Type Relaese Order.

    Dear Guru,
    I have encountered an issue which i am trying to resolve...
    My this requirment will seem little okward the way i am asking but i have no way...
    The issue is I have to create a Service PO of Order type Release order (RO) using BAPI Function Module .BAPI_PO_CREATE1.
    The service PO should be of multiple Item and services for particular line item should be multiple.
    When I am creating this using ME21 or ME21N i am facing no issue.
    But when i am using BAPI Function Module .BAPI_PO_CREATE1
    i am getting following errors ;; The error which i am getting as below                                                                               
    T ID                   NUM MESSAGE                                                                               
    E BAPI                001 No instance of object type PurchaseOrder has been created. External reference:
    E MEPO              000 Purchase order still contains faulty items                                    
    E SE                   029 Please maintain services or limits                                            
    E SE                   140 Service HIRING OF LCD: please specify unit of measure
    But I am failing to findout in which field services  or limits and unit of measurement have to maintain.
    What are the necessary fields have to pass in Bapi import parameter and the table i am unable to findout.
    Please show some way how to resolve this or give me some guideline to resolve this
    Dear Moderator request your kind intervane to move this qurry into correct forum if i have asked this in wrong forum
    Thanks and regards
    saifur rahaman

    Hi Saifur
    Can you please elaborate how did you resolve the issue we are also facing same problem when we are trying to create the PO for service items through SRM it is throwing same error while creating the PO in SAP.
    Email Id : [email protected]
    Thank you in advance!!
    Regards
    Deepika

  • The codition type of free goods lost.

    We are facing a problem about the codition type of free goods.
    Our business flow is:
    1:customer order 100 DR material A from CRM.he entered the requited number in item 1.
    2:we transferred the order into r/3 system.and we define the free goods in r/3.the
    policy is that we give customer 1 dr free of charge when they buy 10 dr.
    3:when this order has been transferred into r/3,the system automatically add a line
    with 1 DR free of charge.
    4:in normal,in item 2,it will contain a condition type 'PR01' and 'NA00'.the 'PR01'
    is the price and the 'NA00' is the 100% discount.
    Nut Now the condition type 'PR01' and 'NA00' in item 2 lost.

    ANYONE KNOW THE REASON?

  • Set file type associations in Adobe Bridge for Photoshop CS6

    Is there a way I can edit the registry so that in Adobe Bridge, under edit, preferences, file type associations, the jpg extension is forced to use the 32-bit version of Photoshop?  I can do it manually, but is there a registry key i can export to apply it to multiple computers?

    Yes, in theory, but it is generally not recommended. But that location would depend on what OS you are on. This video give the locations for the Photoshop files, Bridge would just be in a neighboring folder: http://tv.adobe.com/watch/the-complete-picture-with-julieanne-kost/how-to-reset-photoshop- cs6s-preferences-file/

  • Cannot assign an empty string to a parameter with JDBC type VARCHAR

    Hi,
    I am seeing the aforementioned error in the logs. I am guessing its happening whenever I am starting an agent instance in PCo. Can somebody explain whats going on?
    Regards,
    Chanti.
    Heres the complete detail from logs -
    Log Record Details   
    Message: Unable to retreive path for , com.sap.sql.log.OpenSQLException: Failed to set the parameter 1 of the statement >>SELECT ID, PARENTID, FULLPATH, CREATED, CREATEDBY, MODIFIED, MODIFIEDBY, REMOTEPATH, CHECKEDOUTBY FROM XMII_PATHS WHERE FULLPATH =  ?  <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
    Date: 2010-03-12
    Time: 11:32:37:435
    Category: com.sap.xmii.system.FileManager
    Location: com.sap.xmii.system.FileManager
    Application: sap.com/xappsxmiiear

    Sounds like a UI browsing bug (when no path is selected from a catalog tree folder browser) - I would suggest logging a support ticket so that it can be addressed.

  • Material type not getting displayed in the cube........

    Hi,
    In my infocube material type for one of the material is not getting displayed.
    When I check in the content of the cube for this material all the fileds are getting displayed except material type.
    However it is present in the material master data from which it is put into the update rules to populate in the cube.
    Its getting displayed for some other materials , so we cant say that mapping is wrong or problem with update rules.
    Can some body let me know what could be the reason.
    Thanks,
    Jeetu

    Hi Jeetu,
    can you check in your cube if you have for one material, entries with AND entries without the MATL_TYPE? If this is the case then you were loading transactional data before having the corresponding material master data.
    You should adapt your scenario:
    - first do not use the standard attribute derivation during your URules: performance is very bad.
    - implement a start routine filling an internal table with your material and MATL_TYPE for all entries of material in your datapackage.
    - implement an update routine on the MATL_TYPE with a READ on this internal table an raise an ABORT = 4 if the MATL_TYPE is initial or the material in not found.
    Now to fix your situation you'll have to reload your cube or alternatively just reload your missing MATL_TYPE MATERIAL from your cube itself and selective delete those which are empty.
    hope this helps...
    Olivier.

  • How do i add type kit fonts to muse web site

    how do I +add type kit fonts to muse website

    Hi.
    Check this video, might be helpful
    Let me know if you have any questions

  • Just installed Firefox 4. It hangs when I open any website and type in, for example, an ID, or even just click on something, for example, "Compose", in my webmail site.

    Here's the detail of what happens.
    1. Turn on computer and then click on Firefox icon on desktop.
    2. Firefox opens. Everything looks OK. Mr Bunsen's graphic is working fine.
    3. Click on any webpage link. For example, a newspaper or an online webmail page. All looks OK until
    4. Click on anything or type anything, such as in ID in a box, and bingo, the top line of Firefox goes from dark blue to very pale blue and the computer is hung. You cannot get out of Firefox or get Firefox to work.
    5. Switch off computer.
    Is this perhaps due to a clash of Add-ons. I run Avast anti-virus. McAfee came with Firefox 4 and I did not reject it. Is it conflicting wth something in my system and causing it to hang?

    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • Which type of invoices does RKBP contains?

    Hello all,
    I have report all Vendor Invoices(open/closed).
    I know that tables RKBP and RSEG tables can  be used for this. I have to retrive based on posting only.
    Can anyone tell me does this tables contain both type of invoices?
    i have few more queries.
    Can anyone explain me wht is parked, complete and parket&complete invoice/doc types.
    thanks

    Hello,
    In table field RBKP-RBSTAT has all the statuses you are looking for.
    Parked:  Information required to post the invoice document is still missing and you do not want to have to re-enter the data entered so far. The balance is not zero.
    Parked and completed: No more changes should be made to the invoice document.
    The balance is zero. The invoice document is flagged for posting but is not to be posted yet.
    Thanks,
    Venu

  • Open follow up transaction type screen automatically after confirm account

    Hi Gurus,
    I have a transaction type Z010 for interaction record that is copied from standart 0010 transaction type.
    I define dependent transaction type SRVO that is service order as a follow up of Z010
    My requirement is to open automatically open service order screen after confirming account
    As agents must do everything vey quickly while they are on phone, it is needed urgently.
    Now they have to open Z010 interction record screen, have to press follow up button, click to clipboard and then can open the scrren of service order.
    How can we automatically open service order screen after confirming account??
    I will be very pleased if you will help...
    Thanks.

    Hi Denis, thanks for reply.
    I read it and see that interaction record is automatically created. How can it be made, is it a standard customizing?? Our interaction record is created automatically when follow up process-it is service order here- is created. First we confirm customer, then press to Interaction Record at the left hanside, then in this screen we press follow-up button, then click on Activity Clipboard, then service order screen is opened. I want to pass two steps, pressing Interaction Record and pressing follow up record, how can I do this??
    Exactly I have to define process type Business Activity for interaction record, I can't give Service Order process type directly to interaction record. Service Order type must be dependent to business activity, is it true?? If there is a way to directly giving service order type as an interaction record type, and making interaction record creation automatically after confirming, my problem is solved as very well.

  • Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Hi there,
    I use visual studio community 2013 to develop app for office. When I create app project using template and directly run it, it shows me this error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Can anyone help? Thanks in advance.

    Hi holm0104,
    Did you add custom code into the project? Can you reproduce the issue in a new project without custom code?
    If not, did you have issue when you create a normal web application?
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How can I get Firefox to fill my screen? There are gaps in the top and bottom of my screen, thanks.

    I dropped my laptop recently and messed up the hard drive so after installing new hard drive I reloaded win 7 and Mozilla Firefox. When Firefox loads up there is a 1" plus gap on the top and a half inch gap at the bottom of all pages. How can I get t

  • OBIEE Integration existing BI Publisher Report

    I am trying to look for a work around exposing BI Publisher report via OBIEE Dashbaord; Originally; I used the gadget to link directly to the BI Publisher report and selected the relative path to open; I noticed, in having 10 links on one dashboard t

  • Extended notifications and UWL

    Hi Friends,   I am using Extended notifications for sending notifications to lotus notes. In the notification we can maintain shortcut to open the workitem in SAP GUI. But the users use only UWL to access work items.So Is there any way to maintain th

  • Problem in printing D2k Reports in Win2000

    Earlier we have installed win98 and nt and were using developer 2000(Reports 3.0) for printing our character based reports but now after swiching to windows 2000 send that same reports from windows 2000 the printer didnt recognize the condenced codes

  • Share the customed data types between sequence files

    Is there any way to share the customed data type , ex. containter, between the sequence files? I created some containters, ex, datatype1 in the File1.seq. The other file File2.seq calls a subsequence which pass the datatype1 as parameter. But now I h