Problem at Control Table (Screen-input)

hi guys,
I create a Grid (Control Table using the Wizard) from a Internal Table, I need to set Values of the GRID like Screen-input = '0'. or Screen-output = '1'.;
I try to change screen-ACTIVE, screen-INPUT, screen-OUTPUT and screen-INVISIBLE, but make no changes at screen.
I have other GRID at screen and that changes normally;
Here the code to change that: (PBO)
LOOP AT SCREEN.
if screen-name = 'TI_UNIT-UNIT'.
screen-INPUT = '0'.
MODIFY SCREEN.
endif.
ENDLOOP.
Regards,
Allan Cristian

My problem was at Screen Logic:
  LOOP AT ti_unit WITH CONTROL tc_unit_9000
           CURSOR tc_unit_9000-current_line.
    MODULE update_9000_unit.
  ENDLOOP.
  MODULE update_unit.
I was executing the loop at screen at module update_9000_unit in loop...
I create other module and put the code in...
and work's fine...
Allan Cristian
Edited by: Allan Cristian on Jan 25, 2008 11:22 AM

Similar Messages

  • Multiple problems with control and screen sharing

    Hello,
    First of all, I am having a weird problem while connected to a G5 Xserve that is running OS 10.4.5 and ARD version 3.2.1. When controlling the screen, I am unable to type. It only types the character "a" or "A" whenever I type any letter. Numbers are fine. The kicker here is if I use a different vpn server connection into the same machine (vine server), I can type fine. Has anyone experienced this problem?
    My other issue is when attempting to connect to some clients using ARD, I cannot see thier screen. I receive an error message stating that Authentication failed. I can perform all other functions with ARD on those machines... but when trying to see thier screen... nothing. I can actually share my screen with them successfully though. They are not running any third-party vnc server which was my first thought.
    Thank you for any help you can provide.
    - Ken

    I got all mine working without using root or going to the machines.
    ssh into them and remove com.apple.RemoteManagement.plist with
    rm /Library/Preferences/com.apple.RemoteManagement.plist

  • Change screen input in table control

    Hi Expert Abapers,
    Hope everybody is in good health and state.
    Well my problem is that i am taking data in itab in a table control and i want to display the data in it only.
    only if we select and line and click modify, 2 fields of it should be enabled for writing.
    here's the code but is not working,
    case OK_CODE.
    WHEN 'EDIT'.
    IF MARK = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME <> 'ITAB-CHQ_NO' OR SCREEN-NAME <> 'ITAB-DD_NO'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDCASE.
    Pls suggest as to where am I wrong.
    Regards , Neetu

    Hi Neetu,
    Try to assign fields to a group , the fields which u don't want to be editable keep
    it in single group for eg, 'GP1'. And now write the code like this
    LOOP AT SCREEN.
    IF SCREEN-GROUP EQ 'GP1'
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Regards ,
    Vivek

  • Problem with a table control

    Hi gurus,
    I´ve a problem with a table control. It has 3 columns which one is a checkbox.
    I can fill all fields but in the moment I mark the checkbox this line must be unwritable. How can I do it?
    Thanks for all
    Dani

    Assign a function code to the checkbox column....
    so when u check / uncheck any entry, PAI + PBO will be triggered....
    In the PBO during the loop of table control, check the checkbox field value. if it is 'X', make the row readonly
    by looping at screen and setting screen-input = 0 for rest of the columns.
    like ...
    LOOP AT tc_itab
           WITH CONTROL tc_test
           CURSOR tc_test-current_line.
       module set_row_readonly. " loop at screen and set input = '0' if checkbox is checked...
    ENDLOOP.

  • 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 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

  • Va02 screen input first save it has to update the data base table

    I am working on VA02.
    For only one user(delivery block)should be block and when we are changing in sales order document for that user it has to update the VBAK table.
    for second save i'm able to updating but i want to update at first save only.
    thanks,
    sree.

    I want to update the DB table VBAK. and the user exit is:
    here is my coding: my requirement is to block a field i.e LIFSK in va02 and after saving that and i have checked vbak table then in lifsk the blocked db is updated IN TABLE CONTENTS.LATER IF I SAVE IT ANOTHER TIME WITHOUT ANY MODIFICATIONS THE FIELD IS NOT UPDATED.
    now the problem is with updation .i have blocked the field.
    Please help me  its urgent
    FORM USEREXIT_MOVE_FIELD_TO_VBAK.
    tables: knkk.
    if not vbak-kunnr is initial.
      if vbak-auart NE 'ZFD' and
         vbak-auart NE 'ZCR2' and
         vbak-auart NE 'ZRE' and
         vbak-auart NE 'ZSD'.
        select single * from KNKK
          where  KUNNR = vbak-kunnr
          and    KKBER = '8000'.
          if sy-subrc = 0.
            clear vbak-LIFSK.
          ENDIF.
          IF NOT SY-UNAME = 'FINCOMM1' AND SY-TCODE = 'VA02'.
              SELECT SINGLE LIFSK FROM VBAK INTO LIFSK1 WHERE VBELN = VBAK-VBELN.
               IF LIFSK1 NE ' '.
                  vbak-LIFSK = ' '.
               ELSEif vbak-auart eq 'ZCR2'.
                      vbak-LIFSK = 'Z1'.
                  ELSE.
                      vbak-LIFSK = 'Z6'.
               endif.
             if sy-tcode eq 'VA02' . "added on 22/05/2008
            if screen-name = 'VBAK-LIFSK'.
                  screen-input = 1.
                  modify screen.
                  update vbak.
            endif.
      ENDIF.
          ENDIF.
      endif.
    endif.
      if sy-tcode eq 'VA02' AND sy-uname NE 'FINCOMM1'. "added on 22/05/2008
            if screen-name = 'VBAK-LIFSK'.
              screen-input = 1.
                  modify screen.
                  update vbak.
            endif.
    endif.
    endform.
    Thanks,
    sri.

  • Make cells of Table control grayed out(input disabled) based on condition

    Hello Experts,
    I have a requirement where the data is getting populated in table control from my custom tables.
    Now in three columns of the table control if the data is coming as blank from z table then I have to show the cell as editable so that user can put the data and it can be saved back in custom table but If some data is coming from custom table and it is shown in the table control then the cell should be grayed out(Non Editable).
    To achive this I'm using the Following piece of code but it is not working still.
    In PBO 
    loop at   gi_actual_tc
           into gw_actual_tc
           with control tc_actual
           cursor tc_actual-current_line.
           module tc_get_lines. 
    endloop.
    MODULE tc_get_lines OUTPUT.
    data : lv_index  TYPE sy-index,
           lv_index1 TYPE sy-index.
    lv_index = sy-tabix.
    CHECK gw_actual_tc-zlc_subcon IS NOT INITIAL.
    LOOP AT SCREEN.
      IF screen-name = 'GW_ACTUAL_TC-ZLC_SUBCON'.
         lv_index1 = sy-tabix.
         IF lv_index = lv_index1.
         screen-active  = 0.
         exit.
         ENDIF.
        screen-intensified = 1.
      ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDMODULE.    
    Please let me know where I'm missing the trick here.
    Thanks,
    Jai

    hi ,
    LOOP AT SCREEN.  
    IF ( screen-name = 'GW_ACTUAL_TC-ZLC_SUBCON' AND
    gw_actual_tc-zlc_subcon IS NOT INITIAL )
    OR ( screen-name = ' GW_ACTUAL_TC-ZLC_SCWORK' AND
    gw_actual_tc-zlc_scwork IS NOT INITIAL )
    OR ( screen-name = 'GW_ACTUAL_TC-ZLC_VALJOB' AND
    gw_actual_tc-zlc_valjob IS NOT INITIAL ) .
    change code  to  below code  if it is character field 
    IF ( screen-name = 'GW_ACTUAL_TC-ZLC_SUBCON' AND
    gw_actual_tc-zlc_subcon IS  INITIAL )
    OR ( screen-name = ' GW_ACTUAL_TC-ZLC_SCWORK' AND
    gw_actual_tc-zlc_scwork IS  INITIAL )
    OR ( screen-name = 'GW_ACTUAL_TC-ZLC_VALJOB' AND
    gw_actual_tc-zlc_valjob IS  INITIAL ) .
    IF field is type P or I 
    then
    IF ( screen-name = 'GW_ACTUAL_TC-ZLC_SUBCON' AND
    gw_actual_tc-zlc_subcon =0 )
    OR ( screen-name = ' GW_ACTUAL_TC-ZLC_SCWORK' AND
    gw_actual_tc-zlc_scwork =0 )
    OR ( screen-name = 'GW_ACTUAL_TC-ZLC_VALJOB' AND
    gw_actual_tc-zlc_valjob =0 ) .
    screen-input = 1.
    MODIFY SCREEN .
    ENDIF.
    ENDLOOP.
    regards
    Deepak.

  • Problem with the table control BDC in FV60 transaction

    Hi All,
    I got the problem with the table control in FV60 transaction.
    This is working for 900 line items.After 900 line items it is giving the problem like it is 1000th line item.You can post only 999 line items.
    I know we can post only 999 line items,but in my file only 920 line items.
    Please give me solution,if anybody come across this situation.
    Thanks & regards,
    rakesh.

    Hello Rakesh ,
    your file may have only 920 line items , but based on those line items, SAP may create few more  new lines ( based on the clearing recon accounts , inter company transaction ...etc )...
    regards
    Prabhu

  • How do i setup a control table using a single input

    I am a very newbie LabView user.    I am trying to build a control component using a single 4 position input (a dial (0 thru 3) that outputs a 4 bit result based on the input.    What control do I need to use?
    The table looks like this:
    inputs        |outputs
    4H
    Open
    Open
    Open
    Ground
    2H
    Ground
    Open
    Ground
    Ground
    N
    Ground
    Ground
    Ground
    Open
    4L
    Ground
    Ground
    Open
    Open
    Eric Yuzon
    Senior engineer
    ERC
    Walled Lake, MI 48390
    [email protected]
    e-reman.com
    Solved!
    Go to Solution.

    That would depend on your hardware.
    What hardware are you using? 
    You could use the "DAQmx Write" function in this palette:
     Measurement I/O >> DAQmx - Data Aquisition
    Cory K
    Attachments:
    Control Table.vi ‏7 KB

  • 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

  • Re:  control table VS bdc

    Hi,
        I wirtten bdc code to enter the TASKS data into iw22 tcode which contains table control for this. I written the code and it is successfully executing if iam entering new items into tcode if there is no data. But if any data exits in the table control, when i try to change the values it is giving problem.  problem si that table control contains 17 lines. So iam using pagedown every 17 lines. But it is skipping
    line items after 17  and it is showing last line item in the table control. So what is the solution to see the 18 line item. I appreciate ur help.
        Just check it out below code and run this code in ur system and enter the notification number. 
    rgds
    p.kp
    data: bdctab like bdcdata occurs 0 with header line,
          bdcmsg like bdcmsgcoll occurs 0 with header line,
          it_viqmsm like viqmsm occurs 0 with header line.
    parameter: qmnum(12) type n.
    DATA  :  I(2) TYPE n,
             y(2) type n,
             v_fnam(30) TYPE c,
             vlines(2) type c value 17,
             z type i,
             z1 type i,
             n type i.
    field-symbols: <fs>.
    start-of-selection.
    do 1 times.
    perform main.
    call transaction 'IW22' using bdctab
                             mode 'A'
                           update 'S'
                           messages into bdcmsg.
      if sy-subrc <> 0.
      loop at bdcmsg.
      CALL function 'MESSAGE_TEXT_BUILD'
      exporting
        msgid                     =   bdcmsg-msgid
        msgnr                     =   bdcmsg-msgnr
      IMPORTING
       MESSAGE_TEXT_OUTPUT       =    bdcmsg-fldname.
        modify bdcmsg transporting fldname.
       endloop.
    endif.
    enddo.
    loop at bdcmsg.
    write: / bdcmsg-msgv1,bdcmsg-msgv2,bdcmsg-fldname.
    endloop.
    form main.
    perform bdc_dynpro      using 'SAPLIQS0' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RIWO00-QMNUM'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RIWO00-QMNUM'
                                  qmnum.
    perform bdc_dynpro      using 'SAPLIQS0' '7200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=10\TAB11'.
    select * from viqmsm into table it_viqmsm
                           where qmnum = qmnum.
    describe table it_viqmsm lines y.
    if y = 0.
                assign n value for no of items
                 this is for change if already exits
                suppose
        n = 19.
    else.
        n = y.
    endif.
    DO n TIMES.
      I = I + 1.
    ********after fill up one page************
      IF I > vlines.
       if y <> 0.
          z1 = z1 + 1.
          z = n - vlines * z1.
          if z > 0.
             I = 1.
          else.
             I = 2.
          endif.
       else.
          i = 2.
       endif.
      perform bdc_dynpro      using 'SAPLIQS0' '7204'.
      perform bdc_field       using 'BDC_CURSOR'
                                         V_FNAM.
      perform bdc_field       using 'BDC_OKCODE'
                                  '=PEND'.
      ENDIF.
    *******to enter the data*******************
      clear: v_fnam.
      CONCATENATE 'VIQMSM-MNGRP' '(' I ')' INTO V_FNAM.
      perform bdc_dynpro      using 'SAPLIQS0' '7204'.
      perform bdc_field       using 'BDC_CURSOR'
                                         V_FNAM.
      perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
      perform bdc_field       using      V_FNAM
                                        'm095'.
      clear: v_fnam.
      CONCATENATE 'VIQMSM-MNCOD' '(' I ')' INTO V_FNAM.
      perform bdc_field       using 'BDC_CURSOR'
                                         V_FNAM.
      perform bdc_field       using      V_FNAM
                                        'M95B'.
    *******end of enter data*********************
    ENDDO.
    perform bdc_dynpro      using 'SAPLIQS0' '7204'.
    perform bdc_field       using 'BDC_CURSOR'
                                   V_FNAM.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BUCH'.
    endform.
    *&      Form  bdc_dynpro
          text
         -->P_0039   text
         -->P_0040   text
    form bdc_dynpro  using    value(p_0039)
                              value(p_0040).
    bdctab-program = p_0039.
    bdctab-dynbegin = 'X'.
    bdctab-dynpro  = p_0040.
    append bdctab.
    clear  bdctab.
    endform.                    " bdc_dynpro
    *&      Form  bdc_field
          text
         -->P_0044   text
         -->P_0045   text
    form bdc_field  using    value(p_0044)
                             value(p_0045).
    bdctab-fnam = p_0044.
    bdctab-fval = p_0045.
    append bdctab.
    clear  bdctab.
    endform.                    " bdc_field

    before doing the page down u have to check the Input values.
    Regards
    Prabhu

  • What is control tables in abap hr?what is the purpose?

    what is control tables in abap hr?what is the purpose?

    These are the screen elements used to display tabular data they can be called
    as screen tables( like STEP LOOP).To use table control we have to create it on the screen using SCREEN PAINTER(SE51) and declare a control variable of TYPE TABLEVIEW using CONTROLS statement in the ABAP program. We have to use LOOP .. ENDLOOP statement in both PBO and PAI with or without AT int_table parameter. IF AT int_table parameter is not used than we have to place a MODULE call between the LOOP...ENDLOOP statement to fill the screen table rows from the ABAP program in PBO and program our own scrolling functions
    using OK_CODE field.
    Having a parallel loop(at screen table rows & int table rows) by using parameter
    AT int_table makes the ABAP code simple.
    A special structure of type CXTAB_CONTROL is used to set/get various
    attributes of table control at runtime like CURRENT_LINE ,TOP_LINE.
    ABAP declaration
    CONTROLS: tab_con TYPE TABLEVIEW USING SCREEN nnnn
    Here tab_con is the same name we used in screen for the table control.
    This ABAP statement will declare a control variable that will be used to access
    the table control , and set it's various attributes like number of fixed columns(tab_con-FIXED_COLS) ,total number of records it will display(tab_con-LINES).It is of type CXTAB_CONTROL and is a deep structure(structure containing structures).
    REFRESH CONTROL tab_con FROM SCREEN nnnn
    This ABAP statement will initialize the table control on the screen nnnn to its initial values.
    PBO processingI
    n PBO we have to use the screen LOOP ...ENDLOOP statement , with or without
    intenal table.
    LOOP WITH CONTROL tab_con.
    MODULE fill_tab_con.
    ENDLOOP.
    Here a module should be called between the loop endloop statement to transfer
    data from th ABAP program to the screen table through a structure.This module
    should use the CURRENT_LINE attribute of the table control variable to get the
    current screen table record index to read the data from the internal table into a work area.
    e.g.
    READ TABLE int_table INDEX tab_con-CURRENT_LINE
    The record read will be placed in the header line of the internal table and will be available to the similarly named screen fields or if these are different it can be written explicitly. e.g.
    screen_field_name = int_table-field_name
    LOOP AT int_table INTO workarea WITH CONTROL tab_con CURSOR i FROM
    n1 TO n2.
    ENDLOOP.
    Here the module call is not required to fill the screen table.The CURSOR parameter is a integer of type I indicating which absolute internal table line
    should be the first to display on the table control .FROM n1 TO n2 can be used
    to restrict the starting line and ending line number of the internal table , they are of type SY-TABIX.
    In both cases before the LOOP statement a module should be called which
    is generally for setting of status ,in which we should fill the LINES attribute
    (tab_con-LINES ) of the control with the total number of internal table records,doing this ensures correct and automatic scrolling.
    The ABAP statement DESCRIBE TABLE int_table LINES lines can be used
    to get the total lines in an int table.
    PAI Processing
    We have to use LOOP ... ENDLOOP in PAI so that data can transfer fro table control to ABAP program. If we want to write changes to the data we should
    call a module between the LOOP ... ENDLOOP. The MODULE call to process user commands (SY-UCOM) should be called after the ENDLOOP statement.
    e.g.
    PROCESS AFTER INPUT
    MODULE mod AT EXIT-COMMAND.
    LOOP AT itab_table or LOOP "depending on whether we are using AT int_table
    MODULE modify_int_table.
    ENDLOOP.
    MODULE user_command.
    In the MODULE call modify_int_table we can use
    MODIFY int_table FROM workarea INDEX tab_con-CURRENT_LINE
    or we can use
    int_table-field_name = screen_field_name.
    Thanks
    Please Reward points if helpful.
    Edited by: Richa Khosla on Mar 28, 2008 7:38 AM

  • Status control table - 'Perform update for status control table for cube '

    Hello Experts,
    While loading data to DSO, I am getting this message - 'Perform update for status control table for cube Z3MLQUA'.
    What is status control table ? and can I have some inputs as to how to solve this issue
    Regards,
    arjun

    Hi,
    This message is not a issue in itself. It is just a SAP message which means that the system is checking/updating the system tables to carry out the operation whether it can be done or not.
    If your loads are failing at this step or after this message there can be many reasons, check some of  the possible reasons below
    Performing check and potential update for status control table
    Update from PSA error in Process Chain
    problem in deleting request
    Reporting not available ,even if Data is sucessfully loaded into DT
    Hope this helps,
    Kush kashyap

  • Screen-Input

    In my i have some 8-9 fields and a table control.....
    If the user hits the save button, i want all fields and table control to be input disabled.
    can i do that without looping screen and making every field input disabled....

    You can disable the Fields of the table control by using the Structure of the Table control.
    See the link below, it contains the detail of the structure of the table control. You can disable the fields using the SCREEN table.You can see the structure during debugging. That will be helpful to understand the logic to be implemented.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac9f35c111d1829f0000e829fbfe/content.htm
    Regards,
    Abhishek

Maybe you are looking for

  • How to suppress the HTTPS alert in a JSP page?

    Hi, I have a JSP page which is https, If I try to move from that page to another https site or refresh the same page , I am getting the security alert , How to suppress that alert Please help me out, It is more urgent ....

  • Unable to get stable set of records

    I am getting error in the below statement, can someone help me to find out what is wrong here? i need an immediate help on this... ORA-30926: unable to get a stable set of rows in the source tables ORA-Error in executing meeting_occurrence table     

  • Is it possible to view Archived data online

    Hi Team, We need some information on archiving like, (1) Is it possible to see archived document online ? if yes then how it is possible and if no then why? (2) Is it possible to archive data online back in the Transactions ? If yes How can we achiev

  • Message "Address doesn't exist 6951" while posting GR to PO

    Hello, Trying to post a GR to a purchase order. A message comes saying "address doesn't exist 6951". While checking XK02, the system does not display the "Address" field. i.e. a run time error comes when the address field is checked. The error says "

  • Intermedia Java Classes

    I'm trying to use the Intermedia Java Classes for Servlets & JSPs (from http://technet.oracle.com/software/products/intermedia/htdocs/listing.htm#servelets_jsp) on a Sun machine with Apache/1.3.9 (Unix) ApacheJServ/1.1 It works quite fine, I'm just u