Disable Vertical scroll but enable Page down in Table control for BDC

Hello All
In my 4.6C sysem , i had enabled Scroll bar in table control by  populating TABC-lines = <No of records>...Then when i try to capture the BDC recording of this , then the scrolling event is not captured in BDC , as we all know.....
So i put few buttons on the application bar as NEXT PAGE, NEXT LINE , PREV PAGE n PREV LINE...and i did the scrolling by writing the code manually in PAI...and that is getting captured in BDC so my problem is partially solved...
Now as u see..i have default working Scroll bar on my T.C..also i have my buttons on the application bar....i want to get rid of the vertical scrolling....so now i am NOT populating the TABC-lines field...But as soon as i do this , my  buttons stopped also working...Any idea how to get rid of this ?
In short when i don't write : TABC-lines = no_of_records .....to remove vertical scroling.......my manual scrolling mechanism also getting disabled..
Is it possible to remove only vertical scrolling ?
Thanks in advance .
Nilesh

No reply from any one ???

Similar Messages

  • 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

  • Vertical Scroll bar does not appear in table control

    Hi ,
    I have a table control with both vertical and horizontal scroll bars.
    The data which comes is always more than 50 and the visible line size is 8.The vertical scroll bar
    does not appear at times..but if i run the program again, it appears..
    Sometimes it appears and sometimes no vertical scroll bar comes thought the data is more than the visible lines.
    Any suggestions ? why is this happening?
    Regards,
    Sharadha

    You have inserted data in the internal table and not "informed" the table control
    In the PBO, use a statement like
    DESCRIBE TABLE <itab> LINES <control>-lines.
    Regards

  • Issue finding current line when page down occurs - table control

    HI experts,
    How to find the current line index of the table control? The "Current line" property of table control gives the index of the current line when the cursor is in the first page. If it exceeds the first page, then it is not returning the correct value..
    For example, first page has 10 lines and the cursor is in the 5th line of the 2nd page, then the index must be returned as 15.. But current line returns the value as 5..
    Pls tell me how to find this.

    Hi,
    try this Way...
    IN PBO At MODULE STATUS_<Screen-Number>.
    13 is the number of cells in the Tables control
    TBC_200 is the Table control Name....
      if sy-ucomm = 'PGUP'.
         if TBC_200-current_line GE 14.
            TBC_200-top_line = TBC_200-top_line - 13.
         endif.
      ENDIF.
      if sy-ucomm = 'PGDN'.
         if TBC_200-current_line lE TBC_200-lines.
            TBC_200-top_line = TBC_200-top_line + 13.
         endif.
      ENDIF.
    Regards,
    Prabhudas

  • Is it possible to disable "My Dashboard" but enable "My Briefing Books"?

    for users to use briefing books,
    "Personal Storage (My Folders and My Dashboard)" must be granted to corresponding users.
    And then they can see the My Briefing Books list.
    is it possible to disable "My Dashboard" but enable "My Briefing Books"?

    Dear IvanaPe,
    I am stupid and maybe I gave a bad description, sorry.
    http://img80.imageshack.us/img80/1318/briefingbooks.png
    The list only shows when "Personal Storage (My Folders and My Dashboard)" is granted to corresponding users,
    however, when "Personal Storage (My Folders and My Dashboard)" is granted, they are also allowed to modified their "My dashboard"s.
    My goal is to only allow users to use their "My Briefing Books" but not allow them to use their "My dashboard"s.
    How to do this?

  • Recently changed my password for mail, can still read my mail, but the drop down keeps appearing, asking for my password and saying it's incorrect. Totally confused. 

    I Recently changed the password for mail, on iMac. I can still read my mail, but the drop down keeps appearing, asking for my password, then telling me it's incorrect. Totally confused. 

    If your password is accepted, and Mail connects to the account, but you're prompted for the password repeatedly, take each of the following steps that you haven't already tried. Note: these steps don't apply if the server rejects the password. That's a different problem.
    Step 1
    When prompted for the password, check the box marked Remember this password in my keychain.
    Step 2
    Check that the keychain is working.
    Step 3
    Check that the default keychain is unlocked.

  • How to handle scroll bar in table control in bdc

    hi friends,
       how to handle scroll bar coding in table control in bdc
    Thanks & Regards,
    Srinadh D

    hi,
    check the sites :
    table control scrolling:
    Scrolling in table control
    Re: scrolling in table control
    Table control - Vertical scrolling problem
    table control scrolling problem

  • Single page vertical scrolling website - first 'page' to fill browser

    I'm creating a single page vertical scrolling website.
    I would like the first 'page' to be a photo which fills not only the width but also the height of the screen.
    Is there any way to make the box do this without simply making the box height very tall to accommodate for taller screens?
    Thanks guys

    Hi,
    I think this thread is specific to ASP. NET. This form is to discuss problems about Windows form control. So I suggest you posting this thread into ASP. NET forum.
    http://forums.asp.net/
    If you have any concerns, please don’t hesitate to let me know. I will be glad to help you again.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Browser window maximize button disabled in IE but enabled in Mozilla

    Hi,
    There is contradictory behavior,if i launch an applet window it's maximization button hanging at the top right corner is disabled in IE but the same window if launched using Mozilla the maximization button is enabled and we are able to maximize the window too.
    What could bet he reason and how we can resolve this to have the button enabled using IE too.Can I have solution

    The code controlling the resize is something like below:
    URL openWinUrl = new URL(urlCodeBase, "openwin.html?openurl="
    + url.toString() + ",wintitle=" + getTarget(adminTitle)
    + ",resize="+no +",width=770,height=585");
    Setting resize as no works perfectly in windows platform (IE )but not in solaris (Mozilla).Can any one have solution why this is not working in Mozilla.

  • Unable to scroll down in table control screen .

    Hi techies ,
    am attaching the table control screen .
    am not able to scroll down in that .
    and also may i know the reason why am not able to tick the checkbox ?
    it seems in disable mode .

    Hi Ajay,
    It was the only reason, ever i have faced...
    And other possibility is regarding tbc-lines, but i saw that you were doing this using describe table.
    Sometimes the table control will not show all the records in internal table(case while changing number of records in internal table each time )..
    At this case you have to set the lines in TBC.. using
    describe table itab lines tbc-lines.
    tbc-lines is very useful, if you want to enable a new blank line in table control, just do this
    tbc-lines = tbc-lines + 1.
    Explore all properties of table control it is very useful.
    I think, i could solved your issue.. thanks for your appreciation.
    Regards
    Sreekanth

  • How do I identify OK Code in table control in BDC (scroll up/down)?

    Hi. I have read a lot of very good posts and articles here in the forums about how to work with table controls when writing a BDC program. Unfortunately I haven't found any that address the specific issue that I'm having.
    I'm writing a program to update the line items of a Parked Document using transaction FBV2. I want to be able to insert a row at the end of the previously existing rows regardless of how many there are and I can't seem to figure out the correct OK Codes to scroll up or down, or page up or down within the table control so I can guarantee that I will get to the next available row.
    For example. I have a Parked Document with 13 line items. I would like to insert the new line item as row 14. I know that 10 rows will be displayed at run time on this screen according to my settings in the BDC call and want to scroll down 1 time and then enter the new data on the 4th line on the new set of rows.
    Does anyone have any experience with this, or can someone point me in the right direction where I might find this information?
    Thanks in advance,
    Andy

    Hi
    In my system I can't run that trx, anyway there's any ok-code for the scrolling, you can have only the okcode for the page up/down buttons.
    So you should try to understand how many rows a page can have, so if a page have 10 rows per page and you need to change the row 22, it means you have to simulate to press the page down twice and change the second row of third page.
    If you run your BDC by CALL TRANSACTION u should use the option OPTIONS FROM opt, here you indicate to use the standard size of the dynpro. In this way the size of table control is not screen resolution dependent.
    TABLES CTU_PARAMS.
    CTU_PARAMS-DEFSIZE = 'X'.
    CALL TRANSACTION 'FBV1'  USING ITAB
                                                OPTIONS FROM CTU_PARAMS.
    Max

  • Page down issue in f-28 BDC

    Hi all,
       I am not able to page down in one of the screens in the transaction F-28 while doing BDC.
      Pls find the code that i had used when the items are more than 17,
    Loop
    IF l_cnt = 17.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                                 '=P+'.
         PERFORM bdc_dynpro      USING 'SAPDF05X' '4201'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'DF05B-TREST(01)'.
       cnt = 0.
    e ndif.
    Endloop.
    Pls help in this matter.

    Hi Vinod,
      i used the above logic. I enter 4 values in one line ie amount, reason code , reference1 and reference2. The reference1 is unmatched document number.
    Now what happens is all the amounts get added up as 1 line item and no document number is displayed in the next screen. But i need all that to be different line items. I am attaching the code that used.
    Please help me.
    LOOP AT t_820_payadv_tmp WHERE chect EQ st_checks-chect
                                     AND kukey EQ st_checks-kukey
                                     AND esnum EQ st_checks-esnum
                                     AND sgtxt(3) NE 'INV'.
          l_cnt = 1.
          perform bdc_dynpro      using 'SAPDF05X' '4201'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'DF05B-XREF1(01)'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '/00'.
       -Fill amount
            CLEAR : l_fld.
            concatenate :  'DF05B-TREST(' l_cnt ')' INTO l_fld.
            condense : l_fld.
            clear l_amt.
            l_amt = t_820_payadv_tmp-WRBTR.
            condense : l_amt.
            PERFORM bdc_field       USING l_fld l_amt.
       -Fill reason code
            CLEAR : l_fld.
            concatenate :  'DF05B-RSTGR(' l_cnt ')' INTO l_fld.
            condense : l_fld.
            PERFORM bdc_field       USING l_fld
                                          t_820_payadv_tmp-rstgn.
       -Fill reference numbers
            CLEAR : l_fld.
            concatenate :  'DF05B-XREF1(' l_cnt ')' INTO l_fld.
            condense : l_fld.
            PERFORM bdc_field       USING l_fld
                                          t_820_payadv_tmp-xref1.
            CLEAR : l_fld.
            concatenate :  'DF05B-XREF2(' l_cnt ')' INTO l_fld.
            condense : l_fld.
            PERFORM bdc_field       USING l_fld
                                          t_820_payadv_tmp-xref2.
    Endloop.
    perform bdc_dynpro      using 'SAPDF05X' '4201'.
    perform bdc_field       using 'BDC_CURSOR'
                                        'DF05B-XREF1(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                        '=PA'.

  • How Scroll Table control in BDC (TCode =  SR11)

    Hi Gurus,
    I'm trying to insert lines in a table control via batch.
    Unfortunately I must be able to insert more lines than the table control can show (4 lines at the same time).
    I am not able to get the good OkCode trough SHDB.
    I tried to add a line via OkCode 'P++' but it didnt worked.
    See below a sample of my code.
       IF NOT P_L_DATA-SA01 IS INITIAL.
         CLEAR L_C_INDEX.
         L_C_INDEX = L_INDEX.
         CONCATENATE 'ADRCITYCCS-SPARTE(0' L_C_INDEX ')' INTO L_FIELD.
         L_VALUE = '01'.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         CONCATENATE 'ADRCITYCCS-BUKRS(0' L_C_INDEX ')' INTO L_FIELD.
         L_VALUE = P_L_DATA-SA01.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         L_INDEX = L_INDEX + 1.
       ENDIF.
       IF NOT P_L_DATA-SA04 IS INITIAL.
         CLEAR L_C_INDEX.
         L_C_INDEX = L_INDEX.
         CONCATENATE 'ADRCITYCCS-SPARTE(0' L_C_INDEX ')' INTO L_FIELD.
         L_VALUE = '04'.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         CONCATENATE 'ADRCITYCCS-BUKRS(0' L_C_INDEX ')' INTO L_FIELD.
         L_VALUE = P_L_DATA-SA04.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         L_INDEX = L_INDEX + 1.
       ENDIF.
       IF NOT P_L_DATA-SA05 IS INITIAL.
         CLEAR L_C_INDEX.
         L_C_INDEX = L_INDEX.
         CONCATENATE 'ADRCITYCCS-SPARTE(0' L_C_INDEX ')' INTO L_FIELD.
         L_VALUE = '05'.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         CONCATENATE 'ADRCITYCCS-BUKRS(0' L_C_INDEX ')' INTO L_FIELD.
         L_VALUE = P_L_DATA-SA05.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         L_INDEX = L_INDEX + 1.
       ENDIF.
       IF NOT P_L_DATA-SA06 IS INITIAL.
         CLEAR L_C_INDEX.
         L_C_INDEX = L_INDEX.
         CONCATENATE 'ADRCITYCCS-SPARTE(0' L_C_INDEX ')' INTO L_FIELD.
         L_VALUE = '06'.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         CONCATENATE 'ADRCITYCCS-BUKRS(0' L_C_INDEX ')' INTO L_FIELD.
         L_VALUE = P_L_DATA-SA06.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         L_INDEX = L_INDEX + 1.
       ENDIF.
       L_FIELD = 'BDC_OKCODE'.
       L_VALUE = '/00'.
       PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
       IF L_INDEX = 5.
         L_PROG = 'SAPLSZRC'.
         L_DYN  = '0200'.
         PERFORM BDC_DYNPRO USING  L_PROG L_DYN.
         L_FIELD = 'BDC_CURSOR'.
         L_VALUE = 'ADRCITYCCS-BUKRS(04)'.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         L_FIELD = 'BDC_OKCODE'.
         L_VALUE = 'P++'.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
       ENDIF.
         L_PROG = 'SAPLSZRC'.
         L_DYN  = '0200'.
         PERFORM BDC_DYNPRO USING  L_PROG L_DYN.
         L_FIELD = 'BDC_CURSOR'.
         L_VALUE = 'ADRCITYCCS-BUKRS(02)'.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
    the 5th line
       IF NOT P_L_DATA-SA07 IS INITIAL.
         CLEAR L_C_INDEX.
         L_C_INDEX = L_INDEX.
         CONCATENATE 'ADRCITYCCS-SPARTE(' '02' ')' INTO L_FIELD.
         L_VALUE = '07'.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         CONCATENATE 'ADRCITYCCS-BUKRS(' '02' ')' INTO L_FIELD.
         L_VALUE = P_L_DATA-SA07.
         PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
         L_INDEX = L_INDEX + 1.
       ENDIF.
       L_FIELD = 'BDC_OKCODE'.
       L_VALUE = '/00'.
       PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
       L_PROG = 'SAPLSZRC'.
       L_DYN  = '0200'.
       PERFORM BDC_DYNPRO USING  L_PROG L_DYN.
       L_FIELD = 'BDC_OKCODE'.
       L_VALUE = 'SAVE'.
       PERFORM BDC_FIELD  USING L_FIELD    L_VALUE.
    Any idea will be welcomed.
    Please try to be clear and precide as I always wen trought several posts wich just not match.
    Thanks

    Hi Niyaz,
    Sorry but there is no button to add lines to this table control during the bdc recording.
    The only way to enter more lines than the default number is to scroll the table control.
    Unfortunatly this scroll action is not recorded (no OkCode) during recording.
    Any idea gurus ???
    Regards

  • How to put drop down in table control ?

    Hi All,
    I m writing one module pool program to edit table.
    I want dropdown to one field so that user can select the appropriate value. And also I want to save that record.
    So how to get the dropdown list and after editing that record how to save that in the database?
    Thanx in advance.
    -Umesh

    Hi Umesh,
    Please check this demo program RSDEMO_TABLE_CONTROL on how to add drop down list in table control. Also check this program DEMO_DYNPRO_TABCONT_LOOP_AT as well.
    To save to database you can code something like this in PAI.
    MODULE USER_COMMAND_0100 INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      CASE SAVE_OK.
        WHEN 'SAVE'.
          MODIFY <database table> FROM TABLE <table control>.
          IF SY-SUBRC = 0.
          ELSE.
          ENDIF.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Hope this will help.
    Regards,
    Ferry Lianto

  • Drop Down in table control

    Hi All,
    I am facing Problems here ;-
    I have developed a table control in WDA4 application i have 3 dropdowns which are dependent on each other i.e. when i select the entry in the first one then corresponding to that entry the data should be shown in next drop down and same goes for the third one .I am using dropdown by index here .
    Thnks ,
    Sahil

    Hello Sahiil,
          You need to bind the table to a context node and the three drop downs separately to three context nodes. when you click one one of the drop downs, populate the the other nodes.
    I hope this works for you.
    Please feel free to ask if you have any further doubts.
    Regards,
    Ritwik.

Maybe you are looking for

  • Connecting to wifi with oss

    Hello I have a wifi at home which use OSS to connect. I' can't use the codewords anymore. And I can't connect when I press the OSS button (as I can with PC or mobilephone). How do I get the Ipad to communicate with my accespoint. Regards Henrik

  • Why am I having difficultly login on?

    I turn on my computer, click on the Foxfire icon. And I get a window that states, can't find Foxfire, etc.

  • FileFormat Plugin Access/Store selections

    Hi everybody, I'm developing a file format plugin which reads/writes layered image data. The file format also contains selections. My question: How can I store these selections in the document so the user could load them via Selections->Load Selectio

  • No longer receive dialog box for double sided printing

    Usually when printing double sided documents the odd numbered pages print and then I get a dialog box telling me to flip over the pages and click continue and then the even numbered pages print. That box no longer appears after the odd numbered pages

  • Is there any way to send sms through j2me

    hi all, is there any way to send sms through j2me or any way to communicate with real device through emulator or from emulator to another emulator any sugesstions appriciated abdul rafiq jani applitech solution limted