‎2008 Aug 25 6:18 AM
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
‎2008 Aug 25 9:49 AM
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.
‎2008 Aug 25 9:51 AM
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.
‎2008 Aug 25 9:58 AM
Hi,
Could you please tell me which enhancement you are not seeing while debugging?
Regards,
Soumya.
‎2010 Aug 16 8:54 PM
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
‎2011 Oct 17 1:05 PM
thanx jennifer
setting BP and then hitting F5 solved my problem.