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

DEBUG in ENHANCEMENT-POINT

Former Member
0 Likes
1,689

Hi all,

Can i use a break-point into ENHANCEMENT-POINT?

i can't debug into ENHANCEMENT-POINT.

Anybody help me??

regards,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
928

Hi

put break point pressing the button

or write break sy-uname (abc) in enh point

Regards

Shiva

Hi all,

Can i use a break-point into ENHANCEMENT-POINT?

i can't debug into ENHANCEMENT-POINT.

Anybody help me??

regards,

5 REPLIES 5
Read only

Former Member
0 Likes
928

Hi,

Yes you can put a break point in the enhancement point..

Try using the session breakpoint..

Reward points!!1

Read only

Former Member
0 Likes
929

Hi

put break point pressing the button

or write break sy-uname (abc) in enh point

Regards

Shiva

Read only

0 Likes
928

I put a break-point in the code, but the system don't stop.

See the exemple:

ENHANCEMENT-POINT WE_AUS_BETS_02 SPOTS ES_SAPLEINR.

ENHANCEMENT 13 /CWM/APPL_MM_SAPLEINR. "active version

INCLUDE /CWM/MOD_LEINRF2B_1. "CWM CWEK000072

break marcelo_10.

if sy-tcode = 'MB01'.

if EKKO-WAERS NE 'BRL' and

( ekko-bsart NE 'ZI' and

ekko-bsart NE 'IP' ).

CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'

EXPORTING

DATE = I_BLDAT

FOREIGN_AMOUNT = XEBEFU-NETWR "Nettower

FOREIGN_CURRENCY = EKKO-WAERS

LOCAL_CURRENCY = T001-WAERS

TYPE_OF_RATE = KURSTYP

IMPORTING

LOCAL_AMOUNT = XEBEFU-NETWR.

endif.

endif.

ENDENHANCEMENT.

Read only

0 Likes
928

Hi

It should trigger if the spot is at correct i think the spot is not created at the right point

Please check the same

Regards

Shiva

Read only

Former Member
0 Likes
928

Hi

Yes you can put a BREAK-POINT

and make sure that break-point will be removed before transporting that enhancement