Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

strlen problem in my coding

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

Tags:
replied
lv_length = strlen( p_wa_869_input_rec-upc_ean ).
0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question