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: 

At Selection-screen using BADI

Former Member
0 Kudos

I have to add validation logic to some fields (for user inputs ) on the selection screen in transaction MEAN.

There is a BADI (ADDRESS_UPDATE)which can be used to add something while address update.

Is it possible in a BADI in general to achive the AT selection Screen functionality.

let me know if u have any inputs.

Regards

Alok Pathak

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Alok,

BADI will specifically fire at the point where they are being called as a part of the standard code. If the BADI is being calle at AT SELECTION SCREEN then it will fire there. You cannot force the BADI to fire at a different place.

Regards,

Ravi

Note : Please mark the helpful answers

2 REPLIES 2

Former Member
0 Kudos

Alok,

BADI will specifically fire at the point where they are being called as a part of the standard code. If the BADI is being calle at AT SELECTION SCREEN then it will fire there. You cannot force the BADI to fire at a different place.

Regards,

Ravi

Note : Please mark the helpful answers

Former Member
0 Kudos

Hi Alok,

In the BADI-ADDRESS_UPDATE, there are 4 methods. You have to find out which method saves the fields for which validation is required. In that method you can write code for the validation. If the validation fails you can give a message like

MESSAGE <message type> <message number>(<message class)>.

Hope this is helpful

Regards,

Sameena