Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

hr badi QUERY

Hi All ,

In tcode pa30 we are creating a custom infotype and a subtype . When i do a F4 on the subtype the FM called is HR_F4_GET_SUBTYPE.

This FM checks for a badi using code



exit_name = 'HR_F4_GET_SUBTYPE'

flt_val = infty


is_implemented = is_implemented


instance = exit_obj.

This FM checks if any BADI is activated exit_name = HR_F4_GET_SUBTYPE.

I want to write some custom code and check if i can use this badi for my work.

I have created an implementation ZHR_F4_GET_SUBTYPE. WRitten a small code in one of the methods ..

BADI is activated . however when i debug pa30 and it comes to this code which checks whether badi is active .. it returns a sy-subrc 4.

Could you please guide me where am i going wrong .. do i need to do some settings to activate the badi ?

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question