Ansicht
Dokumentation

SAMPLE_INTERFACE_BW204010 - BW Extraction PlugIn BTE: Trans. Data Procurement (from 40B)

SAMPLE_INTERFACE_BW204010 - BW Extraction PlugIn BTE: Trans. Data Procurement (from 40B)

Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Function

This function module enables you to fill customer-specific fields that you hung as an append structure for the existing InfoSources. You can find additional information in the documentation under Self-Defined Enhancement for the Extraction Structure.

The following transfer parameters are available:

I_ISOURCE:
InfoSource name.

I_T_FIELDS:
List of transfer structure fields. Only these fields are filled in the data table and can be meaningfully addressed in the program.

C_T_DATA:
Table with the data received from the API in the format of the source system entered in the table ROIS (field ROIS-STRUCTURE).

I_UPDMODE:
Transfer mode as requested in the scheduler for the Business Information Warehouse. It is normally not required.

I_T_SELECT:
Table with the selection criteria that is defined in the scheduler for the Business Information Warehouse. It is normally not required.

Example


data: l_s_icctrcst like icctrcst,
l_s_icctract like icctract,
l_s_icctrsta like icctrsta,
l_tabix like sy-tabix.

case i_isource.

when '0CO_OM_CCA_1'.
loop at c_t_data into l_s_icctrcst.
l_tabix = sy-tabix.
select single * from z0001 where kokrs = l_s_icctrcst-kokrs
and kostl = l_s_icctrcst-kostl.
if sy-subrc = 0.
l_s_icctrcst-zfield1 = z0001-zfield1.
l_s_icctrcst-zfield2 = z0001-zfield2.
modify c_t_data from l_s_icctrcst index l_tabix.
endif.
endloop.

when '0CO_OM_CCA_2'.
...
when '0CO_OM_CCA_3'.
...
when others.
exit.

endcase.

Note

Additional information

BIW documentation.





Parameters

C_T_DATA
C_T_MESSAGES
I_DATASOURCE
I_T_FIELDS
I_T_SELECT
I_UPDMODE

Exceptions

Function Group

RAPS

ROGBILLS - Synchronize billing plans   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2196 Date: 20240604 Time: 055626     sap01-206 ( 33 ms )