Skip to Content
0
Jun 22, 2009 at 07:17 PM

Problem in Function module

75 Views

Hi Friends..

I used below statement in my function module it works fine for hu = '000000BOXNO1'.

if the value having character with leading zeros , it works fine.but if the value hu = '0000000045781'

it was not working. at that moment conversion_exit_alpha_output is working.

so how can I achieve both the functionalitites in single statament.

-


  • shift hu left deleting leading '0'.

  • conversion_exit_alpha_output.

MOVE hu TO exhu.

*Begin code changed by Gowrishankar on 06-june-2009

SELECT SINGLE vhilm FROM vekp into vhilm WHERE ( exidv = hu or exidv2 = hu ) AND status NE '0060'.

-


Thanks

Gowrishankar