Hotspot on more than one fields in ALV Report

I want to add Hotspot on more than one field in ALV,
  one field is Vbeln , one is BSTNK, one is matnr and so on.
i have used form user_command.and have written coding for Vbeln (on vbeln i am showing transaction VA02)
i want to pass an eror mesaage when user clicks on bstnk or matnr.
Thanks

Hi Lovleen,
*Global definitions  *
Data Types
type-pools: slis.
types: begin of tp_data,
ebeln like ekko-ebeln,
*matnr like ekko-matnr,
*meins like ekko-meins,
lifnr like lfa1-lifnr,
chk1,
       end of tp_data,
       tp_tbl_data type standard table of tp_data.
Constants
Data objects (variable declarations and definitions)
Report data to be shown.
data: it_data type standard table of tp_data.
Heading of the report.
data: t_heading type slis_t_listheader.
======================= Selection Screen ==========================
selection-screen: begin of block b1 with frame title text-t01.
DATA: w_aux_ebeln like ekko-ebeln.
SELECT-OPTIONS s_ebeln for w_aux_ebeln
DEFAULT 1000 .
DATA: w_aux_lifnr like lfa1-lifnr.
SELECT-OPTIONS s_lifnr for w_aux_lifnr
DEFAULT 00000001000 .
selection-screen: end of block b1.
======================== Event Blocks =============================
at selection-screen.
start-of-selection.
  perform get_data using it_data.
end-of-selection.
  perform build_alv using it_data t_heading.
======================== Subroutines ==============================
*&      Form  get_data
      Gets the information to be shown in the report.
form get_data using t_data type tp_tbl_data.
SELECT e~ebeln
*e~matnr
*e~meins
l~lifnr
INTO CORRESPONDING FIELDS OF TABLE t_data
FROM ekko as e
inner join lfa1 as l on elifnr = llifnr
WHERE e~ebeln in s_ebeln
AND l~lifnr in s_lifnr
endform.                    " get_data
*&      Form  build_alv
      Builds and display the ALV Grid.
form build_alv using t_data type tp_tbl_data
                     t_heading  type slis_t_listheader.
ALV required data objects.
data: w_title   type lvc_title,
      w_repid   type syrepid,
      w_comm    type slis_formname,
      w_status  type slis_formname,
      x_layout  type slis_layout_alv,
      t_event    type slis_t_event,
      t_fieldcat type slis_t_fieldcat_alv,
      t_sort     type slis_t_sortinfo_alv.
refresh t_fieldcat.
refresh t_event.
refresh t_sort.
clear x_layout.
clear w_title.
Field Catalog
  perform set_fieldcat2 using:
1 'CHK1' 'XFELD' space space space 'Select' 'Select this row' 'Sel'
'Select this row' space space space 'X' 'X' space t_fieldcat,
2 'EBELN' 'EBELN' 'EKKO' space space  space  space  space  space space
space space space space space t_fieldcat ,
3 'MATNR' 'MATNR' 'EKKO' space space  space  space  space  space space
space space space space space t_fieldcat ,
4 'MEINS' 'MEINS' 'EKKO' space space  space  space  space  space space
space space space space space t_fieldcat ,
5 'LIFNR' 'LIFNR' 'LFA1' space space  space  space  space  space space
space space space space space t_fieldcat .
Layout
x_layout-zebra = 'X'.
Top of page heading
  perform set_top_page_heading using t_heading t_event.
Events
  perform set_events using t_event.
GUI Status
  w_status = ''.
  w_repid = sy-repid.
Title
w_title = <<If you want to set a title for
            the ALV, please, uncomment and edit this line>>.
User commands
  w_comm   = 'USER_COMMAND'.
Order
Example
PERFORM set_order USING '<field>' 'IT_DATA' 'X' space space t_sort.
Displays the ALV grid
  call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      i_callback_program       = w_repid
      it_fieldcat              = t_fieldcat
      is_layout                = x_layout
      it_sort                  = t_sort
      i_callback_pf_status_set = w_status
      i_callback_user_command  = w_comm
      i_save                   = 'X'
      it_events                = t_event
      i_grid_title             = w_title
    tables
      t_outtab                 = t_data
    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.                    " build_alv.
*&      Form  set_top_page_heading
      Creates the report headings.
form set_top_page_heading using t_heading type slis_t_listheader
                                t_events  type slis_t_event.
data: x_heading type slis_listheader,
      x_event   type line of slis_t_event.
Report title
  clear t_heading[].
  clear x_heading.
  x_heading-typ = 'H'.
  x_heading-info = ''(001).
  append x_heading to t_heading.
Program name
  clear x_heading.
  x_heading-typ = 'S'.
  x_heading-key = 'Program: '.
  x_heading-info = sy-repid.
  append x_heading to t_heading.
User who is running the report
  clear x_heading.
  x_heading-typ = 'S'.
  x_heading-key = 'User: '.
  x_heading-info = sy-uname.
  append x_heading to t_heading.
Date of execution
  clear x_heading.
  x_heading-typ = 'S'.
  x_heading-key = 'Date: '.
  write sy-datum to x_heading-info.
  append x_heading to t_heading.
Time of execution
  clear x_heading.
  x_heading-typ = 'S'.
  x_heading-key = 'Time: '.
  write sy-uzeit to x_heading-info.
  append x_heading to t_heading.
Top of page event
  x_event-name = slis_ev_top_of_page.
  x_event-form = 'TOP_OF_PAGE'.
  append x_event to t_events.
endform.
*&      Form  set_events
      Sets the events for ALV.
      The TOP_OF_PAGE event is alredy being registered in
      the set_top_page_heading subroutine.
form set_events using t_events type slis_t_event.
data: x_event   type line of slis_t_event.
Example
clear x_event.
x_event-name = .
x_event-form = .
append x_event to t_event.
endform.
*&      Form  set_order
      Adds an entry to the order table.
FORM set_order USING p_fieldname p_tabname p_up p_down p_subtot
                     t_sort TYPE slis_t_sortinfo_alv.
  DATA: x_sort TYPE slis_sortinfo_alv.
  CLEAR x_sort.
  x_sort-fieldname = p_fieldname.
  x_sort-tabname   = p_tabname.
  x_sort-up = p_up.
  x_sort-down = p_down.
  x_sort-subtot = p_subtot.
  APPEND x_sort TO t_sort.
ENDFORM.                    "set_order
*&      Form  set_fieldcat2
      Adds an entry to the field catalog.
   p_colpos: Column position.
   p_fieldname: Field of internal table which is being described by
*            this record of the field catalog.
   p_ref_fieldname: (Optional) Table field / data element which
*                describes the properties of the field.
*                If this field is not given, it is copied from
*                the fieldname.
   p_ref_tabname: (Optional) Table which holds the field referenced
*              by <<p_ref_fieldname>>.
                  If this is not given, the parameter
                  <<p_ref_fieldname>> references a data element.
   p_outputlen: (Optional) Column width.
   p_noout: (Optional) If set to 'X', states that the field is not
*           showed initially. If so, the field has to be
            included in the report at runtime using the display
            options.
   p_seltext_m: (Optional) Medium label to be used as column header.
   p_seltext_l: (Optional) Long label to be used as column header.
   p_seltext_s: (Optional) Small label to be used as column header.
   p_reptext_ddic: (Optional) Extra small (heading) label to be
*                used as column header.
   p_ddictxt: (Optional) Set to 'L', 'M', 'S' or 'R' to select
              whether to use SELTEXT_L, SELTEXT_M, SELTEXT_S,
              or REPTEXT_DDIC as text for column header.
   p_hotspot: (Optional) If set to 'X', this field will be used
*             as a hotspot area for cursor, alolowing the user
*          to click on the field.
   p_showasicon: (Optional) If set to 'X', this field will be shown
                 as an icon and the contents of the field will set
*             which icon to show.
   p_checkbox: (Optional) If set to 'X', this field will be shown
               as a checkbox.
   p_edit: (Optional) If set to 'X', this field will be editable.
   p_dosum: (Optional) If set to 'X', this field will be summed
            (aggregation function) according to the grouping set
            by the order functions.
   t_fieldcat: Table which contains the whole fieldcat.
FORM set_fieldcat2 USING
      p_colpos p_fieldname p_ref_fieldname p_ref_tabname
      p_outputlen p_noout
      p_seltext_m p_seltext_l p_seltext_s p_reptext_ddic p_ddictxt
      p_hotspot p_showasicon p_checkbox p_edit
      p_dosum
      t_fieldcat TYPE slis_t_fieldcat_alv.
  DATA: wa_fieldcat TYPE slis_fieldcat_alv.
  CLEAR wa_fieldcat.
General settings
  wa_fieldcat-fieldname = p_fieldname.
  wa_fieldcat-col_pos = p_colpos.
  wa_fieldcat-no_out = p_noout.
  wa_fieldcat-hotspot = p_hotspot.
  wa_fieldcat-checkbox = p_checkbox.
  wa_fieldcat-icon = p_showasicon.
  wa_fieldcat-do_sum = p_dosum.
Set reference fieldname, tablenam and rollname.
If p_ref_tabname is not given, the ref_fieldname given
   is a data element.
If p_ref_tabname is given, the ref_fieldname given is a
   field of a table.
In case ref_fieldname is not given,
   it is copied from the fieldname.
  IF p_ref_tabname IS INITIAL.
    wa_fieldcat-rollname =   p_ref_fieldname.
  ELSE.
    wa_fieldcat-ref_tabname = p_ref_tabname.
    IF p_ref_fieldname EQ space.
      wa_fieldcat-ref_fieldname =   wa_fieldcat-fieldname.
    ELSE.
      wa_fieldcat-ref_fieldname =   p_ref_fieldname.
    ENDIF.
  ENDIF.
Set output length.
  IF NOT p_outputlen IS INITIAL.
    wa_fieldcat-outputlen = p_outputlen.
  ENDIF.
Set text headers.
  IF NOT p_seltext_m IS INITIAL.
    wa_fieldcat-seltext_m = p_seltext_m.
  ENDIF.
  IF NOT p_seltext_l IS INITIAL.
    wa_fieldcat-seltext_l = p_seltext_l.
  ENDIF.
  IF NOT p_seltext_s IS INITIAL.
    wa_fieldcat-seltext_s = p_seltext_s.
  ENDIF.
  IF NOT p_reptext_ddic IS INITIAL.
    wa_fieldcat-reptext_ddic = p_reptext_ddic.
  ENDIF.
  IF NOT p_ddictxt IS INITIAL.
    wa_fieldcat-ddictxt = p_ddictxt.
  ENDIF.
Set as editable or not.
  IF NOT p_edit IS INITIAL.
    wa_fieldcat-input     = 'X'.
    wa_fieldcat-edit     = 'X'.
  ENDIF.
  APPEND wa_fieldcat TO t_fieldcat.
ENDFORM.                   "set_fieldcat2
======================== Subroutines called by ALV ================
*&      Form  top_of_page
      Called on top_of_page ALV event.
      Prints the heading.
form top_of_page.
  call function 'REUSE_ALV_COMMENTARY_WRITE'
    exporting
    i_logo             = <<If you want to set a logo, please,
                         uncomment and edit this line>>
      it_list_commentary = t_heading.
endform.                    " alv_top_of_page
*&      Form  user_command
      Called on user_command ALV event.
      Executes custom commands.
form user_command using r_ucomm     like sy-ucomm
                        rs_selfield type slis_selfield.
Example Code
Executes a command considering the sy-ucomm.
CASE r_ucomm.
   WHEN '&IC1'.
     Set your "double click action" response here.
     Example code: Create and display a status message.
     DATA: w_msg TYPE string,
           w_row(4) TYPE n.
     w_row = rs_selfield-tabindex.
     CONCATENATE 'You have clicked row' w_row
                 'field' rs_selfield-fieldname
                 'with value' rs_selfield-value
                 INTO w_msg SEPARATED BY space.
     MESSAGE w_msg TYPE 'S'.
ENDCASE.
End of example code.
endform.                    "user_command
Reward Points if useful.
Regards,
Manoj Kumar

Similar Messages

  • How to group by more than one fields in crystal reports

    Hi
    How to create groups in crystal reports by more than one fields, like
    select fields,aggregate functions from table group by a,b,c

    Not sure if I understand your question, but you you could create a formula to generate the string of data you want to group on.  Then simply create a group based on the formula field.
    For example, your formula could do something like (assuming all String fields):
    {table1.FirstName} + {table1.LastName} + {table1.DateOfBirth}
    , and then group on this formula.
    -MJ

  • At Line-selection in ALV for more than one field.

    How to use At Line-selection in ALV Basic Report where there are more than one field for displaying Secondary Lists.
    Ex: In Basic List there are 3 fields Volume_m Volume_y and Volume_i.When i click on any of the field i need to display the secondary list for that particular field.

    Hi Pavan,
                  Use User-command event of ALV.
    Refer this code :
    form BUILD_EVENTCAT  using    p_i_eventcat TYPE SLIS_T_EVENT.
    DATA: I_EVENT TYPE SLIS_ALV_EVENT.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
       I_LIST_TYPE           = 0
    IMPORTING
       ET_EVENTS             = P_I_EVENTCAT
    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.
      clear I_event.
      read table p_i_eventcat with key name = slis_ev_user_command into I_event.
      if sy-subrc = 0.
        move 'USER_COMMAND' to I_event-form.
        append I_event to p_i_eventcat.
      endif.
    form USER_COMMAND' using p_ucomm type sy-ucomm
                               p_selfield type slis_selfield.
      case p_ucomm.
      WHEN '&IC1'.                       "&IC1 is the Fcode for double click
    Use  P_ELFIELD-VALUE  for further processing . this  will contain the value on which u will double click
    endcase.
    Reward points if helpful.
    Regards,
    Hemant

  • Creating form - want to change font style and size in more than one field at a time HOW??

    creating form - want to adjust font style and size in more than one field at a time - HOW??

    Select the fields with the mouse, right-click one of them, go to Properties
    and set the settings you'd like them all to have.
    On Wed, Jan 21, 2015 at 8:51 PM, chuckm38840797 <[email protected]>

  • When designing, how do I copy more than one field at a time?

    How do I copy more than one field at a time?

    Hi,
    You can use the Ctrl or Shift modifier keys to select multiple form items. Ctrl+click toggles the selected state of the item. Shift+click selects a range of form items.
    Regards,
    Brian

  • NetBeans VWP: help w/ AJAX, is it possible to refresh more than one field?

    I have a form with lots of fields. Some of them the value is retrieved from the database, for example the service field, where the user types the service id and at the onChange event the form is submitted, executing the processValueChange handler. In this handler the service data is retrieved from the database and a static text with the service name and a static text with the service price are updated.
    I'm trying to do this with AJAX, so at the onChange event of the service id text field I have the following:
    document.getElementById('form1:stServiceName').refresh('form1:tfServiceId');
    document.getElementById('form1:stServicePrice').refresh('form1:tfServiceId');It works, but the processValueChange handler is executed 2 times, and that's a problem...
    Isn't there any way to refresh more than one field? With something like this for example:
    document.getElementById('form1:tfServiceId').submit();
    document.getElementById('form1:stServiceName').refresh();
    document.getElementById('form1:stServicePrice').refresh();Thanks for any help,
    Felipe

    You may want to try creating your own custom popup lov
    http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html
    you can then create your own lov report listing all people and then when you click the name required you can passback as many values as required to the calling form.

  • How to select and copy more than one field in SMARTFORMS

    Hello, I have about 60 fields in my smartforms, I need to copy them and paste once more at the same page. There is a problem, I can not select and copy more than one field. Is there some trick to copy and paste more than one element simultanicly?

    Hi,
    There is no way to copy multiple elements in smartform.
    you have to do one by one only

  • How to assign values for more than one field

    Hi,
    I have written following code
    constants: fieldname(30) value '(SAPMF02D)KNA1-AUFSD'.
    constants: fieldname1(30) value '(SAPMF02D)KNA1-LISFD'.
    constants: fieldname2(30) value '(SAPMF02D)KNA1-FAKSD'.
    field-symbols: <L_FIELD>  TYPE ANY.
    field-symbols: <L_FIELD1> TYPE ANY.
    field-symbols: <L_FIELD2> TYPE ANY.
          Assign (fieldname) to <l_field>.
          <L_FIELD> = 'ZB'. " value according to your requirement
          Assign (fieldname1) to <l_field1>.
          <L_FIELD1> = 'ZB'.
    while debugging <l_field1> is not assinging (fieldname1).
    Im able to assing for (fieldname).
    how to assign value for (fieldname1).
    plz suggest me to assign values for more than one field.
    Regards,
    Brahmaji

    Hello,
    Because there is no field name called LISFD in KNA1. Actually you misspelled the field name.
    It is KNA1-LIFSD

  • Dynamic Filter SAP HANA - For more than one field

    Hi Guys,
        Is their any way we can apply filter for more than one field. Lets take below example  i want to apply filter both on PERNR & DOJ. I am able to apply filter on PERNR but when i try to create filter on more than one field (PERNR & DOJ ) it throws me some error.
    Please let me know how we can achieve this.
    OUT_EMP_SAL = SELECT A.PERNR, A.DOJ, A.FNAME, B.SALARY FROM "SAPH74".EMP_INFO A
    INNER JOIN "SAPH74".EMP_SAL B
    ON A.PERNR = B.PERNR;
    OUT_EMP_SAP = APPLY_FILTER(:OUT_EMP_SAL, :IN_PERNR )

    Hi Lakshmi,
    You may need to use the end while calling, i took the same example from the "Help" in hana.
    CREATE PROCEDURE GET_PROCEDURE_NAME (IN filter NVARCHAR(100), OUT procedures outtype)
    AS
    BEGIN
        temp_procedures = SELECT SCHEMA_NAME, PROCEDURE_NAME FROM SYS.PROCEDURES;
        procedures = APPLY_FILTER(:temp_procedures,:filter);
    END;
    CALL GET_PROCEDURE_NAME(' SCHEMA_NAME = ''SYS'' AND PROCEDURE_NAME like ''TREX%''', ?);
    Regards,
    Krishna Tangudu

  • Summarization of field on more than one field

    Hi All,
    I have a internal table in which I have 6 field and I have to summarize the 6th field on basis of first five field.
    can I summarize one field in internal table on more than one field.
    Please help me out.
    Regards,
    Sandeep

    Hi sandeep,
    1. u want to summarize (total)
      the sixth field,
      on the basis of different combinations of first 5 fields.
    2. simple
    3. Create another table,
       with the same structure, say STAB.
    4. just use this logic.
    5. LOOP AT ITAB.
       CLEAR STAB.
       MOVE-CORRESPONDING ITAB TO STAB.
       <b>COLLECT STAB.</b>
      ENDLOOP.
    regards,
    amit m.

  • [svn] 4916: sdk-14180 Handle updates to more than one field in an item when autoupdates are off .

    Revision: 4916
    Author: [email protected]
    Date: 2009-02-10 13:32:12 -0800 (Tue, 10 Feb 2009)
    Log Message:
    sdk-14180 Handle updates to more than one field in an item when autoupdates are off.
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-14180
    Reviewer: ryan
    tests: checkintests mustella:collections
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-14180
    http://bugs.adobe.com/jira/browse/sdk-14180
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/ListCollectionView .as

    Revision: 4916
    Author: [email protected]
    Date: 2009-02-10 13:32:12 -0800 (Tue, 10 Feb 2009)
    Log Message:
    sdk-14180 Handle updates to more than one field in an item when autoupdates are off.
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-14180
    Reviewer: ryan
    tests: checkintests mustella:collections
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-14180
    http://bugs.adobe.com/jira/browse/sdk-14180
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/ListCollectionView .as

  • Cant use more than one authorization group per report with SBO CR Basic

    Cant use more than one authorization group per report with SBO CR Basic.
    I have installed on SAP Business One SBO 2007 SP00 PL49 the Crystal Reports Basic 2.0.0.7.
    i have defined two users, manager and supervisor.
    I have defined two groups, M and S.
    Manager belongs in managers (M), and supervisor is assigned to the supervisors (S).
    i enter to one report, disable the public option to enable group authorization, and then check M group.
    Manager can see the report, but Supervisor is not allowed. So far good.
    Then i uncheck M, then check S in the report properties, and Manager cant get in, supervisor opens the report, So far good.
    But when we check both Groups or more, only the M group authorization appears to work, and S group users cant acess, even the report is allowed for that group, also happens with all the groups appart the first (2nd, 3rd, 4th, etc.).
    It seems that a report can manage a single group, but i have to be shure to tell this to the customer.
    So far we have included all Manager users to the S group in order that only S group is used and authorized users can use, but this is duplicating user participation in groups, and it would be much easier to check the desired groups for a single report.

    Cant use more than one authorization group per report with SBO CR Basic.
    I have installed on SAP Business One SBO 2007 SP00 PL49 the Crystal Reports Basic 2.0.0.7.
    i have defined two users, manager and supervisor.
    I have defined two groups, M and S.
    Manager belongs in managers (M), and supervisor is assigned to the supervisors (S).
    i enter to one report, disable the public option to enable group authorization, and then check M group.
    Manager can see the report, but Supervisor is not allowed. So far good.
    Then i uncheck M, then check S in the report properties, and Manager cant get in, supervisor opens the report, So far good.
    But when we check both Groups or more, only the M group authorization appears to work, and S group users cant acess, even the report is allowed for that group, also happens with all the groups appart the first (2nd, 3rd, 4th, etc.).
    It seems that a report can manage a single group, but i have to be shure to tell this to the customer.
    So far we have included all Manager users to the S group in order that only S group is used and authorized users can use, but this is duplicating user participation in groups, and it would be much easier to check the desired groups for a single report.

  • Populating more than one table and more than one field

    I need some suggestions and this forum has always been a great source of good advice.
    I have a web form at the following location: http://www.webdevpractice.com/genoptix/CE/register.php
    Here's what the web form needs to do:
    Send a confirmation email listing seminars the visitor checked on the form.
    Create a similar message on a confirmation page.
    Populate 2 two tables.
    Items 1 and 2 are working fine.
    The advice I need is on how to populate two tables in the database.
    There are three tables:
    ACCOUNTS
    account_id
    first_name
    last_name
    medtech_id
    job_title
    npi
    company
    city
    state
    email
    phone
    contact
    ATTENDANCE
    attendance_id
    account_id
    seminar_id
    SEMINARS
    seminar_id
    seminar
    speaker_first_name
    speaker_last_name
    date
    The web form contains data that need to go into the ACCOUNTS table and the ATTENDANCE table. The challenge is getting the account_id and seminar_id into the ATTENDANCE table. If all the information was inserted properly, I could write a query that revealed who was taking what seminar.
    Inserting data into the ACCOUNTS table is not a problem. I will create another form to insert information into the SEMINARS so that should not be a problem. But inserting the account_id and the seminar_id is what I am wondering about. Also, can more than one record be inserted in a table? If an user checks more that one seminar, each seminar (seminar_id) would need to be inserted in the ATTENDANCE table as separate records along with the account_id. I'm thinking I may have to do this manually. Also, the values for each seminar are their dates and titles. I used these as values to send the confirmations.
    I'm just looking for advice at this point. Is this doable?

    Bregent,
    The table I am wondering about is the ATTENDANCE table. There are two fields in addition to the primary key: account_id and seminar_id. The field I am concern with is the seminar_id which comes from a group of checkboxs on the form. So, one form could create several records. For example, presently there are three seminars that are offered. If the visitor selects all three seminars, that would create three records in the SEMINARS table. So, it might look like this:
    attendance_id     account_id     seminar_id
         1                    1                    1
         2                    1                    2
         3                    1                    3
    My PHP skills are basic. I've done other forms and use PHP in other ways. But I have never had to populate several rows in one table with an array of checkboxes nor have I be able to find an example of this.
    So the advice I am seeking (and perhaps this is premature) is this:
    Can one field from a table populate more than one record?
    Should I set up checkboxs as a group or individually with a different name?
    I am also considering setting up my tables differently so there is a table from each seminar--that may solve my problem.

  • Control break statement for more than one fields

    How can I accomodate more than 2 fields in control break statement?
    e.g. if I want to have control on these fields land1 plant , how can I use it in At statement?
    Thanks

    Hey Marcin,
    If you define the table as:
    DATA:
    BEGIN OF ITAB OCCURS 0,
    LAND TYPE LAND1,
    WERKS TYPE WERKS_D,
    END OF ITAB.
    Then AT NEW WERKS will be triggered whenever there is change in either LAND or WERKS:
    LOOP AT ITAB.
    AT NEW WERKS.
    ENDAT.
    ENDLOOP.
    So
    If you want to use both field as one, you will need to create another field and hold there concatenation of LAND1 and PLANT
    is not required.
    Correct me if i am wrong
    BR,
    Suhas
    Edited by: Suhas Saha on Feb 15, 2010 3:14 PM

  • How to remove tooltips from more than one field at a time?

    I use the wizard and now there are more than 2000 fields with useless tooltips on each of them. How do I remove all the tooltips at once?

    Run this code from the JS console:
    for (var i=0; i<this.numFields; i++) {
        var f = this.getField(this.getNthFieldName(i));
        if (f==null) continue;
        f.userName = "";

Maybe you are looking for

  • Target host changing domain

    Quickie, I have a target host moving from one domain to another. I thought this was in the documentation, but it isn't. So...I think all i need to do is: 1) emctl upload (clear all pending files) 2) stop agent 3) delete targets from grid (its only ag

  • FLV Video is Jerky

    I used media encoder to convert my 3 minute widescreen 856x480 video to a 428x240 flv. It plays OK on my computer but after I embed it in a webpage in Dreamweaver and upload it, it plays jittery on the internet. How can I get it play smoothly like al

  • Photoshop cc vs cs6

    Why isn't there same updates to photoshop cs 6 than there is to photoshop cc

  • Asha 305 live tv

    Is asha 305 supports live tv ? If it supports plz give me links of that chsnnels or site. I have tried many sites for that . It buffers for some time and finally shows 'no responce'. I want to clear that my streaming settings are proper even i can pl

  • Pause execution

    Hello!! I want to pause my execution after a message ("display message to the user" function) and enter some data (in many fields) on the front panel. After that i need some other messages to be displayed. How can i pause,enter that data (with paused