Output icon in REUSE_ALV_COMMENTARY_WRITE

Hi,
Does anyone know how to oupt an icon in REUSE_ALV_COMMENTARY_WRITE?
Jakob

Suhas is right. If you use HTML_TOP_OF_PAGE and CL_DD_DOCUMENT,you can add icon to your alv header.The following code has been verified.
REPORT  zalv_test_list.
TYPE-POOLS:slis,icon.
DATA: td_sflight TYPE STANDARD TABLE OF sflight,
      th_sflight TYPE sflight.
DATA: td_field  TYPE slis_t_fieldcat_alv,
      th_field  TYPE slis_fieldcat_alv,
      td_head   TYPE slis_t_listheader WITH HEADER LINE,
      w_lines   TYPE sy-tabix.
SELECT * FROM sflight
    UP TO 100 ROWS
  INTO TABLE td_sflight.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
  EXPORTING
    i_program_name         = sy-repid
    i_structure_name       = 'SFLIGHT'
  CHANGING
    ct_fieldcat            = td_field
  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.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
  EXPORTING
    I_CALLBACK_PROGRAM    = sy-repid
    i_callback_html_top_of_page = 'TOP_OF_PAGE'
    it_fieldcat   = td_field
*    I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
  TABLES
    t_outtab      = td_sflight
  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.
*&      Form  TOP_OF_PAGE
*       text
FORM top_of_page USING document
                       TYPE REF TO cl_dd_document.
*  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
*    EXPORTING
*      it_list_commentary       = td_head
**       I_LOGO                  = textbutton
**     I_END_OF_LIST_GRID       =
**     I_ALV_FORM               =
  call method document->new_line.
  CALL METHOD document->add_icon
    EXPORTING
      sap_icon         = 'ICON_GREEN_LIGHT'
*    sap_size         =
*    sap_style        =
*    sap_color        =
*    alternative_text =
*    tabindex         =
  call method document->new_line.
ENDFORM.                    "TOP_OF_PAGE

Similar Messages

  • Icons and check boxes in report output ?

    i want to display output with icons, and symbols (like Telephone) and check boxes in output of a report ?
    how pzzz anybody send the example ?

    Hi,
    We can use in alv output icons and check boxes
             ICON(1)        TYPE C,        " as icon
             SYMBOL(1)      TYPE C,        " as symbol
             CHECKBOX(1)    TYPE C,        " as checkbox
    in field catolog we can use these fields and you have to assign like remaing fields how you are using like that only.  If you know Icon function code or symbol you put there,  I think it may works.  
    Thanks
    Ganesh

  • How do I select which bluetooth speakers to play out of? My iPod connects to both kitchen and living room speakers. My old iPod had a selection icon on the now playing screen, but my new one doesn't.

    Hi,
    Our setup
    A new iPod Touch 5 with iOS 8.3.
    Living room speakers that use a Logitech Bluetooth Audio Adapter.
    Kitchen speakers that use an AmazonBasics Bluetooth 4.0 Audio Receiver.
    The iPod connects to both but always wants to play to the kitchen. To play in the living room, we have to unplug the power to the kitchen speakers. Bluetooth settings screen doesn't let you select between Bluetooth connections. All I seem to be able to do is forget the connection.
    We also have an old iPod Touch (not sure of the generation, but it has iOS 6.1.6). On that one, there is a little icon on the now playing screen that would open a little pull-down menu to let you select which Bluetooth connection to use for playing audio.
    I don't see the "select output" icon on the new now playing screen
    Jimmy
    PS the iPod seems very aggressive in connecting. I hear the living room speakers activate when my wife gets out of the car in the driveway. Then as she comes into the living room, the sound switches to the kitchen.

    Thanks, this was the clue I needed to figure it out.
    From Settings you can pull up Control Center.
    In Control Center you can enable "Access from within Apps" (also "Access from Lockscreen")
    Now when I'm playing music, I can swipe up from the bottom and a little control center window slides up. Neat - this is new since my old iPod. On this window, the name of the current Bluetooth connection appears. Tap on that, and a list of connected Bluetooth items appears. I just tap on the one I want to connect to and I am now playing through the speakers I want.
    Jimmy

  • SPDIF output is disabled when connecting a HDMI device

    Hello, hope someone can help.
    I've got a Toshiba SAT U500 with Realtek audio driver. I want to send the video to the TV (via HDMI) and still send audio via SPDIF to the digital receiver. By some reason it is automatically enabling HDMI audio when I connect the TV, and on the SPDIF output (icon on Windows 7 -> Control Panel -> Hardware and Sound -> Sound) a telephone sign appears.
    What does that telephone sign mean? How to make the system not to disable SPDIF output when connecting a HDMI device?
    Thanx in advance!!!

    Howdy Gdad_Edw,
    Welcome to Apple Support Communities.
    Take a look at the article linked below, it provides information and troubleshooting tips that can help you resolve the no video issue with your Apple Digital AV Adapter and your iPad.
    About Apple Digital AV Adapters for iPhone, iPad, and iPod touch - Apple Support
    Troubleshooting
    If you encounter an issue using the Apple Digital AV Adapter or VGA Adapter:
    Disconnect and reconnect the adapter from the iOS device and display.
    Connect directly to the TV, projector, or external display using a known-good VGA or HDMI cable.
    Remove any VGA or HDMI extension cables or converters.
    Note that accessories that convert a VGA or HDMI signal to other video formats (DVI, Composite, Component) are not supported.
    Ensure that you are using the latest version of iOS. Some Apple Digital AV Adapters require iOS 5.1 or later.
    Ciao,
    -Jason

  • RoboHelp 7 and XML output

    Can RoboHelp 7 output topics as XML (.xml files) ?
    We are researching upgrading to RoboHelp 7 from our RoboHelp
    HTML 2002 versions. We skipped the X-series upgrades, but I recall
    reading that the X-series supported XML in some way. I downloaded
    the RH7 trial version and could not find anything in the Help about
    XML. Then it seems that suddenly an XML Output icon appeared in the
    Single Source Layouts pane. It was not there previously. I then
    could generate xhtml (.htm) files.
    We called sales who didn't seem to know and said we'd need a
    valid license to ask tech support.
    Can someone enlighten me about the history of the X-series
    and XML output, and what is actually possible for XML from RH7? And
    what you need to do to get the XML Output to appear in the Single
    Source Layoutspane? XML Output is not covered anywhere I found in
    help or knowledge base, but it seems so huge a deal that it makes
    me think I must be missing something.
    Thanks for your help.

    Hi Peter
    Thanks for your help. In the Single Source Layouts pane, I
    clicked create Layout, and selected XML Output, and it now appears
    in the Single Source Layouts screen. Still have some questions.
    1\ Do you know any of the history of what kind of XML support
    was offered in the X-series, and if version 7 offers less, more, or
    the same support?
    2\ Any idea why there is NOTHING mentioned in the RoboHelp
    Help if you search using XML or XML output? Even more curious is
    when I click the Help button from the XML Output Options box, I do
    find a topic called XML Output Options. I wonder why their main
    Search tool doesn't find this...
    We were hoping to migrate to XML using XMetaL, but Mgt is
    balking due to the time and costs involved in conversion and
    translation issues. Which is why we may need to upgrade RH2002 to
    RH7, so our legacy docs remain pretty much intact. But at the same
    time, we want to know what the current RH XML capabilites are, and
    are wondering what their plans are for the future, like, will they
    offer real XML out to the current major tech writing standard,
    DITA. We hope to start authoring new docs only then using XMetal so
    we don't take the conversion/translation memory hit.
    So yes, our XML questions are deliberate.

  • Re-assign outputs to channel strip

    I could not find the answer to the following question: how do I change the outputs of a channel strip?
    More details: I got a logic project file from someone else. The file uses outputs 23 and 24 for all channels. These outputs do not exist on my machine, so I don't hear those tracks. I would like to reassign the outputs to 1 and 2. If I clic on the output icon on the channel strip, nothing happens. I did not find anything in the menus, the manuals or this forum either.
    If I create a new track, I can assign outputs 1 and 2 to it and I hear the music on these outputs.
    Thank you in advance for any help.

    In your Mixer highlight all the tracks routed to 23-24 by sliding your mouse over them with left click pressed, all channels turn greyish-> then long click on one of the Ouput slots above the channel fader->menue opens->select 1-2->all of the selected channels will be routed to 1-2.

  • 1.5PROD/EA3/EA2/EA1 - Sticky Enable DBMS Output button [fixed]

    Any new worksheet (regardless of new connection or not) will have the Enable DBMS Output icon in the same state as the current worksheet. However, even if it displays as enabled, the new worksheet will not poll for DBMS output and DBMS Output will not be enabled for a new connection. To get a new connection to poll for DBMS output (where it's icon is "enabled" in this case), you need to "disable" DBMS output and then enable it again.

    This is one of a number fairly basic UI glitches that seem to take just forever to fix - this has been there since pre-1.0 days (!!!) even though it has been posted a number of times and according to one thread was being looked at by the dev team. Can someone on the dev team comment on whether anything has/will be done about this issue?
    theFurryOne

  • Symbol,icon

    In lists what is the difference between symbol and icon?

    Hi,
    AS SYMBOL
    Effect
    This addition outputs all the characters of the data object dobj as symbols. By including the type group SYM or the general Include program <LIST> in the global declaration part of the program, constants of the length 1 are declared for each character that can be appropriately displayed as a symbol - that is, characters whose names show the meaning of the respective symbol. The names of the constants and the meaning and length of the symbols can be taken from the type group or from the output of the executable program SHOWSYMB.
    Note
    The output length is determined, as usual, either implicitly by the data type of dobj or by an explicit specification.
    Example
    Displaying a hand symbol.
    INCLUDE <list>.
    WRITE sym_left_hand AS SYMBOL.
    AS ICON
    Effect
    This addition outputs icons. Be aware of the fact that not all icons are suitable for print lists. For dobj, data objects of the type c must be specified whose initial characters of the runtime environment can be interpreted as coding of an icon. Such data objects can be declared by including the type group ICON or the general Include programs <LIST> in the global declaration of the program.
    In the type group, a constant is declared for each icon that can be displayed. The names of the constants can be taken from the type groups or the output of the executable programs SHOWICON. This program also shows the corresponding output length and whether an icon can be printed or not.
    If the content of dobj cannot be interpreted as an icon or the content is changed by concurrent use of other additions for internal formats or external formats, blanks are output instead of icons.
    Notes
    None of the additions from the internal formats and external formats are forbidden. When the additions are used, care must be taken that the content of dobj can be interpreted as an icon.
    The output length is determined, as always, either implicitly through the data type of dobj or through an explicit specification. Characters of the output area that do not have the icon are set to blanks.
    Example
    Displaying a traffic light icon.
    INCLUDE <list>.
    WRITE icon_green_light AS ICON.
    Regards,
    Renjith Michael

  • Is there a way to disable stereo bluetooth in OS3 but keep Hands Free?

    Hi All,
    I've been a huge fan of my 3G since purchasing it last September and have adored it even more since buying my 2009 Acura TSX. The car and phone seemed built for eachother and have worked seamlessly together since I bought the car in November. Unfortunately, while I also enjoy many of the OS3 upgrades, the OS has made my in-car experience very challenging.
    The TSX has a built-in iPod connector that allows the stereo system to see and control most of the iPod functions (playlists, artists, albums, songs, etc.). The car also supports Hands-free Bluetooth for the phone functions simultaneously. Before the OS3 upgrade, all I had to do was simply plug the iPod connector into the phone, set the stereo to iPod and I was set. Since the OS3 upgrade, it seems that as soon as the phone detects the presence of ANY bluetooth network (presuming my Hands Free), it defaults the audio output to stereo bluetooth rather than the iPod connector. This forces me to have to go into the phone, navigate to the iPod app, select the audio output icon and then select the connector to get the audio to come through the stereo. One day when I own a car stereo that supports stereo bluetooth, I'll be thrilled to know this feature is available, however, presently, I'm dying for the ability to just turn this feature off (like WiFi, except that I need the Hands Free bluetooth capabilities for the phone to remain on). Just tell me how to set the default for audio output to be via the connector as it was before the OS3 upgrade and I'm set.
    Also, before OS3, calls would automatically mute the audio coming from the phone and yet this doesn't seem to happen now - or at least not as seamlessly as it did before. I haven't had a lot of examples of this occurrence to confirm the behavior but it's definitely happened at least once (music keeps playing after the call starts) and I presume it's related.
    Thanks for any help/guidance you can provide. This is my only real complaint with the phone especially since it represents a loss of convenience and functionality for me.
    Mike

    Hi Chuckee63,
    Thanks for the reply. Like you I eventually stumbled into the slow-down-and-wait solution as well. That has been serving me for about a month now. It's still annoying, though (I'm sure you'll agree) if you stop someplace quickly, leave the phone and get back in the car and have to disconnect and reconnect the phone.
    You're right about the TSX stereo supporting Bluetooth. I mistakenly thought it didn't when I wrote my original post. The Bluetooth option in the car is interesting. It's cool that it "kinda" works, but the next and previous options don't work and I occasionally get interference when listening via that method. I hate the lack of control I have via the stereo bluetooth interface. I also am rather disappointed with how much of an inconvenience got introduced with the iPhone OS3 upgrade. It was just about perfect beforehand.
    Anyhow, thanks for the response. Let's keep eachother informed if we have any other breakthroughs/better work-arounds!
    Mike

  • Message on SAP login screen

    Hi all,
    How to add a system message on the SAP logon screen.
    I just want to put display some content and links on screen where we enter client and username and password.
    regards,
    helpful answers are surely rewarded.

    Hi,
    Personalization of your SAP system  logon screen, splash screen etc
    1) Adding text to the SAP logon screen. This is very handy for identifying which SAP system the user is about to log onto, especially non production boxes. You can also warn them here of pending changes, updates or outages. Because it is up while they are typing in their userid and password, they can't claim they missed the system message. SAP icons like the stop sign and warning signs can also be displayed. Details can be found in OSS note #205487. Here are the guts:
    Go to Transaction SE61 and select the document 'General text' (selection via F4 help), and create a text with the name ZLOGIN_SCREEN_INFO in the language defined with profile parameter zcsa/system_language.
    If the text does not exist in the system language, no output is made.
    Note that there is space for 16 lines with 45 fixed-font characters each or for approximately 60 proportional space font characters on the logon screen.
    Title lines (can be recognized by means of format keys starting with a 'U') are highlighted in the display.
    You may also output icons at the beginning of lines by using an icon code (for example, @1D@ for the STOP icon). You can get a list of icon codes from Report RSTXICON. Pay attention to the codes with two '@' symbols displayed by the report. You cannot include text symbols. The 'include indicator' cannot be used for this function. SUBHINT here. These can be used on system messages as well.
    Creating/changing this text requires a changeable system. Therefore, for production systems, SAP recommends maintaining the text in the upstream system and then transporting it. To do this, select a transportable (customer) development class when you create the text and save the active version prior to the export. The transport is done via the transport object R3TR DOCT ZLOGIN_SCREEN_INFO The text can be changed in the original system only (see TADIR entry R3TR DOCT ZLOGIN_SCREEN_INFO). When making a change in a non-original system, a modified text would be generated which cannot be represented sensefully on the initial screen.
    2) Changing the splash screen on the main menu can add some pizzazz to the otherwise boring screen. It can also be changed easily on a regular basis. For production systems a company logo and/or company mission statement might be appropriate. Here are the instructions:
    First, in transaction SMW0 (SAP Web Repository), select "Binary data for WebRFC applications. The logo must be in a .gif format. From this transaction, create a new object, then choose to IMPORT. You must then specify the path to the .gif object you have saved, and select the option to TRANSFER.
    Then, maintain table SSM_CUST via SM30. Change the field START_IMAGE to the name of the object you created in SMW0.
    3) Changing the rippling water on the top right on all is easy but tedious and requires no change to the SAP system. The file name is 'sapalogo.bmp' and resided in the directory "SAPpcsapguithemesdefault". Looking at this file you can see how it works. Use an editor like Paint and replace each of the SAP ripple images with a morphing image of your own. Make sure the new image is the same size as the original. There are 33 images in the original but you don't need that many. One idea for a morphing image would be to take your company logo and have it build its way across the screen and then off again.
    4) Changing the startup movie is even easier. Replace the file 'sapss.avi' with a short avi of your own. This file resides in the same directory as 'sapalogo.bmp
    Pls reward points,
    Regards,
    Ameet

  • Adhoc Query

    Hi,
    I am using PAAH to execute Adhoc Queries.
    After executing T. Code PAAHEdit SettingsStatistics
    I clicked on Output Icon for executing Query relating to IT 0041. I am seeing a column called as Number where  it shows the number of records per Infotype.
    My Question is that the Number Column is showing 12 if I maintain all the fields in IT 0041. Is it possible for number column to show 1 instead of 12 thus showing the number based on records not on fields. It is working fine for other infotypes but not for IT 0041.
    Please Help.
    Regards,
    Ghanapriya

    Hi,
    It is standard logic enforced by SAP. You can change it to your own logic by changing respective infoset. To do that you should follow these steps:
    1. In transaction SQ02 select your infoset > CHANGE
    2. Go to "Field groups/data fields" section (right top corner) and find field group "Date specification". Remove from there standard SAP fields P0041-DAR01 and P0041-DAT01. These are the fields that loop during selection.
    3. Now you should add fields with your logic. For that go to "Data fields" section (left side of the screen). Find infotype "Date specifications P0041". There you should add new table to selection - PA0041. To this right click on line "Additional fields" > Create > Additional table > PA0041 and add selection criteria:
    SELECT SINGLE * FROM PA0041
    WHERE PERNR                = P0041-PERNR
       AND SUBTY                = P0041-SUBTY
       AND OBJPS                = P0041-OBJPS
       AND SPRPS                = P0041-SPRPS
       AND ENDDA                = P0041-ENDDA
       AND BEGDA                = P0041-BEGDA
       AND SEQNR                = P0041-SEQNR
    Save.
    4. Finally you have to add new fields to your infoset. Select from newly added group "HR Master Record: Infotype 0041 (Date Specifications) PA0041 " fields from "Date type PA0041-DAR01" to "Date for date type PA0041-DAT12" (all of date types) and drag and drop them to field group (see step 2) "Date specification". Save and generate your infoset.
    Now you will see all date types in one line in report output.
    Cheers

  • Calling Concurrent program from OAF-PDF Outtput not in English

    Hi ,
    I've successfully done "Calling Concurrent Program from OAF" once i clicked the button which i have in my page it generates RequestID and that shows request page,In that when i click "Output" icon the PDF file is opened.
    But in that PDF file it shows the datas in the different language.
    For example Emp name column is shown as
    ΚΙΝΓ
    ΧΛΑΡΚ
    ΣΧΟΤΤ
    ΦΟΡ∆
    ΣΜΙΤΗ
    ΑΛΛΕΝ
    Αδαµσ
    Σεντηιλςελ
    Σαραϖανα Χ
    Σεενυ
    Σαβενα
    Ηαριkindly help me...
    Regards,
    Saro

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • No mirroring when I select apple tv?

    When using  iPad2 with Apple TV, when I select to mirror with AppleTV the option to mirror is not listed under Apple TV as is shown on video about iOs5. I can select AppleTV but can only view what is playing on iPod2 no mirroring? Best I can explain it. iPad2 and AppleTV updates are current.?

    So go back to basics.  You are on ios 5 or better?  And your apple tv is on version 4.4 or better?  You can check the version on the apple tv by going to apple tv settings, general, about. 
    There have been somemcases where the apple tv upgrade did not stick, so check it again.
    On the pad, double click the home button, the swipemto see the left end of the task bar. Just to the left of the volume slider is a output icon. Tap it and you should have the choice of pad or apple tv.  When you touch apple tv, the mirroring option should appear.
    Make sure the pad and  the apple tv are on the same wireless network.

  • Events with REUSE_ALV_GRID_DISPLAY

    Hi, I would like to insert a "top of list" and  "end of list" into an ALV GRID, is it possible? the problem is that the top is too big so we need to show it just in the first page and in the same time we need that an end of list should be showed.
    Here we send our code, when we use the ALV List Works ok but with the ALV GRID, doesn't. It show us the end of list as a top of list and the top of list disapears.
    perform event_form.
    perform stampa_dati.
    *&      Form  event_form
    form event_form.
    Imposta evento TOP_OF_PAGE e routine in cui viene gestito
      ls_event-name = slis_ev_top_of_page.
      ls_event-form = 'TESTATA_ALV'.
      append ls_event to event_tab.
      clear ls_event.
    Imposta evento TOP_OF_LIST e routine in cui viene gestito
    ls_event-name = slis_ev_top_of_list.
    ls_event-form = 'XTOP_OF_LIST'.
      ls_event-name = slis_ev_end_of_list .
      ls_event-form = 'XEND_OF_LIST'.
      append ls_event to event_tab.
      clear ls_event .
    endform.                    " event_form
    *&      Form  stampa_dati
          text
    -->  p1        text
    <--  p2        text
    form stampa_dati.
    Messa a video dati con function-module
      data: w_callback like sy-repid.
      w_callback = sy-repid.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
    i_callback_program             = w_callback
    --------------" attivare se si vuole gestire una gui custom
        i_callback_pf_status_set       = 'MIO_STATO'
    i_callback_user_command        = 'USER_COMMAND'
    i_structure_name               = 'ZZPFIT00032'
    i_background_id                = ' '
    is_layout                      = layout
    it_fieldcat                    = tb_fieldcat[]
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
    it_sort                        = tb_u_sort[]
      IT_FILTER                      =
      IS_SEL_HIDE                    =
    i_default                = 'X'
    i_save                   = 'A'
        is_variant               = variante
          is_variant               = 'X'
    it_events                = event_tab[]
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN           = 1
      I_SCREEN_START_LINE            = 1
       I_SCREEN_END_COLUMN            = 64
      I_SCREEN_END_LINE              = 20
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
    tables
    t_outtab                       = tb_print_esec
    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.                    " stampa_dati
    *&      Form  testata_alv
          text
    -->  p1        text
    <--  p2        text
    form testata_alv.
      if p_spool is initial.
        exit.
      endif.
      data: w_datum    like bapi_field-date.
      data: w_uzeit(8) type c .
    data : tb_ls_line type zzpbct00007  occurs 0 with header line.
    data : tb_ls_line_sel type zzpbct00007  occurs 0 with header line.
      data: ls_line type slis_listheader.
      refresh tb_list_top_of_page.
      clear ls_line.
      write sy-datum to w_datum dd/mm/yyyy.
      write sy-uzeit to w_uzeit using edit mask '__:__:__'.
    inserisco data
      ls_line-typ  = 'S'.
      ls_line-key  = text-007 .
      ls_line-info = w_datum.
      append ls_line to tb_list_top_of_page.
    inserisco ora
      ls_line-typ  = 'S'.
      ls_line-key  = text-008 .
      ls_line-info = w_uzeit.
      append ls_line to tb_list_top_of_page.
    ***List body comment block output
      call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
               i_logo             = 'PMMN_LOGO'
                it_list_commentary = tb_list_top_of_page.
    endform.                    " testata_alv
    *&      Form  XEND_OF_LIST
          text
    -->  p1        text
    <--  p2        text
    form xend_of_list.
      if p_spool is initial.
        exit.
      endif.
      data: w_datum    like bapi_field-date.
      data: w_uzeit(8) type c .
      data :  vl_count(10)   type n.
      data: ls_line type slis_listheader.
    data tb_list_top_of_page type slis_t_listheader.
      data : tb_ls_line_sel type zzpbct00007  occurs 0 with header line.
      refresh tb_list_top_of_page .
      move tb_list_top_of_page[] to tb_ls_line_sel[] .
      move sy-repid to w_report.
      move sy-slset to w_variant .
      perform variante changing w_variant.
    inserisco nome variante
      ls_line-typ  = 'S'.
      ls_line-key  = text-009 .
      ls_line-info = w_variant .
      append ls_line to tb_ls_line_sel .
    inserisco dati da select-options e parameter
      call function 'ZZPBCF00007'
           exporting
                i_report    = w_report
                i_varian    = w_variant
           tables
                io_tab_line = tb_ls_line_sel[].
      move tb_ls_line_sel[] to tb_list_top_of_page[] .
    Inserisco contatore
      clear ls_line.
      ls_line-typ  = 'A'.
      vl_count = vg_contatore.
    Funzione creata per quando i contatori sono iguali a zero.
      perform performance_contatori using text-002
                                          vl_count
                                    changing ls_line-info.
      append ls_line to tb_list_top_of_page.
    **List body comment block output
      call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
               i_logo             = 'PMMN_LOGO'
                it_list_commentary =  tb_list_top_of_page .
    endform.                    " XEND_OF_LIST
    Thank you for your help !
    Claudia & Jessica.

    Hi
    it is possible in following way.......
    REPORT  ZALV1.
    ******************TABLE DECLARATION***********************************
    TABLES : VBAP.                    " tables declaration
    *****************TYPE POOLS*******************************************
    TYPE-POOLS : SLIS.                " slis type pool
    *****************INTERNAL TABLE DECLARATION***************************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    " internal table for sales document item
          VBELN LIKE VBAP-VBELN,      " sales document
          POSNR LIKE VBAP-POSNR,      " document item
          ERNAM LIKE VBAP-ERNAM,
          " name of the person who created the object
          ERDAT LIKE VBAP-ERDAT,      " date on which the record was created
          MATNR LIKE VBAP-MATNR.      " material number
    DATA : END OF IT_VBAP.
    DATA : BEGIN OF IT_MARA OCCURS 0, " general material data
           MATNR LIKE MARA-MATNR,     " material number
           ERNAM LIKE MARA-ERNAM,
           " name of the person who created the object
           MATKL LIKE MARA-MATKL,     " material group
           MEINS LIKE MARA-MEINS,     " base unit of measure
           PSTAT LIKE MARA-PSTAT.     " maintainence status
    DATA : END OF IT_MARA.
    ******************VARIABLE
    DECLARATION**********************************
    DATA : REPID LIKE SY-REPID.       " program name
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
    " field catalog table for vbap
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    DATA : IT_FIELDCAT1 TYPE SLIS_T_FIELDCAT_ALV,
    " field catalog table for mara
           WA_FIELDCAT1 TYPE SLIS_FIELDCAT_ALV.
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: GT_XEVENTS TYPE SLIS_T_EVENT.
    DATA: GT_YEVENTS TYPE SLIS_T_EVENT.            " events table
    DATA : XS_EVENT  TYPE SLIS_ALV_EVENT.          " events type
    DATA : GT_PRINT TYPE SLIS_PRINT_ALV.           " print table
    *******************MULTIPLE SELECT INPUT
    PARAMETERS**********************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    " multiple selection for sales document
    ******************INITIALIZATION**************************************
    INITIALIZATION.
      REPID = SY-REPID.
    *******************START OF
    SELECTION************************************
    START-OF-SELECTION.
      PERFORM POP_VBAP.
      " populating the table with document item data
      PERFORM POP_MARA.
      " populating the table with general material data
      PERFORM FIELD_CAT.
      " mapping the fields for the field catalog
      PERFORM EVENTS.                      " using the events
      PERFORM BLOCK_LIST.
      " displaying the data in blocked list
    *&      Form  field_cat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELD_CAT .
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      WA_FIELDCAT-COL_POS = 1.
      WA_FIELDCAT-OUTPUTLEN = 10.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-SELTEXT_L = 'DOC ITEM'.
      WA_FIELDCAT-COL_POS = 2.
      WA_FIELDCAT-OUTPUTLEN = 6.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'ERNAM'.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-SELTEXT_L = 'NAME'.
      WA_FIELDCAT-COL_POS = 3.
      WA_FIELDCAT-OUTPUTLEN = 12.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'ERDAT'.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-SELTEXT_L = 'DATE'.
      WA_FIELDCAT-COL_POS = 4.
      WA_FIELDCAT-OUTPUTLEN = 8.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-SELTEXT_L = 'MAT NO'.
      WA_FIELDCAT-COL_POS = 5.
      WA_FIELDCAT-OUTPUTLEN = 18.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT1-FIELDNAME = 'MATNR'.
      WA_FIELDCAT1-TABNAME = 'IT_MARA'.
      WA_FIELDCAT1-SELTEXT_L = 'MAT NO'.
      WA_FIELDCAT1-COL_POS = 1.
      WA_FIELDCAT1-OUTPUTLEN = 18.
      APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
      WA_FIELDCAT1-FIELDNAME = 'ERNAM'.
      WA_FIELDCAT1-TABNAME = 'IT_MARA'.
      WA_FIELDCAT1-SELTEXT_L = 'NAME'.
      WA_FIELDCAT1-COL_POS = 2.
      WA_FIELDCAT1-OUTPUTLEN = 12.
      APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
      WA_FIELDCAT1-FIELDNAME = 'MATKL'.
      WA_FIELDCAT1-TABNAME = 'IT_MARA'.
      WA_FIELDCAT1-SELTEXT_L = 'MAT DESC'.
      WA_FIELDCAT1-COL_POS = 3.
      WA_FIELDCAT1-OUTPUTLEN = 9.
      APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
      WA_FIELDCAT1-FIELDNAME = 'MEINS'.
      WA_FIELDCAT1-TABNAME = 'IT_MARA'.
      WA_FIELDCAT1-SELTEXT_L = 'UNITS'.
      WA_FIELDCAT1-COL_POS = 4.
      WA_FIELDCAT1-OUTPUTLEN = 3.
      APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
      WA_FIELDCAT1-FIELDNAME = 'PSTAT'.
      WA_FIELDCAT1-TABNAME = 'IT_MARA'.
      WA_FIELDCAT1-SELTEXT_L = 'STATUS'.
      WA_FIELDCAT1-COL_POS = 5.
      WA_FIELDCAT1-OUTPUTLEN = 15.
      APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
    ENDFORM.                    " field_cat
    *&      Form  events
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_PAGE.
      XS_EVENT-FORM = 'XEND_OF_PAGE'.
      APPEND XS_EVENT TO GT_XEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENT-FORM = 'XTOP_OF_PAGE'.
      APPEND XS_EVENT TO GT_XEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_LIST.
      XS_EVENT-FORM = 'XTOP_OF_LIST'.
      APPEND XS_EVENT TO GT_XEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_LIST.
      XS_EVENT-FORM = 'XEND_OF_LIST'.
      APPEND XS_EVENT TO GT_XEVENTS.
      CLEAR XS_EVENT.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_PAGE.
      XS_EVENT-FORM = 'YEND_OF_PAGE'.
      APPEND XS_EVENT TO GT_YEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENT-FORM = 'YTOP_OF_PAGE'.
      APPEND XS_EVENT TO GT_YEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_LIST.
      XS_EVENT-FORM = 'YTOP_OF_LIST'.
      APPEND XS_EVENT TO GT_YEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_LIST.
      XS_EVENT-FORM = 'YEND_OF_LIST'.
      APPEND XS_EVENT TO GT_YEVENTS.
    ENDFORM.                    " events
    *&      Form  XTOP_OF_PAGE
          text
    FORM XTOP_OF_PAGE.
    BREAK-POINT.
      WRITE: / 'X_TOP_OF_PAGE'.
    ENDFORM.                    "XTOP_OF_PAGE
          FORM XTOP_OF_LIST                                             *
    FORM XTOP_OF_LIST.
    BREAK-POINT.
      WRITE: / 'X_TOP_OF_LIST'.
    ENDFORM.                    "XTOP_OF_LIST
          FORM XEND_OF_PAGE                                             *
    FORM XEND_OF_PAGE.
    BREAK-POINT.
      WRITE: / 'X_END_OF_PAGE'.
    ENDFORM.                    "XEND_OF_PAGE
          FORM XEND_OF_LIST                                             *
    FORM XEND_OF_LIST.
    BREAK-POINT.
      WRITE: / 'X_END_OF_LIST'.
    ENDFORM.                    "XEND_OF_LIST
    FORM YTOP_OF_PAGE.
    BREAK-POINT.
      WRITE: / 'Y_TOP_OF_PAGE'.
    ENDFORM.                    "YTOP_OF_PAGE
          FORM YTOP_OF_LIST                                             *
    FORM YTOP_OF_LIST.
    BREAK-POINT.
      WRITE: / 'Y_TOP_OF_LIST'.
    ENDFORM.                    "YTOP_OF_LIST
          FORM YEND_OF_PAGE                                             *
    FORM YEND_OF_PAGE.
    BREAK-POINT.
      WRITE: / 'Y_END_OF_PAGE'.
    ENDFORM.                    "YEND_OF_PAGE
          FORM YEND_OF_LIST                                             *
    FORM YEND_OF_LIST.
    BREAK-POINT.
      WRITE: / 'Y_END_OF_LIST'.
    ENDFORM.                    "YEND_OF_LIST
    *&      Form  POP_VBAP
          text
    -->  p1        text
    <--  p2        text
    FORM POP_VBAP .
      SELECT VBELN
               POSNR
               ERNAM
               ERDAT
               MATNR
               FROM VBAP
               INTO CORRESPONDING FIELDS OF TABLE IT_VBAP
               WHERE VBELN IN S_VBELN.
    ENDFORM.                    " POP_VBAP
    *&      Form  POP_MARA
          text
    -->  p1        text
    <--  p2        text
    FORM POP_MARA .
      LOOP AT IT_VBAP.
        SELECT SINGLE MATNR
                      ERNAM
                      MATKL
                      MEINS
                      PSTAT
                      FROM MARA
                      INTO CORRESPONDING FIELDS OF IT_MARA
                      WHERE MATNR = IT_VBAP-MATNR.
        APPEND IT_MARA.
      ENDLOOP.
    ENDFORM.                    " POP_MARA
    *&      Form  BLOCK_LIST
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_LIST .
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          I_CALLBACK_PROGRAM       = REPID
          I_CALLBACK_PF_STATUS_SET = ' '
          I_CALLBACK_USER_COMMAND  = 'user_command'.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
          EXPORTING
            IS_LAYOUT                        = WA_LAYOUT
            IT_FIELDCAT                      = IT_FIELDCAT
            I_TABNAME                        = 'IT_VBAP'
            IT_EVENTS                        = GT_XEVENTS
      IT_SORT                          =
      I_TEXT                           = ' '
          TABLES
            T_OUTTAB                         = IT_VBAP
    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.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          IS_LAYOUT                        = WA_LAYOUT
          IT_FIELDCAT                      = IT_FIELDCAT1
          I_TABNAME                        = 'IT_MARA'
          IT_EVENTS                        = GT_YEVENTS
        IT_SORT                          =
        I_TEXT                           = ' '
        TABLES
          T_OUTTAB                         = IT_MARA
      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.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK             = ' '
         IS_PRINT                      = GT_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       =
      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
    Regards
    Vasu

  • Strange lines in pixel-preview mode

    Hi! I have a problem.
    When I'm drawing something with two windows (one is usual other in pixel preview) I have some strange white lines in pixel preview window. How can I solve it?
    Hope picture will clarify my question.
    Link to full size picture: https://dl.dropbox.com/u/33643074/white-lines.png

    There are no white lines in output icon. These lines are not objects, they are just bugs of Illustrator. When I zoom out and immediately zoom in window with pixel preview - white lines dissapear. But when I change something in usual window (moving any object or rotate) these lines appear again (only in pixel-preview window)!
    My file:
    https://dl.dropbox.com/u/33643074/icon.ai

Maybe you are looking for

  • HELP PLEASE!! Hard drive upgrade problem

    Hi everyone. I under the direction of others bought an 60GB Powerbook Hard Drive 5400RPM HItachi upgrade from powerbookmedic.com. I bought my powerbook in early 2001 and when I took it apart and proceeded to load in the new hard drive I noticed that

  • Contacting skype

    Is there anyway I can contact skype by phone or email?  I need them to contact me otherwise.  I signed in for Premium, got an email saying that my billing had gone wrong, I went through the payment again, and suddently I received emails with the conf

  • MacBook Disk Utility: "Input/Output Error" When Backing up my iBook

    Alright, here's the skinny: I'm backing up an iBook's system drive while in Target Disk Mode via my MacBook using DiskUtility. The drive I'm saving the image to is an HFS+ USB 2.0 enclosed standard 3.5" drive. I start the process and things go just f

  • Proximity not installed on this computer?

    I have receantly bought an iMac 27 and transferred all data from my old MacPro, using the Migration Assistant. I am an Adobe Creative Cloud member, and when opening a InDesign CS6 document in my new iMac, ID says: "If you edit the text in the documen

  • What about third party apps that are duds?

    I downloaded an app from the app store called Pimp My Screen and icon changer. It will not work. It was a paid app from the app store on my IPod 7.1. Does apple ever check to see if their products actually work? Rip off.