Table control in Screen Enhancement.

Hi Experts,
I have implemented QQMA0001 screen exit.
In that sub screen I created a table control for which I need to place 'DELETE' and 'INSERT' push buttons.
But the push buttons on the subscreen (Push buttons can not be created on sub  screen) is not working it is giving error. Please suggest some other  way to place push buttons...
Regarding,
Bala
Edited by: bala virupaksha on Jun 7, 2009 4:12 AM

Hello,
We cant place any UI elements within the Subscreen area ...But in Subscreen we can have Push buttns
Define them and assign Ok_Code for them ...Handle the Insert and Delete withint he PAI event as per the Ok_codes defines .
Regards

Similar Messages

  • How Make Table Control full screen   ?

    Hi all, how can I make table control full screen?

    Hello,
    In the menu painter for the screen containing the table control....drag the boundaries of the table to fit the visible boundary marked..if we are calling table control using a sub screen area ..then the subscreen area in the main screen needs to be enlarged as per requirements...
    Pls check and revert
    Regards
    Byju

  • Not able to do page down in table control of screen

    Hello,
    I have created a table control on a screen of my report. This screen gets called from my selection screen. When I do page down or click on down arrow key to view other table entries nothing is happening. The scroll bar is not moving vertically.
    Someone told me that no coding is required to make the table scrollable vertically.
    Can someone please tell me if there is any attribute that needs to be set for this?
    Best Regards,
    Priyanka Gupta.

    Hi,
    Please go through this code.
    dataL line_count type i.         " Global declaration
    In the PAI of the table control screen.
    CASE OK_CODE.
         when 'P--'.
          clear ok_code.
          perform paging using 'P--'.
         when 'P-'.
          clear ok_code.
          perform paging using 'P-'.
         when 'P+'.
          clear ok_code.
          perform paging using 'P+'.
         when 'P++'.
          clear ok_code.
          perform paging using 'P++'.
    form paging using code.  "   NOTE  :  here "TABCTL" is your table control name
      data: i type i,
            j type i.
      case code.
        when 'P--'.
          tabctl-top_line = 1.
        when 'P-'.
          tabctl-top_line = tabctl-top_line - line_count.
          if tabctl-top_line le 0.
             tabctl-top_line = 1.
         endif.
        when 'P+'.
          i = tabctl-top_line + line_count.
          j = tabctl-lines - line_count + 1.
          if j le 0.
             j = 1.
          endif.
          if i le j.
            tabctl-top_line = i.
          else.
            tabctl-top_line = j.
          endif.
        when 'P++'.
          tabctl-top_line = tabctl-lines - line_count + 1.
          if tabctl-top_line le 0.
             tabctl-top_line = 1.
          endif.
      endcase.
    endform.                   
    Hope this will help you.
    Regards,
    Smart Varghese

  • Table control in Screen Painter

    Hi Friends,
    I have created a screen using screen painter. The screen is having 4 tabs (subscreen) and in all the subscreen, i have used table control to insert multiple lines in the table.
    The problem I am getting is that, the data of table control part is not getting inserted into the table.
    The program part is given below for reference.
    ======================================================
    PROCESS BEFORE OUTPUT.
      MODULE SECDAM_CHANGE_TC_ATTR.
      LOOP AT   IT_SECDAM
           INTO IT_SECDAM
           WITH CONTROL SECDAM
           CURSOR SECDAM-CURRENT_LINE.
        MODULE SECDAM_GET_LINES.
      ENDLOOP.
    MODULE STATUS_0109.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'SECDAM'
      LOOP AT IT_SECDAM.
        CHAIN.
          FIELD ZTDRDTL-DIVSN.
          FIELD ZTDRDTL-MATRL.
          FIELD ZTDRDTL-SLQTY.
          FIELD ZTDRDTL-DMQTY.
          FIELD ZTDRDTL-SSQTY.
          MODULE SECDAM_MODIFY ON CHAIN-REQUEST.
        endchain.
      ENDLOOP.
      MODULE SECDAM_USER_COMMAND.
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Flow-logic part:
    DATA : BEGIN OF IT_SECDAM OCCURS 0,
           DIVSN LIKE ZTDRDTL-DIVSN,
           MATRL LIKE ZTDRDTL-MATRL,
           SLQTY LIKE ZTDRDTL-SLQTY,
           DMQTY LIKE ZTDRDTL-DMQTY,
           SSQTY LIKE ZTDRDTL-SSQTY,
           END OF IT_SECDAM.
    CONTROLS: SECDAM TYPE TABLEVIEW USING SCREEN 0109.
    DATA:     G_SECDAM_LINES  LIKE SY-LOOPC.
    MODULE SECDAM_CHANGE_TC_ATTR OUTPUT.
      DESCRIBE TABLE IT_SECDAM LINES SECDAM-LINES.
    ENDMODULE.                    "SECDAM_CHANGE_TC_ATTR OUTPUT
    MODULE SECDAM_GET_LINES OUTPUT.
      G_SECDAM_LINES = SY-LOOPC.
    ENDMODULE.                    "SECDAM_GET_LINES OUTPUT
    MODULE SECDAM_MODIFY INPUT.
      MODIFY IT_SECDAM
        FROM IT_SECDAM
        INDEX SECDAM-CURRENT_LINE.
    ENDMODULE.                    "SECDAM_MODIFY INPUT
    MODULE SECDAM_USER_COMMAND INPUT.
      OK_CODE = SY-UCOMM.
      PERFORM USER_OK_TC USING    'SECDAM'
                                  'IT_SECDAM'
                         CHANGING OK_CODE.
      SY-UCOMM = OK_CODE.
    ENDMODULE.                    "SECDAM_USER_COMMAND INPUT
    =========================================================
    Kindly guide me the solution.
    TIA.
    Regards,
    Mark K

    Hi
      Try like this may be you will get it.
    process before output.
    module status_1000.
    loop at itab with control tabctrl cursor tabctrl-top_line.
      module assign_data.
    endloop.
    process after input.
    module user_command_1000.
    loop at itab.
    endloop.
    In flow logic.
    tables vbak.
    data itab like vbak occurs 0 with header line.
    controls tabctrl type tableview using screen 1000.
    data fill type i.
    *&      Module  Assign_data  OUTPUT
          text
    module assign_data output.
    move itab to vbak.
    endmodule.                 " Assign_data  OUTPUT
    *&      Module  USER_COMMAND_1000  INPUT
          text
    module user_command_1000 input.
      case sy-ucomm.
        when 'EXIT'.
         set screen 0.
      endcase.
    endmodule.                 " USER_COMMAND_1000  INPUT
    *&      Module  STATUS_1000  OUTPUT
          text
    module status_1000 output.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    select * from vbak into table itab.
    describe table itab lines fill.
    tabctrl-lines = fill.
    Endmodule.
    Regards
    Haritha.

  • Passing data to table control in screen exit - IW33 (IWO000018)

    Hi Experts,
    I am stuck in middle of a screen exit. Request your kind help on this.
    Requirement scenario: -
    To add an additional tab named "Estimated Costs" in transaction IW31, IW32, IW33. This tab will include a table control with 4 columns: - Operation, operation short text, Estimated cost and Currency. Columns Operation and Operation short text should show all the operations from tab 'Operations' (that can be fetched from table AFVC based on Routing number of operation as fetched from view CAUFV).
    Issue: -
    Table control has 4 columns, 2 are non-editable,2 are editable. Data in the non-editable fields is passed correctly, whereas in I/O editable fields, entered data is not retained everytime PBO is called. I have modified the internal table in the PAI event.
    Pointers in this direction are highly appreciated.
    Best Regards,
    Shreya
    Edited by: shreya tagra on Apr 29, 2010 5:48 AM

    I suppose it has to do with the code you have written. Please post a relavant snippet of your flow logic.
    regards,
    Aabhas

  • Adding field to Table Control using screen exit

    Hi Folks,
    I have a requirement of adding a field in Table control of Standard SAP transaction also updating the same in standard SAP database table.
    The field is also not existing in the table, it is also added to the table using Append Structure.
    Will this be possible using some Screen Exit?
    Thanks in Advance.
    Punit

    Hi Punit,
    There are various screen user exits(QQMA0001,QQMA0008,QQMA0010,
    QQMA0011,QQMA0012) available for this transaction but all are related to adding a subscreen.So, I am not very sure whether we can modify a table control for this transaction. So, If possible if u r requirement still can be acheived with creation of a subscreen then it would do only if the exits which were mentioned above belongs to u r main screen..
    Regards,
    Swaroop

  • Regarding Table Control in screen Painter

    hi,
      In my table control, one column is aceepting the UV Rate of the Material. But that particular column did not accept the Decimal Value . when i enter the decimal,
    'Please enter the Numeric value' error is coming.
      I am declared as Curr Data type for my table zuvrate-dmbtr.
       how can i enter decimal value in that column?

    Neptune,
    Lets start from the beginning -
    Your custom table has a field called DMBTR (domain WERT7). The reference value for this field is T001-WAERS.
    Hope its correct so far.
    In the table control, your field DMBTR is called <customtablename>-DMBTR.
    In the screen attributes of this field, you have the 'From Dict' ticked, Format is CURR and the reference field is specified. Correct?
    If this is the case then the table control should not throw any errors, do let me know if there is any change.
    Update: I just figured, probably the reason for your errors is that you have not used the domain in your custom table and have specified the CURR type as a direct type. The problem with this is that 2 decimal places will always be required by the system. Whereas if you use the data element (eg: DMBTR), the output length is 16, which would work fine.
    Sudha
    Message was edited by: Sudha Mohan

  • Table control in Screen

    Hi,
    I have designed an interface like SM31 to maintain a Z-table. My requirement is that I don't want to make Key fields input-enabled until user want to insert a new record and when user clicks on button in toolbar to insert a new row in table control to enter a new record in the Z-table the new row should have key-fields input enabled but not the existing rows.
    Can anybody help me out in this regard.
    Regards,
    Deepti

    Hi Deepti,
    In your table control PBO module you need the following code.  Loop at the screen.  If the field name is a key field and the key field has a value, then make the field non-input enable.  If it is a key field and the key field has no value, then make the field input enabled.
    Then in your PAI module you need code to append a blank line to your internal table for the new input enable row.
    <u><b>SCREEN FLOW</b></u>
    Process Before Output.
      loop at control xyz.
        module process-control-xyz
      endloop.
    MODULE PROCES-CONTROL-XYZ.
      read table itab index xyz-current_line.
      if sy-subrc = 0.
    loop at screen.
      if screen-name = 'ITAB-KEY_FIELD'.
        and not itab-key_field is initial.
          screen-input = 0.
      else.
           screen-input = 1.
      endif.
    endloop.
    else.
    exit from step-loop.
    endif.
    ENDMODULE.
    Hope this helps,
    Jerrod

  • Table control in screen exit

    hi all,
        I am able to put a table control in subscreen of co11n using CONFPP07 exit.
    but when i am trying to write pbo & pai events for the same in include ZXCOFZZZ of SAPLXCOF it is showing internal table is unkown or not declared.
    how to proceed?
    Regards,
    Uday Madhav

    Declare the global exit data in the TOP include (global data) of the exit function group main program SAPLXCOF which contains an include (ZXCOFTOP in LXCOFTOP) for this.
    Usually, there is an exit function to transfer data from calling program to exit function group program (here ZXCOFU23 in EXIT_SAPLCORU_S_100) and another to wrtie back (here ZXCOFU24 in EXIT_SAPLCORU_S_101), these functions must write and update data defined in this include, as will modules included in PBO/PAI of the screen exit (in ZXCOFZZZ).
    - Define global data (controls, internal table, work area, etc) in ZXCOFTOP
    - Move data from caller to global data in ZXCOFU23
    - Define the flow logic in exit dynpro SAPLXCOF 090x
    - Define modules in ZXCOFZZZ
    - Move updated data from global data in ZXCOFU24
    Regards

  • Table control through screens

    hello friends,
    i was informed that i would be working on table controls through dialogue program,
    if any one has a sample code for tabel control through screens,
    plz post it here, so that , i can understand which command is to use for what, and what would be most common commands.
    thank you in  advance.

    Hello,
    Check this sample
    **********      Trancsaction code-  ‘zrtc’ **********************
    ***********     Default Screen- ‘1000’   ************************
    PROGRAM ZRAVI_TABLECONTROL message-id zrtc.
    *Displaying data from VBAP,VBAK and VBKD tables using table control
    tables : VBAP,VBAK,VBKD.
    controls : tab_cntrl type tableview using screen '2000'.
    data : begin of it_sales occurs 0,
           vbeln like VBAP-vbeln,
           matnr like VBAP-matnr,
           erdat like VBAK-erdat,
           ernam like VBAK-ernam,
           auart like VBAK-auart,
           konda like VBKD-konda,
           kdgrp like VBKD-kdgrp,
           end of it_sales.
    data : l_count type i.
    *&      Module  USER_COMMAND_1000  INPUT
    *       text
    MODULE USER_COMMAND_1000 INPUT.
    case sy-ucomm.
      when 'SHOW'.
        if VBAP-MATNR ne ''.
          select vp~vbeln vp~matnr vk~erdat vk~ernam vk~auart vd~konda
          vd~kdgrp into corresponding fields of table it_sales from
          ( ( VBAP as vp inner join VBAK as vk on vp~vbeln = vk~vbeln )
          inner join VBKD as vd on vk~vbeln = vd~vbeln )
          where vp~matnr = VBAP-MATNR.
       else.
           select vp~vbeln vp~matnr vk~erdat vk~ernam vk~auart vd~konda
          vd~kdgrp into corresponding fields of table it_sales from
          ( ( VBAP as vp inner join VBAK as vk on vp~vbeln = vk~vbeln )
          inner join VBKD as vd on vk~vbeln = vd~vbeln ).
       endif.
    **   leave to list-processing.
    **   *For testing the query
    **   loop at it_sales.
    **     write : / it_sales-matnr.
    **   endloop.
    **  *End testing of query
         call screen '2000'.
       when 'EXIT'.
         leave program.
    endcase.
    ENDMODULE.                 " USER_COMMAND_1000  INPUT
    *&      Module  STATUS_2000  OUTPUT
    *       text
    MODULE STATUS_2000 OUTPUT.
    *  SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'Sales Document Information'.
    ENDMODULE.                 " STATUS_2000  OUTPUT
    *&      Module  USER_COMMAND_2000  INPUT
    *       text
    MODULE USER_COMMAND_2000 INPUT.
      case sy-ucomm.
        when 'BACK'.
          leave to screen '1000'.
        when 'P--'.
          perform paging using 'P--'.
        when 'P-'.
          perform paging using 'P-'.
        when 'P+'.
          perform paging using 'P+'.
        when 'P++'.
          perform paging using 'P++'.
      endcase.
    ENDMODULE.                 " USER_COMMAND_2000  INPUT
    *&      Module  GET_CTRL_SALES  INPUT
    *       text
    MODULE GET_CTRL_SALES INPUT.
      case sy-ucomm.
        when 'SAVE'.
        data : line_count type i value 0.
            modify it_sales index tab_cntrl-current_line.
            line_count = line_count + 1.
    *      *VBAP,VBAK and VBKD tables
    *           vbeln like VBAP-vbeln,
    *           matnr like VBAP-matnr,
    *           erdat like VBAK-erdat,
    *           ernam like VBAK-ernam,
    *           auart like VBAK-auart,
    *           konda like VBKD-konda,
    *           kdgrp like VBKD-kdgrp,
    *      update VBAP set vbeln = it_sales
    *       if sy-subrc = 0.message i001.endif.
             IF SY-SUBRC = 0 AND SY-TABIX > LINE_COUNT.
             MESSAGE E001 WITH LINE_COUNT.
    *         STOP.
             ENDIF.
    *LEAVE TO LIST-PROCESSING.
    *WRITE : 'TABIX',SY-INDEX,'LINE',LINE_COUNT.
      endcase.
    ENDMODULE.                 " GET_CTRL_SALES  INPUT
    *&      Module  FILL_TAB_CNTRL  OUTPUT
    *       text
    MODULE FILL_TAB_CNTRL OUTPUT.
      read table it_sales index tab_cntrl-current_line.
      l_count = sy-loopc.
    *  leave to list-processing.
    *  write : l_count,tab_cntrl-top_line.
      if sy-subrc ne 0.exit from step-loop.endif.
    ENDMODULE.                 " FILL_TAB_CNTRL  OUTPUT
    *&      Module  GET_MESSAGE  INPUT
    *       text
    MODULE GET_MESSAGE INPUT.
    *        if sy-subrc = 0.
    *        message i001 with line_count.
    *        endif.
    ENDMODULE.                 " GET_MESSAGE  INPUT
    *&      Form  PAGING
    *       text
    *      -->P_0189   text
    FORM PAGING USING    code.
      data : i type i,
             j type i.
      case code.
        when 'P--'.
          TAB_CNTRL-top_line = 1.
        when 'P-'.
          TAB_CNTRL-top_line = TAB_CNTRL-top_line - l_count.
          message i001.
          if TAB_CNTRL-top_line le 0.
            TAB_CNTRL-top_line = 1.
          endif.
        when 'P+'.
          i = TAB_CNTRL-top_line + l_count.
          j = TAB_CNTRL-lines - l_count + 1.
          if j le 0.j = 1.endif.
          if i le j.
            TAB_CNTRL-top_line = i.
          else.
            TAB_CNTRL-top_line = j.
          endif.
        when 'P++'.
          TAB_CNTRL-top_line  = TAB_CNTRL-lines - l_count + 1.
          if TAB_CNTRL-top_line le 0.
            TAB_CNTRL-top_line = 1.
          endif.
      endcase.
    ENDFORM.                    " PAGING
    *&      Module  INIT_CONTROL  OUTPUT
    *       text
    MODULE INIT_CONTROL OUTPUT.
      TAB_CNTRL-top_line = 1.
    ENDMODULE.                 " INIT_CONTROL  OUTPUT
    **********************    flow logic of  screen ‘2000’  ********************
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_2000.
    module init_control.
    loop with control tab_cntrl.
      module fill_tab_cntrl.
    endloop.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_2000.
    loop with control tab_cntrl.
      field SEL module get_ctrl_sales on input.
    endloop.
    *module get_message.
    ******************** End of flow logic  ************************
    If useful reward.
    VAsanth

  • Error in table control push buttons enhancement....

    hi all,
    iam creating a table control with some push buttons namely Insert, terminate in a enhancement while clicking terminate iam getting error message that
    " Flow control: Entry SAPMIEQ0, * ,           * is missing in T185V " can any one help me to solve this issue.
    Thanks in Advance.
    Prem.

    Even in sm30 also its not allowing me to maintain that T185V table. its taking me to VFBS transaction code.pls help me in this issue
    Thanks
    Prem.

  • TABLE CONTROL AND SCREEN

    HI Gurus,
    i have to following requirement,
    i have to make a screen  in which there would be four fields
    name          xxx
    age               x
    date          xx.xx.xx
    time          xx xx xx
    the screen fields are to by filled by the user at the run time and this data should be saved in the data base table(say ztable)
    so as far i have understood i need to create a screen with a table control and a database table  to save the data of the table control (after the user press save buttom)
    please help me how to create a table control
    and also
    help me with the logic of calling the screen(this screen with table control)
    also the logic of save butoom too
    please help as soon as possible
    points will be surely awarded ..
    thanks in advance
    anuj

    use this eg to your requirement
    PROGRAM YTABLEDML .
    TABLES : KNA1.
    DATA : ITAB LIKE KNA1 OCCURS 0 WITH HEADER LINE.
    CONTROLS : VCONTROL TYPE TABLEVIEW USING SCREEN '100'.
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
    WHEN 'INSERT'.
    MOVE KNA1 TO ITAB.
    APPEND ITAB.
    INSERT INTO KNA1 VALUES ITAB.
    IF SY-SUBRC = 0.
    MESSAGE I000(0) WITH 'INSERTED'.
    ELSE.
    MESSAGE E001(0) WITH 'NOTINSERTED'.
    ENDIF.
    WHEN 'UPDATE'.
    MOVE KNA1 TO ITAB.
    APPEND ITAB.
    UPDATE KNA1 FROM TABLE ITAB.
    IF SY-SUBRC = 0.
    MESSAGE I000(0) WITH 'UPDATED'.
    ELSE.
    MESSAGE E001(0) WITH 'NOTUPDATED'.
    ENDIF.
    WHEN 'DELETE'.
    MOVE KNA1 TO ITAB.
    APPEND ITAB.
    DELETE FROM KNA1 WHERE KUNNR = ITAB-KUNNR.
    MESSAGE I000(0) WITH 'DELETED'.
    IF SY-SUBRC = 0.
    ELSE.
    MESSAGE E001(0) WITH 'NOTDELETED'.
    ENDIF.
    ENDCASE.
    ENDMODULE.
    MODULE USER_EXIT INPUT.
    CASE SY-UCOMM.
    WHEN 'EXIT'.
    CALL TRANSACTION 'SE38'.
    ENDCASE.
    ENDMODULE.
    *PROCESS BEFORE OUTPUT.
    *LOOP WITH CONTROL VCONTROL.
    *ENDLOOP.
    MODULE STATUS_0100.
    *PROCESS AFTER INPUT.
    *LOOP WITH CONTROL VCONTROL.
    MODULE USER_COMMAND_0100.
    ENDLOOP.
    *MODULE USER_EXIT.
    TCODE IS YDMLTAB.

  • How to capture a selected row in a table control in screen

    Hello,
        I have a table in a screen and hv data in it also from a table.Now i want if a user selects a row n clicks a display button , i should display the same fields in empty text fields created outside the table on the same screen.
    Rite now i m lookin for single selection but any help on multiple selection is also welcomed.
    I have given a line-selection element name as 'LSELECT1'  to the table in screen painter n have declared a variable also with the same name of type C(1) in my abap prog.But dont know wat to write in PAI now to caputure the selected row.
    THANKS

    Hi,
    Use ALV to display your table records from FM 'REUSE_ALV_GRID_DISPLAY'.
    In your internal table add a field with char1. This will show you the selected records by 'X' or ' '. Use this field in your layout like g_layout-box_fieldname = 'CHK'.
    Here i used CHK TYPE CHAR1 added to internal table to display. Now ur ALV will be showing u a column to select records. U can select multiple records also. Evry selected record will reflect into internal table by modifying value of CHK as 'X'. Add button to ALV by creating PF-STATUS and  add code its behavior when executed.
    DATA: BEGIN OF ls_ekko,
          ebeln TYPE ekko-ebeln, " this is my internal table showed in alv
          bukrs TYPE ekko-bukrs,
          bstyp TYPE ekko-bstyp,
          bsart TYPE ekko-bsart,
          lifnr TYPE ekko-lifnr,
          ekorg TYPE ekko-ekorg,
          ekgrp TYPE ekko-ekgrp,
          waers TYPE ekko-waers,
          chk(1)   TYPE c, " check field
          END OF ls_ekko.
    DATA it_ekko LIKE TABLE OF ls_ekko.
    DATA : gt_fcat    TYPE slis_t_fieldcat_alv WITH HEADER LINE,
           g_layout   TYPE slis_layout_alv,
           gt_fcat1    TYPE slis_t_fieldcat_alv WITH HEADER LINE,
           g_layout1   TYPE slis_layout_alv.
      g_layout-colwidth_optimize = 'X'.
      g_layout-box_fieldname = 'CHK'. " adding check field to alv
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
       i_callback_program                = sy-repid
       i_callback_pf_status_set          = 'PF_STATUS_ALV'
       i_callback_user_command           = 'USER_COMMAND_ALV'
      IT_EXCLUDING                      =
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
          is_layout          = g_layout
          it_fieldcat        = gt_fcat[]
          i_default          = 'X'
          i_save             = 'A'
        TABLES
          t_outtab           = it_ekko
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    *&      Form  PF_STATUS_ALV
        Subroutine for PF status
         -->RT_EXTAB   text
    FORM pf_status_alv USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'SELOBJ' EXCLUDING rt_extab.
    ENDFORM.                    "PF_STATUS_ALV
    Hope this help

  • Table control in screen programing

    Hi..
    i am working with table contrl. I am able to display the table layout in ouput. I need to display the retieved data from standaar table (vbak) on to the table layout in the ouput.
    what i need to do???????????

    hi
       check this code may help you
    report  ztest message-id 00.                    " FISK999999
    tables: bsis.
    types: begin of fi,
            bukrs type bukrs,
            hkont type hkont,
            gjahr type gjahr,
            belnr type bsis-belnr,
            buzei type buzei,
            budat type budat,
            blart type blart,
            shkzg type shkzg,
            dmbtr type dmbtr,
          end   of fi.
    data: fi_int type table of fi with header line,
          cr_amt type dmbtr,
          dr_amt type dmbtr.
    controls: my_ctl  type tableview using screen 9999.
    start-of-selection.
      call screen 9999.
    *&      Module  MOVE_DATA_TO_SCREEN  OUTPUT
    module move_data_to_screen output.
      move-corresponding fi_int to bsis.
    endmodule.                 " MOVE_DATA_TO_SCREEN  OUTPUT
    *&      Module  STATUS_9999  OUTPUT
    module status_9999 output.
      set pf-status 'STD'.
    endmodule.                 " STATUS_9999  OUTPUT
    *&      Module  MOVE_DATA_TO_ITAB  INPUT
    module move_data_to_itab input.
      move-corresponding bsis to fi_int.
      append fi_int.
    endmodule.                 " MOVE_DATA_TO_ITAB  INPUT
    *&      Module  EXIT_9999  INPUT
          text
    module exit_9999 input.
      leave program.
    endmodule.                 " EXIT_9999  INPUT

  • How to create table control and link in screen exit

    Hi Friends,
                     I want to create table control in enhancement CONFPP07.  The values entered in table control should be stored in ztable along with some other information.
    But I want to know how to create table control in screen-exit and how and where to write code and how to link all.
                   Kindly send me step-by-step documentation or real time examble prg.
                   Kindly give ur answers for this problem only.
    Thanks in Advance,
    S.Senthil kumar

    If u have a  screen exit..then u will have a option to create a sub screen..in that sub screen u activate the pai and pbo events..it will show u where to write the code..

Maybe you are looking for