0CO_OM_WBS_1 & 0CO_OM_WBS_6
Currently, we have installed above extractors in BW. Our functional team would like to add on 2 additional fields, which is Document type & Business Transactions. The problem is, what is the logic behind the above extractors and can we add on these 2 fields into the extractor?
Your feedback is much appreciated.
Surendra Kumar Reddy Koduru replied
Enhance the DS. see the simple logic what I enhanced '0CO_OM_WBS_6'.
Add both fiedls to DataSources and then discuss with Functional/Business people and then find teh tables and write logic like below.
WHEN '0CO_OM_WBS_6'. LOOP AT c_t_data INTO i_s_data_wbs6. l_tabix = sy-tabix. SELECT SINGLE lifnr ebeln INTO (i_s_data_wbs6-lifnr,i_s_data_wbs6-zzebeln) FROM mseg WHERE mblnr = i_s_data_wbs6-refbn. IF sy-subrc = 0. MODIFY c_t_data FROM i_s_data_wbs6 INDEX l_tabix. ENDIF. ENDLOOP.