Skip to Content
0
Former Member
Mar 25, 2007 at 12:50 AM

CMOD Enhancements

27 Views

Hi please confirm that you want to convey that i can write the actual code in CMOD exit_rsap_saplr_001 for transactional data?? if i put 20 data sources enhancement code in there is'nt that too bulky and will cause the failing all extractor if one code is wrong if you still suggest that i can go ahead with 20 similar codes as below . please see my code below which i have used for all 20 datasources with little modification

if you can recommend some changes in code to improve performance would be great

case i_datasource.

WHEN '0CUSTOMER_ATTR'.

loop at i_t_data into l_s_BIW_KNA1_S.

l_tabix = sy-tabix.

clear i_knvp.

select single * from KNVP into i_knvp where KUNNR = l_s_BIW_KNA1_S-KUNNR.

if sy-subrc = 0.

l_s_BIW_KNA1_S-ZZPARFN = i_knvp-PARVW.

l_s_BIW_KNA1_S-ZZCUSNOBP = i_knvp-KUNN2.

modify i_t_data from l_s_BIW_KNA1_S index l_tabix.

endif.

endloop.

endcase.

Thanks

Poonam