cancel
Showing results for 
Search instead for 
Did you mean: 

Main Bank vs. Other Bank

Former Member
0 Kudos

Hello,

  Is there any way to systematically require that a Main bank be set up prior to any Other bank records being created by the employee?  If so, can you please explain how to accomplish this.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Kristy,

Such customer level business rules can be implemented by using the concept of User-Exit. You can create logic in the PA User Exit ZXPADU02 - This user exit is primarily a PAI for Master Data.

When the user performs any change related to Infotype in your case Banking details (Infotype 9), you can define a requirement from a business stand-point that during a Create operation, check if the infotype 9 for the PERNR already has a BNKSA = Main bank - if the validation passes then you can allow the user to create a non-main bank type but if the validation fails you can stop the process of creation of a new bank (non-main) and display appropriate error to the user. You can then pass this requirement to your technical team who can then convert this requirement by implementing code in PA User Exit ZXPADU02.

The beauty of implementing this edit check through User-Exit will ensure that this business rule is being enforced everytime the master data is being changed either through PA40/PA30/ESS.

Not knowing if you are a functional person or technical person, hope the above helps.

Regards,

Ravi

Former Member
0 Kudos

Thank you Ravi.  I was hoping I could handle this via configuration methods only but the User exit option will definitely work.  Thank you for your time and input.  Have a great day!!

suresh_datti
Active Contributor
0 Kudos

As an extension to the solution:

-- You can enable/disable the Other Bank Subtypes in ESS, based on whether or not a Main Bank exists.

~Suresh

Former Member
0 Kudos

Hi Suresh -

  Would you be able to elaborate on your suggestion.  Would this be a configuration change made within the IMG or a Portal development change?

Thanks!

suresh_datti
Active Contributor
0 Kudos

It is a backend development & cannot be done via IMG. Pl take a look at the MODIFY_SUBTYPES Method in the HRXSS_PER_SUBTYPE BAdI. This would pre-empt the error scenario in ESS.

~Suresh

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

you can create via pa30 for the employees or from ess.

you can create any bank details there is no requirement as such that main bank should be created