Skip to Content
0

Why HRPAD00INFTY do not update teven_more table?

Aug 31, 2017 at 02:38 PM

54

avatar image
Former Member

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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ashish Bhati Sep 05, 2017 at 02:57 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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!

0