Skip to Content

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

HR_BEN_CALC_TERMINATION returns with error

I'm running HR_BEN_CALC_TERMINATION in a small test program like this:

  gv_bendat-pernr = '00003755'.
  gv_bendat-barea = '01'.
  gv_bendat-bengr = space.
  gv_bendat-bstat = space.
  gv_bendat-subty = 'A001'.
  gv_bendat-objps = space.

      ee_benefit_data = gv_bendat
      bplan           = 'A503'
      datum           = sy-datum
      reaction        = 'N'
      term_date       = gv_termda
      error_table     = gv_errtbl.

The data at top comes from an actual record in 167, by the way.

The message I get when this runs is "No entry for program groupings / / plan A503". The BENGR and BSTAT are both empty on the 167 record but in 171 the values are 0002 for both of these and 01 for the BAREA.

Is this a configuration issue, perhaps?

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