Table control query

i dont seem to get vertical scroll bars in my table control when i create one
how do i get it??
thnks
Vs

HI ,
try this code,
In PBO of the table control
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
DATA lines TYPE I.
DESCRIBE TABLE <it_tab> LINES lines.
<TC>-LINES = lines.
ENDMODULE. " STATUS_1000 OUTPUT
hop this will help u
shan
Message was edited by:
        sivakumar palaniswamy

Similar Messages

  • Query about screen as a structure used in table control.

    hi all,
    plz explain the fields in screen(structure).
    when and how it is used.
    specialy i/o, o/p,active,
    plz give example.

    hi,
    The screen elements text field, input/output field, status icon, group box, radio button, checkbox, and
    pushbutton all have general attributes, Dictionary attributes, program attributes, and display attributes.
    The elements subscreen, tabstrip control, and table control have general attributes, and special
    attributes relating to the respective type.
    We can divide the attributes of an element into:
    Statically definable attributes that cannot be changed dynamically
    Statically definable attributes that can be changed dynamically
    Attributes that can only be changed dynamically
    At the beginning of the PBO, the runtime system reads the statically-created and dynamically-modifiable
    attributes of each screen element on the current screen into a system table with the line type SCREEN.
    Dynamic changes to the attributes of screen elements are temporary.
    Using this technique to modify the attributes of a screen element (for example, to change whether an
    input/output field is ready for input), you can replace long sequences of separate screens, which are
    more costly in terms of both programming time and runtime.
    The system table with line type SCREEN will be called SCREEN system table in the following unit.
    When a screen is processed, the SCREEN system table contains an entry for each element created in
    the Screen Painter for that screen.
    The system table SCREEN is initialized at the start of the PBO event for the current screen. To do this, a
    system program copies the statically defined attributes of the individual screen elements into the table.
    You can then change the dynamically-modifiable attributes of the elements on the screen in a module at
    PBO using the following statements: LOOP AT SCREEN.
    MODIFY SCREEN.
    ENDLOOP.
    To do this, you use the structure SCREEN, which is created automatically by the system, and filled with
    the values of each successive line of the system table in the loop. Set attributes have the value '1',
    attributes that are not set have the value '0'. To change the system table, use MODIFY SCREEN. within
    the loop.
    To find the element whose attributes you want to modify, you can use a LOOP on the SCREEN table,
    and query one of the following fields: SCREEN-NAME, SCREEN-GROUP1 to SCREEN-GROUP4.
    You can change the attributes of several screen elements simultaneously at runtime, by including them
    in a modification group in the Screen Painter. Assign all elements that will be changed within a single
    processing step to a group in the Screen Painter.
    To do this, enter a group name for each of the relevant elements in one of the fields GROUP1 …
    GROUP4.
    You can include each element in up to four modification groups. You can choose any three-character
    sequence for the group name. You can assign elements to a modification group either in the element list
    or the layout editor in Screen Painter.
    You must program your screen modifications in a module that is processed during the PROCESS
    BEFORE OUTPUT processing block.
    You use a loop through the table SCREEN to change the attributes of an element or a group of
    elements. (LOOP AT SCREEN WHERE . . . and READ TABLE SCREEN are not supported).
    To activate and deactivate attributes, assign the value 1 (active) or 0 (inactive), and save your changes
    using the MODIFY SCREEN statement.
    Note that elements you have defined statically in the Screen Painter as invisible cannot be reactivated
    with SCREEN-ACTIVE = 1. Instead, use the statement SCREEN-INVISIBLE = 0. However, elements
    that you have statically defined as visible in the Screen Painter can dynamically be made invisible. This
    has the same effect as the three statements SCREEN-INVISIBLE = 1, SCREEN-INPUT = 0, SCREENOUTPUT
    = 0.
    There are three steps involved in displaying buffered data from the internal table in the table control:
    The system loops through the lines of the table control on the screen. The lines of the screen table are
    processed one by one. For each line, the system carries out the following steps:
    The current line of the internal table is placed in the work area of the internal table. (Note that it is
    possible to scroll in the table on the screen).
    The data from the work area of the internal table is copied into the relevant line of the table control.
    When you use table controls on a screen, the automatic field transport sequence changes.
    In the PBO processing block, data is transferred from the ABAP program to the screen after each loop
    pass in the flow logic. The rest of the screen fields are filled, as normal, at the end of the PBO.
    In the flow logic, the loop statement
    LOOP AT <itab> INTO <wa_itab> WITH CONTROL <tc_name>
    starts a loop through the screen table, and reads the line of the internal table corresponding to the
    current line of the screen table, placing it in <wa_itab>.
    <itab> is the name of the internal table containing the data, <wa_itab> is the name of the work area for
    the internal table, and <tc_name> is the name of the table control on the screen.
    If the fields in your table control have the same structure and name as those in the work area <wa_itab>,
    the system can transport data between the ABAP program and the screen automatically (step 3).
    If you are not using the same structure for the table control fields and the work area of the internal table,
    you must call a module between LOOP and ENDLOOP that moves the data from the work area
    <wa_itab> into the screen fields (MOVE-CORRESPONDING <wa_itab> TO …) .
    The system calculates the value of <ctrl>-TOP_LINE when you scroll, but not when you scroll a page at
    a time outside the table control.
    In order to transfer changed values from the table control back to the internal table the following three
    steps must be carried out:
    The system loops through the lines of the table control. The lines of the screen table are processed
    one by one. For each line, the system carries out the following steps:
    The data from the current line of the table control is copied into the header line of the internal table.
    The data in the work area must then be placed in the line of the internal table corresponding to the
    line of the table control that is being processed. (Note that it is possible to scroll in the table on the
    screen).
    In the PAI processing block, all screen fields that do not belong to a table control and that are not listed
    in a FIELD statement are transported back to the work fields in the ABAP program first.
    The contents of the table control are transported line-by-line to the corresponding work area in the ABAP
    program in the appropriate loop.
    As usual, the fields that occur in FIELD statements are transported directly before that statement.
    The structure of the screen tables contain.
    NAME
    GROUP 1
    GROUP 2
    GROUP 3
    GROUP 4
    OUTPUT
    REQUIRED
    LENGTH
    INTENSIFIED
    INVISIBLE
    ACTIVE
    Hope this helps, Do reward.
    Edited by: Runal Singh on Mar 13, 2008 10:41 AM

  • Query on ABAP List Viewer and Table Control?

    Hi all,
    I was trying to solve the exercises in these areas....but was unable to do as some of the concepts were not clear to me as I'm new to this field.
    So Can any one help me out in giving me the Notes or attachments on the ABAP List Viewer(A.L.V.) and Table Control.
    My ID: [email protected]
    Waiting for a reply...
    A New Entrant in ABAP.
    Message was edited by:
            saikumar b

    Hi saikumar,
    I just start to work with Abap too. All links i Know:
    http://www.erpgenie.com/abap/controls/alvgrid.htm
    http://www.abapfans.hpg.ig.com.br/links.htm
    http://abap4.tripod.com/index..html
    http://paginas.terra.com.br/educacao/abap/
    http://www.sdn.sap.com/
    http://www.sap-img.com/
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://www.abap4.com.br/
    http://www.erpgenie.com/sap/abap/index.htm
    Good lucky

  • Query for tabstrip & Table control

    Hi,
    I have never used tabstrip & Table controls.I have worked extensively on ALV  & Smartforms.I am finding it difficult to understand the steps now,after a long gap of returning to tabstrips & table control.I have all the standard programs for the same,Please send me any z development you have worked on to help me understand it better.
    Thanks

    Hi sneha,
                This is kiran kumar.G.(working on SAP).I will develop some of dialog progs on tab strips and table controls.
    i will send the se38 program logic and se51 flow logic.check it once.
    Note : some of the steps before u start on creating TABSTRIPS.
    1. FIRSR CREATE SE38 PROGRAM + SAVE +ACTIVATE.
    2.GOTO SE51 T.CODE and enter the SE38 PROGRAM NAME AND SCREEN NUMBER.(EX: 0100).
    3.THE FIRST SCREEN OF THE SE51 IS POPULATED AND SELECT NORMAL RADIO BUTTON AND GOAHEAD.
    4.GOTO LAYOUT AND SELECT THE TABSTRIP BUTTON FROM THE TOOLBAR AND PLACE THEM ON THE SCREEN
    5.IN THE BELOW EXAMPLE I WILL CREATE TWO TABSTRIPS..
    6.SELECT THE SUBSCREEN BUTTON FROM THE TOOLBAR AND PLACE THEM IN THE TAB1 SCREEN.AND SAME PROCEDURE IS REPEATED FOR TAB2 ALSO
    6.CLICK ON THE TAB1 BUTTON AND GIVE NAME AS "HEAD" AND SOME TEXT AND REFFILED AS "SUBS"
    7.FOLLOW THE SAME PROCEDURE FOR SECOND TABSTRIP AND GIVE NAME AS "ITEM" AND REFFILED AS "SUBS".
    AND SAVE AND ACTIVE..
    8.GOTO SE51 TRANSACTION AND GIVE REPORT NAME AND SCREEN NUMBER AS 0110. AND SELECT SUBSCREN RADIO BUTTON AND SELECT LAYOUT AND PLACE SOME FIELDS THERE AND AND SAME PROCUDRE IS REPEAT FOR 0120 SUB SCREEN ALSO
    Code:
    *& Module pool       YMODULEPOOL_TABSTRIPS                             *
    *& DEVELOPER    : KIRAN KUMAR.G                                        *
    *& PURPOSE      : DEMO ON TABSTRIP CONTROLS                            *
    *& CREATION DT  : 18/12/2007                                           *
    *& T.CODE       : YMODTABSTRIP                                         *
    *& REQUEST      : ERPK900035                                           *
    PROGRAM  ymodulepool_tabstrips.
    Tables
    TABLES: vbak,
            vbap.
    Controls
    CONTROLS: my_tabstrip TYPE TABSTRIP..
    Global Variables
    DATA: gv_number LIKE sy-dynnr.
    *&      Module  active_tab  OUTPUT
          text
    MODULE active_tab OUTPUT.
    *Default Selection of the TABSTRIP
      IF my_tabstrip-activetab IS INITIAL.
        my_tabstrip-activetab = 'HEAD'.
        gv_number = '110'.
      ENDIF.
    ENDMODULE.                 " active_tab  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
    *Header Information
        WHEN 'HEAD'.
          SELECT SINGLE erdat
                        vkorg
                        vtweg
                   FROM vbak
                   INTO (vbak-erdat,vbak-vkorg,
                         vbak-vtweg)
                  WHERE  vbeln = vbak-vbeln.
          my_tabstrip-activetab = 'HEAD'.
          gv_number = '110'.
    *Item Information
        WHEN 'ITEM'.
          SELECT SINGLE matnr
                        matkl
                        ntgew
                  FROM vbap
                  INTO (vbap-matnr,vbap-matkl,vbap-ntgew)
                 WHERE vbeln = vbak-vbeln.
          my_tabstrip-activetab = 'ITEM'.
          gv_number              = '120'.
    *EXIT from the Program
        WHEN 'EXIT' OR 'CANCEL'.
          CALL TRANSACTION 'SESSION_MANAGER'.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
          text
    module STATUS_0100 output.
      SET PF-STATUS 'YTABSTRIP'.
    SET TITLEBAR 'xxx'.
    end module.
    SE51 (SCREEN 100 :CODE)
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    module active_tab.
    call subscreen subs including sy-cprog gv_number.
    *call subscreen sub1 including sy-cprog gv_number.
    PROCESS AFTER INPUT.
    call subscreen subs.
    *call subscreen subs.
    MODULE USER_COMMAND_0100
    SCREEN 110:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0110.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0110.
    SCREEN 120:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0120.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0120.
    Award points if helpful.
    kiran kumar.G
                HAVE A NICE DAY....

  • Baffling Table Control

    Hi,
    Currently using SAP 4.7 SAPKB62011
    The need was to develop a program, which based on a selection-criteria displays a table(editable) and some changes will be done in the table and data should get saved.
    The best approach I assumed was to
    a) Create a report, define the selection screen parameters
    b) Do validation in at selection-screen
    c) If all validations are proper, select values to be shown in table control
    d) call screen 9000
    Everything is working perfectly, except for adding new lines in table control.
    When I execute select query in AT SELECTION-SCREEN event before calling the screen 9000, then I am not able to add values to table control.
    But if I put the select query in the PBO of screen 9000, I am able to add new values. Only those values which are already present in table control can be changed. I am not able to add any new entries.
    In my opinion, there should not be a select query in PBO, because that query would hit the database in all possible events.
    Any particular reason, why.
    <b>AT SELECTION-SCREEN code</b>
    AT SELECTION-SCREEN.
      CASE sy-ucomm.
        WHEN 'ONLI'.
          lv_pernr = p_pernr.
          lv_lifnr = p_lifnr.
    *      SELECT *
    *        FROM zpersoninfo
    *        INTO TABLE lt_zpersoninfo
    *       WHERE personno = lv_pernr.
    *      IF sy-subrc <> 0.
    *      ENDIF.
    *      APPEND INITIAL LINE TO LT_ZPERSONINFO.
          CALL SCREEN 9000.
      ENDCASE.
    <b>Dynpro code</b>
    PROCESS BEFORE OUTPUT.
      MODULE pbo_9000.
    LOOP AT lt_zpersoninfo INTO zpersoninfo WITH CONTROL tablecontrol CURSOR
    tablecontrol-current_line.
        MODULE pbo_tc_9000.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP.
        MODULE pai_tc_9000.
      ENDLOOP.
      MODULE pai_9000.
    <b>PBO_9000</b>
    MODULE pbo_9000 OUTPUT.
      SET PF-STATUS lv_pfstatus.
      pa0315-pernr = lv_pernr.
      SELECT *
        FROM zpersoninfo
        INTO TABLE lt_zpersoninfo
       WHERE personno = lv_pernr.
      IF sy-subrc <> 0.
      ENDIF.
      APPEND INITIAL LINE TO LT_ZPERSONINFO.
    ENDMODULE.                 " PBO_9000  OUTPUT
    <b>PBO 9000 - Table Control Code</b>
    MODULE pbo_tc_9000 OUTPUT.
      LOOP AT SCREEN.
        IF lv_pfstatus = 'DISPLAY'.
          CASE screen-name.
            WHEN 'ZPERSONINFO-SERVICENO'.
              screen-input = '1'.
              screen-active = '1'.
            WHEN 'ZPERSONINFO-MANDATORY'.
              screen-input = '1'.
              screen-active = '1'.
          ENDCASE.
        ELSEIF lv_pfstatus = 'CHANGE'.
          CASE screen-name.
            WHEN 'ZPERSONINFO-SERVICENO'.
              screen-input = '0'.
            WHEN 'ZPERSONINFO-MANDATORY'.
              screen-input = '0'.
          ENDCASE.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    ENDMODULE.
    Let me know if I have skipped some information, which you may find it useful to find the solution.
    Regards,
    Subramanian V.

    That is because I didn't upate the 'LINES' field in tablecontrol. How silly !!
    Regards,
    Subramanian V.

  • Records are getting duplicated on presing enter key in table control

    Hi All,
    I am using table control in module pool program.  The issue is records are getting duplicated on press of enter key.
    I cannot use sy-ucomm enter and do some validation thing in my code. As the record should get update in int_tab(internal table). Otherwise ZSTR_TAB(table control)will be blank after pressing enter key.
    I have gone through all the previous threads on this. Have implemented sol provided in one of threads. Now records are not getting duplicated but the next line is getting disabled. The code to avoid duplication is :
    MODULE read_table_control INPUT.
      data tc-lines type i.
      DESCRIBE TABLE int_tab LINES tc-lines.
      IF tc-lines GE control-current_line.
        MODIFY int_tab FROM zstr_tab INDEX control-current_line.
      ELSE.
        IF gcreate_code = 'CREATE'.
          zstr_tab-zemp_num = gemp_num.
          INSERT zstr_tab INTO int_tab INDEX control-current_line.
        ENDIF.
        IF gchange_code = 'CHANGE'.
          MODIFY int_tab FROM zstr_tab INDEX control-current_line.
        ENDIF.
      ENDIF.
    ENDMODULE.   
    This module is in PAI. Now how to make the lines in control input enabled??
    Any other sol for avoiding duplicate records on pressing enter key?
    Thanks,
    Seema

    Hi,
    Have you written any code in when Others of case...Endcase  ?
    If Yes then checkout if there is anything wrong over there, debug and check.
    If not then write delete adgecent duplicates from Int_tab comparing key fields.
    Also check in PBO, if you have written any query that selects data from particular table and appending the internal table irrespective of entry is already exist. So you should write select query in the if...Endif block as below,
    If int_tab[] is not initial.
    select * from ZSTR_TAB
    into table int_tab
    where .........
    endif.
    If above is not the case then debug and check where exactly entries are getting duplicated so that I can have idea what exactly is happening.
    Regards,
    Umang Mehta

  • HR-ABAP using Table Control Wizard

    My requirements is to customize an infotype which is customer specific.
    After creating the infotype in PM01, I also create the screen(2000) for the
    infotype. The issue is in the table control. I create a table control
    using  table control wizard, getting the information that i need to output in the
    screen, using another infotype which is PA0007 planned working time.
    The expected result is that the data will diplay on the screen when i execute PA30.
    Do you have any idea or any recommendation to resolve the issue? thanks.
    And here are my codes.
    in PBO
      LOOP AT   g_table5_itab
           INTO g_table5_wa
           WITH CONTROL table5
           CURSOR table5-current_line.
        MODULE table5_move.
        MODULE table5_get_lines.
      ENDLOOP.
    Inside the  module pool.
    MODULE TABLE5_INIT OUTPUT.
      IF G_TABLE5_COPIED IS INITIAL.
    *&SPWIZARD: COPY DDIC-TABLE 'PA0007'
    *&SPWIZARD: INTO INTERNAL TABLE 'g_TABLE5_itab'
        SELECT * FROM PA0007
           INTO CORRESPONDING FIELDS
           OF TABLE G_TABLE5_ITAB
    *Start of Insert
           WHERE pernr = pskey-pernr.
    *End of Insert      .
         G_TABLE5_COPIED = 'X'.
         REFRESH CONTROL 'TABLE5' FROM SCREEN '2000'.
      ENDIF.
    ENDMODULE.
    MODULE TABLE5_MOVE OUTPUT.
    *Start of Delete
      MOVE-CORRESPONDING G_TABLE5_WA TO PA0007.
       MOVE-CORRESPONDING G_TABLE5_WA TO PA9201.
    *End of Delete
    *Start of Change
       MOVE G_TABLE5_WA-begda TO PA9201-zzpensda.
       MOVE G_TABLE5_WA-endda TO PA9201-zzpendda.
       MOVE G_TABLE5_WA-empct TO PA9201-zzempct.
    *End of Change
    ENDMODULE.
    MODULE TABLE5_GET_LINES OUTPUT.
      G_TABLE5_LINES = SY-LOOPC.
    ENDMODULE.

    Hi,
    Create a table control in layout and place your fields in table control.
    Press F6 and give the table name and click on get from dictionary and select the 5 fields which you required and palce those fields in table control.
    Double click on table control and give table control name .
    In Top include create a stmt as
    CONTROLS : TABlecontrolname TYPE TABLEVIEW USING SCREEN '1000'.
    In PBO under a module write your logic that means select query and place it in an internal table. Place that select query under IF condition.
    Module Read.
    If SY-UCOMM = 'ENTER'.
    Process query.
    endif.
    endmodule.
      LOOP AT ITAB INTO WA WITH CONTROL TAB.
        MODULE DISP.
        ENDLOOP.
    In PAI.
       LOOP AT ITAB.
         ENDLOOP.
    Here ITAB is internal table name.TAB is table control name.In display module write the code
    MODULE DISP OUTPUT.
    MOVE-CORRESPONDING WA TO database tablename.
    ENDMODULE.
    And in 1000 screen create SET PF status in the function keys assign a keyword to Enter Icon as 'ENTER'.
    Hope this is helpful.
    Regards,
    G.Aditya

  • Data Display in the Table Control

    Hi All,
             Please help me know how to fetch the data from the internal table in to the Table Control.  I have defined the internal table with some fields and wrote the select query to fetch the records from database. But Iam unable to get the idea of how to pass the internal table records into the table control.
    Your suggestion will be appreciated.
    Thanks and Regards,
    Murali Krishna Tatoju

    HI
    if your select query is first operation before the screen is displayed.
    then write the select query in PBO.
    in PBO
    module select
    loop at itab with control tc.
    module transfer_itab_to_tc
    endloop
    in program.
    module select
    select query here and get the data.
    endmodule
    module transfer_itab_to_screen.
    move-corresponding itab to t_tab " here t_tab is strucutre from where the fields on Table control has been taken
    endmodule
    Cheerz
    Ram

  • Selecting records in the table control

    Hi Friends,
    I have the requirement to be displayed in the table control, I got the data displayed in the table control. Now I need to select some of the records from the table control and update in the database. When I am trying to do that i am able to select only one records instead of some number of records. When I try to select the second record the first record which i selected is being unselected. Can any one tell me how to select more than one record in the table control.
    Regards,
    Line

    hello,
    to select more then 1 record
    1> you need to put CHECK BOX FEILD
             or
    1> you have to manually use control and select the feilds.
    hope i have replied to your query
    thankx
    bhanu malik

  • Question on line selection in table control in dialog programming....

    Hello,
    I have a internal table displayed on a screen using Table control wizard. Now, when user selects a particular line and double clicks it, I want to write a query based on the line user selected. How can this be achieved ?
    Regards,
    Rajesh.

    Assign a function code to F2 in your status and do the coding:
    PROCESS PAI.
    LOOP AT ITAB.
    MODULE GET_CURSOR.
    ENDLOOP.
    MODULE USER_COMMAND.
    MODULE GET_CURSOR.
    GET CURSOR FIELD ws_field LINE ws_line.
    ENDMODULE.
    MODULE USER_COMMAND.
    CASE OK_CODE.
    WHEN 'PICK'.
    WS_LINE = <TABLE CONTROL>-TOP_LINE + WS_LINE - 1.
    READ TABLE ITAB INDEX WS_LINE.
    ---> Show details
    ENDMODULE.

  • How can I create variant of control query?

    Dear Expert,
    I am using BEx Broadcaster to bradcast query as a report.
    In tab Filter Navigation, I enter the control query, but the variant always gives me "(No Selection Possible)".
    How can I create variant of control query?
    I try to create variant via variable entry page when I excute my query.
    The variable show in table "RSRPARAMETRIZA" but not show in BEx Braodcaster.
    Thank you,
    Zilla

    Hello,
    Please run this control query on the portal and then save variant you require. If you want this variant to be available
    to all users make sure that the user specific flag is unchecked while saving the variant.
    Regards,
    Michael

  • Screen resolution problem in table control

    when i was transfering data in BDC using table control,i got screen resolution problem.
    how to rectify the problem?

    Hi,
    Check this coding.
    WA_CTU_PARAMS type ctu_params.
    WA_CTU_PARAMS-DISMODE = 'N'. "no screen mode
    WA_CTU_PARAMS-UPDMODE = 'S'. "synchronous update
    WA_CTU_PARAMS-NOBINPT = 'X'.
    WA_CTU_PARAMS-NOBIEND = 'X'.
    WA_CTU_PARAMS-DEFSIZE = 'X'. "Default size
    CALL TRANSACTION 'VA01' USING it_bdcdata
    OPTIONS FROM WA_CTU_PARAMS
    MESSAGES INTO it_mesg.
    Default size will play good role in terms of resolution. in one system in table control you can see 10rows, but in others system it will show 20 records. it depends on resolution. but when you set the default size then it will take same (default screen size) in all the systems when you run BDC.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Adding dinamic fields into table control..

    hi friends,
    i wan to knw , is it possible to add fields dynamically in table control? actually the requirement is like, it is not fixed how many fields will be their in table control, it may change depending upon date. so if u knw, please help me out....
    good points will be awarded to helpful answer.....
    Thanks,
    Brij

    HI,
    at the design time of the screen make all possible columns or fields in the table control,make sure you are having all the fileds in the itab.
    now go to the pbo of the screen.
    inside the loop endloop of table control write loop at screen .
    inside this loop for all the fields base dupon condition you dont want to appear make screen-invisible = '1'.
    modify screen.
    hope this solves your query...
    thanks
    vivekanand

  • Module pool in table control how to add the data

    Hi
    I have created the table contrl.
    In table control editable rows, when ever i have enter the data than save it will update the data in data base.
    in table control 4 fields like
    sales number,sales director,sales manager,sales hirarchy.
    in three fields or editable
    first field or non editable only for numaric values disply.
    that way i have entered three fields.
    first field automatically reganarate heighest value +1.
    like that automatically reganarate.
    whn ever enter the new vaule
    first field autogenarate remaining i will enter the data.after save it will update the data in database.
    can u tell me logic for this.

    Hi Venkat,
    I think you have already posted this query with the subject line "Table control" with the thread below today.
    table control
    Try with the online link we have provided you will learn that way on your own.
    Nobody here will write the whole logic for you.
    Try to put in your efforts.
    Regards
    Abhii
    Edited by: Abhii on Sep 8, 2010 3:13 PM

  • Module pool in table control

    Hi
    I have created table control.in that editable row can add the new value also created.after adding new value
    in will auto incremented based on sales numer in heighest number + 1 like that u can add.
    after increment update the table in data base.
    can u tell me the after enter the data in table control tall me the 'save' button functionality and it will auto incremented
    based on one field
    for example sales order number.
    great for me
    please tell me

    Hi Venkat,
    I think you have already posted this query with the subject line "Table control" with the thread below today.
    table control
    Try with the online link we have provided you will learn that way on your own.
    Nobody here will write the whole logic for you.
    Try to put in your efforts.
    Regards
    Abhii
    Edited by: Abhii on Sep 8, 2010 3:13 PM

Maybe you are looking for

  • Mail Server suddenly stopped working

    My mail server has stopped working, and I can't figure out why. This is a brand new MacMini with the latest Maverics Server (preinstalled) that I just setup last month. (We migrated from an Xserve running 10.6.) Up to this point, mail has worked flaw

  • .mac mail on server?

    Hi there! When I went to www.mac.com to retrieve my .mac mail, it retrieved it, then deleted it before I read it - although it did show up on my MacBook in the correct folder. On the website, I see just one email in my inbox but I know I have receive

  • Order and group images in slideshow with Places theme

    Hi, I'm getting realy comfused in the slideshow feature of iPhoto 11 I try to get a slideshow using the Places theme (the one with the maps). Two things that really upset me: - how can I order the pictures, group them instead of having them automatic

  • Using previous release of OC4J in JDev 10g

    We are trying to configure JDeveloper so that we can deploy our application in a standalone OC4J 9.0.4. We see in JDeveloper help, under the topic "Previous Releases of Standalone OC4J", that we should be able to configure a connection using the "Sta

  • ADF Faces / BC: 10.1.3.1 App server exception

    Hi all, I am getting this problem in a deployed application which does not happen on the local OC4J. When entering values into a dialog and clicking save i get null pointer exceptions (error message) under all the input texts and this message appears