‎2007 May 29 12:44 PM
Hi ,
I have a field 12:00 passed into string and then i need to pass this string to some bapi field which is having type as INT4 , if i try to assign to it some local variable of type INT4 it throws dump saying unable to interpret 12:00 as number...
Any pointer...?
Regards,
Gunjan
‎2007 May 29 12:46 PM
‎2007 May 29 1:03 PM
Hi,
This wud definately show the error because ':' is not a number. So you may take a char variable and then pack this variable to an int variable. This may help.
Can u make it clear what is this 12:00? Is it a fieldname, fieldvalue or wat?
Regards,
Harsha
‎2007 May 29 1:06 PM
hi,,
data: str type string.
data: int type i.
Translate str using ' : '.
condense str no-gaps.
int = str.
if helpful reward some points.
with regards,
suresh babu aluri.
‎2007 May 29 1:18 PM
it doesn't seem to work..its just that i want to assign a string to INT4 variable...