on 2021 Mar 11 11:08 AM
I need to add profit center to the data sent to Concur. I believe that it needs to be configured via the CTE_SETUP transaction Setting Up the Cost Center Export wizard. Then inserting into the data via the BAdI BADI_CTE_FIN_COBJ_FILL_LEVEL.
Unfortunately I do have an example code to compare it against, even for a different kind of data. Does anyone have any examples of using this BAdI, even for other data elements?
Request clarification before answering.
Hi, will take the chance and add more information about BADI_CTE_FIN_COBJ_FILL_LEVEL.
First a couple of official documentations that can be found about BADI_CTE_FIN_COBJ_FILL_LEVEL:
- Topic "7.1.2.2 Customer-Specific Hierarchy Level for Concur List" in SAP Concur Integration Setup Guide: SAP Integration with Concur Solutions - Setup Guide.
- Topic "I want to add a custom level to the org structure" in PDF file attached to KBA Comprehensive Guide on Utilizing Business Add-Ins (BAdIs) for SAP Concur Integration with Examples.
In summary BADI_CTE_FIN_COBJ_FILL_LEVEL can be used to fill custom cost object hierarchy levels that are not covered in standard SAP Concur Integration. The SAP standard code fill out data for the following objects: Business Area, Company Code, Controlling Area, Country, Logical System, Cost Object Type and Cost Object ID.
All listed objects above are already filled by ICS and no BADI is required, but in case you need a Profit Center in-between the hierarchy like the image below, this level must be filled through BADI_CTE_FIN_COBJ_FILL_LEVEL.
The List Level / Hierarchy Level is available at CTE_SETUP > Click on the relevant cost object integration, for example Cost Center > Change export > step Cost Object Hierarchy.
The Profit Center field/level above is not available in the standard drop down menu, and it must be created at option "Manage Custom Fields" (button available on same screen) where you are able to assign an ID and Value to the Custom Field:
Click on + to add an extra line to input the ID and Value, and - to remove not desired lines. Also, option "Show BAdI Implementation" navigate to BADI_CTE_FIN_COBJ_FILL_LEVEL screen.
You can add more fields / levels if required, for example a level for Employee Personnel Number:
Confirm/Enter at "Manage Custom Fields" to make available the new field at Field Name drop-down:
Once the additional custom fields are created, and hierarchy structure is configured as desired, for example:
Complete the wizard to confirm the changes, and implement BADI_CTE_FIN_COBJ_FILL_LEVEL creating different implementations for each custom field, assigning as Filter Value the Custom Field ID created at "Manage Custom Fields".
For Z_BADI_FILL_EE_LEVEL the filter:
And for Z_BADI_FILL_PC_LEVEL:
According to the above, during export of cost objects, system will call each BADI implementation separately where the Profit Center and/or Employee levels are used.
As soon as implementations are active, the column "BAdI Implemented" is true for each field in "Manage Custom Fields". You can double click the line and it will navigate to the relevant BADI implementation.
SAP ERP integration with SAP Concur solutions
SAP S/4HANA integration with SAP Concur solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
125 | |
9 | |
8 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.