Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 of 3
https://archive.sap.com/discussions/thread/278060
10/27/2016 12:08 AM
2 of 3
https://archive.sap.com/discussions/thread/278060
Please help me asap, I am trying to enhance the BW datasource with only one field "Responsible" in
0refx_2 datasource . I am getting the error in code that case i_chabasnm is unknown and tables not
defined by data statement
please help me to correct the code I am just picking the field RESPONSIBLE from Table VIBDPR
Abap Code below:
Tables: VIBDPR. "Property master data table
data: l_tabix like sy-tabix.
case i_CHABASNM.
*Enhancement of Property Master Record
WHEN '0REFX_2'.
case i_datasource.
WHEN '0REFX_2'.
data: l_s_REIS_MEASUREMENT_TRAN like REIS_MEASUREMENT_TRAN.
loop at i_t_data into l_s_REIS_MEASUREMENT_TRAN.
l_tabix = sy-tabix.
select single * from VIBDPR where BUKRS = l_s_ REIS_MEASUREMENT_TRAN - BUKRS.
if sy-subrc = 0.
l_s_BIW_VIBDPR_s-ZZRESPONSIBLE = VIBDPR-RESPONSIBLE.
modify i_t_data from l_s_ REIS_MEASUREMENT_TRAN index l_tabix.
endif.
endloop.
endcase.
endcase
10/27/2016 12:08 AM
3 of 3
https://archive.sap.com/discussions/thread/278060
endcase
soniya kapoor
December 14, 2006 at 17:22 PM
0 Likes
Rich Heilman
replied
December 14, 2006 at 17:31 PM
soniya kapoor
replied
December 14, 2006 at 17:34 PM
10/27/2016 12:08 AM