‎2008 Oct 14 10:03 PM
the error "I am getting is strlen is un known ..it is neither in one of the table NOR delcared as data."
I am using ECC 6.0.
data : lv_length type i.
lv_length = strlen(p_wa_869_input_rec-upc_ean).
IF lv_length < 12 .
Send with preceeding '0's - conversion exit alpha output
CALL FUNCTION 'CONVERSION_EXIT_ALPZE_INPUT'
EXPORTING
input = p_wa_869_input_rec-upc_ean
IMPORTING
output = lv_0upc_ean.
p_wa_870_output_rec-upc_adidas = lv_0upc_ean.
CLEAR : lv_0upc_ean.
ELSEIF lv_length > 12 .
p_wa_870_output_rec-upc_adidas = p_wa_869_input_rec-upc_ean.
ENDIF.
THANKS IN adv
‎2008 Oct 14 10:06 PM
‎2008 Oct 14 10:06 PM
‎2008 Oct 14 10:10 PM
You have to put a blank after a "(":
lv_length = strlen( p_wa_869_input_rec-upc_ean ).
Regards,
Carlos