Hi Always,
you write at the begining
data: 2LIS_02_SCL type C_T_DATA.
here C_T_DATA is a parameter and containing same structure of our data source (2LIS_02_SCL). Its work on CMOD. For Badi also same code will work.
some note on C_T_DATA
"c_t_data is specific to this program, not just a variable, it's a parameter. actually zxrsau01 is an include program from function module EXIT_SAPLRSAP_001, you can see parameter c_t_data in tab 'tables', and I_DATASOURCE also a parameter, see tab 'import'. so you have to use exactly 'c_t_data'."
In the user Exit for the enhacement the C_T_DATA is a parameter with our defined structure...in other words....this variable have not a static structure and can be used with any table structure that is passed as parameter....
Regards
Bhaskar