Ansicht
Dokumentation

FI_BUPLA_CHECK_PROP - Manage Business Place Enablement

FI_BUPLA_CHECK_PROP - Manage Business Place Enablement

Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Business Place (FI-LOC-BUP) component. You can use this BAdI to change how a business place field is enabled and how it should be controlled.

For example, the business place field provided with the standard solution is optional. However, your organization would like the business place field to be mandatory to support reporting requirements. You can use this BAdI to change the field controls to make a business place field value mandatory.

Note
This BAdI is not available for the scenarios FI_PSH, FI_PSI, and FI_OTH at the moment.

Your country/ region has adopted the enhanced business place framework.

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

BAdI Implementation

The BAdI implementation filter value is important for filtering relevant BAdIs for your organization. You can apply a filter, for example by country/ region, and then create multiple, active implementations based on different values. Without a filter value, a BAdI can only have one single, active implementation.

Filter values are mandatory for business place BAdIs, as every BAdI implementation works only for the selected scenario in the country/ region specified. BAdI implementations without filter values can be saved but will not be executed.

To implement this BAdI, you first define the implementation filter using the following parameters:

  • SERVICE_COUNTRY: Country/ region key
  • BUPLA_SCEN_ID: ID of business place scenario

Parameters for Method EXECUTE include the following:

  • Importing
  • IV_CONTEXT_RAW: The application context in string format

  • IV_CONTEXT_DTYPE: The ABAP data structure type of application context

  • IS_APP_INFO: Additional application information, for example, transaction code

  • Changing
  • CV_ENABLED: Business place is enabled

  • CV_READONLY: Business place is read-only

  • CV_MANDATORY: Business place is mandatory

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitionstab in the Implementation Example Classessection. The following example implementation is available:

  • CL_BUPLA_CHECK_PROP_EXAMPLE
Sample class for business place check properties

You can use example implementations to see how to parse the business document data (context data) back to the ABAP data structure.

Refer to the BAdI example implementation class CL_BUPLA_CHECK_PROP_EXAMPLE.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3588 Date: 20240607 Time: 003911     sap01-206 ( 56 ms )