Skip to Content
0
Apr 10, 2014 at 08:59 AM

Problem with BADI HRBAS00INFTY

180 Views

Hi everybody,

Customer wants that whenever an organizational unit in OM is created the SHORT field has to be mandatorily in capital letters. We are programming this in method AFTER_INPUT of BADI HRBAS00INFTY. We have just triggered an 'E' message when requirements meet.

The thing is an org unit can be created in transaction PPOME via right click on another, then choosing copy. A pop up subcreen appears and from there you copy the OU, which triggers our BADI.

Error is shown correctly but after that ANY action on the screen will take you out of the transaction (apparently nothing happens in ABAP since a /h won't show any code run).

We guess it has something to do with showing an error during PAI on a subscreen, we we are not able to know what the problem is and even if it has solution.

If in order to provide an answer you need any screenshots I can provide them.

Thanks in advance to everybody.