cancel
Showing results for 
Search instead for 
Did you mean: 

ESS - Code of Conduct ERROR. Error while writing Code ...

joo_mariano2
Participant
0 Kudos

Hello All,

I'm facing a issue with the ESS - Code of Conduct.

I can see the Form , but when i click in send, the follow message appear for me:

 Error while writing Code of Conduct Acceptance Data for the User XXXXX 

I read some threads about this error but none help to solve my issue.

Have I to setup any thing like infotypes or some customization?

I'm using the standard form.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Ensure switch is set for CCURE PC_UI IN T77S0

grouping is done as per table T582G

The infotype framework checks if the grouping value is set from

assignment start or before assignement start. As the grouping value

is set from assignment start (V_T582G-DEFGP), an initial grouping

value is set for the period before assignement start.

are you using global management of employees etc?

joo_mariano2
Participant
0 Kudos

Hi Rajora.

The problem was in V_T582G.

I checked the field DEFGP and then it works fine.

Thanks.

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

check if note 1103566 is implemented in the system?

check if any dump is created in ST22 and check in default trace.

joo_mariano2
Participant
0 Kudos

Thans for reply.

The mentioned note was already implemented and in ST22 shows no error.

When i debug the the FM HRESS_FORMS_WRITE_IT0035 with the same parameters called from portal, i have the same message.

The error occur in the code below:


  LOOP AT pernr_period_gpval-gpval INTO period_gpval.
        IF period_gpval-begda > if_hrpa_read_infotype=>low_date OR
           period_gpval-endda < if_hrpa_read_infotype=>high_date.
          has_error = true.
          EXIT.
        ENDIF.
   ENDLOOP.

This code check dates of employee admission and dates of full period HR.

I'm searching something else about this.

Thanks.