Ansicht
Dokumentation

BADI_FINS_CFIN_CO_IN - BAdI: Enhance Standard Processing of CO Secondary Posting

BADI_FINS_CFIN_CO_IN - BAdI: Enhance Standard Processing of CO Secondary Posting

rdisp/max_wprun_time - Maximum work process run time   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business-Add-In (BAdI) is used in the Controlling (CO) component. You can use this BAdI to influence the management accounting document posting in the Central Finance system.

This BAdI includes the following BAdI methods:

  • Get Process Control for Further Process (GET_PROCESS_CONTROL)
By implementing this BAdI method, you can influence whether or not the standard processing logic is used. By default, the SAP standard logic is run first, then the BAdI logic.
Note: However, you can set the following parameters to change the way the logic is run:
  • If you set the parameter RD_PROCESS_CTRL - SKIP_MAP_REP_CO_POSTING_DATA to true, the BAdI logic is run instead of the SAP standard logic.

  • If you set the parameter RD_PROCESS_CTRL – SKIP_MAP to true, master data governance (MDG) mapping and cost object mapping is skipped.

  • If you set the parameter RD_PROCESS_CTRL – SKIP_ADJUST to true, conversion such as currency handling is skipped.

  • Map and Replace Management Accounting Secondary Posting Data (MAP_REPLACE_CO_POSTING_DATA)

By implementing this BAdI method, you can define your own logic for mapping and replace the management accounting secondary posting data.

Note: If you want to use SAP standard logic to prepare the management accounting secondary posting data, you need to map and replace the following fields for unsupported object types (for example, business process):

  • COEP-related fields including OBJNR, PAROB, PAROB1, USPOB,OBJNR_N1, OBJNR_N2, OBJNR_N3, PSPNR, PSPID, VBELN, VBPOSNR, PPSPNR, PPSPID, PVBELN, and PVBPOSNR
  • COEPR-OBJNR
  • COEPL-OBJNR
  • COEPT-OBJNR
  • COPA-related fields

For more information on SAP supported object types, see SAP Note 2103482.

Otherwise, if you want to skip the SAP standard logic, you need to define your own logic for preparing the management accounting secondary posting data.

After data preparation, you need to update your supported object types as these object types are used when checking the data. For example, if you have updated your logic to support the business process object type, you need to add BP to the export parameter ET_SUPPORTED_OBJ_TYPE.

The following methods are added in SAP Simple Finance, on-premise edition 1503 SPS4 or using SAP Note 2234630. With these new methods, you can enhance standard logic at a greater level of granularity.

  • Prepare CO Posting Data (clear and fill, checks, etc.) (PREPARE_INPUT_DATA)
By implementing this BAdI method, you can define your own logic for preparing the management accounting secondary posting data before mapping.
  • Mapping CO Posting Data (MAP_VALUES)
By implementing this BAdI method, you can define your own mapping logic.
  • Adjust CO Posting Data (ADJUST_POSTING_DATA)
By implementing this BAdI method, you can do final adjustments to the posting data to be executed after the mapping steps are executed. In the standard process, this includes currency handling when local currency configuration and central currency configuration are not identical.
  • Post CO Document POST_DATA)
By implementing this BAdI method, you can do your own error correction or extra posting after standard posting takes place.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

You can find an example implementation, CL_FINS_CFIN_CO_INTERFACE_EXAM, in the BAdI Builder on the Enhancement Spot Elements tab in the Implementation Example Classes section.

SAP Note 2273600 is a sample business scenario about how to bring additional information for CO internal posting documents into Central Finance.






Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4702 Date: 20240523 Time: 223339     sap01-206 ( 68 ms )