Skip to Content
0
Former Member
Aug 05, 2009 at 07:09 AM

LSMW message error

174 Views

Hi all,

i want to give my own error message in LSMW. i am doing coding for this in mapping step.

data : length type i.

length = strlen( sourcefield ) " source field is field that comes from flat file

if length > 15.

message ' length cant be more than 15' TYPE 'E'.

else

targetfield = source field.

now if i am giving field name more than 15 characters

it is not showing any error and record has been created. there is not any error in log

why is it so???

how would i get error for it in log.

thanks

Sachin

Edited by: Sachin Gupta on Aug 5, 2009 12:40 PM

Edited by: Sachin Gupta on Aug 5, 2009 12:40 PM