‎2009 Nov 21 9:08 AM
Hi
I have created bdc program for fnfo t.code.
After the below statement it is going to dump.
svym value = 200907
perform bdc_field using 'VDPOKO-SVYM' SVYM.FORM BDC_FIELD USING FNAM FVAL.
IF fval NE NODATA_CHARACTER. "after this line going to dump
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
ENDFORM.Error
Unable to interpret "/" as a number.pls help me out
Edited by: Kumar k on Nov 21, 2009 5:09 PM
‎2009 Nov 21 9:12 AM
Hi,
Replace the error statement like below.
Instead of IF fval NE NODATA_CHARACTER.
use IF fval IS INITIAL.
I am assuming NODATA_CHARACTER is constant/variable with blank value.
Thanks,
Vinod.
‎2009 Nov 21 9:15 AM
Hi Vinod
Thanks for ur reply.
I am using standard include program BDCRECXY.
fiel definition
DATA: NODATA_CHARACTER VALUE '/'.
‎2009 Nov 21 9:30 AM
Hi,
System is trying to interpret the vaue in SVYM as a number(posting period) and comparing with character variable. So try to modify below code in your program.
perform bdc_field using 'VDPOKO-SVYM' SVYM. "Delete
l_charactervariable = svym.
perform bdc_field using 'VDPOKO-SVYM' l_charactervariable .
You may have to check and change all such type of fields.
Thanks,
Vinod.
‎2009 Nov 21 9:30 AM