Cell wise and row wise check box in oops alv

Normally column wise check box are possible in oops alv but how to possible check box in first row only in oops alv and Cell wise check box in oops alv?

Hi,
Try like changing  this
insted of
g_layout-f2code = ' '.
use this
g_layout-f2code = 'DISP'. " Sets fcode for when double
and
g_layout-f2code = '&ETA'. " it will display POPUP screen
Best Regards
Ranga
Edited by: Ranga Swamy on Nov 1, 2008 11:07 PM
Edited by: Ranga Swamy on Nov 1, 2008 11:17 PM

Similar Messages

  • In alvs how to do totals by colum wise and row wise

    hi,
    in alvs how to do totals by colum wise and row wise
    could u plz explain clearly with coding

    Hi Rajesh,
    Go through these links...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    Reward Points if this helps,
    Satish

  • Check box in OOps ALV

    Hi All,
    I have created my field catalogue using 'Field Catalogue Merge' Function Module passing a structure name to it. I want to further add a checkbox now... Please suggest an approach...
    Thanks in advance.
    Tanu

    Hi Faisal,
    Thanks for your response !
    I need to add an extra checkbox (or button) for selecting rows. It is not any field of the structure passed in FieldCatalogue Merge Function. Its extra from all the fields of table.
    The approach that came to me is -
    ************Field Catalogue Generation
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' " Generate Field Catalog using this way and after getting change the Required one
      EXPORTING
        i_structure_name       = 'ztable'
      CHANGING
        ct_fieldcat            = it_fcat
      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.
    **************Add an extra checkbox field
    CLEAR wa_fcat.
      wa_fcat-fieldname = 'CHKBOX'.
      wa_fcat-edit  = 'X'.
      wa_fcat-no_out  = 'X'.
      wa_fcat-tabname = 'G_TAB_ALVDIS'.
      wa_fcat-outputlen = 7.
      APPEND wa_fcat TO it_fcat.
    *************Add this Checkbox field to layout
    gs_layout-box_fname = 'CHKBOX'.
    Display of ALV
    IF g_tab_alvdis[] IS NOT INITIAL.
    allow to select multiple lines
          CALL METHOD g_ref_grid->set_table_for_first_display
            EXPORTING
              is_layout                     = gs_layout
            CHANGING
              it_outtab                     = g_tab_alvdis
              it_fieldcatalog               = g_tab_fldc
            EXCEPTIONS
              invalid_parameter_combination = 1
              program_error                 = 2
              too_many_lines                = 3
              OTHERS                        = 4.
          IF sy-subrc <> 0.
          ENDIF.
    Endif.
    I need to confirm if I'm going right. This is how it has been done previously in one of the reports. But the difference was that fieldcatalogue was generated manually. But appending each of the fields separately.
    Please do correct if anything is missing or need to be changed.
    Thanks
    Tanu

  • Return Item and Free goods check box in purchase order

    Hi Guru:
    I just got the question regarding the return item and free goods check box,my question is that if I check the free good check box,then the price of the matieral will be charged to zero,however,if I want to issue the return purchase order to the vendor,does I need to check the return box first and then issue the return order to the vendor? Then go to MIGO transaction to select the movement type 122 to return the goods,what's the whole precedure for returning the goods to the vendor,can anybody tell me,very appriated!

    Hi,
    Retun to vendor through have two types....
    One is you have Po created, vendor send the item in that few items have rejected so you need to return the item to vendor......
    here in MIGo chose returrn to vendor selce the PO numbere.... system automaticaly take the movent type 122....
    sencond type is Retun PO..... In Po while creting the PO tick the return indication..
    If you do the GR system will pick 161mopvent type.. ( GR returns)...
    REgards
    anand

  • How to increase the size (Length and width)  of check box

    Hi All,
    I have to increase the size of ( width and length) of check box, I have revised to check box topic in dev guide but didnt find any clue, i have also tried to use CCStyle class but that is also not working, I would appreciate if some can help me out on this. Thanks in advance , let me know if any clarification required.
    Thanks
    Pratap

    Hi Pratap ,
    I honestly don't know how to increase the size
    But i am giving you an alternate solution : we can create two Images with check box type 1 ) with checked
    2 ) with unchecked . ( you can create image of any size ) and get them displayed on OAF screen dynamically using switcher case .
    Dynamically displaying image will give the illusion of check box being checked and unchecked .
    keep this image moved to following media directory
    eg : /oraapp/mfgtestcomn/java/oracle/apps/media .
    Implement the switcher case , add the fire action to this Image Column , create a transient attribute and attach to this
    column . Depending on the value returned by transient attribute display the image on the column .
    Let me know if its not clear .
    Keerthi

  • Two financial statements at product wise and location wise below comp code

    company code have number of products and they are being sold in various locations. here management wants to get financial statement  both product wise and location wise below company code. the problem is that their is no field to post for BA, profit center and segment in MIGO posting and Billing document in standard SAP
    please inform me is it possible to get financial statement both product wise and location wise below company code. if it is possible please provide answer.
    Thanks & Regards 
    Arjun

    Financial Statements can only be drawn at Company Code, Business Area, Profit Center, and Segment levels only.
    If you want to have product wise, then the same must have mapped / designed against the one otherthan companyt code.

  • I want logic to calculate mateiral wise and period wise

    can anyone please tell how to consider material and period for this pgm
    i have coded to calcualte sum of material wise.
    but i want to consider materila wise and month wise
    eg:material   quantity month
        1000        200       4/2001
         1000       300       5/2001 based on the below conditions.
    Select  mATNR SPMON ZZDPFC ZZMARKET
    From S507
      into corresponding fields of  table  t_DATA WHERE
      VRSIO = '000' AND BEDAE = 'KSV' AND ZZDMTYP = '001'
      AND  ZZDPFC GT '0' AND ZZMARKET IN ('001','002') AND SPMON >= 200705.
       SORT T_DATA BY MATNR ZZMARKET SPMON.
    write:/04 'Material',25 'Demand Plant'. "45 'Market',70 'Period'.
    LOOP AT T_DATA.
    WRITE:/02 t_data-MATNR ,25 t_data-ZZDPFC,45 t_data-ZZMARKET,
    70 t_data-SPMON.
    at end of matnr.
    sum.
    write : /02 t_Data-matnr,25 t_data-zzdpfc COLOR 5 .
    endat.
    endloop.

    Hi,
    <fs> type   t_data
    sort t_data by matnr  month.
    V_index = 0.
    loop at  t_data  assigning <fs>.
    V_index = sy-tabix + 1.
    read  t_data assigning <fs2> with  index V_index .
    if sy-subrc = 0.
    --if <fs>-matnr =  <fs2>-matnr and <fs>-month = <fs2>-month.
    <fs>-quantity =  <fs>-quantity =  <fs2>-quantity.
    delete  t_data index V_index.
    --endif.
    endif.
    endloop.
    <b>then loop at  t_data to display .</b>
    Regards,
    Sooness.

  • How to add check box in the ALV list

    dear Experts,
                 i have a requirement.
    i want show the check boxes in my ALV list.
    can u please give the solution.
    thanks

    TYPE-POOLS: slis.
    *---internal tables
    DATA: BEGIN OF it_flight OCCURS 0,
    SEL, " add a single character field in the final output table
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    END OF it_flight,
    *--internal tables for alv
    it_fieldcat TYPE slis_t_fieldcat_alv,
    wa_fcat LIKE LINE OF it_fieldcat,
    layout TYPE slis_layout_alv,
    it_sort type slis_t_sortinfo_alv,
    wa_sort like line of it_sort.
    DATA: BEGIN OF it_flight_sel OCCURS 0,
    SEL,
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    END OF it_flight_sel.
    data: wa_flight like it_flight.
    In the layout set give the name of the field
    whose checkbox will be created ( SEL as it has 1 char only )
    layout-box_fieldname = 'SEL'.
    *---start-of-selection .
    START-OF-SELECTION.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_internal_tabname = 'IT_FLIGHT'
    i_inclname = sy-repid
    CHANGING
    ct_fieldcat = it_fieldcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2.
    *----get data
    SELECT carrid
    connid
    fldate
    seatsmax
    seatsocc
    FROM sflight
    INTO CORRESPONDING FIELDS OF TABLE it_flight
    UP TO 20 ROWS.
    wa_fcat-do_sum = 'X'.
    MODIFY it_fieldcat FROM wa_fcat TRANSPORTING do_sum
    WHERE fieldname = 'SEATSOCC' .
    wa_sort-fieldname = 'CARRID'.
    wa_sort-group = 'UL'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    clear wa_sort.
    wa_sort-fieldname = 'CONNID'.
    wa_sort-subtot = 'X'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    clear wa_sort.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    is_layout = layout
    it_fieldcat = it_fieldcat
    it_sort = it_sort
    TABLES
    t_outtab = it_flight
    EXCEPTIONS
    program_error = 1.
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    Check function code
    CASE r_ucomm.
    WHEN '&IC1'.
    Check field clicked on within ALVgrid report
    IF rs_selfield-fieldname = 'EBELN'.
    Read data table, using index of row user clicked on
    READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
    Set parameter ID for transaction screen field
    SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
    Sxecute transaction ME23N, and skip initial data entry screen
    CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
    ENDIF.
    WHEN '&IC1'. "'&DATA_SAVE'. "user presses SAVE
    loop at it_flight into wa_flight.
    if wa_flight-Sel EQ 'X'.
    collecting records in table it_flight_sel to process further
    append wa_flight to it_flight_sel.
    clear wa_flight.
    TYPE-POOLS: slis.
    *---internal tables
    DATA: BEGIN OF it_flight OCCURS 0,
    SEL, " add a single character field in the final output table
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    END OF it_flight,
    *--internal tables for alv
    it_fieldcat TYPE slis_t_fieldcat_alv,
    wa_fcat LIKE LINE OF it_fieldcat,
    layout TYPE slis_layout_alv,
    it_sort type slis_t_sortinfo_alv,
    wa_sort like line of it_sort.
    DATA: BEGIN OF it_flight_sel OCCURS 0,
    SEL,
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    END OF it_flight_sel.
    data: wa_flight like it_flight.
    In the layout set give the name of the field
    whose checkbox will be created ( SEL as it has 1 char only )
    layout-box_fieldname = 'SEL'.
    *---start-of-selection .
    START-OF-SELECTION.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_internal_tabname = 'IT_FLIGHT'
    i_inclname = sy-repid
    CHANGING
    ct_fieldcat = it_fieldcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2.
    *----get data
    SELECT carrid
    connid
    fldate
    seatsmax
    seatsocc
    FROM sflight
    INTO CORRESPONDING FIELDS OF TABLE it_flight
    UP TO 20 ROWS.
    wa_fcat-do_sum = 'X'.
    MODIFY it_fieldcat FROM wa_fcat TRANSPORTING do_sum
    WHERE fieldname = 'SEATSOCC' .
    wa_sort-fieldname = 'CARRID'.
    wa_sort-group = 'UL'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    clear wa_sort.
    wa_sort-fieldname = 'CONNID'.
    wa_sort-subtot = 'X'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    clear wa_sort.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    is_layout = layout
    it_fieldcat = it_fieldcat
    it_sort = it_sort
    TABLES
    t_outtab = it_flight
    EXCEPTIONS
    program_error = 1.
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    Check function code
    CASE r_ucomm.
    WHEN '&IC1'.
    Check field clicked on within ALVgrid report
    IF rs_selfield-fieldname = 'EBELN'.
    Read data table, using index of row user clicked on
    READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
    Set parameter ID for transaction screen field
    SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
    Sxecute transaction ME23N, and skip initial data entry screen
    CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
    ENDIF.
    WHEN '&IC1'. "'&DATA_SAVE'. "user presses SAVE
    loop at it_flight into wa_flight.
    if wa_flight-Sel EQ 'X'.
    collecting records in table it_flight_sel to process further
    append wa_flight to it_flight_sel.
    clear wa_flight.
    Please follow the code.

  • Regarding Logical level key and row wise initialization

    Hi Gurus,
    What is the purpose of row wise initialization in external table authentication and when we have to go for row wise initialization.
    Why we have to enable logical level key in hierarchy is this only for getting drill down to the next level if we make two columns as logical level key what will happens. If we want to enable a column as a logical level key what are the character sticks that column should satisfy.
    Thanks,

    1) Row Wise Initialization used to hold multiple values in a variable. Let says SQL gives 4 rows (A,B,C,D) as output. Now I want to hold 4 value in a variable to get this happen we need to go for RowwiseIniziation. If you do not do this at any point in time Variable holds only value A not others. Simply it works as Array.
    2) Level keys define the unique elements in each level and provide the context for drill down. You can make two logical columns as logical key but you need to make sure what to be displayed in your hierarchy by selecting DISPLAY. If you make to as separate logical keys and set Display for both you get two columns in the hierarchy
    http://gerardnico.com/wiki/dat/obiee/hierarchy_level_based

  • Stock reservation report For customer wise and Document wise

    Dear sd experts ...
    In my company  we have kept some reserved stock to some customers By using MB1B-412E M.type now Requirement is I want to see how much stock kept in reservation for Customers and Document wise also
    I Have checked in CO09 But not possible and MCTA also
    plz guide me how to find

    did you try MMBE ?
    also check MB5B, MD04, MB5T

  • Profit Center Wise and Currency Wise balances in same report?

    Experts,
    Is there any report where we can see Profit Center and Currency Wise balances in the same report?
    How can we get such report?
    - Nilesh

    Hi
    Did you try FAGLL03?? I think that should suffice
    or try FGI3
    br, Ajay M

  • How can I Maximize a Windows and include a check box into my jtable

    Hi there,
    I have made a program to show a JTABLE it is working well, I'm talking about show information(DATA), my question is related with MAXIMIZE my jframe or window, how can I do that???
    other question is related with include or add a new column to my jtable, the goal here is achive include a check box column to select a recorde from my jtable..
    Some advise...
    here is part of my code
    public static void main(String args[]) throws SQLException {
    JFrame myFrame = new JFrame("Scan cut ");
    Container content = myFrame.getContentPane();
    content.setBackground(Color.white);
    content.setLayout(new FlowLayout());
    SendNotifyB = new JButton("Send Notify");
    content.add(SendNotifyB);
    //content.add(new JButton("Send Notify"));
    //content.add(new JButton("Add O-S-T"));
    SendNotifyB .addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    JOptionPane.showInputDialog("Type Odds");
    JOptionPane.showInputDialog("Type Seconds");
    myFrame.getContentPane().add(new AS3());
    myFrame.setVisible(true);
    myFrame.pack();

    public class MyTableRenderer extends javax.swing.JCheckBox
      implements javax.swing.table.TableCellRendererand
    myTable.getColumnModel().getColumn(some value).setCellRenderer(new MyTableRenderer());I'll leave the maximizing and other code up to you as an exercise.
    Message was edited by:
    filestream

  • Why is my Hardware Accelerate Composition, Layer, and Footage Panels check box disabled

    Hello anyone!
    I have all the requirements to meet Adobe's standards for GPU requirements, but this check box (Hardware Accelerate Composition, Layer, and Footage Panels)[Edit>Preferences>Display] is disabled for me, why? Do I need to worry about this setting? Does it really matter? Any information on this topic would be helpful. Thanks in adavance for your feedback.
    GPU Information:
    Fast Draft:
    Available
    Texture Memory:
    924.00 MB
    Ray-tracing:
    GPU
    OpenGL
    Vendor:
    NVIDIA Corporation
    Device:
    GeForce GTX 470/PCIe/SSE2
    Version:
    3.0.0
    Total Memory:
    1.20 GB
    Shader Model:
    4.0 or later
    CUDA
    Driver Version:
    4.2
    Devices:
    1 (GeForce GTX 470)
    Current Usable Memory:
    608.00 MB (at application launch)
    Maximum Usable Memory:
    1.25 GB
    Computer:
    Windows 7 64bit SP1
    24GB MEM
    i7 intel
    Feature support levels
    There are three tiers or levels, from lowest to highest requirements, of support:
    Level 1: For OpenGL SwapBuffer:
    This level simply requires a GPU that can do OpenGL 1.5, or greater, with Shader Model 3.0, or greater. Most ATI and NVIDIA cards, and the Intel HD Graphics 3000 chipset (available in the MacBook Air, Mac Mini, various Windows machines, etc.) and 4000 (Windows only at this time) are supported. If your GPU does not support these requirements, software OS blitting like CS5.5 occurs, and there are improvements for software blitting in After Effects CS6, as well.
    Level 2: For Fast Draft previews, Hardware BlitPipe, and Cartoon GPU acceleration:
    Includes Level 1 features. This level requires OpenGL 2.0, or greater (with Shader Model 4.0, or greater, on Windows), and 256 MB, or greater, of texture memory. Most ATI and NVIDIA cards released in the past five years, plus the Intel HD Graphics 3000/4000, support this level.
    If your GPU does not support these requirements, these features will be disabled:
    Fast Draft mode
    The "Hardware Accelerate Composition, Layer, and Footage Panels" preference.
    The Cartoon effect's "Use OpenGL When Available" option (the Cartoon effect then runs on the CPU).
    Level 3: For Ray-traced 3D rendering on the GPU:
    Includes Level 1 & 2 features (for machines with attached monitors). This level requires a supported NVIDIA GPU and 512 MB, or greater, of texture memory. For a current list of supported GPUs, see the Adobe website.

    Well, you should be concerned that it isn't available  - there is still some configuration issue with your graphics card - but you can live without it most of the time.
    Mylenium

  • Display result Cloumn wise to Row wise

    create table t(table_id number primary key, Grade_id number, Value number);
    insert into t values(1,77,11);
    insert into t values(2,77,12);
    insert into t values(3,77,13);
    insert into t values(4,88,14);
    insert into t values(5,88,15);
    insert into t values(6,88,16);
    insert into t values(7,99,17);
    insert into t values(8,99,18);
    insert into t values(9,99,19);
    commit;
    select * from t;
    TABLE_ID GRADE_ID VALUE
    1 77 11
    2 77 12
    3 77 13
    4 88 14
    5 88 15
    6 88 16
    7 99 17
    8 99 18
    9 99 19
    9 rows selected
    Question : I want my output ROW WISE
    for eg.
    TABLE_ID 1 2 3 4 5 6 7 8 9
    GRADE_ID 77 77 77 88 88 88 99 99 99
    VALUE 11 12 13 14 15 16 17 18 19
    Is this possible ?

    hi
    u can use this function to convert rows into cols
    CREATE OR REPLACE
    FUNCTION rowtocol( p_slct IN VARCHAR2,
    p_dlmtr IN VARCHAR2 DEFAULT ',' ) RETURN VARCHAR2
    IS
    TYPE c_refcur IS REF CURSOR;
    lc_str VARCHAR2(4000);
    lc_colval VARCHAR2(4000);
    c_dummy c_refcur;
    l number;
    BEGIN
    OPEN c_dummy FOR p_slct;
    LOOP
    FETCH c_dummy INTO lc_colval;
    EXIT WHEN c_dummy%NOTFOUND;
    lc_str := lc_str || p_dlmtr || lc_colval;
    END LOOP;
    CLOSE c_dummy;
    RETURN SUBSTR(lc_str,2);
    END rowtocol;
    rgds
    Ashish

  • Page title and page name check box

    Hi there,
    if I need to change the page title starting from the page name, by default equals, it would be more efficient and helpful, from UI/UX point of view, to keep the page name in the text area of page title, when un-checking the check box below, rather than deleting it.
    The idea is that you will most probably change few parts of the text already herited form the page name.
    Regards
    Giulio

    Giulio-
    Your suggestion makes sense, we will look into changing the behavior. The "Filename" edit box just below has the same issue.
    Thanks,
    Paul

Maybe you are looking for

  • Mac os 10.4.11 and iphone4

    I have a macbook on os 10.4.11 so if i activate my iphone4 on windows 7 will i be able to get all my contacts and stuff from my macbook by syncing it afterwards

  • Transfer videos to computer ?

    I have a 8330 phone transfered video with no problem. But now i can't get it to play. Window pops up and says my speakers don't work but I don't have problem with speakers. Can anyone help me ? Solved! Go to Solution.

  • Process order confirmation error

    Hi, i have set backflush in mrp2 view as always backflush for raw mat. when i do order confirmation with cork tcode, order status shows as CNF but raw mats are not withdrawn. pls note that backflush indicator is also copied in order. do i need to iss

  • Creating a prompt independent of a query

    Is it possible to create a prompt list without a query being the source. Say I want to prompt a user with a list like: Blue Red Green Again the values are not stored in any table. And if I can capture the response and use it to create a field type cr

  • I have added a ADD-ONE like smart digg I want to debug this ADD-ONE. So plz help me how can i debug this.

    I wants to debug and ADD-ONE plz help me how can i debug the ADD-ONE.