안녕하세요
자재마스터에 field exit을 적용해서 잘 사용하고 있습니다.
그런데 function module에 break-point를 걸어도 debugging이 안걸리는데요.
field exit에서 debugging거는 방법이 있습니까??
안녕하세요
자재마스터에 field exit을 적용해서 잘 사용하고 있습니다.
그런데 function module에 break-point를 걸어도 debugging이 안걸리는데요.
field exit에서 debugging거는 방법이 있습니까??
http://abap4.tripod.com/Other_Useful_Tips.html
Field Exits
(Provided by Paul Kjaer)
You cannot debug a field exit. You can at best create a small module pool with a screen that has the appropriate fields and in your PAI, call a module which calls your function that is the field exit and debug the small module pool. Good idea to keep as much of one around if you do field exits regularly.
I used CNEX0007 and CNEX0006 to add fields to the PRPS and PROJ tables respectively in the PS Module. As probably the case with most of these exits, have fun trying to figure out how to protect the fields in display mode. We lived with the fact that the save was disabled so it could not save the changes anyway. A test of the transaction code would not be complete. Use transaction SMOD to do SAP enhancements/field exits. In SMOD, you can get list of SAP enhancements that exist by Utilities - SAP Enhancements. Trying to figure out what they can be used for and how to accomplish the desired results is a major challenge.