Skip to Content

restrict other bank in ESS personal profile

Hi All,

My requirement is to restrict the number of other bank accounts in ESS personal profile. we are required to use 2 other bank accounts.

I have checked the other SCN post() for same requirement and have implemented BADI HRPAD00INFTYBL for this.

Have gone thorugh this blog Summary of configuration options in ESS Personal Information scenario also.

Using this badi, we could throw error when user try to save third other account. but this is inconvenient for anyone to enter all the information and then click on save then get error. Rather we are looking for an option when as soon as user click on add account button, he should get error.

now when we click on add button, INITIAL_COMPUTATIONS method gets triggerd. so i put my code in this method. its not throwing error at this level.

I am trying BADI HRPAD00INFTYUI as well with screen structure name HCMT_BSP_PA_XX_R0009. I am not sure if we need to do validation using screen structure name like this and how can we throw error in this badi.

Please let me know which BADI is more meaningful for this purpose and how to throw error in BADI HRPAD00INFTYUI to achieve this.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 06, 2015 at 11:43 PM

    try from the feeder class, you can start it from process_event method, when ever an event is triggerd call will go to process even and from there it gets rerouted, so debug  and find out write place/method to write enhancement.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Seema Naharia

      MV_infty can be accessd like this: me->mv_infty

      But don't use mv_infty from get_data as it will have data for all the infotypes.

      CT_DATA, you have to loop , some thing like this:

                        <lt_ct_data> TYPE any.

      **Changes for Detail icon
        CREATE DATA lr_data LIKE ct_data.
           ASSIGN lr_data->* TO <lt_data>.
           <lt_data> = ct_data.

      LOOP AT <lt_data> ASSIGNING <lt_ct_data>.

      ct_data = <lt_data>.