Symptom
In SAP Reference IMG some nodes under End of Service (EOS) are shown as Node text not found
IMG activities cannot be executed.
Affected nodes are:
End of Service: Overview
Assign Processing Class for EOS Wage Types
Determine EOS Termination Reasons
Configure End of Service Provisioning and Payout Policy
BAdI: Leave's Impact on EOS Period
BAdI: Change Service Duration Calculation
Assign Processing Class for EOS Wage Types
BAdI: Change Service Duration Calculation
Read more...
Environment
This KBA applies to all SAP Products based on NetWeaver and S4H
Keywords
*&---------------------------------------------------------------------*
*& Report ZSLA_CREATE_MISSING_EOS
*&
*&---------------------------------------------------------------------*
*& Creates missing entries in table TNODEIMGR for
*& End of Service (EOS)
*&---------------------------------------------------------------------*
REPORT ZSLA_CREATE_MISSING_EOS.
DATA R LIKE TNODEIMGR.
DATA TNODEIMGR_TABLE TYPE STANDARD TABLE OF TNODEIMGR.
DATA ls_e071 TYPE ko200.
DATA lt_e071k_row TYPE e071k.
DATA lt_e071k TYPE STANDARD TABLE OF e071k.
FREE R.
R-NODE_ID = '5CF3FCDC69721ED3BDC2F9F5C0ACC76E'.
R-REF_TYPE = 'COBJ'.
R-REF_OBJECT = 'PAY_SA_BADI_EOS_2'.
APPEND R TO TNODEIMGR_TABLE.
FREE R.
R-NODE_ID = '5CF3FCDC69721ED4A8AF9C191C4C2BB1'.
R-REF_TYPE = 'COBJ'.
R-REF_OBJECT = 'PAY_KSA_EOS_PC'.
APPEND R TO TNODEIMGR_TABLE.
FREE R.
R-NODE_ID = '5CF3FCDC69721ED4A8AFA4E6DC650BB7'.
R-REF_TYPE = 'COBJ'.
R-REF_OBJECT = 'PAY_KSA_EOS_PC'.
APPEND R TO TNODEIMGR_TABLE.
FREE R.
R-NODE_ID = '5CF3FCDC69721ED4ADCF8C5E0D616F7C'.
R-REF_TYPE = 'COBJ'.
R-REF_OBJECT = 'PAY_KSA_OHAXAB_BADI'.
APPEND R TO TNODEIMGR_TABLE.
FREE R.
R-NODE_ID = '5CF3FCDC69721ED4ADCF8E00DE198F7C'.
R-REF_TYPE = 'COBJ'.
R-REF_OBJECT = 'PAY_SA_BADI_EOS_2'.
APPEND R TO TNODEIMGR_TABLE.
FREE R.
R-NODE_ID = '5CF3FCDC69721EE4A482E330F7604BD6'.
R-REF_TYPE = 'COBJ'.
R-REF_OBJECT = 'PAY_KSA_EOS_NEW_OVER'.
APPEND R TO TNODEIMGR_TABLE.
FREE R.
R-NODE_ID = '5CF3FCDC69721EE4A482E4A2FFC78BD6'.
R-REF_TYPE = 'COBJ'.
R-REF_OBJECT = 'PY_SA_24EOS'.
APPEND R TO TNODEIMGR_TABLE.
FREE R.
R-NODE_ID = '5CF3FCDC69721EE4A482F89264C10C0C'.
R-REF_TYPE = 'COBJ'.
R-REF_OBJECT = 'PY_SA_VC_T7SAEOS'.
APPEND R TO TNODEIMGR_TABLE.
FREE ls_e071.
FREE lt_e071k.
ls_e071 = VALUE ko200( pgmid = 'R3TR' object = 'TABU' obj_name = 'TNODEIMGR' objfunc = 'K' ).
LOOP AT TNODEIMGR_TABLE INTO R.
lt_e071k_row-pgmid = 'R3TR'.
lt_e071k_row-object = 'TABU'.
lt_e071k_row-objname = 'TNODEIMGR'.
lt_e071k_row-mastertype = 'TABU'.
lt_e071k_row-mastername = 'TNODEIMGR'.
CONCATENATE
R-NODE_ID
R-EXT_KEY
R-REF_TYPE
R-REF_OBJECT
INTO lt_e071k_row-tabkey
RESPECTING BLANKS.
APPEND lt_e071k_row TO lt_e071k.
ENDLOOP.
CALL FUNCTION 'TR_OBJECT_CHECK'
EXPORTING
wi_ko200 = ls_e071
TABLES
wt_e071k = lt_e071k
EXCEPTIONS
cancel_edit_other_error = 1
show_only_other_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 DISPLAY LIKE sy-msgty.
RETURN.
ENDIF.
CALL FUNCTION 'TR_OBJECT_INSERT'
EXPORTING
wi_ko200 = ls_e071
TABLES
wt_e071k = lt_e071k
EXCEPTIONS
cancel_edit_other_error = 1
show_only_other_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 DISPLAY LIKE sy-msgty.
RETURN.
ENDIF.
FREE ls_e071.
FREE lt_e071k.
INSERT TNODEIMGR FROM TABLE TNODEIMGR_TABLE ACCEPTING DUPLICATE KEYS.
MODIFY TNODEIMGR FROM TABLE TNODEIMGR_TABLE.
FREE R.
FREE TNODEIMGR_TABLE.
FREE ls_e071.
FREE lt_e071k. , KBA , BC-CUS-TOL-IMG , Implementation Guide , PY-SA , Kingdom of Saudi Arabia , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.