‎2016 Mar 03 2:17 PM
Hi All,
In tcode FI02, after entering all the data I click on SAVE. If the SWIFT code field is blank then it should throw an error message.
I created a project for Enhancement "SAPLBANK" and activated. But, while saving it is not stopping at the break point.
This is a 4.0B version of SAP. In ECC, we can acheive this in configuration setting.
Anyone have idea of correct EXIT name to acheive this functionality.
Thanks,
Haritha
‎2016 Mar 04 9:48 AM
Hello Haritha,
If you are sure about exit then try below methods for debugging,
1) Before save, in the command box put /h & enter then click on save, it will go for debugging now activate update debugging (setting -> change debugging setting) and finally create a break point where ever you want.
else
2) Create infinite loop in side your exist and try to debug from SM50.
Thanks
Manimaran K
‎2016 Mar 03 2:38 PM
you might like to try a userexit / badi scan with the tool pasted here:
Hope it works in an 4.0B system. Just provide the Tcode FI02 and execute.
‎2016 Mar 03 3:39 PM
HI Ronald,
Thanks for the link. It is not working in 4.0B. There are few tables that does not exist in 4.0B.
Thanks,
HT
‎2016 Mar 03 3:54 PM
Hello,
Try to put a break point at the end of FM MODX_FUNCTION_ACTIVE_CHECK.
After the call, you can change the return in order to tell the system the user exit is active ( in order to get the necessary information ) .
This way, you can see what's happening on CALL CUSTOMER-FUNCTION.
Get the function called and try to look at table MODSAP in order to retrieve the Enhancement name.
I used this technique in the past and it used to work in older versions !
Looking in the code by 'CUSTOMER-FUNCTION' string also can help.
Try to get this information from the Package BF_BANK.
Hope it Helps
Regards,
Artur Moreira
‎2016 Mar 03 4:15 PM
Hi Haritha,
Can you please check ones FM - EXIT_SAPLBANK_001 if you can validate on blank swift code ?
Try other customer exits as well (EXIT_SAPLBANK*) to see if anything works out for you.
Thanks and Regards,
Raja Kiran Kumar.
‎2016 Mar 04 1:15 PM
hi Kiran,
I created project for EXIT_SAPLBANK_001 and added the code. I have added BREAK XXXX. But it is not stopping there.
Also, the package name here is FBZ.
Thanks,
HT
‎2016 Mar 03 8:05 PM
Hi,
use tcode SMOD and give package name BF_BANK
it will give you list of all the associated ehancement which will be having customer exits,
thanks!!
‎2016 Mar 04 9:48 AM
Hello Haritha,
If you are sure about exit then try below methods for debugging,
1) Before save, in the command box put /h & enter then click on save, it will go for debugging now activate update debugging (setting -> change debugging setting) and finally create a break point where ever you want.
else
2) Create infinite loop in side your exist and try to debug from SM50.
Thanks
Manimaran K