Application Development 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: 

Enhancement for validating bank account number

Former Member
0 Kudos

Hi,

I have written code for validating bank account number based on bank Key.In the enhancement <b>SAPLSSRV</b>. Now i have a requirement that when the enhancement is triggered, i need to check whether the <b>account holder</b> field is entered or not in the transaction.

But in the enhancement i have only BANK_ACCOUNT, BANK_CONTROL_KEY, BANK_COUNTRY and BANK_NUMBER as the import parameters, no more changing or tables parameters.

i.e., i dont get account holder name as input. Is there any way to capture the <b>account holder</b> field.

Regards,

Vidya.

1 ACCEPTED SOLUTION

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Vidya!

You can use a dynamical assign. With this you can access global data from calling programs, there should be the account holder available (e.g. in the dynpro structure).

Regards,

Christian

2 REPLIES 2

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Vidya!

You can use a dynamical assign. With this you can access global data from calling programs, there should be the account holder available (e.g. in the dynpro structure).

Regards,

Christian

Former Member
0 Kudos

Hello,

Go for BADI's,

Follow the below steps to find out what all BADI's are called when you press any button in any transaction.

1) Goto se24 (Display class cl_exithandler)

2) Double click on the method GET_INSTANCE.

3) Put a break point at Line no.25 (CASE sy-subrc).

Now

4) Execute SAP standard transaction

5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.

6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.

7) This way you will find all the BADIs called on click of any button in any transaction.

Regs,

Venkat