cancel
Showing results for 
Search instead for 
Did you mean: 

BADI IF_EX_SMOD_PCPO0001 add parameter to method EXIT_RPCIPE00_002

0 Kudos
1,297

Dear ABAP OO gurus,

I need help in activating the modificated method.

Because of a system change in the FI/CO-system costcenters have changed. In posting recalculations we need to replace old costcenters by new ones.

I would like to do this in a userexit 2 of rpcipe00, items is not a changing parameter but an input.

I added a new parameter kostl similar to ZUONR in the method EXIT_RPCIPE00_002 and I modified CL_HRPAY99_POSTING_ENGINE_PP call_exit_two. When activating the interface, in the implementation of the BADI ZCL_IM_xxxx there occurs the error for that export parameter: "field unknown" and in CL_EX_SMOD_PCPO0001 method IF_EX_SMOD_PCPO0001-EXIT_RPCIPE00_002 too, "no data definition".

I don't find where to define or activate.

Thanks for your help.

Sigrun

0 Kudos

Hi Sigrun,

Am having the same requirement of what you have posted here. Could you please help me, how did you solve this?

Thanks,

Naresh.

View Entire Topic
talha_bilgehan
Explorer

Hi Naresh Naineni,

1- Create a project named ZHR from the CMOD transaction code.

2- Add ACBAPI01 to the "Enhancement Assigment" section of the ZHR project.

3- Now you can edit the ZXACCU15 output in EXIT_SAPLACC4_001 FM as you wish.

4- Define a "Field Symbol" in ZXACCU15 and refer to T_ACCIT(ACCIT) "Structure" to make this change for the cost center.

5- Finally, don't forget to activate the components in the ZHR project.

Thanks.

Ashikasher
Explorer
0 Kudos

Thanks for valuable input