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

Enhancement point debugging...

Former Member
0 Likes
3,369

Hi Friends,

I want to enhance the standard function module RV_INVOICE_DOCUMENT_ADD. I have saw some implementations are already made to the function module. I tried to see the spot in debugging but I am not able to see the codings in the enhancement. But the module is in active state and the enhancements are in active state. But I am not able to find them in debugging. How to see those codings in debugging....

Please help me.

Thanks

5 REPLIES 5
Read only

soumya_jose3
Active Contributor
0 Likes
1,233

Hi,

In the FM between the lines ENHANCEMENT and ENDENHANCEMENT you can see the code

For eg: in the FM 'RV_INVOICE_DOCUMENT_ADD' there is

a line

"ENHANCEMENT 208 OIC_SAPLV60A."

The coding inside that enhancement is :

CALL FUNCTION 'RV_INVOICE_REFRESH'

EXPORTING

with_posting = 'F'

TABLES

XOICQ7 = XOICQ7 "SO6K009187 AWH

XOICQ8 = XOICQ8 "SO6K009187 AWH

XOICQ9 = XOICQ9 "SO6K009187 AWH

XOIUQ9 = XOIUQ9 "SO6K009187 AWH

xkomfk = lt_xkomfk

xkomv = xkomv

xthead = xthead

xvbfs = xvbfs

xvbpa = xvbpa

xvbrk = xvbrk

xvbrp = xvbrp

xvbss = xvbss.

ie, the lines b/w enhancement and endenhancement is the coding in it.

Regards,

Soumya.

Read only

0 Likes
1,233

Thanks. Yes I can see the code in se37. But While debugging I can't see the code in debugging screen even after activating both function module and enhancement implementation.

Read only

0 Likes
1,233

Hi,

Could you please tell me which enhancement you are not seeing while debugging?

Regards,

Soumya.

Read only

jennifer_kramer2
Participant
0 Likes
1,233

Hi-

I found that if I go into want to see code inside the implicit breakpoint while debugging, (for example - at the begining of a subroutine), then a breakpoint needs to be set at that object (in this example, a subroutine). Then when the code appears for the subroutine, at first it doesn't show the code inside the enhancement, you must press F5 (or single step) and then the code inside the enhancement point appears.

Hope it helps!

BR-

-J

Edited by: Jennifer Kramer on Aug 16, 2010 10:42 PM

Read only

Former Member
0 Likes
1,233

thanx jennifer

setting BP and then hitting F5 solved my problem.