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

re:enhancement framework

Former Member
0 Likes
899

Hi techies,

I have a problem when setting breakpoint in the code that i have inserted within the implicit enhancement point.

Suppose i have an implicit enhancement point in va01 t-code.

i have inserted two lines of code within this enhancement.

now to check whether my code which i have included in the enhancement point is executed or not i wanted to set a break-point over there.

But i get an error message stating

´Break-point position can not be determined

Can anyone help me in suggesting the reason for the above error

Thanks in advance,

Harini Shankar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
867

where do you have your code? Make sure you activated all your code and try to set the break point OR just put a statement BREAK <username> before your code inside the enhancement - COMMENT this out when you are done with your testing.

where do you have your code? Make sure you activated all your code and try to set the break point OR just put a statement BREAK <username> before your code inside the enhancement - COMMENT this out when you are done with your testing.

5 REPLIES 5
Read only

Former Member
0 Likes
868

where do you have your code? Make sure you activated all your code and try to set the break point OR just put a statement BREAK <username> before your code inside the enhancement - COMMENT this out when you are done with your testing.

Read only

Former Member
0 Likes
867
Read only

Former Member
0 Likes
867

Hi,

Before writing the code just write

BREAK<USERNAME>

then you can know easily.

Please reward points if helpful.

Read only

Former Member
0 Likes
867

Hi techies,

Thank you, For your helpful answers but still i am not able to solve it.

I have another doubt, please can you clarify that.

whenever i try to insert any write statement or message statements within an enhancement spot and activate,

those statements are not visible (i.e) it is not accepting these statements.

can anyone help me by giving the reason.

Read only

0 Likes
867

HI,

1.You cann't write the write statements within enhancement spots.But,you can raise the messages.

Just open this:

/people/thomas.weiss/blog/2008/01/23/the-three-use-cases-of-the-enhancement-and-switch-framework--part-4-the-many-ways-to-enhance-a-sap-application-with-the-new-framework

Regards,

Shiva Kumar