RAMSBaan
22nd January 2004, 01:48
Hi
I was trying to create a export exchange and for one ascii 'ti' field to export I wrote a condition to return a string values.
But the string is not assiging to the ascii field t1. can you help me in this.?

Exp:

Ascii field t1

condition on field t1

select whwmd215.*
from whwmd215
select do
|* whsol200 - a customized look up table
select whsol200.*
From whsol200
where whsol200.cwar = :whwmd215
selectdo
endselect
|* t1 is parameter in export scheme
t1 = whsol200.cwar
return(t1)
endselect
return(" ")

ssbaan
22nd January 2004, 18:45
Try changing the definition of t1 to STRING t1(3) (asuming the cwar is warehouse number with a lenght of 3). You will also have
to change your blank return to :

t1 = " "
return(t1)

Hope this helps!

RAMSBaan
24th January 2004, 03:05
Hi
Thanks for the reply.
It works fine.