on 07-21-2008 8:01 AM
Although we are a german-based company and only do german payroll, we still have to maintain personal records from our employees all over the world, mainly for reporting purposes. Last week someone from our HR-staff tried to create it 0021 subtype 1 (spouse), but just can't manage to get it work. Some debugging showed me, that a class CL_HRPA_INFOTYPE_0021_ES with method CHECK_NIF_CONYUGE_REPRESENTANT is called and throws an error. I haven't figured out what is checked, but I definetly don't want any checking at all. Are there any means to disable this country specific checking (customizing ???).
Hi Shrinivas,
thank you for your suggestions, but they didn't work. My latest findings (thru some heavy debugging) suggest, that the culprit is the value in pa0003-viekn, which is set thru feature IVWID. This value seems to be used to determine some additional business logic classes, in my case CL_HRPA_INFOTYPE_0021_ES.
This odd behaviour seemed to occur the first time after we installed the LCPs for GERMAN-payroll. When I will return from my well earned holiday in august, I will open an customer error-mesage at SAP.
Axel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shrinivas
The messagenumber is 5E048:
El valor no está permitido para el parámetro
According to babelfish.yahoo.com this means:
The value is not allowed for the parameter
well, that's the truth from SAP's point of view, because the afore mentionend
method checks the subtype against t5e91:
method CHECK_NIF_CONYUGE_REPRESENTANT .
data: wa_t5e91 type t5e91,
l_msg TYPE symsg.
select single * from t5e91 into wa_t5e91
where infty eq '0021' and
subty eq p_subty.
if wa_t5e91-isfam eq 'C' or wa_t5e91-isfam eq 'R'.
if p_codim is initial.
CLEAR l_msg.
l_msg-msgid = '5E'.
l_msg-msgty = 'E'.
l_msg-msgno = '048'.
CALL METHOD message_handler->add_message
EXPORTING
message = l_msg
cause = if_hrpa_message_handler=>infotype_specific.
is_ok = false.
endif.
endif.
endmethod.
What I need to achieve is, that class CL_HRPA_INFOTYPE_0021_ES isn't called at all, so no checking is done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Axel,
I can think of 2 solutions:
1. Change the screen assignment for infotype 0021 for country spain. i.e. Currently the IT0021 screen may be 2004 -> Try changing it to standard screen (2000) or German Screen (2001). This you can change either from view (V_T588M) or from feature P0021 (tcode - pe03). This solution work since the check (CHECK_NIF_CONYUGE_REPRESENTANT) is done only from screen no 2004. Check with this solution.
2. Also you can write enhancement point in the sub routine check_nif_conyuge_representant, so that it doesn't go to taht part of the code.
Check with these solution, let me know if you face any issues.
Regards,
Shrinivas
Yes, I checked V_T582L, but my understanding is, that in V_T582L you define wether a infotype/subtype is available as a whole. What I need is to disable country specific checking routines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the configuration in view V_T582L (tcode - sm30). In this view we normally do the configuration for country specific infotypes and subtypes.
Thanks,
Shrinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not sure check this table V_T582L here u can find country specific infotypes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.