05-30-2007 4:26 PM
Hi,
In one of the existing LSMW object, in the step -"Field Mapping and conversion rule", they have written some code for one field's mapping and conversion. The code is calling a subroutine and has few parameter values. Where should I look for this code to look into the subroutine and parameter?
Thanks!
Uma
05-30-2007 4:31 PM
Hi,
Check the examples in the following link:
http://www.sapmaterial.com/lsmw.html
http://www.sapbrain.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html
Regards,
Bhaskar
05-30-2007 5:11 PM
For the field 'kunnr', I see the below code (part of the code..)
Source: CUST_KNA1-KUNNR (CUSTOMER MASTER)
Code: clear: l_error_flag .
data: l_kunnr like kna1-kunnr.
if not cust_kna1-kunnr is initial.
E1KNA1M-KUNNR = CUST_KNA1-KUNNR.
e1kna1m-kunnr = '/' .
else.
l_error_flag = 'X'.
recordid = 'Customer Number is blank'.
perform process_error using c_interface
recordid
c_data_erro
'/GMEU/ZE'
'Customer N
cust_kna1-
space
space.
endif.
Please let me know, where should I go look for the code to look inside the sub-routine "process_error"?
Thanks..
05-30-2007 6:27 PM
Uma,
double click on the process_error control should lead to the corresponding routine......