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

Debugging in Enhancement Point

Former Member
0 Likes
2,021

Dear experts,

Kindly help me in this regard...

go to MB51 program (RM07DOCS) (ECC 6.0)....

You see a list of Enhancement Points at the beginning..

REPORT rm07docs MESSAGE-ID m7.

ENHANCEMENT-POINT RM07DOCS_G4 SPOTS ES_RM07DOCS STATIC.

$$-Start: RM07DOCS_G4----


$$

ENHANCEMENT 7 MGV_GENERATED_RM07DOCS. "active version

INITIALIZATION.

DATA: mgv_matnr_prog LIKE rsvar-report,

mgv_matnr_selopt_tab like rsldbdfs occurs 0 with header line.

FIELD-SYMBOLS <mgv_matnr_selopt_conv> TYPE STANDARD TABLE.

ENDENHANCEMENT.

Now, set a Breakpoint on the REPORT rm07docs MESSAGE-ID m7. statement and execute the program...with Movment type 101 and Entry date (6 month gap) .. Execute

Now, in the debugging mode, the implementation of the Enhacement points in not visible and hence it does not go into the imple to process my logic...

Any Idea abt it..

Is there any setting to be done ... ?

Pls help ...

Regards..

Mohammed Anwar..

1 ACCEPTED SOLUTION
Read only

Firoz_Ashraf
Contributor
0 Likes
1,256

Hi Anwar,

Do not add codes to the existing enhancements provided by SAP. Rather, create a new (possibly give it a Z name), activate it, put a break point. Then it will stop in debugging mode.

Get into the change enhancement mode(click on the spiral button)

Place your cursor on

ENHANCEMENT-POINT RM07DOCS_G4 SPOTS ES_RM07DOCS STATIC.

Edit --> Enhancement Operation --> Create.

Regards,

Firoz.

3 REPLIES 3
Read only

Former Member
0 Likes
1,256

Hi Anwar,

I checked with my system. It's working absolutely fine. Do one thing you could ask to your basis people to check the support version and if needed the update. There is nothing to be setting anything on standard program.

Thanx & Regds,

Rakesh Kumar

Read only

Firoz_Ashraf
Contributor
0 Likes
1,257

Hi Anwar,

Do not add codes to the existing enhancements provided by SAP. Rather, create a new (possibly give it a Z name), activate it, put a break point. Then it will stop in debugging mode.

Get into the change enhancement mode(click on the spiral button)

Place your cursor on

ENHANCEMENT-POINT RM07DOCS_G4 SPOTS ES_RM07DOCS STATIC.

Edit --> Enhancement Operation --> Create.

Regards,

Firoz.

Read only

0 Likes
1,256

Dear Feroz,

Thanks very much for your help.. My Problem is solved...

Actually for Implicit enhancements, I was using my Z implementation, but I thought , we can implement our logic in already available standard explicit enhancement implementation as it was allowing us to make changes... But when debugging it was not going there ... Now, I am clear that the system does'nt allow us to make changes to standard explicit implementations.

Thanks once again...

Regards,.

Mohammed Anwar...