SAP ABAP Data Element RSBTRFFLAG (Indicator: InfoSpoke with Transformation Step)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-DBA (Application Component) Data Basis
     RSB (Package) Business Information Warehouse: Data Marts
Basic Data
Data Element RSBTRFFLAG
Short Description Indicator: InfoSpoke with Transformation Step  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CHAR1    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 With Trnsf 
Medium 25 With Transformation 
Long 50 InfoSpoke with Transformation Step 
Heading 50 InfoSpoke with Transformation Step 
Documentation

Definition

Setting this indicator for an InfoSpoke executes a transformation step between extracting the data and transferring it to an Open Hub Destination. The transformation takes place within a BAdI. You have to create an implementation of the BAdI specifically for an InfoSpoke.

Use

When this indicator is set for the first time, the implementation of a BAdI of type OPENHUB_TRANSFORM is created. You reach the dialog for maintaining BAdI implementation (transaction SE19). The method to be implemented is called TRANSFORM. Read the description of the procedure in the online documentation for more information. Also refer to the BAdIs Documentation in Customizing.

Dependencies

Example

In the following implementation, a counter OHCOUNT is added to the extracted data of InfoSpoke MYSPOKE. To do this, the field OHCOUNT was added to the target structure /BIC/CZMYSPOKE in the DataDictionary.

method if_ex_openhub_transform~transform .
data: l_count type sy-tabix,
l_s_data_in type /bic/cymyspoke,
l_s_data_out type /bic/czmyspoke.

data l_dummy.
message i899(rsbo) with 'exit started' into l_dummy.
i_r_log->add_sy_message( ).
clear e_t_data_out.
loop at i_t_data_in into l_s_data_in.
move-corresponding l_s_data_in to l_s_data_out.
l_s_data_out-ohcount = sy-tabix.
insert l_s_data_out into table e_t_data_out.
endloop.
message i899(rsbo) with 'exit finished' into l_dummy.
i_r_log->add_sy_message( ).
endmethod.

History
Last changed by/on SAP  20130604 
SAP Release Created in 30A