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

customer exit for tcode FI02

Bharath84
Participant
0 Likes
2,475

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

1 ACCEPTED SOLUTION
Read only

former_member199670
Participant
0 Likes
1,914

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,914

you might like to try a userexit / badi scan with the tool pasted here:

http://pastebin.com/yZvn41Yc

Hope it works in an 4.0B system. Just provide the Tcode FI02 and execute.

Read only

0 Likes
1,914

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

Read only

Former Member
0 Likes
1,914

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

Read only

Former Member
0 Likes
1,914

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.

Read only

0 Likes
1,914

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

Read only

Chintu6august
Contributor
0 Likes
1,914

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!!

Read only

former_member199670
Participant
0 Likes
1,915

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