Issue in CAT2 transaction layout of table control need to be changed .Urge

Hi experts .
I am working in SAP upgrade project from 4.6 c to ECC .
I have an issue in CAT2 where after entering the WBS element and the Personnel number .
The screen shows as Send function /Sendr func area / Sender grant ..
I need to have  Receiver WBS Element, then Rec.Order, then A/A, then Name, then name, then all the actual individual days should display in sequence for entry of hours. Please suggest as to where the changes need to be done for getiing this layout.
Please do let me know if any suggestions ..
thanks in advance.
Anil .

HI,
Entert TC- CAT2
Select your Data Entry Profile and in Personnel Selection area in right corner you will see one table with yellow -blue colour click on that.
In maintain variant box, give a name to variant and click on create button, then click on Administrator tab and screen will take you to Edit system setting screen- here you can define your setting and which ever you don't want put check in checkbox in Invisible column.
If this resolves your problem, then award with points.
All the best,
Santosh

Similar Messages

  • Issue with number of lines in Table control for an web transaction in ITS

    Hi,
    We have acustom web transaction ZC03 where we have used table controls. Recently a kernal patch has been installed and after that the number of lines appearing in table control has got changed. Earlier table control was coming with 5 lines and presently its coming with 3 lines. Can you please help me to fix the issue.
    The  code used in HTML template for table controi is given below:
    `SAP_DynproLayerBegin(005,013,067,006)`
      `SAP_TableControl("TC_TIME1")`
        `SAP_DynproLayerEnd()`
    I have tried other alternatives like  `SAP_DynproTableControl("TC_TIME1")`, `D_TableControl("TC_TIME1') but did n't get any fruitful result also.
    Thanks and Regards,
    Ranadev

    What where the precise Kernel updates? What where you on and what did you upgrade too?
    Did you apply any BASIS Support Pack corrections during the Kernel upgrade?
    If you applied a new BASIS support pack - check the following WIKI:
    [How to check the publishing Date of an Internet Service|http://wiki.sdn.sap.com/wiki/x/OYG8BQ ]
    if you need to republish - use the following WIKI:
    [How to activate, publish and test ITS services in the integrated ITS?|http://wiki.sdn.sap.com/wiki/x/kmE ]
    Regards,
    Oisin

  • Issue in vertical scroolbar on the table control

    Hi All,
    I am not able to get the vertical scrollbar on the table control iuf line items increase in number. Please help me in solving the issue.
    Thanks
    K Sharma

    Hi,
    In se38
    CONTROLS: TCTRL_PHONELIST TYPE TABLEVIEW USING SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
       DESCRIBE TABLE itab_PHONELIST LINES LIN.
      TCTRL_PHONELIST-lines = LIN.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE EXTRACT_USERDATA INPUT.
       lines = sy-loopc.
    ENDMODULE.                 " EXTRACT_USERDATA  INPUT
    In se51
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
    PROCESS AFTER INPUT.
      LOOP AT ITAB_PHONELIST .
                  MODULE EXTRACT_USERDATA.
      ENDLOOP.

  • Add fields to CAT2 data entry area table control

    Hi All,
    I have a requirement where in I need to add a column after every day ( Moday , Tuesday.. ) in CAT2 to enable the user to enter short text description for the time entry accountabiity. For this I will have to add 7 additional columns to the table control of the data entry area one beside each day. The description entered by the user should be updated in the database.
    I am thinking of using screen exit CATS0012. But not very sure how to go about it.
    Pls help.
    Thanks in Advance.
    Regards,
    Joshi

    Thanks Ankush. I am going for the CATS0005 option. I have created a customer project TSHEET within an existing PS package on the system. The system prompted me to obtain a transport number which I guess will attach the new project to the package in future.
    Could you advise further on how to do this in practise? My instructions say 'on the initial project administration screen select the Enhancement components field and choose Change. In fact there appear to be 2 options - either Components or Enhancements assignement. If I choose Enhancements assignment I am prompted to enter the name of an exit. I entered CATS0005 as I have to bring this into the customer project somehow. Within package MY_CATS_INTERFACE appeared however CATS0005 was not recognised within this package. Likewise CI_CATSDB was not recognised.
    Any advise useful
    Thanks
    Rachel

  • Issue while  vertical scrolling in the table control

    Hi,
    i have my table control which can show 14 entries at a time. and i have almost 100 entries in table control.
    now if i selected 2 entries in the visible part.
    now scroll vertically.
    again come back to see the selected records now they are unselected.
    please respond soon.
    Thanks
    Malya

    Hi,
    I have redone the scenario and follow the steps it will work....
    STEP 1: Create an internal table with field for selection in table.
    STEP 2: Assign the selection field in the table control for the line selection.
    STEP 3: Now whenever the line is selected, the selection field will have a field 'X'.
    STEP 4: In PAI Modify the table fields those are selected with 'X'.
    STEP 5: Set a flag in PAI, flag = 'X'.
    STEP 6: In PBO set a condition .         " We set a flag so that we fetch the data only once.
    If flag NE 'X'.
    Fetch data.
    endif.
    Data:
          begin of ztable,
             ID type char4,
             Name type char30,
             Sel type c,
          end of ztable.
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      LOOP AT ITAB INTO FS WITH CONTROL EMP CURSOR W_I.
        MODULE UPDATE.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT ITAB.
      MODULE APPEND.
      ENDLOOP.
      MODULE USER_COMMAND_0100.
    INCLUDE YMODTOP                                 .    " global Data
    *&      Module  UPDATE  OUTPUT
    *       text
    MODULE UPDATE OUTPUT.
      MOVE FS TO FS.
    ENDMODULE.                 " UPDATE  OUTPUT
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      IF FL_FLAG <> 1.
        SELECT * FROM ZTABLE INTO CORRESPONDING FIELDS OF TABLE ITAB.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  append  INPUT
    *       text
    MODULE APPEND INPUT.
      MODIFY ITAB INDEX SY-STEPL FROM FS TRANSPORTING SEL .
      FL_FLAG = 1.
    ENDMODULE.
    Thanks&Regards
    Sarves

  • Issue with selecting a line on table control

    Hello Experts,
    We have a table control and using w/ SelColumn for selecting the highlighted line on a table control. It's working fine sometimes but not working in other cases. It's really wierd.
    On this screen, under the Table Control, we have provided Bottons do some functionality.
    When the users select a row and click on this push button, it has to call another pop-up screen.
    We have the code like this:
    PROCESS BEFORE OUTPUT.
      MODULE INIT_0600.
      LOOP AT T_qacomp_prt INTO qacomp_prt WITH CONTROL TC_qacomp_prt.
        module fill_part_number.
        MODULE Gray_Parts.
        FIELD T_qacomp_prt-MARK.
        module highlight_lines.
        MODULE LINES_0600.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE CANCEL_600 AT EXIT-COMMAND.
      LOOP AT T_qacomp_prt.
        FIELD T_qacomp_prt-MARK.
        MODULE READ_TABLE_CONTROL_600.
      ENDLOOP.
      MODULE USER_COMMAND_0600.
    In User-Command the code is like this:
    MODULE USER_COMMAND_0600 INPUT.
      when 'ADD'.
       if t_qacomp_prt-mark = 'X'.
        get cursor line lin.
      call screen 0615 starting at 30 15.
    else.
       message i999(zxx) with 'Please select a line'.
    endif.
    For eg, When there are 5 lines on the table control, If I select the 2nd line and click on "ADD", it is calling the pop-up correctly.
    However, If I select the 4th line and click on "ADD" button, it is giving the message "Please select the line".
    PS: PBO, PAI code already exists, I only added the "USER-COMMAND" code.
    Can you please let me know what went wrong? I greatly appreciate your help.
    Thanks.

    Hi,
    Provide a Check box for that table control. Declare that Check box field as Type c in Main program. Go to screen PAI module write code for deleting that lines by clicking one button using sy-ucomm. Delete it where is_chk = 'X'..like try

  • Reg : Table control row settings to change mode

    Hi geeks.
            I am working on a requirement where the table control has to be in display mode at the time of prepopulating(initial display).This works fine and could get all columns in display mode for which i used column properties of table control. I could select a row from the table control and created a button above the table control for copy of the row which is added to the last row of the TC. I could get this with out any issues. They want the added row to be in changed mode whereas the other rows selected previously should remain in the display mode. Can anybody help me out to solve.Timely help will be appreciated <removed by moderator>
    Regards  ,
    Kumar.
    Edited by: Vinod Kumar on Aug 2, 2011 9:21 AM

    This thread will assist you.
    [Table control with non editable rows;
    Make use of some flag for identifying the new records that will be appended in itab on the press of the button.
    Then in PBO,
    loop at itab with control tc cursor tc-current_line.
    module editnewrow.
    endloop.
    module editnewrow output.
    if itab-flag  =  'X'.
    loop at screen.
        screen-input  =  1.
        modify screen.
      endloop.
       itab-flag  =  ' '. (resetting back to non-editable state for consequent press of the button)
       modify itab index tc_4000-current_line.
      endif.
    endmodule.

  • Table control : Need to change Single field as non editable

    Hi Experts,
                    Plz help me out. In a table control there r 7 fields and only one field is editable. When i change the status of a record as delete in tat table control, only the deleted record (all fields)should become non-editable. Is it possible? Pls suggest.
    Regards,
    J. Sriram.

    Hi,
    In PBO of your screen
    you should be using a step loop like this :
    CONTROLS control1 TYPE TABLEVIEW USING SCREEN 100.
    LOOP AT itab WITH CONTROL control1.
    ENDLOOP.
    Where the control1 is the tableview control defined in your program
    and placed on your screen.
    Put a second loop on screen inside this loop ant set the related attribute :
    LOOP AT itab WITH CONTROL control1.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'COLUMN1'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDLOOP.
    So you can set cells editable or non-editable
    and you can filter it which record & which field..

  • Need to add 2 new columns to the existing table control of C223 transaction

    Hi ABAP Gurus,
    I have to do a screen enhancement for transaction C223.
    Below is the requirement:
    need to add 2 new columns to the existing table control of C223 transaction.
    there is no customer exits, screen exit or user exit present for this transaction C223, i have found one enhancement spot for this transaction.
    i dont have any idea how to do this in standard transaction C223, the table control in C223 saves the data to MKAL table and the table control uses the structure MKAL_EXPAND in the screen program.
    i have created an append structure for  the 2 fields to the standard table MKAL.
    Can anyone please suggest me how this can be done in standard screen C223, will the enhancement spot can be used to do this....
    please sugest...
    Thanks & Regards

    Hi Santosh,
    Thanks for the reply. I have looked into this Enhancement Spot CPFX_SCREEN_SET , inside this there is only one method INPUT_DISABLED having below parameters
    IM_MKAL     Importing     Type     MKAL                                                                                Production Version
    EX_MSGID     Exporting     Type     SY-MSGID                                                                                Messages, Message
    EX_MSGTY     Exporting     Type     SY-MSGTY                                                                                Messages, Message
    EX_MSGNO     Exporting     Type     SY-MSGNO                                                                                Messages, Message
    EX_MSGV1     Exporting     Type     SY-MSGV1                                                                                Messages, Message
    EX_MSGV2     Exporting     Type     SY-MSGV2                                                                                Messages, Message
    EX_MSGV3     Exporting     Type     SY-MSGV3                                                                                Messages, Message
    EX_MSGV4     Exporting     Type     SY-MSGV4                                                                                Messages, Message
    EX_INPUT_DISABLE     Exporting     Type     CHAR1                                                                                Display Only if X Was Set
    the BADI definition present here is a SAP internal so we cant implement the BADI , but we can created a enhancement spot implementation for this. as per my understanding on this the enhancement spot is only for making the table control fields display / change .  i dont think this can be used to add two new coloumns to C223 table control.
    I am not sure thats why seeking your help/valuable sugestion on this.
    Please provide your sugestion on this , so that i can come to conclusion on this issue.
    Thanks & Regards
    Siddhartha Mishra

  • How to delete record from table control in BDC?

    Hello friends,
    I am running a BDC program to delete records.
    I have file with following records and i got these records into t_itab.
    Material     Plant     Start date     End date     Cost
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100004     S002     09/01/2008     09/31/2008     56.00
    MQ100008     S003     09/01/2008     09/31/2008     57.00
    Now, I have BDC transaction in which table control screen which contains following structure.
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100002     S002     09/01/2008     09/31/2008     56.00
    MQ100004     S003     09/01/2008     09/31/2008     47.00     
    MQ100005     S004     09/01/2008     09/31/2008     25.00
    MQ100006     S012     09/01/2008     09/31/2008     76.00
    MQ100007     S033     09/01/2008     09/31/2008     17.00
    MQ100008     S011     09/01/2008     09/31/2008     95.00
    MQ100009     S002     09/01/2008     09/31/2008     46.00
    I have recorded from SHDB in which first record will be delete.
    So, when i loop through t_itab,instead of deleting MQ100001,MQ100004 and MQ100008 from BDC screen,
    it is deleting MQ100001,MQ100002 and MQ100004 (first record for each process ).
    Which i don't want to.
    Is there any facility in BDC to put records on top which i want to delete?
    Please guide me.
    Regards,
    RH

    Hi,
    While doing recording check for Filter button available for the table control, if it available then do the recording for the same.
    Once it is done while passing the data from internal table put the value into Filter field.
    Hope it resolves your issue.
    Thanks & Regards.
    Nagaraj Kalbavi

  • Regarding page down in the table control veritcally

    Hi all,
              I have an issue regarding page down in the Table control in module pool , i.e when i m click the vertical scroll bar and going for page down then , the control is flowing to the next sceen which is not needed , and it shuld just scroll down and up vetically.
    Can anyone help me how to handle the page down event ?
    Thanks & regards,
    satya

    Table Controls: Examples with Scrolling
    The following example processes a table control with LOOP without parallel loop using an internal table. In addition to the scroll bar, the user can also carry out program-controlled scrolling with function codes.
    REPORT demo_dynpro_tabcont_loop.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn,
          fill TYPE i.
          TABLES demo_conn.
    DATA: lines TYPE i,
          limit TYPE i.
    SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
      DESCRIBE TABLE itab LINES fill.
      flights-lines = fill.
    ENDMODULE.
    MODULE fill_table_control OUTPUT.
      READ TABLE itab INTO demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      lines = sy-loopc.
      MODIFY itab FROM demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'NEXT_LINE'.
          flights-top_line = flights-top_line + 1.
          limit = fill - lines + 1.
          IF flights-top_line > limit.
            flights-top_line = limit.
          ENDIF.
        WHEN 'PREV_LINE'.
          flights-top_line = flights-top_line - 1.
          IF flights-top_line < 0.
            flights-top_line = 0.
          ENDIF.
        WHEN 'NEXT_PAGE'.
          flights-top_line = flights-top_line + lines.
          limit = fill - lines + 1.
          IF flights-top_line > limit.
            flights-top_line = limit.
          ENDIF.
        WHEN 'PREV_PAGE'.
          flights-top_line = flights-top_line - lines.
          IF flights-top_line < 0.
            flights-top_line = 0.
          ENDIF.
        WHEN 'LAST_PAGE'.
          flights-top_line =  fill - lines + 1.
        WHEN 'FIRST_PAGE'.
          flights-top_line = 0.
      ENDCASE.
    ENDMODULE.
    The layout of screen 100 is:
    A resizable table control called FLIGHTS is defined. The fields of the table control are transferred from the structure DEMO_CONN in the ABAP Dictionary. The first two columns are lead columns. The corresponding fields are output fields. A title bar, column headers, and a selection column are created. The component MARK of type character with length 1 from structure DEMO_CONN is assigned to the selection column. You can select one column and several lines.
    It has the following flow logic:
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP WITH CONTROL flights.
        MODULE fill_table_control.
    ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE cancel AT EXIT-COMMAND.
      LOOP WITH CONTROL flights.
        MODULE read_table_control.
    ENDLOOP.
      MODULE user_command_0100.
    The system executes a loop at PBO and PAI using the table control FLIGHTS. During the PBO loop, a module is called to fill the table control from table ITAB of the ABAP program. During the PAI loop, a module is called to modify table ITAB.
    Before the PBO loop, in the module STATUS_0100 the current number of lines of the internal table ITAB is placed in component LINES of control structure FLIGHTS. This helps the system to correctly install the scroll bar of the table control.
    During the PBO loop, in the module FILL_TABLE_CONTROL the work area DEMO_CONN is filled with values from the internal table, where the row index corresponds to the current row of the table control.
    During the PAI loop, in the module READ_TABLE_CONTROL the current number of the loop SY-LOOPC in the table control is placed an auxiliary variable. The number is dependent on the size of the screen. The rows of the internal table, whose row index corresponds to the current row of the table control, are overwritten with the contents of the work area DEMO_CONN. User input is transferred from the input fields of the control to the internal table. In particular, the internal table also contains a flag in the column MARK to indicate whether the row of the table control is selected or not.
    After the PAI loop, user input is processed in the module USER_COMMAND. The GUI status SCREEN_100 provides the appropriate function codes. You can scroll line by line or page by page, or Goto the first or last page. You can implement scrolling by setting the component TOP_LINE of control structure FLIGHTS. For page-by-page scrolling the auxiliary variable that is filled in the PAI loop by SY-LOOPC is used as the step size.

  • How to delete record from table control using BDC?

    Hello friends,
    I am running a BDC program to delete records.
    I have file with following records and i got these records into t_itab.
    Material     Plant     Start date     End date     Cost
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100004     S002     09/01/2008     09/31/2008     56.00
    MQ100008     S003     09/01/2008     09/31/2008     57.00
    Now, I have BDC transaction in which table control screen which contains following structure.
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100002     S002     09/01/2008     09/31/2008     56.00
    MQ100004     S003     09/01/2008     09/31/2008     47.00     
    MQ100005     S004     09/01/2008     09/31/2008     25.00
    MQ100006     S012     09/01/2008     09/31/2008     76.00
    MQ100007     S033     09/01/2008     09/31/2008     17.00
    MQ100008     S011     09/01/2008     09/31/2008     95.00
    MQ100009     S002     09/01/2008     09/31/2008     46.00
    I have recorded from SHDB in which first record will be delete.
    So, when i loop through t_itab,instead of deleting MQ100001,MQ100004 and MQ100008 from BDC screen,
    it is deleting MQ100001,MQ100002 and MQ100004 (first record for each process ).
    Which i don't want to.
    Is there any facility in BDC to put records on top which i want to delete?
    Please guide me.
    Regards,
    RH

    One option is to identify the table and find out the location as the number of row which should be deleted from the table and then in the bdc program instead of postioning the cursor on the row 1(using the statement perform bdc_cursor ....(01)), replace the 01 with the row number.
    Second option is that if a filter control is available for the table control, then filter the data each and every time with the material number to be deleted and then delete the first row.
    Regards
    Farzan

  • How to make table control rows dynamic/unlimited using TC with Wizard

    Hi Friends ,
    I have designed a table control layout using table control with wizard.
    Now the problem is when we design a TC layout ,then we have to design it on the page . The page has upper & lower limits. so the maximum size & maximum rows in layout is limited. I have tried to create a TC layout with maximum size & maximum rows . Maximum rows created in Layout is 25.
    Now suppose if enduser wants 100 entries to enter by coping a file of 100 records in my TC present on entry screen , then ONLY 25 entries are displayed on entry scren before doing any user action or saving and after saving only these 25 entries are sved in DB. Means enrtries from 26 to 100 are not displayed on entry screen or saved in DB.
    So my requirement is to display all 100 entries at a time in entry screen before saving with scrolling up & down facility and these 100 entries should also get saved in DB after clicking save button. In short I want dynamic entry screen table control which can show/dieplay Any Number . of entries whatever the number may be entered by enduser .
    Plz note that I have used all 3 facilliteis i.e.
    1. Scrolling
    2. INSERT/DELETE
    3. SELECT/DESELECT
    while designing TC with wizard .
    Scrolling buttons like FIRST PAGE, PREV. PAGE, NEXT PAGE, LAST PAGE are displayed.
    BUT they are not functioning though there is system generated code present in both MPP and in PBO & PAI. After clicking any of them , data which is dislaying on entry screen ( Here it is 25 entries ) is getting cleared/disappeared from enry entry screen.
    Waiting for ur response & solutions.
    Thanks & Regards,
    Sudhir

    Hi Ashish ,
    Do one thing .
    At PAI of screen holding TC , there is module name tc_mark on request .
    in this module , there is work area declared g_tc_wa .
    Now go to tc_init module of pbo , where u have given your select command .
    select * from ........................................
    use this code .
    if g_tc_wa is initial .
       SELECT * FROm
       g_tc_wa = 'X'.
       REFRESH CONTROL 'TC' FROM SCREEN dynnr.
       ENDIF.
    Just do this , m sure all buttons, insert, delete , scroll bar.. everything will work .

  • Dynamically changing the value in table control

    Hello Every one,
    In MD61 transaction table control am trying to change value dynamicaly i.e am trying to change value in table control automaticaly tht value to be captured and i need to show in status bar...
    Ex table control field is number: am giving 10,20,30 tht should show in status bar by adding if u enter 10 at status bar it show 10 then when u enter 20 it should add with 10 and give 30 ..
    in this way when ever u enter value in filed it should add with the status bar value.

    Hi!
    For conversion you can use the function module
    data :   w_amt         TYPE cms_dte_original_amt,
                                                                                    " Amount
                w_conv_amt    TYPE cms_dte_conv_amt,
                                                                                    " Converted amount
                w_kmein       TYPE cms_dte_original_curr,
       CALL FUNCTION 'CMS_API_CURR_CONV'
            EXPORTING
              i_original_curr = w_kmein
              i_original_amt  = w_amt
              i_result_curr   = 'INR'
              i_rate_type     = 'M'
              i_conv_date     = sy-datum
            IMPORTING
              e_conv_amt      = w_conv_amt.
    now accordingly you can move the currency and amount that is changed....
    here as you were saying that on f4 after selecting you want the other field to get the value on that currency.....
    this work can be done as here....
    in this the next field gets populated as the first field gets the value......
    refer to it.....
    https://wiki.sdn.sap.com/wiki/display/ABAP/GettingainputfieldpopulatedonenteringthevalueinoneInputfield
    Regards.

  • Table control--BDC

    Hi Group,
    When I am writting BDC for transaction in which table control occurs in the second screen,it is perfectly running when I am testing with the two records in the table control,when I increases the records (200) I am getting the error that <b>Screen is too large for Internal batch Input.</b>
    Here I am attaching the part of code.
      MOVE 1 TO IDX.
      LOOP AT IT_DATATAB INTO WA_DATATAB.
        CONCATENATE 'FKKCMP_DIA-CHCKN(' IDX ')'
                                     INTO FNAM.
        perform bdc_field     using FNAM
                                    wa_datatab-col5.
        CONCATENATE 'FKKCMP_DIA-GPART(' IDX ')'
                                     INTO FNAM.
        perform bdc_field       using fnam
                                    wa_datatab-col1.
        CONCATENATE 'FKKCMP_DIA-VKONT(' IDX ')'
                                    INTO FNAM.
        perform bdc_field   using fnam
                                  wa_datatab-col2 .
        CONCATENATE 'FKKCMP_DIA-AUDAT(' IDX ')'
                                    INTO FNAM.
        perform bdc_field   using fnam
                                wa_datatab-col3 .
        v_betrw = wa_datatab-col4.
        CONCATENATE 'FKKCMP_DIA-BETRW(' IDX ')'
                                    INTO FNAM.
        write v_betrw to fval.
        perform bdc_field       using  fnam
                                   fval.
        IDX = IDX + 1.
      ENDLOOP.
    Please suggest

    <b>A table control can contain many records, but the no of records you see on the screen is limited. In this case, the table control can hold only 16 records at a time and then we need to enter the page down and fill in more records.</b>
    here is the sample code.
    *--For each record in table IT_ICE_CONFM
        loop at it_ice_confm.
    *--Get the correct line item from calling system.
    *      it_ice_confm-ebelp = it_ice_confm-ebelp / '00010'.
    *-- Check for Purchasing document validity
          read table lt_ekko with key ebeln = it_ice_confm-ebeln
                                      binary search.
          if sy-subrc <> 0.
             "error
          endif.
    *-- Check for Purchasing document item validity
          read table lt_ekpo with key ebeln = it_ice_confm-ebeln
                                      ebelp = it_ice_confm-ebelp
                                      binary search.
          if sy-subrc <> 0.
           "error
          endif.
    *--Clear local variables.
          clear : lv_tabix,
                  lv_lfdat.
          lv_tabix = sy-tabix.
          lv_count1 = lv_count1 + 1.
    *     For every new Purchase Order, populate first screen
          at new ebeln.
            read table it_ice_confm index lv_tabix.
            perform screen_insert tables it_bdc
                                  using  'SAPMM06E' '0105' 'X'.
            perform field_insert: tables it_bdc
                                  using  'BDC_OKCODE'  '/00',
                                  tables it_bdc
                                  using  'RM06E-BSTNR' it_ice_confm-ebeln.
          endat.
    *     For every new Purchase Order line item, populate next screen
          at new ebelp.
            read table it_ice_confm index lv_tabix.
    * if no Confirmation control key exist and no Goods receipt indicator
    * occurs for the line item, set the Confirmation control key as 0001
            if lt_ekpo-bstae = ' '.
              if lt_ekpo-wepos = ' '.
                perform screen_insert tables it_bdc
                                 using  'SAPMM06E' '0120' 'X'.
                perform field_insert: tables it_bdc
                                 using  'RM06E-EBELP' it_ice_confm-ebelp,
                                 tables it_bdc
                                 using  'BDC_OKCODE' '/00'.
                perform screen_insert tables it_bdc
                                  using  'SAPMM06E' '0120' 'X'.
                perform field_insert: tables it_bdc
                                  using  'RM06E-TCSELFLAG(01)' 'X',
                                  tables it_bdc
                                  using  'BDC_OKCODE' '=DETA'.
                perform screen_insert tables it_bdc
                                 using  'SAPMM06E' '0111' 'X'.
               perform field_insert: tables it_bdc
                                    using  'EKPO-BSTAE' '0001',
                                    tables it_bdc
                                    using  'BDC_OKCODE' '=BACK'.
              else.
    * if no Confirmation control key exist and and if Goods receipt
    * indicator occurs for this line item, mark PO and line item as error
                concatenate 'Item no '                 it_ice_confm-ebelp
                            ' of Purchasing document ' it_ice_confm-ebeln
                            ' is invalid'
                           into return-message.
                move: 'E'                            to return-type,
                      'ZI'                           to return-id,
                      '999'                          to return-number.
                append return.
                clear return.
                continue.
              endif.
            else.
            endif.
              perform screen_insert tables it_bdc
                                    using  'SAPMM06E' '0120' 'X'.
              perform field_insert: tables it_bdc
                                    using  'RM06E-EBELP' it_ice_confm-ebelp,
                                    tables it_bdc
                                    using  'BDC_OKCODE' '/00'.
              perform screen_insert tables it_bdc
                                    using  'SAPMM06E' '0120' 'X'.
              perform field_insert: tables it_bdc
                                    using  'RM06E-TCSELFLAG(01)' 'X',
                                    tables it_bdc
                                    using  'BDC_OKCODE' '=BSTA'.
              clear lv_tab_line.
              perform select_line using it_ice_confm-ebeln
                                        it_ice_confm-ebelp
                               changing lv_tab_line.
              if not lv_tab_line is initial.
    *--Position table control row for the first time
                lv_count2 = '01'.
                perform screen_insert  tables it_bdc
                                       using 'SAPLEINB' '0200' 'X'.
                perform field_insert   tables it_bdc
                                       using  'BDC_OKCODE' '=UMOD'.
                perform screen_insert  tables it_bdc
                                       using 'SAPLEINB' '0100' 'X'.
                perform field_insert   tables it_bdc
                                       using  'BDC_OKCODE' '=NP'.
                perform screen_insert  tables it_bdc
                                       using 'SAPLEINB' '0100' 'X'.
                perform field_insert   tables it_bdc
                                       using  'BDC_OKCODE' '=UMOD'.
              endif.
              perform screen_insert  tables it_bdc
                                     using 'SAPLEINB' '0200' 'X'.
            endat.
            lv_count2 = lv_count2 + 1.
    *     Handle page down
    *-- if confirmations already exist.
            if not lv_tab_line is initial.
    *-- Check if it is 16th record, to position next record on page down
    *   table control has 16 rows when default screen size,
    *      mode and update are set
              if lv_count1 = 16.
                clear: lv_count1,
                       lv_count2.
    *-- On page down, the next record comes to 2nd row
                lv_count2 = '02'.
                perform field_insert tables it_bdc
                                     using  'BDC_OKCODE' '=UMOD'.
                perform screen_insert  tables it_bdc
                               using 'SAPLEINB' '0100' 'X'.
                perform field_insert   tables it_bdc
                                       using  'BDC_OKCODE' '=NP'.
                perform screen_insert  tables it_bdc
                                       using 'SAPLEINB' '0100' 'X'.
                perform field_insert   tables it_bdc
                                       using  'BDC_OKCODE' '=UMOD'.
                perform screen_insert  tables it_bdc
                               using 'SAPLEINB' '0200' 'X'.
              endif.
            else.
    *-- if confirmations does not exist, then check if it is 17th record.
    *   to position next record on page down
              if lv_count1 = 17.
                clear: lv_count1,
                       lv_count2.
                lv_count2 = '02'.
                perform field_insert tables it_bdc
                                     using  'BDC_OKCODE' '=UMOD'.
                perform screen_insert  tables it_bdc
                               using 'SAPLEINB' '0100' 'X'.
                perform field_insert   tables it_bdc
                                       using  'BDC_OKCODE' '=NP'.
                perform screen_insert  tables it_bdc
                               using 'SAPLEINB' '0100' 'X'.
                perform field_insert   tables it_bdc
                                       using  'BDC_OKCODE' '=UMOD'.
                perform screen_insert  tables it_bdc
                               using 'SAPLEINB' '0200' 'X'.
    *-- Initialize the table line to 1.
                lv_tab_line = 1.
              endif.
            endif.
            concatenate 'EKES-EBTYP(' lv_count2 ')' into lv_field.
            perform field_insert tables it_bdc
                                 using  lv_field 'Z1'.
            if not it_ice_confm-eindt is initial.
              clear: lv_field,
                     lv_date.
              concatenate 'RM06E-EEIND(' lv_count2 ')' into lv_field.
              move it_ice_confm-eindt to lv_lfdat.
              write lv_lfdat to lv_date.
              perform field_insert tables it_bdc
                                   using  lv_field lv_date.
            endif.
            if not it_ice_confm-uzeit is initial.
              clear: lv_field,
                     lv_time.
              concatenate 'EKES-UZEIT(' lv_count2 ')' into lv_field.
              write it_ice_confm-uzeit to lv_time.
              perform field_insert tables it_bdc
                                   using  lv_field lv_time.
            endif.
            clear lv_field.
            concatenate 'EKES-XBLNR(' lv_count2 ')' into lv_field.
            perform field_insert tables it_bdc
                                 using  lv_field it_ice_confm-scacd.
            clear lv_field.
            concatenate 'EKES-MENGE(' lv_count2 ')' into lv_field.
            perform field_insert tables it_bdc
                                 using  lv_field it_ice_confm-quantity.
            at end of ebelp.
              clear: lv_tab_line,
                     lv_count1,
                     lv_count2.
              perform field_insert tables it_bdc
                                   using  'BDC_OKCODE' '=BACK'.
            endat.
            at end of ebeln.
              clear: lv_lines,
                     lv_msg.
              perform screen_insert  tables it_bdc
                             using 'SAPMM06E' '0120' 'X'.
              perform field_insert tables it_bdc
                             using 'BDC_OKCODE' '=BU'.
              call transaction  <b>tcode</b> using  it_bdc
                      options from x_ctu_params
                      messages into lt_message.
              clear w_success.
              if sy-subrc <> 0.
                w_success = 'N'.
              endif.
              refresh: it_bdc,
                        lt_message.
            endat.
          endloop.
    Regards,
    Richa

Maybe you are looking for

  • FiOS TV APP not supported on Samsung UN60H6350AFXZA LED TV

    Hi, I recently bought a Samsung 60 inch LED Smart TV : UN60H6350AFXZA. I tried to browse for Verizon FiOS TV APP on the Samsung Smart Hub and couldn't find it. I spoke with their customer care and they are saying this TV is not supported. I was shock

  • Not able to enter a Distinct EA twice in the same Custom Section

    (Answering a question asked offline.) By design, you are not able to have the same Distinct Extended Attribute twice within a custom section. I believe you might be able to define it twice, but they can't both be the default. If you are allowed to do

  • Does it have a feature that supports management with accounts, fixed IP, VLAN ?

    I'm not quite familiar with those advanced features if it does exist as the fact that i've been primarily using cheap and unknown AP products for years :D I'm planning on upgrading my APs for personal reasons. Could anyone tell me does it have a feat

  • Ios 7.0.1 update on iphone 5s phone now is in recovery mode

    Just got the iphone 5s went to sync it into itunes (that's up to date 11.1) asked to update to ios7.0.1. then I let it do it's thing then a unknown error came and put the iphone into recovery mode tryed to restore phone but it keeps giving unknown er

  • "Match Move" & "Analyze Motion"?

    Hey, I recently watched a short video podcast by "izzy Video", where he demonstrated how to easily setup a motion path following an object then applying a particle emitter to the motion path. It looked kind of cool so I thought I would try it,and...