TABLE CONTROL IN SUBSCREEN

Hi experts,
In module pool programming in main screen i have added one sub screen.in subscreen i added one table control.my problem is i am not able to get cursor position in table controland how to disable the records in table control.how to enable one record in table control.please any body help me
thanks in advance.
tharangini.

hi,
set cursor field 'ITABL-MAKTX' line tabcon-top_line.
tabcon is table control name.

Similar Messages

  • How to call table control in subscreen in module pool program

    Hi all,
    I have req,need call table control in subscreen,but have done but when scroll bar value getting changed ,
    please guide how to do it.if its possable send the code.
    regards
    santosh

    Hi,
    The navigation happens like this.
    Consider you have a main screen and 2 subscreens.
    When you click or do some event in the Subscreen 2 (lets say this is the one that has the table control), this will first trigger PAI of the Main Screen. In the flow logic of the Main screen, you would have written call subscreen <subscreen area1> and call subscreen <subscreen area2>.
    Now the subscreens get triggered based on the order in which you have written in the flow logic.
    So, here the modules before the first call subscreen statement in the Main Screen PAI is all executed. Now, it goes to the subscreen on which you have triggered an event and executes the modules in the subscreen.
    This is how the execution goes when you have subscreens.
    So there is no problem with the navigation. You only have to worry about the screen where you have the table control. Just debug and find where data is getting changed or duplicated.

  • How to save three table control in subscreen from main screen

    hi All,
    I have three table control in subscreen and i want to save the content of all the table control from the save button of Main screen how can i do it.
    Thanks
    Narendra Vikram Vishwakarma

    hi
    in main screen PAI
    when 'SAVE'
    write the code here to save it.
    thanks

  • Table Control in SubScreens

    Hi,
    Could anyone pls help me with an example for TableControl in Subscreens. My requirement is to have more than 1 table control in a screen.
    Pls help..
    Thanks'
    Ram

    Hi,
    My requiremnet is In one Screen there will be 3 layers.
    In top 2 layers..i need to place only I/O,text fields.Only in 3rd layer it will be 2 Table controls.
    So in this case do i need to have 3 subscreens
    And in the 3rd subscreen place the Table controls?
    Pls help
    Ram

  • Please advise: if it's possible to include a table control in step loop

    Dear Gurus,
    Currently, our user want to output a result list after calling BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE.
    Because this BAPI could create multiple invoices, and the result is asked to be displayed in a special format (both header information and item information). I just think if it is possible that make the header(text boxes) and item (table control ) in to a step loop.
    Could you please kindly advise?
    Thanks & Regards

    Dear all,
    As I tried, it is not possible to include table control or subscreen area in the step loop.

  • 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

  • Help me in tab strip with table control

    hi,
    can any body give me the idea regarding my requirment please urgent.
      my requirment is i created tab strip in main screen (111) and i created table control in subscreen (12).and i created one parameters with gui screen.if i execute that selection-screen it call tab strip .i am getting.but my requrment is when i execute selection-screen by default it will call tab strip with table data (recards) in to the table control fields which is in display mode.
    please help me urgent.
    with warm regards.
    khadar.

    yes u can create it.
    This is a sample program to create a tabstrip.
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-010.
    PARAMETERS: USER(10) TYPE c,
                PWD(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 500.
    SELECTION-SCREEN BEGIN OF SCREEN 600 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-010.
    PARAMETERS: BUSNO(10) TYPE c,
                BUSNAME(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN END OF SCREEN 600.
    SELECTION-SCREEN BEGIN OF SCREEN 700 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-010.
    PARAMETERS: TNO(10) TYPE c,
                TNAME(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN END OF SCREEN 700.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK sub FOR 10 LINES,
                        TAB (10) LOGIN USER-COMMAND LOGIN,
                        TAB (10) BUS USER-COMMAND BUS,
                        TAB (10) TRAIN USER-COMMAND TR,
                      END OF BLOCK sub.
    INITIALIZATION.
    LOGIN = 'LOGIN'.
    BUS = 'BUS'.
    TRAIN = 'TRAIN'.
    SUB-DYNNR = 500.
    SUB-PROG = SY-REPID.
    AT SELECTION-SCREEN.
    CASE SY-UCOMM                  .
    WHEN 'LOGIN'.
         SUB-DYNNR = 500.
    WHEN 'BUS'.
         SUB-DYNNR = 600.
    WHEN 'TR'.
         SUB-DYNNR = 700.
    ENDCASE.

  • How to add a field in a table control of the subscreen 6103 of tcode f-03

    hi abap gurus....i m new to abap and this is my first post ..i m hoping for a reply soon as it is urgent....
    my requirement is to add a field PAYR-CHECF to a table control of the subscreen 6103 of tcode f-03

    Hi,
    Please see documentation of enhancement MM06E005 (transaction SMOD).          
    Userexit EXIT_SAPMM06E_016 is a component of enhancement MM06E005.            
    With that enhancement, you can                                                
      -   Maintain/supply your own customer fields                                
      -   Update your own customer-specific tables                                
    You cannot:                                                                   
      -   Change standard fields                                                  
      -   Change data that depends on the document header in the items            
      -   Change data that depends on an item in the document header                                                                               
    Please have a look at Business Add-In (BAdI) ME_PROCESS_PO_CUST.              
    Regards,
    Edit

  • Usage of CL_GUI_ALV_GRID in table control subscreens.

    Hi Experts,
    I want to create subscreens in a main screen as table control screens using CL_GUI_ALV_GRID classes, does anyone have sample code or program on how to create making use of this classes.
    It will be of great help to me.
    Thanks,
    Prabs.

    Hello Prabs,
    In your post, you say "<i>.....table control screens using CL_GUI_ALV_GRID classes....</i>". I'm not quite sure what you mean by that.
    A table control and an ALV grid are two different UI elements altogether. ALV Grid is based on the Control Technology and the Table Control is similar to a normal screen element.
    Could you please state in clearer terms what you mean? That would enable us to give you a more accurate and helpful answer.
    regards,
    Anand Mandalika.

  • To insert a new row in a table control without affecting the other rows

    Halo experts,
    I have a Table control TCTRL in a program .
    The lt_tab contains two cols A and B
    In change mode of the transaction Col A is in display mode and Col B is in change mode
    When i press the + button to insert a new blank entry .I need a blank row with both col A and col B input enabled w/o affecting the display of above and below rows of table control
    In PBO module of subscreen 101
    LOOP AT lt_tab  WITH CONTROL tctrl.
    MODULE tctrl_status.
    endloop.
    In the user command of 0101
    i am writn
    When 'INS'.
    INSERT INITIAL LINE INTO itab.
    Inside MODULE tctrl_status.
    IF lt_tab IS INITIAL.
        LOOP AT SCREEN.
          IF screen-name = 'COLA'.
          screen-input = 1.
      ENDIF.
        ENDLOOP.
          MODIFY SCREEN.
    endif.
    but the problem here is still the Col A is in display mode and Col B is in change mode after output
    .Here modify statement is happening but it does not update the TCTRL-COLS-Screen structure for the col A ( which I have set statically while designing the screen ).I dont want to make the entire row in edit mode only the inserted row ( for both Col A and Col B) and the rest shud remain as it is
    Thanks
    Kallu

    hi Naveen
    I have made my tctrl input disabled for both the columsn and
    I have a module before the PBO loop where I set the like
    module set_tctrl_status.
    IF gv_ok_code NE gc_disp.
        LOOP AT tctrl-cols INTO gs_cols.
          IF gs_cols-screen-name = 'ColB'.
            gs_cols-screen-input = 1.
            MODIFY tctrl-cols FROM gs_cols INDEX sy-tabix.
          ENDIF.
        ENDLOOP.
    This is just to set the Col B in edit mode when in change and create status.
    But if i press the INS button for that change i am coding inside the loop endloop of the pBO like
    if itab is initial.
    LOOP AT tctrl-cols INTO gs_cols.
    gs_cols-screen-input = 1.
    MODIFY tctrl-cols FROM gs_cols INDEX sy-tabix.
    endloop.
    But the problems i it is setting the enite rows as input enabled . I want tos et only that row inpur enabled

  • Screen error while adding  table control to existing tab in BP screen

    Hi experts,
    Requirement: Add new section with table control in existing tab in BP screen. Purpose of creating table control is to add or delete multiple entries etc.
    To fill this requirement, we have created custom transaction with table control facility. When we run this transaction from SAP easy screen, we are able to add, delete and create multiple records to database.
    We have configured this custom program and screen in BDT (views) and saved.
    When we call BP transaction we are getting following error message.
    "Screen ZMOD_TEST1 0100 must be an Include screen (screen error)".
    We are not sure, the approach we have chosen is correct. Incase, any one of you come across this type of problem, please guide us to rectify.
    Thanks in advance.
    Venky

    Venky,
    If you are on CRM 4.0 or even 5.0, my approach to adding a table to business partner attributes would have been the following:
    - Use EEWB to generate the table extension
    - Modify the generated code/screens if what was generated did not meet you complete requirements
    However going back to your original question, if you add new screens for the BDT, then they must be "subscreens".  The screens you create for the BDT tool are always subscreens placed in a container by the BDT program.
    So your options are one:
    1.  Convert your screen to a subscreen and if you have coded all the BDT event function modules correctly it should work
    2.  Use EEWB to generate a new extension and make adjustments as necessary.
    Good luck,
    Stephen

  • Field is not populating in BDC from Table Control value????

    Hi Experts,
    After adding a new Quantity (MY_QUANTITY) field to the existing Table control, I populated the data from SAP into it.
    Now, the user will change (if he wants) its value, then he clicks the Push Button by expecting the posting of the Document i.e.in other words. the Control encounters the statement of MY_FORM_CREATE_ABAVN_VIA_BDC in my Prog.
    But, MY_QUANTITY (changed, even not changed too) value/s is not passing in to my BDC_DATA table/code?
    I am doing BDC for ABAVN transaction and wanting the Quantity filed of ''Partial Retirement'' tab to b populated in BDC. So, I am using as,
    SAPLAMDP--Screen 100--Field as ANLA-MENGE (its a Subscreen/Tabs of SAP Screen)
    So,
    1) Problem is with my BDC code?
    2) or, ''SAPLAMDP--Screen 100--Field as ANLA-MENGE'' is this wrong?
    3) or else any other?
    Message was edited by:
            Sridhar
    Message was edited by:
            Sridhar
    Message was edited by:
            Sridhar

    Hai sridhar,
    The problem is within the BDC  Code.
    Because For the effect of adding the field there is no correspong change in bdc is done.So record one more time use the latest one(After adding the field)
    Hope this helps you.
    Regds,
    Rama.Pammi

  • CONTROL_NOT_FOUND in Table control

    Hi All,
       I am extending Material master. While creation of table control on the subscreen through screen exit. I am able to test the table control being shown on the test button. But this subscreen is being assigned to the main screen of the SAP* Progrom. But that is returning with CONTROL_NOT_FOUND error.
        Please anybody can know me possible reasons for the table control giving such errors...
    Regards,
    Brijesh Patel

    Hi Patel,
    U just declare the table control for the screen at <b>global level</b> where all the <b>global data</b> is declared like this
    CONTROLS: TABLE_CONTROL TYPE TABLEVIEW USING SCREEN 100.
    Hope this will help.
    Regards
    Sachin

  • Question Concerning Usage of Table Controls

    I currently have three screens. The first screen is the main screen and the other two screens are subscreens called from within the main screen. Inside each of the two subscreens, I have a separate table control. Each table control provides a display of specific data. I would like the first table control to be maintained by certain actions done in the second subscreen. At the moment, I do know that the internal table used for the first table control is being modified accordingly. The issue is the table control on the screen is not being modified based on the change reflected on the internal table. If I modify the internal table, the table control on the screen still reflects the old value.
    Is what I am trying to do possible? Do I need to force an event in order for the table control to be modified or refreshed from the internal table? I have no issue in modifying the table control defined in the second subscreen. The table control on the first subscreen is the one where I have the issue with update.
    Thanks in advance.
    --Vince

    Hi,
    If the PBO of the main screen is called..
    THen table control in the first screen should be getting called also..
    In the debugging check if the internal table is having the updated values before hitting the LOOP AT statement of the PBO of the first screen..
    Thanks,
    Naren

  • Adding field in table control of  standard transaction IW21 / IW22 / IW23

    Hi ,
    My requirement is to add a field in the table control in Transaction IW21/22/23 program SAPLIQS0  screen number 7334.
    This screen is triggered when notification type is 'M4'.
    Is it possible?
    if yes , please throw some light on how to achieve it.
    Thanks in advance
    Prakash
    Edited by: Prakash Nawale on Feb 17, 2010 8:48 AM
    Edited by: Prakash Nawale on Feb 18, 2010 5:31 AM

    You can add additional fields to the details sub-screen (SAPLIQS0-5010) via user-exit QQMA0012 (User Subscreen for Additional Data on Activity)
    But from memory the system will not add these to screen 7334
    PeteA

Maybe you are looking for

  • Payroll scenario

    Dear Experts below is the scenario followed by the sample data from the clients place for a specific scenario to be modified.Please suggest whats the best solution Pay the commission entitlement in two portions, the first payment (pre-payment) at the

  • Urgent: SQLException: Internal Error: Image is not in 8.1 format

    Hello there, I have never come accross such error. Scenario 1 using JDeveloper EA1, Database 9i (9.2.0.6) 2 calling Oracle package procedure with in/out parameters. 3 Package has been imported into jDeveloper (jPublisher) with defaults settings. 4 pr

  • Multi user use of external hard drive (Time Capsule) mount and permisssions

    I have an iMac (intel, OSX10.6.7) and Time Capsule [TC]. I have set up Time Machine to use the TC. I also use the TC for additional storage - Photos and Music - to keep the iMac drive fairly free. There are 5 users of this setup (2 Admin). The TC is

  • Acrobat X does not install the Adobe PDF printer

    When I try to install the Acrobat X on a Vista SP2 machine, the installation completed successfully but it does not create the Adobe PDF icon in the printers section. This was not a problem earlier, but there were some microsoft patches and GPO updat

  • ALe Error 29

    Hi, I am trying send Message type PICKSD, I am getting error 29 error in ALE service layer. My partner profile sounds ok. Can Anyone please tell me the possible reason. Thanks, Santosh