Skip to Content
author's profile photo Former Member
Former Member

In BDT , Screen elemens is fixed, while scrolling it is in fixed position

Hello Friends,

Using BDT , I have added the push buttons on one of the sub-screens.

The dialog I am using has the subscreens sequentially.

When I scroll down , This screen elements sticks on the same position and does not move.

It appears as if those screen elements belong to all subscreen.

Is there anyway to assign subscreen with specific subscreen.

Can you give any guidance on solving this issue

Thanks

Santhosh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2009 at 10:27 AM

    see the following report

    DEMO_DYNPRO_TABLE_CONTROL_2

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Jani,

      Thanks for the information given. I think ,I think I did not explain my issue well.

      Let me try to explain it.

      This is BDT screen having many subscreens , for example , screen x, screen y,screen z

      I have a include a text field in screen y , It works fine.

      When I scroll down and up , the BDT screen , This element is fixed in same position in SAP screen.

      I guess , it may be GUI problem.

      If u get any idea , Pls let me know

      Thanks

      Santhosh

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2009 at 10:24 AM

    FORM compute_scrolling_in_tc USING p_tc_name

    p_ok.

    &SPWIZARD: BEGIN OF LOCAL DATA----


    DATA l_tc_new_top_line TYPE i.

    DATA l_tc_name LIKE feld-name.

    DATA l_tc_lines_name LIKE feld-name.

    DATA l_tc_field_name LIKE feld-name.

    FIELD-SYMBOLS <tc> TYPE cxtab_control.

    FIELD-SYMBOLS <lines> TYPE i.

    &SPWIZARD: END OF LOCAL DATA----


    ASSIGN (p_tc_name) TO <tc>.

    *&SPWIZARD: get looplines of TableControl *

    CONCATENATE 'G_' p_tc_name '_LINES' INTO l_tc_lines_name.

    ASSIGN (l_tc_lines_name) TO <lines>.

    *&SPWIZARD: is no line filled? *

    IF <tc>-lines = 0.

    *&SPWIZARD: yes, ... *

    l_tc_new_top_line = 1.

    ELSE.

    *&SPWIZARD: no, ... *

    CALL FUNCTION 'SCROLLING_IN_TABLE'

    EXPORTING

    entry_act = <tc>-top_line

    entry_from = 1

    entry_to = <tc>-lines

    last_page_full = c_x

    loops = <lines>

    ok_code = p_ok

    overlapping = c_x

    IMPORTING

    entry_new = l_tc_new_top_line

    EXCEPTIONS

    • NO_ENTRY_OR_PAGE_ACT = 01

    • NO_ENTRY_TO = 02

    • NO_OK_CODE_OR_PAGE_GO = 03

    OTHERS = 0.

    ENDIF.

    *&SPWIZARD: get actual tc and column *

    GET CURSOR FIELD l_tc_field_name

    AREA l_tc_name.

    IF syst-subrc = 0.

    IF l_tc_name = p_tc_name.

    *&SPWIZARD: et actual column *

    SET CURSOR FIELD l_tc_field_name LINE 1.

    ENDIF.

    ENDIF.

    *&SPWIZARD: set the new top line *

    <tc>-top_line = l_tc_new_top_line.

    ENDFORM. " COMPUTE_SCROLLING_IN_TC

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.