cancel
Showing results for 
Search instead for 
Did you mean: 

Class connection to BSP page

Nigel_James
Active Contributor
0 Kudos

I have a error in a bsp app which is dumping in some conditions. The only clue I am getting in ST22 is a pointer to a bsp generated class named something like:

CL_O2AH7ZCIJP6MCKNV45ALQC...

Is there an easy way to map this back to the specific BSP page in my application?

Thanks in advance.

Nigel

Accepted Solutions (1)

Accepted Solutions (1)

GrahamRobbo
Active Contributor
0 Kudos

Hi Nigel,

if you put some breakpoints in the page(s) you suspect might be the one, the ABAP debugger will show you the class name.

The classic debugger shows it at the top of the page in the Main Program field.

The new debugger shows it in the Program/Include Line field.

Cheers

Graham

Nigel_James
Active Contributor
0 Kudos

I must admit this is a pretty bad solution if that is the only thing that there is to do.

I can't believe that SAP generates a class from a bsp view and then it can't get a link back the other way.

Thanks for your help guys. I appreciate it. I just can't believe there is not another way.

Nigel

Nigel_James
Active Contributor
0 Kudos

This is where I award myself 10 points because I found a much better solution.

Here it is for all your enjoyment.

1. Go to transaction SE24

2. Enter CL_O2_RT_SUPPORT in the 'Object Type' box

3. Press the F8 key. (The Key not the facebook api)

(with me so far?)

4. Click the little tick icon to the right of method GET_PAGE_BY_CLASSNAME

5. Paste your cryptic class name in the P_CLASSNAME box.

6. Press the F8 key again.

7. Read the BSP page from the result.

Phew, I just knew there had to be a better way than guess and debug.

Thanks again for your answers guys,

Nigel

Nigel_James
Active Contributor
0 Kudos

PS It doesn't seem to matter that type SEOCLSNAME is only 30 characters long and the generated classnames are 32 characters long.

CarstenKasper
Active Contributor
0 Kudos

Hey Nigel,

I know this thread is years old and you will most likely have forgotton about it. Nevertheless I wanted to shout out a big: Thank you!

People recently post a lot of questions on SCN, but do not share their solution when found by themselves. Today you saved me a lot of time 🙂

cheers Carsten

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi!

Look at the source code of the BSP page(rt click, view source) and find the start page by doing a 'find' on the application name. Then go to that page in the application and using breakpoints(or watch point for sy-msgty = e) start debugging for the error message.

This needs some patience while debugging.

Also check if there are any badis being used.

Hope this helps,

manasa