Ansicht
Dokumentation

FSBP_GDPDU_DATA_GET - BAdI: Extraction of Additional Business Partner Data to DART

FSBP_GDPDU_DATA_GET - BAdI: Extraction of Additional Business Partner Data to DART

General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Business Partner (FS-BP) component.

You can use this BAdI to extract additional business partner data to the Data Retention Tool (DART).

The BAdI is used within the function module Extract Business Partner Data to the Data Retention Tool (FSBP_GDPDU_EXTRACT_PARTNERDATA), and called when the relevant business partner tables for data extraction are read. The business partner data that is read in the tables is placed in the transfer structure C_TAB_PARTNER_DATA and extracted to the Data Retention Tool.

You should only implement the BAdI in the following cases:

  • A field with the same name already exists in the structure
Assign a different field name in the structure and supply the field in the BAdI
  • You want to transfer a field that does not exist in CHAR format
Define the same length for the structure field as for the table field, and format the field value for the DART.
  • You want to read additional business partner tables that were not automatically read by the system

You do not need to implement the BAdI if you want to transfer additional fields in CHAR format from the tables already read by the system. An automatic transfer is only possible this way.

Note that the field names of the customer include CI_FSBP_GDPDU_STR_DATA must match the field names of the read tables.

You extract data to the Data Retention Tool in the Extract Data transaction (FTW1A). You can display the extracted data in the Data Extract Browser transaction (FTWF). The additional fields implemented by the BAdI are also displayed here.

You have extended the customer include structure CI_FSBP_GDPDU_STR_DATA to incorporate the fields to be added, and are reading tables that are not automatically taken into account by the system.

The Business Add-In is activated in the standard system.

The BAdI cannot be implemented for multiple use, and is not dependent on a filter.

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.

You could carry out the following steps in the BAdI implementation:

You receive the internal structure C_TAB_PARTNER_DATA. With the business partners from this internal structure, read the additional tables for the business partner and transfer the table fields in the customer include CI_FSBP_GDPDU_STR_DATA.

Method

Further information on the DART is available in the SAP Library under Data Retention Tool (DART) (CA-GFT-DART).






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 5008 Date: 20240523 Time: 205630     sap01-206 ( 77 ms )