cancel
Showing results for 
Search instead for 
Did you mean: 

Any issues with different source system of cost center and FI posting system?

Former Member
0 Kudos

Hi all,

The scenario is the SAP ECC source system of the cost centers is different from the SAP ECC system where the FI posting will be done. I've seen this work in previous versions with the following set up:

- Cost Center 0001 under Company Code A001 has logical system SAP ECC System A

- Company Code A001 is defined with logical system SAP ECC System B

In this set up, the FI posting was sent to SAP ECC System B.

However, we're seeing in the latest versions now that the cost center replication will not work with logical system SAP ECC System A unless Company Code A001 is defined with the same logical system. That is, the set up above cannot be done.

Is there any other way to set the same scenario up?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

sudmeier
Advisor
Advisor
0 Kudos

Hi,

why is the source system of the cost center different to the FI system? They need to be known there anyhow to do the cost assignment there.

Normally company codes should be created for the FI system, cost centers should be replicated from the FI system and employees from the HCM system. In addition it is also possible to overwrite the source system in BAdI ODTF_CO_REPL_IDOC_COST_CENTERS in the ERP system in case of IDOC replication, for excel upload you can change that anyhow, so that it fits to the company code source system.

So please explain the scenario a little more detailed, as I did not get why you need the different source systems.

Best regards, Reinhard Sudmeier

Former Member
0 Kudos

Hi Reinhard,

Thank you for your response.

 

The cost centers also exist in the FI posting system. However,
they need to pull them out from a different source system because the employee
responsible is only assigned in the source system, not in the FI posting
system.

Based on this, do we need to implement the BADI in order to make it work in
via IDOCs? Thank you.

sudmeier
Advisor
Advisor
0 Kudos

Hi Kathryn,

yes, you should implement the BAdI in the cost center source system. It is BAdI ODTF_CO_REPL_IDOC_COST_CENTERS, im method MODIFY_COST_CENTER_EXTRACTOR the changing parameter CS_COST_CENTERS_IDOC contains the whole IDOC structure including header. It has a field BUS_DOC_ORIGIN_IDOC_LOG_SYS_ID. This field should be set to the logical system of the FI  system. If the customer does not need any other changes to the IDOC the following code lines would be sufficient:

METHOD if_odtf_co_repl_idoc_cost_cent~modify_cost_center_extractor.

cs_cost_centers_idoc-bus_doc_origin_idoc_log_sys_id = 'FIN_LOGSYS'.


ENDMETHOD.

Of course FIN_LOGSYS needs to be replaced by the correct FIN logical system ID.

Attention! Please be aware that the key of a cost center in Cloud for Travel and Expense is not only the Controlling Area and Cost Center ID, but also the source system. So if there are already cost centers created with one source system and then they are sent with another source system they are created a second time. So if there are existing cost centers with the old system, but you want to use another source system open an incident, so that the source system is adapted. But hopefully you do not have the issue, as you are not able to create the cost centers anyhow, right?

Best regards, Reinhard

Former Member
0 Kudos

Thanks Reinhard. This is very helpful.

sudmeier
Advisor
Advisor
0 Kudos

Hi Kathryn,

one additional hint: If you have several FI systems you have to take care that every IDOC only contains cost centers from one FI system. In general this depends on the company code. This holds true for the manual replication, where you only should select cost centers from one FI system, but it is also true for the change pointer logic.

In the second case you should create not only one variant for report ODTF_REPL_CC, but one variant per FI system. In every variant the selection needs to be restricted to the company codes belonging to the corresponding FI system. By this means the cost centers from the different FI systems are sent by different report variants and thus are sent by separate IDOCs.

Best regards, Reinhard

Answers (0)