Cl_gui_abapedit

Hi,
I use the class "cl_gui_abapedit" in my program to show my abap-code in the dynpro (view mode).
My problem is that i can not scroll to see the whole abap-code. can somebody helps me please?

Hi Yousef,
Do you use a subscreen? There is also a Scrollable attribute.
I had a try with my SAP GUI 7.20, and I see that there are scrollbars internal to the editor control, they appear as soon as a text line overtakes the control width, or if there are more lines than the control height.
By the class/OCX methods, I don't see any possibility to control the scrollbars.
But in the settings (button at bottom right), there are checkboxes to control it. Unfortunately, it seems that it's a general setting (common to other tools that use the ABAP editor, like debugger, SE38), so I think you shouldn't change it.
I also saw that there are undocumented properties (UPLOAD_PROPERTIES method), so it can't help.
Last thing, check SAP notes, and install latest SAP GUI version/patch.
Sandra

Similar Messages

  • Docking container

    Hello,
    Could you please tell me what is wrong either in the code below or in my logic:
      DATA: d_container TYPE REF TO cl_gui_docking_container,
            e_control TYPE REF TO cl_gui_abapedit.
      CALL SCREEN 200.
      CREATE OBJECT d_container
        EXPORTING
    *      repid                       = sy-cprog
    *      dynnr                       = sy-dynnr
          side                        = cl_gui_docking_container=>dock_at_left.
      check sy-subrc = 0.
      CREATE OBJECT e_control
        EXPORTING
          parent = d_container.
    Logic
    - create empty screen 0200
    - create docking container docking it to the left part of screen
    - embedding abap editor control to this docking container
    My question is: why when running program I don't see anything, as the docking container with the control inside wouldn't be there?
    Thank you for help in advance.
    Marcin

    Hi Jonathan,
    The problem was obvious. The code simply should be included in PBO module of the screen.
    There is no need to pass neither sy-repid nor sy-dynnr unless it displayed in other screen/program.
    Gr8 thanks for your help:)
    Regards,
    Marcin

Maybe you are looking for