on 10-01-2008 3:44 PM
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.
call function 'HR_BEN_CALC_TERMINATION_DATE'
exporting
ee_benefit_data = gv_bendat
bplan = 'A503'
datum = sy-datum
reaction = 'N'
importing
term_date = gv_termda
tables
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?
Have you maintained the BENGR and BSTAT features appropriately using t-code PE03?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
I think what happened was this: my program created a new participant via PA40 (BDC) and then created the 171 record and populated the BAREA, BENGR and BSTAT fields. Later on, the program setup a 167 record (health plan) but I did not pull the BENGR and BSTAT fields from 171 so they were blank. So, when I think this may have caused the result I got.
Sound plausible?
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
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.