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
-
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.
MarcinHi 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
-
Is the iTunes store down or something?
I've been trying for a WEEK to make a few purchases on iTunes, and I keep getting messages that the either there was an error in the iTunes store or that the iTunes store is unavailable. I've checked for updates ... I have the most current version (W
-
I've had my MacBook Pro for several months. Sadly I've not been able to use it for my work (I'm a writer) as I couldn't open my software, Final Draft. I installed it several times, uninstalling it each time to avoid glitches, but every time I tried
-
Iphoto shuts down my macbook?
whenever I open iphoto it freezes my macbook
-
Could someone please help me fix my date class?
I'm trying to use a string made from the current day/month/year to create a new directory. It makes a directory, but it appears not to initialize to the current date. Here is the output: /home/rick/testDir/Sunday_March_1 (and it appears in my local d
-
Consolidation Unit Time Dependent
Hi Experts, We are in Issue for the consolidation unit. My client requested not to extract some consolidation unit transaction data from R/3. He may use, the companies latter on (may be next year) in consolidation process. For this I changed my perma