Skip to Content

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


Why does BADI HRHAP00_BC_ELEMENT exist? It is implemented as HRHAP00_BC_ELEMENT_1.

In transaction PHAP_CATALOG_PA, on object VC, tab Colums we want to open up the status field and use value list "Status of individual development". We want to open it up for input but in the BADI, HRHAP00_BC_ELEMENT_1, a check is done preventing us from doing it - only display mode is allowed.

We have deactivated it. Could there be any difficulties around the corner by doing so?

METHOD if_ex_hrhap00_bc_element~business_check_vc.

  • includes

INCLUDE: incl_hap_pa_global,




  • workareas

DATA: lw_pt5022 TYPE pt5022,

lw_return TYPE bal_s_msg,

lw_t77hap_valty_t type t77hap_valty_t.

  • structure

DATA: ls_ret_struc TYPE hap_s_c_ret_struc.

  • Check if value classes 'E' and 'T' are used with 'No Input'

LOOP AT t_pt5022 INTO lw_pt5022

WHERE cell_value_class = c_value_class_e

OR cell_value_class = c_value_class_t.

IF lw_pt5022-cell_input_type <> c_input_none.

select single * from t77hap_valty_t into lw_t77hap_valty_t

where value_class = lw_pt5022-cell_value_class

and langu = sy-langu.

    • error: only display mode allowed!

lw_return-msgty = c_message_type_e.

lw_return-msgno = '030'.

lw_return-msgid = c_message_class_administration.

lw_return-msgv1 = lw_t77hap_valty_t-value_type_name.

Best regards


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