Ansicht
Dokumentation

CRM_BWA_MFLOW - BAdI: BW Adapter: Enhancement of DataSources in the Messaging Flow

CRM_BWA_MFLOW - BAdI: BW Adapter: Enhancement of DataSources in the Messaging Flow

Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Implementing this BAdI enables you to modify the content of data extracted from DataSources that were delivered in the SAP BW Business Content.

The system calls up BAdI implementation directly using the delivered SAP standard mapping.

Import Parameter
I_DATASOURCE Type RSIOBJNM

Changing Parameters
CT_DATA Type ANY TABLE
CT_RETURN Type BAPIRET2_T

You can distinguish between the individual DataSources by using a case statement with the value I_DATASOURCE.

CT_DATA corresponds to the data of the extract structure in the form of an internal table. If a modification has been made, the imported data of the structure is changed.

If no errors occur during mapping, CT_Return remains empty.
If errors do occur, the value "E" appears in the TYPE field.

data: it_extract type table of EXTRACT_STRUCTURE,
wa_extract like line of it_extract.

case i_datasource.
when 'NAME1'.
it_extract = C_T_DATA[].
.........
when others.
endcase.

You can make the documents in the BAdI visible for the DataSources for business transactions and add extra fields to the extracted data. To do this, use the function module CRM_BADI_GET_XIF. The delivered implementation Example for an Order DataSource Enhancement (CRM_BWA_ENHANCE_EX) provides an example of how you go about this. For more information, refer to the documentation on the function module and on the example implementation.






CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1696 Date: 20240523 Time: 182110     sap01-206 ( 46 ms )