Add button in hierarchical list

Hi,
I would like to ask if I can add a button Excel in Place in ALV hierarchical list? If so, how can I do that? I'm using the CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'. Your help is much highly appreciated! Thanks in advance!
Edited by: ysera andrei on May 23, 2009 4:14 AM

Hi ysera andrei,
To display a buttom in the hierarchical ALV display.
Include the INCLUDE for icons.
INCLUDE <icon>
Declare a field with length of char4 in the final internal table.
When populating the data into the table based upon your requirements.
pass the icon name into the field,
sample code:
    WRITE : icon_create TO gt_item-supic.
Here I am passing the create icon in to the line item
and in the fieldcat preparation for the field, add the parameter     ls_fieldcat-hotspot = 'X'.
This will help you.
if any queries revert back.
Regards,
Phani.

Similar Messages

  • Add button in "Due List for Purchasing Documents" Screen

    Dear All,
    I need to add one button on "Due List for Purchasing Documents" Screen in customer view. Can you please suggest BADI for adding this button.
    Thanks

    Button to be added on toolbar.

  • Add button in POWL list and if i click on button it should dispaly details

    Hi Experts,
       In POWL alv list  for one column i need to add one button & if i click on that button i need to display data of that pertiuclar column. Please let me know if any body knows answer.
    Regards,
    Sri

    Sounds that you have an extension like IE Tab or IE View that allows to open web pages in IE.<br />
    You need to check the settings (options) of that extension to remove the choice for that website.

  • How to add a button in a list uibb

    Hello Volks,
    I need help.
    I have to add a Button ( or just events to a button ) to a list uibb dynamically at runtime, which means I can't use the ~get-definition method.
    This means I have to do it in ~get-data. I can define my actions there and add them to ct_action_usage but I can't come up with a way
    to assign them to the button.
    Does anyone have any idea how that might work?
    Thanks in advance.
    Mike

    Hi Micheal,
    We can achieve the required functionality in get_data method. First,Create the button and assign it to concerned action ( initially defined in GET_DEFINITION method ) at UIBB configuration. Now in case if you want it hide it at start up ,& have to modify based on a event ,the  visible parameter of the CT_ACTION_USAGE can be used to achieve it.
    VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-NONE. " To hide the UI concerned to method
    VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE." TO show the UI concerned to the method.
    In your case , following code will help accordingly. I have changed the visibility of button based on a event, initially I have disable the button and based on certain event I have enabled it again.
    data ls_act_def like line of ET_ACTION_DEFINITION.
       ls_act_def-ENABLED = 'X'.
       ls_act_def-ID = 'ADD'.
       ls_act_def-TEXT = 'Add a row'.
       ls_act_def-VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
       append LS_ACT_DEF to ET_ACTION_DEFINITION.
    endmethod.
    method IF_FPM_GUIBB_LIST~GET_DATA.
    IF IV_EVENTID->MV_EVENT_ID EQ  'FETCH_DATA'.
      field-SYMBOLS: <fs_field> like line of CT_ACTION_USAGE.
        loop at CT_ACTION_USAGE ASSIGNING <FS_FIELD>.
          case <FS_FIELD>-ID.
          when 'ADD'. " name of the field
              <FS_FIELD>-VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
                EV_ACTION_USAGE_CHANGED = ABAP_TRUE.
          ENDCASE.
          ENDLOOP.
    ENDIF.
    endmethod.
    Regards,
    Harsha

  • Add button to SNC screen

    Dear Experts,
    I have a requirement in SNC system.
    Requirement: Add a new button on screen Due List for Purchasing Documents, if we click on the button it has to open a new screen where we should have a file browse filed, browse and upload buttons to upload ASN details from presentation server.
    am using,
    WebDynpro Component: /SCF/UIWD
    WebDynpro Application: /scf/snc_s
    I have used following details to add button and acheived to add button alone, but how can I assing action/event, where can I create the screen, where can I write code and how can I assign this to button action.
    ApplicationID: ICH
    ScreenID: DUELIST
    ComponentID: DLRLTLR1
    Please help me out, almost from 2 weeks am doing R and D on it.
    Thanks in advance
    Pallu

    Thanks for your inputs Sai, but here the screen design is not static as normal webdynpro, normally we add a button and in OnAction property we create new action and we write code for the corresponding method, but in my case (expecially in SNC) everything I need to do with configurations, the transaction for screeen configuraitons is /N/SCF/SCREENCFG, and the BADI which I used for adding button is /SCF/UIMDL_APPCUST, you can find these details only in SNC (Supply Network and Collaboration) system.
    Please try with inputs again.
    Thanks again in advance!
    Pallu!!

  • How to add check box to list screen in SYCLO Agentry?

    Hi,
    How can I add a check box to the list screen. I want to add a new column which allows the user to select the check box.
    I have tried with "Allow Multi-Row Select" option. When I selected this option I am getting an error
    "The For Object defined for the "Transmit" action is invalid. 'None' is not a valid choice since the Multi-Row Selection option for the list screen is enabled."
    -Shyam

    Is the list screen in transaction screenset or Object?
    You can't use the field type button in a list screen.  But what you can do is take a 16 x 16 image, with a checked box not checked.
    Users will not be able just to check the box to enable it or not.  You need to have an action linked to a button to the selected row, or you can have an action fire if the user double checks the row.
    Stephen

  • How to remove Java Applications from "Add and Remove Programs" list?

    I have deployed my Java applications (both JWS and Applet) via JNLP with allow-offline option enabled and without installer-desc option specified.
    My questions are:
    1. An entry is added to the Add and Remove Programs list after launching the application via JNLP. Is it due to the specification of JNLP or JWS? Is there anyway to prevent this behavior?
    2. I removed my application by clearing the cache via Java Control Panel but the entry for the application is still listed in Add and Remove Programs. How can I remove the entry in the Add and Remove Programs?
    I have tried following methods but neither works:
    1.Go to Add and Remove Programs, and click [remove] button to the right of my application.
    *Warning message like 'Application cannot be uninstalled completely' is thrown.
    2.Follow instructions listed @ [Microsoft Online Support site|http://support.microsoft.com/kb/314481/en-us] to remove my application manually via Windows registry.
    *Couldn't find appropriate registry entry to delete.
    Thanks in advance!

    Hi, guys!
    This issue has been officially approved as a new bug (Bug Id: 6946221) for the JDK 1.6_20(might include any release below) release.
    It will take a couple of days for it to be shown up in the external Bug database. However, once it becomes available for viewing on external Bug database.I would like to encourage your valuable participation to vote on this bug to get it fixed ASAP by the SUN developer teams.
    Java Bug Database @
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6946221|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6946221]
    Voting for the bug @
    [http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6946221|http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6946221]
    Thank you for your cooperation!
    Edited by: Jay-K on Apr 23, 2010 12:14 AM

  • Memo doesn't display the "add" button on i Phone4 running iOs5th

    My Memo app called "Promemoria" in Italia, vannot display the "add" button, so .... I cannot add memo.
    Instead of that button there i the "Today" one.
    What's the problem?
    How can I solve it?

    Hi,
    That will be the Bonjour Buddy List.
    The Buddies are added to this one automatically.
    It picks up the other people using Macs and with iChat ON  (or Messages) with the Bonjour account enabled.
    You see their Name as it is in their Address Book > My Card.
    They see your Name as per your My Card in the Address Book (Contacts app on Mountain Lion)
    You will need to set up iChat with either an AIM name or a Jabber based one.
    8:09 PM      Tuesday; April 16, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Missing the "ADD" button for custom print sizes

    I can follow an instruction like:
    - Open the Printers or Printer And Faxes window from the Start menu. Right-click the Adobe PDF printer, and choose Printing Preferences.
    or i can get to that same place in Word/Print/etc.
    But when i get to the tab "Adobe PDF Settings" and look next to the drop-down for "Adobe PDF Page Size", the "ADD" button is missing.
    You can see what I mean with a screen print I pasted at http://www.miloshapiro.com/temp/temp.htm .
    I know I'm looking in the right place because I remember seeing the button there before.
    What might i possibly have messed up to have this button go away...and more importantly how can I get it back?
    I'm on Acrobat 6 on WinXP, if that matters.
    Will try to paste image below as well.

    Did you check for a custom setting under the Page Size list?

  • Link Document Library Add Button to home page

    Let me know if it is possible to link the document library add button to homepage or any other page, if possible add a new icon to it, as part of customization.
    I am using sharepoint 2013.
    If possible please let me know the steps, as well as few articles related to the above would be helpful.
    Thanks

    As you are not displaying your new item form into a dialog you can remove the IsDlg=1 from your link and you can append a &Source="PageWhereYouWantToGoBackAfterUpload".
    <a href="/sites/Contracts/_layouts/15/Upload.aspx?List=%7b89225CDC-B61A-45FC-8DC3-AC7DD97578CA%7d&amp;RootFolder=&amp;Source=http://www.yourSite.com"> Upload a doc</a>
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How to edit o/p fields in hierarchical list?

    how to make output fields as input enabled, displayed in the hierarchical list?
    i.e. to make them as editable?Is it possible in list display?

    Please refer this....
    *& Report ZFIR_WRITE_OFF
    REPORT zfir_write_off
    NO STANDARD PAGE HEADING
    MESSAGE-ID zles.
    TYPE-POOLS
    TYPE-POOLS:slis.
    TABLES
    TABLES: kna1, t001, zdunning_data, bsid, t052.
    INTERNAL TABLES
    To check for bukrs in selection screen
    DATA: BEGIN OF t_t001 OCCURS 0,
    bukrs TYPE t001-bukrs,
    END OF t_t001.
    To check for the customer in selection screen
    DATA: BEGIN OF t_kna1 OCCURS 0,
    kunnr TYPE kna1-kunnr,
    name1 TYPE kna1-name1,
    END OF t_kna1.
    *Data from BSID table
    DATA: BEGIN OF t_bsid OCCURS 0,
    bukrs LIKE bsid-bukrs,
    budat LIKE bsid-budat,
    kunnr LIKE bsid-kunnr,
    belnr LIKE bsid-belnr,
    zfbdt LIKE bsid-zfbdt,
    zterm LIKE bsid-zterm,
    dmbtr LIKE bsid-dmbtr,
    waers LIKE bsid-waers,
    vbeln LIKE bsid-vbeln,
    END OF t_bsid.
    *Data from ZDunning_data
    DATA: BEGIN OF t_zdunning OCCURS 0,
    belnr LIKE zdunning_data-belnr,
    kunnr LIKE zdunning_data-kunnr,
    zdef_notice_flg LIKE zdunning_data-zdef_notice_flg,
    zterm_notice_flg LIKE zdunning_data-zterm_notice_flg,
    END OF t_zdunning.
    *Data from t052 for base line days
    DATA: BEGIN OF t_t052 OCCURS 0,
    zterm LIKE t052-zterm,
    ztag1 LIKE t052-ztag1,
    END OF t_t052.
    *with duedate and date for write off calculation
    DATA: BEGIN OF t_data OCCURS 0,
    belnr LIKE bsid-belnr,
    kunnr LIKE bsid-kunnr,
    zterm LIKE bsid-zterm,
    zfbdt LIKE bsid-zfbdt,
    ztag1 LIKE t052-ztag1,
    duedate LIKE bsid-zfbdt,
    wdate LIKE bsid-zfbdt,
    vbeln LIKE bsid-vbeln,
    dmbtr LIKE bsid-dmbtr,
    waers LIKE bsid-waers,
    budat LIKE bsid-budat,
    vbelv like vbfa-vbelv,
    Name1 like kna1-name1,
    END OF t_data.
    *Output display in ALV report
    DATA: BEGIN OF t_output OCCURS 0,
    Flag type C,
    bukrs LIKE bsid-bukrs,
    kunnr LIKE bsid-kunnr,
    vbeln LIKE bsid-vbeln, "Invoice
    posnv like vbfa-posnv,
    wdate LIKE bsid-zfbdt,
    belnr LIKE bsid-belnr,
    dmbtr LIKE bsid-dmbtr,
    waers LIKE bsid-waers,
    budat LIKE bsid-budat,
    vbelv like vbfa-vbelv, "Contract
    name1 like kna1-name1,
    duedate like bsid-zfbdt,
    END OF t_output.
    To get contract number for the billing document number
    DATA: BEGIN OF t_vbfa OCCURS 0,
    vbelv LIKE vbfa-vbelv,
    vbeln LIKE vbfa-vbeln,
    POSNV like vbfa-POSNV,
    END OF t_vbfa.
    data: begin of t_cust occurs 0,
    KUNNR like kna1-kunnr,
    name1 like kna1-name1,
    end of t_cust.
    data: begin of t_head occurs 0,
    VBELv like vbfa-vbelv,
    posnv like vbfa-posnv,
    VKUEGRU type ZLIST_WO_RCANCEL,
    end of t_head.
    data: begin of it_veda occurs 0,
    VBELn LIKE Veda-VBELN,
    POSNR LIKE Veda-VPOSN,
    VKUEGRU LIKE Veda-VKUEGRU,
    end of it_veda.
    VARIABLE DECLARATION
    DATA: l_duedate LIKE bsid-zfbdt,
    l_wdate LIKE bsid-zfbdt.
    VARIABLE FOR ALV DISPLAY
    DATA: t_fieldcat TYPE slis_t_fieldcat_alv,
    wa_fieldcat TYPE slis_fieldcat_alv.
    DATA: t_fieldcat1 TYPE slis_t_fieldcat_alv WITH HEADER LINE,
    wa_fieldcat1 TYPE slis_fieldcat_alv.
    DATA: t_layout TYPE slis_layout_alv.
    DATA: g_repid LIKE sy-repid.
    SELECTION-SCREEN
    *Selection Screen Parameters for user input
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:
    *Company Code
    p_bukrs LIKE t001-bukrs OBLIGATORY.
    SELECT-OPTIONS:
    *Customer Number
    s_kunnr FOR kna1-kunnr OBLIGATORY DEFAULT '0' TO 'ZZZZZZZZZZ'.
    PARAMETERS:
    *Write Off Date
    p_wodate TYPE sy-datum OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1 .
    AT SELECTION-SCREEN
    *Selection Screen validation for Company code
    AT SELECTION-SCREEN ON p_bukrs.
    SELECT SINGLE bukrs FROM t001 "#EC *
    INTO t_t001
    WHERE bukrs = p_bukrs.
    IF sy-subrc NE 0.
    *Error message for Invalid Company Code
    MESSAGE e000 WITH text-002.
    ENDIF.
    *Selection Screen Validation for Customer
    AT SELECTION-SCREEN ON s_kunnr.
    IF NOT s_kunnr IS INITIAL.
    SELECT SINGLE kunnr name1
    FROM kna1 "#EC *
    INTO t_kna1
    WHERE kunnr IN s_kunnr.
    IF sy-subrc NE 0.
    *Error message for Invalid Customer Number
    MESSAGE e000 WITH text-003.
    ENDIF.
    ENDIF.
    AT SELECTION-SCREEN ON p_wodate.
    IF p_wodate IS INITIAL.
    p_wodate = sy-datum.
    ENDIF.
    INITIALIZATION
    INITIALIZATION.
    PERFORM clear_data.
    START-OF-SELECTION
    START-OF-SELECTION.
    *Get the Accounting Document Number and base line date from BSID
    SELECT bukrs kunnr belnr budat zfbdt zterm dmbtr waers vbeln
    FROM bsid
    INTO corresponding fields of TABLE t_bsid
    WHERE kunnr IN s_kunnr AND
    bukrs = p_bukrs.
    IF NOT t_bsid[] IS INITIAL.
    *Get the Dunning data based on the Accounting Document Number from BSID
    SELECT belnr kunnr zdef_notice_flg zterm_notice_flg
    FROM zdunning_data
    INTO TABLE t_zdunning
    FOR ALL ENTRIES IN t_bsid
    WHERE kunnr = t_bsid-kunnr AND
    belnr = t_bsid-belnr AND
    zdef_notice_flg = 'Y' AND
    zterm_notice_flg = 'Y'.
    *Get the base line days from t052 table based on BSID data
    SELECT zterm ztag1
    FROM t052
    INTO TABLE t_t052
    FOR ALL ENTRIES IN t_bsid
    WHERE zterm = t_bsid-zterm.
    *Calculate the due date(bse line date BSID-ZFBDT + base line days
    *T052-ZTAG )
    IF NOT t_zdunning[] IS INITIAL.
    Get the customer name
    Select KUNNR NAME1 from KNA1
    INTO table t_cust
    for all entries in t_zdunning
    where kunnr = t_zdunning-kunnr.
    LOOP AT t_zdunning.
    LOOP AT t_bsid.
    CLEAR t_zdunning.
    READ TABLE t_zdunning WITH KEY belnr = t_bsid-belnr
    kunnr = t_bsid-kunnr.
    CHECK sy-subrc = 0.
    CLEAR t_t052.
    READ TABLE t_t052 WITH KEY zterm = t_bsid-zterm.
    IF sy-subrc = 0 .
    t_data-belnr = t_zdunning-belnr.
    t_data-kunnr = t_zdunning-kunnr.
    Clear t_cust.
    read table t_cust with key kunnr = t_zdunning-kunnr.
    if sy-subrc = 0.
    t_data-name1 = t_cust-name1.
    endif.
    t_data-zterm = t_bsid-zterm.
    t_data-zfbdt = t_bsid-zfbdt.
    t_data-ztag1 = t_t052-ztag1.
    t_data-vbeln = t_bsid-vbeln.
    t_data-dmbtr = t_bsid-dmbtr.
    t_data-waers = t_bsid-waers.
    t_data-budat = t_bsid-budat.
    *calculate duedate
    CLEAR l_duedate.
    l_duedate = t_bsid-zfbdt + t_t052-ztag1.
    t_data-duedate = l_duedate.
    *calculate date for write off
    CLEAR l_wdate.
    l_wdate = l_duedate + 180.
    t_data-wdate = l_wdate.
    APPEND t_data.
    CLEAR l_wdate.
    CLEAR l_duedate.
    ENDIF.
    ENDLOOP.
    ELSE.
    MESSAGE s000 WITH text-005.
    ENDIF.
    *Check the wdate with write off date in the selection screen value.
    *If this calculated date is Greater than value enetred in selection
    *screen, display the corresponding data in ALV report.
    IF NOT t_data[] IS INITIAL.
    SELECT vbelv vbeln
    POSNV
    FROM vbfa
    INTO TABLE t_vbfa
    FOR ALL ENTRIES IN t_data
    WHERE vbeln = t_data-vbeln.
    and
    VBTYP_V = 'G'.
    *If reason for cancelation is there, no writeoff.
    Select VBELn VPOSN VKUEGRU from Veda
    into table it_veda
    for all entries in t_vbfa
    where vbeln = t_vbfa-vbelv.
    SELECT vbelv
    POSNV
    FROM vbfa
    INTO TABLE t_Head
    FOR ALL ENTRIES IN t_data
    WHERE vbeln = t_data-vbeln
    and
    VBTYP_V = 'G'.
    loop at t_head.
    clear it_veda.
    Read table it_veda with key vbeln = t_head-vbelv
    posnr = t_head-posnv.
    if not it_veda-VKUEGRU is initial.
    Delete t_head where vbelv = it_veda-vbeln and
    posnv = it_veda-posnr.
    endif.
    endloop.
    LOOP AT t_data.
    IF t_data-wdate LE p_wodate.
    t_output-bukrs = p_bukrs.
    t_output-kunnr = t_data-kunnr.
    CLEAR t_vbfa.
    READ TABLE t_vbfa WITH KEY vbeln = t_data-vbeln.
    read table t_head with key vbelv = t_vbfa-vbelv
    posnv = t_vbfa-posnv.
    if sy-subrc = 0.
    t_output-vbelv = t_vbfa-vbelv.
    t_output-posnv = t_vbfa-posnv.
    t_output-name1 = t_data-name1.
    t_output-wdate = t_data-wdate.
    t_output-belnr = t_data-belnr.
    t_output-dmbtr = t_data-dmbtr.
    t_output-waers = t_data-waers.
    t_output-budat = t_data-budat.
    t_output-vbeln = t_data-vbeln.
    t_output-duedate = t_data-duedate .
    APPEND t_output.
    ENDIF.
    clear t_output.
    ENDIF.
    ENDLOOP.
    ELSE.
    MESSAGE s000 WITH text-006.
    ENDIF.
    *ALV display for the output records
    IF NOT t_output[] IS INITIAL.
    PERFORM alv_display.
    ELSE.
    MESSAGE s000 WITH text-006.
    ENDIF.
    ELSE.
    MESSAGE s000 WITH text-004.
    ENDIF.
    *& Form clear_data
    text
    --> p1 text
    <-- p2 text
    FORM clear_data .
    CLEAR:t_t001,
    t_kna1,
    t_bsid,
    t_zdunning,
    t_t052,
    t_data,
    t_output,
    wa_fieldcat,
    t_layout,
    t_fieldcat,
    t_vbfa.
    REFRESH:t_t001,
    t_kna1,
    t_bsid,
    t_zdunning,
    t_t052,
    t_data,
    t_output,
    t_fieldcat,
    t_vbfa.
    clear:t_head,
    it_veda.
    Refresh:t_head,
    it_veda.
    Clear T_cust.
    Refresh t_data.
    ENDFORM. " clear_data
    *& Form alv_display
    text
    --> p1 text
    <-- p2 text
    FORM alv_display .
    *To build the field catalogue
    PERFORM build_fieldcatalog1.
    PERFORM build_fieldcatalog.
    *To build the ALV layout
    PERFORM build_layout.
    *To displayt the data in ALV report
    PERFORM display_alv_report.
    ENDFORM. " alv_display
    *& Form build_fieldcatalog
    text
    --> p1 text
    <-- p2 text
    FORM build_fieldcatalog1 .
    REFRESH t_fieldcat1.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '1'.
    wa_fieldcat-fieldname = 'VBELV'.
    wa_fieldcat-tabname = 'T_HEAD'.
    wa_fieldcat-seltext_l = 'Contract Number'.
    wa_fieldcat-Checkbox = 'X'.
    wa_fieldcat-edit = 'X'.
    wa_fieldcat-no_out = 'X'.
    wa_fieldcat-outputlen = '15'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '2'.
    wa_fieldcat-fieldname = 'POSNV'.
    wa_fieldcat-tabname = 'T_HEAD'.
    wa_fieldcat-seltext_l = 'Item Number'.
    wa_fieldcat-outputlen = '15'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '3'.
    wa_fieldcat-fieldname = 'VKUEGRU'.
    wa_fieldcat-edit = 'X'.
    wa_fieldcat-input = 'X'.
    wa_fieldcat-tabname = 'T_HEAD'.
    wa_fieldcat-drdn_hndl = '1'.
    wa_fieldcat-seltext_l = 'Reason for Cancel'.
    wa_fieldcat-outputlen = '25'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    endform.
    FORM build_fieldcatalog .
    REFRESH t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '4'.
    wa_fieldcat-fieldname = 'KUNNR'.
    wa_fieldcat-tabname = 'T_OUTPUT'.
    wa_fieldcat-seltext_l = 'Customer Number'.
    wa_fieldcat-outputlen = '15'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '5'.
    wa_fieldcat-fieldname = 'NAME1'.
    wa_fieldcat-tabname = 'T_OUTPUT'.
    wa_fieldcat-seltext_l = 'Customer Name'.
    wa_fieldcat-outputlen = '30'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '6'.
    wa_fieldcat-fieldname = 'VBELV'.
    wa_fieldcat-tabname = 'T_OUTPUT'.
    wa_fieldcat-seltext_l = 'Contract Number'.
    wa_fieldcat-outputlen = '20'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '7'.
    wa_fieldcat-fieldname = 'VBELN'.
    wa_fieldcat-tabname = 'T_OUTPUT'.
    wa_fieldcat-seltext_l = 'Invoice No.'.
    wa_fieldcat-outputlen = '10'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '8'.
    wa_fieldcat-fieldname = 'BELNR'.
    wa_fieldcat-tabname = 'T_OUTPUT'.
    wa_fieldcat-seltext_l = 'Acc doc Number'.
    wa_fieldcat-outputlen = '20'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '9'.
    wa_fieldcat-fieldname = 'WAERS'.
    wa_fieldcat-tabname = 'T_OUTPUT'.
    wa_fieldcat-seltext_l = 'Currency'.
    wa_fieldcat-outputlen = '15'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '10'.
    wa_fieldcat-fieldname = 'DMBTR'.
    wa_fieldcat-tabname = 'T_OUTPUT'.
    wa_fieldcat-do_sum = 'X'. "SUM UPON DISPLAY
    wa_fieldcat-datatype = 'CURR'.
    wa_fieldcat-seltext_l = 'Amount'.
    wa_fieldcat-outputlen = '15'.
    APPEND wa_fieldcat TO t_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos = '11'.
    wa_fieldcat-fieldname = 'DUEDATE'.
    wa_fieldcat-tabname = 'T_OUTPUT'.
    wa_fieldcat-seltext_l = 'Due Date'.
    wa_fieldcat-outputlen = '20'.
    APPEND wa_fieldcat TO t_fieldcat.
    data: lt_dropdown type lvc_t_drop,
    ls_dropdown type lvc_s_drop.
    First listbox (handle '1').
    ls_dropdown-handle = '1'.
    ls_dropdown-value = 'KG'.
    append ls_dropdown to lt_dropdown.
    ls_dropdown-handle = '1'.
    ls_dropdown-value = 'G'.
    append ls_dropdown to lt_dropdown.
    call method g_grid->set_drop_down_table
    exporting it_drop_down = lt_dropdown.
    ENDFORM. " build_fieldcatalog
    *& Form build_layout
    text
    --> p1 text
    <-- p2 text
    FORM build_layout .
    t_layout-no_input = 'X'.
    t_layout-colwidth_optimize = 'X'.
    ENDFORM. " build_layout
    *& Form display_alv_report
    text
    --> p1 text
    <-- p2 text
    FORM display_alv_report .
    g_repid = sy-repid.
    data g_keyinfo type SLIS_KEYINFO_ALV.
    g_keyinfo-HEADER01 = 'VBELV'.
    g_keyinfo-ITEM01 = 'VBELV'.
    g_keyinfo-HEADER02 = 'POSNV'.
    g_keyinfo-ITEM02 = 'POSNV'.
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
    i_interface_check = 'I'
    i_callback_program = g_repid
    i_callback_pf_status_set = 'SET_STATUS'
    i_callback_user_command = 'USER_COMMAND'
    is_layout = gs_layout
    it_fieldcat = t_fieldcat[]
    i_default = ' '
    i_save = 'A'
    i_tabname_header = 'T_HEAD'
    i_tabname_item = 'T_OUTPUT'
    i_structure_name_header = v_headers_table
    i_structure_name_item = v_items_table
    is_keyinfo = g_keyinfo
    i_bypassing_buffer = 'X'
    TABLES
    t_outtab_header = t_head[]
    t_outtab_item = i_result
    t_outtab_item = t_output[]
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    REFRESH: t_fieldcat[].
    refresh t_fieldcat1[].
    ENDFORM. " display_alv_report
    form SET_STATUS using extab TYPE slis_t_extab.
    SET PF-STATUS 'ZEO_S1' .
    endform.
    *& Form Top_Of_Page
    Top_Of_Page event in ALV
    FORM top_of_page .
    DATA: t_header TYPE slis_t_listheader,
    wa_header TYPE slis_listheader.
    Title
    wa_header-typ = 'H'.
    wa_header-info = ' Write Off Worklist'.
    APPEND wa_header TO t_header.
    CLEAR wa_header.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    it_list_commentary = t_header.
    ENDFORM. "Top_Of_Page
    *User Command for the button
    form user_command using r_ucomm type syucomm
    ls_selfield type SLIS_SELFIELD.
    Break-point.
    case r_ucomm.
    when 'EXEC'.
    data: begin of lt_cancel occurs 0.
    include structure ZCANCEL.
    data end of lt_cancel.
    Clear lt_cancel.
    Refresh lt_cancel.
    Data: ref1 type ref to cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
    E_GRID = ref1.
    call method ref1->check_changed_data.
    loop at t_Head where VKUEGRU is not initial.
    if ( t_HEAD-VKUEGRU NE '1' ) or
    ( t_Head-VKUEGRU NE '2' ) or
    ( t_head-VKUEGRU NE '3' ).
    Clear t_head-vkuegru.
    message e000 with text-110.
    endif.
    lt_cancel-vbeln = t_head-vbelv.
    lt_cancel-posnr = t_head-posnv.
    lt_cancel-VKUEGRU = t_head-VKUEGRU.
    Append lt_cancel.
    Clear lt_cancel.
    Endloop.
    CALL FUNCTION 'ZSD_CNTR_CANCEL'
    TABLES
    zcancel = lt_cancel.
    message s000 .
    endcase.
    endform.
    Regards
    vasu

  • Can i add an iWeb mailing list

    Hi there,
    can i add a simple mailing list into my iweb web site?
    The simple kind : "type email address here" box with the "ok" button.
    Thanks

    You probably would benefit from reading willG4PB's tutorial on adding simple forms to your website...
    http://web.mac.com/will.englefield/iWeb/WillG4PB/Forms.html
    Hope this helps!

  • Can you create or fake a Hierarchical Lists in Forms?

    I am interested in creating something like this on a form.
    Any general help in creating or faking a Hierarchical list in Acrobat forms would greatly be appreciated.
    Thanks

    You can also create a hierarchical list very similar to that with a custom dialog that you can create via JavaScript, but this and the pop-up menu Gilad mentioned don't get displayed on a page, but only transiently in popups. Such things are usually triggered by the user pressing a button or something similar. Both the app.popUpMenu and app.popUpMenuEx methods and information about custom dialogs are in the Acrobat JavaScript reference that's included in the free Acrobat SDK. Also online here: http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/js/html/ww help.htm?href=Introduction_Hel…

  • Can't Add To Access Control List Airport Express

    We have both Airport Extreme (2) and Express Base Stations (3) to create a wireless network. On the Extremes I can click the Add button in Access Control in the Airport Admin Utility to add people to the list. On all the Express Base Staions I can edit or delete entries already on the list but can't add any new ones. I can export an Access Control List but not import one. The button is greyed out only the button works. I could add to the lists in the past and I'm not sure when it stopped working. The network structure and settings have not changed. Has anyone heard of this problem?
    Aiport Express   Mac OS X (10.4.8)  

    WDS is used on two Express units to relay the signal from the main base station but not on third one which is connected directly to the network via ethernet.
    On the internet connected Express the Airport Network setting is:
    Wireless Mode: Create a Wireless Network (Home Router)
    All base stations have the same name to allow roaming.
    Internet is connected using Ethernet.

  • Downloaded 11.0.3 (42) 64 bit to my MacBook Pro and it crashes every time I select a song a use the 'add to' function to add to a play list. It's never done this before, is it a bug with the new version?

    downloaded 11.0.3 (42) 64 bit to my MacBook Pro and it crashes every time I select a song a use the 'add to' function to add to a play list. It's never done this before, is it a bug with the new version?

    You could just disable updates. Change these settings in about:config.
    * app.update.auto - set to false
    * app.update.enabled - set to false
    You can still check for updates with the "Check for Updates" button in the About Firefox window, but it will download the update file anyway if there is an update available. You can also check which is the current release from here:
    * http://sjc.mozilla.com/en-US/firefox/new/

Maybe you are looking for