Select few records

Friends
Lets think we have a custom table with fields A, B, C and which stores customers in it. I have to write a program which should display all the customers on the output screen(Somthing like grid list) from there enduser will pick few customers and only those customers needs to be changed.
So can some one give me sample code for displaying the customers in grid  list and also need to have access for selecting few out of them for change mode.
Cheers
Satya

Hi,
My answer is probably to late to satisfy your request but we had to implemente a similar report.
For your information I have based my application from the SAP program BALVBT01. "ALV using GRID Objects(Methods) on a screen".
Regards

Similar Messages

  • You have insufficient resources to complete this action .Select fewer records and try again [131-317]

    Hi All
    I am using SAP B1 9.0, when i click on the internal recons button the error above appears. What cause this to happen and how do we solve it so we can continue with our reconciliation?

    Hi,
    Try the same by opening the Reconciliation window by following path
    Financials>> Internal Reconciliations>> Reconciliation
    Thank You
    JO

  • Select query-ignoring a few records

    if not int_ekko_list[] is initial.
    SELECT ebeln vgabe shkzg dmbtr INTO TABLE int_ekbe_data1
    FROM ekbe FOR ALL ENTRIES IN int_ekko_list
    WHERE ebeln = int_ekko_list-ebeln AND   " PO number
          vgabe IN r_vgabe.
    endif.
    SORT int_ekbe_data1 BY ebeln vgabe shkzg.
    Here it is fetching only 8 entries ie 3 entries were missing.When the subsequent records is
    having the same amount it is ignoring a few records.
    if not int_ekko_list[] is initial.
    SELECT ebeln vgabe shkzg belnr dmbtr INTO TABLE int_ekbe_data1
    FROM ekbe FOR ALL ENTRIES IN int_ekko_list
    WHERE ebeln = int_ekko_list-ebeln AND   " PO number
          vgabe IN r_vgabe.
    endif.
    SORT int_ekbe_data1 BY ebeln vgabe shkzg.
    EBELN        VGABE BELNR      DMBTR            SHKZG
    0002000059   1     5402073016          100.00  S
    0002000059   1     5402073033          500.00  S
    0002000059   1     5402073041        2,500.00  S
    0002000059   1     5402073045          500.00  S       
    0002000059   1     5402073046          500.00  S
    0002000059   1     5402073301          500.00  H
    0002000059   9     0001386428          100.00  S
    0002000059   9     0001386429        2,500.00  S
    0002000059   9     0001386430            0.00  S
    0002000059   9     0001386431          500.00  S
    0002000059   9     0001386432          500.00  S
    But when I add belnr also in the query it is fetching all the 11 entries.With this change the purpose is served but I am curious to know the reason behind it.Any idea ....?
    Thanks,
    Kiran.

    Hi,
    I think that the entries:
    0002000059   1     5402073045          500.00  S
    0002000059   1     5402073046          500.00  S
    0002000059   9     0001386432          500.00  S
    ..do not are selected beause they are repeted (wihout considering BELNR).
    See your DATA: definition of int_ekbe_data1... is "unique" ?
    Best regards,
    Leandro Mengue
    The response from the colleague about the "FOR ALL ENTRIES" that don´t generate duplicate lines is correct and is very more common.
    Edited by: Leandro Mengue on May 17, 2010 9:10 PM

  • How to make few records editable in oracle ADF form.

    Hi,
    I am working on one scenario. here, we are sending few records to user in an ADF task form, using BPEL Human task. Now, the requirement is to put a checkbox in each row and enable that particular row-fields for editing purpose.
    please respond if there is a way to put any condition in check box design to enable row-data for editing.
    thanks,
    rps

    Hi,
    actually to implement check boxes in front of a table you need some sort of transient field that can keep persistence. One way of achieving this is to wrap the BPEL service in a WS proxy client and create a POJO DC from it. This then allows you to add an additional field to implement a solution similar to this in ADF BC
    http://sameh-nassar.blogspot.com/2009/12/use-checkbox-for-selecting-multiple.html
    Because ADF Faces tables are stamped upon rendering, rows arent created with instances of the cell renderer. For this reason you need to keep track of the select state in the model, which you can do using a transient attribute, which then makes sure the select information is part of the row object. So similar as today, you would parse the available rows but - before changing the update state - check if the user intended the update
    Frank

  • Size of few records in a table.

    Hi Friends,
    To get the size of a table i executed the below query
    select BYTES from user_extents where segment_name = 'EMP';
    How to get the size of few records / rows in a table? For example get the size of records in EMP table where DEPTNO=10

    Hi PASB,
    I'm not sure what you are trying to do. If you want to find the length or a row you can use the length() function or one of its variants, but this can give dubious results if you are doing this for storage purposes, due to the way Oracle stores numbers and dates.
    If you are doing this for storage estimate purposes, then a better way is to analyze a representative table of the data and then use the average row length reported in the data dictionary. This can then be multiplied by the number of rows you need to store and then multiplied by a factor to allow for storage overhead. I find about 1.1 is a reasonable factor for tables.
    The same can be done for B-tree indexes but the overhead factor is higher, say about 1.5.
    Of course you can also get accurate estimates by looking at how much space a table/index currently consumes and extrapolating this.
    Regards
    Andre

  • Report takes long time for few records

    hi frends,
    I m facing one problem with my Web based erp application which is developed in .net , in my application when i open the  report from my applicaiton , in my temp folder there one file gets created name is "rpt conmgr cache"
    bcoz of this for few records also my report takes too much time and opens very slow and it takes long time, and it happens in some of the reports only , other reports are working cool and its not creating any file in temp folder,,, so can u guide me whats this file and what can be the solution for it,
    Thanks
    Mithun

    hi sabhajit,
    i have already checked the sql query it is taking less then seconds.
    any other steps u want me to check then pls let me know?
    thanks mithun

  • How can i post the fields in the screen by selecting a record

    Hi,
      I have a problem in dialog programming.
      I need to populate the fields in the screen by selecting a single record.
      For example,
        Screen consists of 'CARRID, CONNID,FLDATE... fields.
        By pressing F4 in CARRID field it will display the contents from database table and display the records. If i select the record LH 0400 ... record then automatically the connid field should fill with the contents of the record i.e., 0400 and similarly the remaining fields.
       How can i do this in dialog programming?
       I tried with F4IF_INT_table_.. function module. There is a table parameter DYNmapping. But dont know how to use it? Can any body explain me how to use it?
       Thanks in advance..
       Suvan

    Hi Vinod,
      Thanks for your reply. I solved my problem. It is working with the table parameter 'DYNPFLD_MAPPING' in the function module 'F4IF_INT_TABLE_VALUE_REQUEST'.
      With your logic we can't decide which record is selected. Because there can be multiple records for a single CARRID.
      My question is how to post the entire record into the screen fields at a time? It is possible with the parameter I specified inthe above said function module.
      With dictionary reference it will fetch the entire entries from the Check table.
      Thanks again for your co-operation.
      Suvan.<b></b>

  • Material Description is not displaying for few records in Report

    Dear Experts,
    Report Material Description is not displaying for few records in Bex Report but for records it is coming and even the heading of the material Description is also not coming for this report.
    Cud u plz suggest a good solution for it.
    Regards,
    Sai Phani.

    Hi Phani,
    For the text of the material in records, check if there is text maintained for that material in the master data. also try by changing the text to medium text and long text.
    regarding header, you will have same heading for key and text, you may use Materail ID / Description as the heading if you want.
    regards,
    Rk.

  • How to add a checkbox to dynamic itab  so that i can select some records

    How to add a checkbox to dynamic itab  so that i can select some records in the alv and can display them in another alv using a button
    I have requirement where i have to display the dynamic itab records in an alv ....Some records from this alv output has to be selected through checkbox  provided in the first column .( I will get to know the structure of the itab only at runtime ,so iam using dynamic itab)

    Hi,
       I tried and finally i got it , Just try for it.
    type-pools : slis.
    PARAMETERS : p_tab type dd02l-tabname.
    data : ref_tabletype  type REF TO cl_abap_tabledescr,
           ref_rowtype TYPE REF TO cl_abap_structdescr.
    field-symbols  : <lt_table>  type   standard TABLE ,
           <fwa> type any,
           <field> type abap_compdescr.
    data : lt_fcat type lvc_t_fcat,
           ls_fcat type lvc_s_fcat,
           lt_fldcat type SLIS_T_FIELDCAT_ALV,
           ls_fldcat like line of lt_fldcat.
    data : ref_data type REF TO data,
            ref_wa type ref to  data.
    ref_rowtype ?= cl_abap_typedescr=>DESCRIBE_BY_name( p_name = p_tab ).
    TRY.
    CALL METHOD cl_abap_tabledescr=>create
      EXPORTING
        p_line_type  = ref_rowtype
      receiving
        p_result     = ref_tabletype.
    CATCH cx_sy_table_creation .
    write : / 'Object Not Found'.
    ENDTRY.
    *creating object.
    create data ref_data type handle ref_tabletype.
    create data ref_wa type handle ref_rowtype.
    *value assignment.
    ASSIGN ref_data->* to <lt_table>.
    assign ref_wa->* to <fwa>.
    loop at ref_rowtype->components ASSIGNING <field>.
      ls_fcat-fieldname = <field>-name.
      ls_fcat-ref_table = p_tab.
      append ls_fcat to lt_fcat.
    if lt_fldcat[] is  INITIAL.
        ls_fldcat-fieldname = 'CHECKBOX'.
        ls_fldcat-checkbox = 'X'.
        ls_fldcat-edit = 'X'.
        ls_fldcat-seltext_m = 'Checkbox'.
        append ls_fldcat to lt_fldcat.
      endif.
      clear ls_fldcat.
      ls_fldcat-fieldname = <field>-name.
      ls_fldcat-ref_tabname = p_tab.
      append ls_fldcat to lt_fldcat.
    endloop.
    loop at lt_fldcat into ls_fldcat.
      if sy-tabix = 1.
        ls_fldcat-checkbox = 'X'.
        ls_fldcat-edit = 'X'.
    modify lt_fldcat FROM ls_fldcat
        TRANSPORTING checkbox edit.
    endif.
    endloop.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog           = lt_fcat[]
      IMPORTING
        ep_table                  = ref_data.
    assign ref_data->* to <lt_table>.
    select * FROM (p_tab) into table <lt_table>.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       IT_FIELDCAT                       = lt_fldcat[]
      TABLES
        t_outtab                          = <lt_table>.
    Thanks & Regards,
    Raghunadh .K

  • List View selecting wrong record

    Hi all,
    I have placed a List view on my dashboard. i am using direct connection with BI and am populating the list view with the data retrieved from the connection. the problem is that when i launch the dashboard and select a record from the list view, it selects the record above the one on which i click. I want the list view the select the record which i click on. How do i rectify this.
    regards,
    hamza

    Hi Hamza
    Check all of your data insertion type and associated spreadsheet bindings.
    Regards
    Charles

  • How to select multiple records from a TREE in the table

    HI,
    I have a tree structure which is in the table.When I open the node of the tree,all the subnodes are coming as one-one records in the table.I want to slect multiple record from this table.I applied onLeadSelect for this table,I can select only 1 record from the table.
    Can any one plz suggest me how to select multiple records from the table so that I can get all the data of those selected record.
    Regards
    -Sandip

    Rashmi/Kukku,
    First of all, Thanks for your help!
    Is there any other way in which we can access tables other than using BAPIs or RFCs?
    In my case, there is a table structure which has to be updated with values after validating a key. i don't think there is any RFC available now. do i need to create bapi/rfc for that?
    Krishna Murthy

  • How do I burn a selected few of my photos in an Aperture project?  When I select a few, it burns the whole project anyway. .  Grrrrr.

    How do I burn a selected few of my photos in an Aperture project?  When I select a few to burn, it burns the entire project...    Grrrrr.......

    Select the pics. Export them to a Folder on the Desktop. Burn that with the Finder.
    Regards
    TD

  • "record enable" buttons not showing up in Garage Band 10.0.3 (I have selected "show record enable"- a space in the track header opens up, but the button is not present.  Same with "input moniter".

    "record enable" buttons not showing up in Garage Band 10.0.3 (I have selected "show record enable"- a space in the track header opens up, but the button is not present.  Same with "input monitor".

    Look at all the posts in the forum from users with similar problems, it happened with the last Logic update.

  • How to select multiple records in an ALV by REUSE_ALVGRID_DISPLAY

    Dear all ,
       I am displaying a report by REUSE_ALV_GRID_DISPLAY. I have used "box_fieldname" property to select a record in the alv . but i am not able to select more tha one record at a time . Can anyboby suggest me how will be i able to select more than one record at a time .
    regards
    amar

    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=47808545

  • How to select multiple records in ALV with out pressing ctrl

    Hi Experts,
    Is there a way to select multiple records in ALV with out pressing ctrl button on the key board?
    Selection and deselection should allow multiple records.
    any clue is highly appreciated.
    regards,
    Ajay

    The keyboard always plays a role, although with the Shift key you can select blocks of records.
    ○       CTRLclick, CTRLspacebar
    Toggles a selection.
    ○       SHIFTclick, CTRLshift
    Selects the area from the lead selection to the row selected. If no lead selection is set, the selection starts from the first row. In the multiNoLead mode, the selection starts from the row last selected

Maybe you are looking for

  • I cant make a copy of a purchased dvd (for personal use)

    Ok, please help, i made a copy, using disk utility, of a dvd (which i own). What has resulted is this: i have two files on my desktop 1. dracula.cdr and 2. disk2.dmg these i know are video files, but they seem useless. when i dbl click them i end up

  • I am playing max go. I get sound but no picture

    I am trying to play max go on apple tv. I get sound but no picture   What do I need to adjust???

  • Functionality of  LoginSubmit function in Login.jsp file

    Hi, I have tried to change the javascript customization in the "Login.jsp" file on my test box but I am sort of stuck in terms of getting the logic behind the function "LoginSubmit(value)" . What I have tried to do is to create a conditional expressi

  • Textview with totals based on dynamic ALV selections

    Hi all, it´s me again, suffering like a mother with my first WDA serious application I have this ALV with a prices column, with an editable checkbox field, and what my client wants is a field on the screen (I think it must be a Textview) that display

  • Log and Transfer with Hvx200 error

    I just installed FCP 7 on my computer and now when I go to Log and Transfer I go to add my clip to Queue and it wont go. All I get as a red arrow that says "error unknown" under status. Has anybody else had this problem also? Also does anybody know w