cancel
Showing results for 
Search instead for 
Did you mean: 

Why HRPAD00INFTY do not update teven_more table?

former_member350116
Discoverer
0 Kudos
393

Dear SAP Gurus,

I've created an implementation of IF_EX_HRPAD00INFTY to use de BADI HRPAD00INFTY in order to control some attributes of standard tables TEVEN and TEVEN_MORE. My problem is that for some reason, only the table TEVEN was created, even if we point cost relation attributes at IN_UPDATE and AFTER_INPUT methods. Is there any problem related to this badi and the use in IT2011 events (TEVEN and TEVEN_MORE tables)?

Thanks for your attention.


Best regards!

Accepted Solutions (0)

Answers (1)

Answers (1)

AshishBhati
Contributor
0 Kudos

Hello Herberth,

Both tables use the key fields MANDT and PDSNR, I hope in your code, you are using the correct field code in IN_UPDATE which you wanted to update in teven_more table. Also, I am not sure what would be your business needs, but in the past, we have used HR_TMW_DB_UPDATE_TEVENT functional module which used to update both teven and teven_more tables. Hope this helps in your search.

Thanks,

Ashish

former_member350116
Discoverer
0 Kudos

Hello Ashish,

Thank you very much for your answer! Actually, the businness need is related to the inteception of HCM entrace registries (IT2011) in order to automatically fill Cost center attribuition fields. In the cases where is being created an entrace registry, according to client business rule, the cost distribution and funds fields must be filled automatically. This event is invisible for the client. To do so, we've implemented the BADI HRPAD00INFTY to create all related fields in background. The method IN_UPDATE has parameters related to cost center distribution, but even if those are filled inside the method, at the end, when returned to the standard program, the cost distribution attributes are cleansed.

Best regards!