Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Find Command

Former Member
0 Likes
2,220

When we upgraded our SAPGUI to 640 (from I believe 620), we noticed one new “feature”. In the ABAP editor in display mode, if you press the find button (or CTL F), you get a popup that asks for the string and has two radio buttons for the direction (up and down). Up is the default. Most of the people I know would rather have the default as down, but I haven’t been able to find any place to change this setting.

Do you know of any way to change the default of the find command to down?

Rob

Message was edited by:

Rob Burbank

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
2,016

Rob, my default for this function is 'Down", I'm looking for the config.

Regards

RIch Heilman

19 REPLIES 19
Read only

Former Member
0 Likes
2,016

Hi!

An another way to find something: in SE38, give the program name, and choose menu Tools - Search in source code.

If you want to serch in more program click on the multiple selection beside the global in program line and enter Z* in the first line which appears.

Emm, to change the direction seems not any easy, but for me it is working correctly.

Regards

Tamás

Message was edited by:

Tamás Nyisztor

Read only

0 Likes
2,016

Thanks Tamas.

I know I can do that. But I'm looking for the solution where I am already in display mode for a program and want to find the first instance of someting.

So are you saying that the default direction for you is down?

Rob

Message was edited by:

Rob Burbank

Read only

0 Likes
2,016

Hi!

Yes, it is in default the down direction. It seems a standard windows style search window. I think it is independent from SAP, because it is called from one of the windows dll-s. And in windows programming, I can't help you...

Regards

Tamá

Read only

Former Member
0 Likes
2,016

Hi Rob,

It is the same way in my system, but for some reason it is not beahving the way we are expecting it to behave. It doesn't consider the direction at all. Irrespective of the Up or Down, it is searching from top to bottom only.

Regards,

Ravi

Read only

0 Likes
2,016

What GUI version do you have?

Rob

Read only

0 Likes
2,016

640.

Read only

0 Likes
2,016

I think it must be some sort of configuration setting, but I can't find it.

Rob

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
2,017

Rob, my default for this function is 'Down", I'm looking for the config.

Regards

RIch Heilman

Read only

0 Likes
2,016

Thanks Rich - I couldn't find it.

Rob

Read only

0 Likes
2,016

This is gonna be tricky, because I believe that this functionality may be integrated into the native OS(windows) You can see that the dialog is different.

Regards,

Rich Heilman

Read only

0 Likes
2,016

Also, I like to add that this is not a new functionality with 6.40 but it was there before, as I have seen it in 6.20 also for SAP versions 4.6c, 4.7 ECC 5.0 & 6.0.

and that window is from the windows OS only some how reading the on screen conten i suppose as you can find it on the notepad too if you check.

Regards,

Amit

Read only

0 Likes
2,016

For notepad, my default is down! So I still think that there's something specific to SAPGUI.

Rob

Message was edited by:

Rob Burbank

Read only

0 Likes
2,016

Rob,

I tried something which I find little amusing may be you all are aware of this.

Just to check about the window I try to debug the editor and everytime I am putting the debugging switch on it is giving me the SAP FIND window and if I directly press CTRL+F it is giving the other one.

I think these two classes have to do something here -

CL_WB_PGEDITOR

CL_WB_MANAGER

Regards,

Amit

Read only

Former Member
0 Likes
2,016

Did you ever find a solution for this? The same thing happens in our system. In display mode, the default direction is up. In change mode the default direction is down. This has been bugging the heck out of me for the last two years, so if anyone knows how to change the default I'd greatly appreciate the tip.

Thanks.

Read only

0 Likes
2,016

It may be a SAPGUI patch level issue. I'm currently on level 9. A colleague is on level 23 and doesn't have this problem. I expect to get the upgrade soon and will let you know the results then.

Rob

Read only

0 Likes
2,016

That seens to be it. I upgraded to patch 23 and the find direction is "down".

Additionally, I understand that patch level 23 supports IE 7.

Rob

Read only

0 Likes
2,016

<i>I understand that patch level 23 supports IE 7</i>

That's right Rob. Also, it may be of value to point out that SAPgui 7.10 is a tad buggy and that you are better off staying with SAPgui 6.40 SP23, at least untill the new patch for 7.10 comes out. The simple code completion actually doesn't work in my SAPgui 7.10.

Regards,

Rich Heilman

Read only

0 Likes
2,016

Thanks Rich. Since you pointed out that 7.10 is still buggy, we are going to hold off on that update.

Rob

Read only

Former Member
0 Likes
2,016

I am on level 9 as well. Maybe that's the issue. I think a few people at our company have been using level 23, so I'll see if I can try it out on one of their machines.

Jim