2006 Oct 24 8:06 PM
I am posting the GL a/c line items using BAPI_ACC_GL_Doc_post ...!!
In the flat file , i get the dates as '01/01/2006' and i convert it to 8 format by using :
split and concatenate .
The internal table (line_t) for line items has posting date as '01012006' , when i debug ...but then I keep on getting this error message : ' 20/06/0101 is incorrect in item 001...!! Though the line table has date has '01012006' , the BAPI returns this message ?
Can anyone tell what can be the issue ?
2006 Oct 24 8:09 PM
Hi,
Please try this FM CONVERSION_EXIT_PDATE_INPUT to convert date.
Regards,
Ferry Lianto
I am posting the GL a/c line items using BAPI_ACC_GL_Doc_post ...!!
In the flat file , i get the dates as '01/01/2006' and i convert it to 8 format by using :
split and concatenate .
The internal table (line_t) for line items has posting date as '01012006' , when i debug ...but then I keep on getting this error message : ' 20/06/0101 is incorrect in item 001...!! Though the line table has date has '01012006' , the BAPI returns this message ?
Can anyone tell what can be the issue ?
2006 Oct 24 8:09 PM
Hi,
Please try this FM CONVERSION_EXIT_PDATE_INPUT to convert date.
Regards,
Ferry Lianto
2006 Oct 24 8:13 PM
Hi
You have to insert the date in the format YYYYMMDD:
If DATE_IN = 01/01/2006 =>
DATE_OUT(4) = DATE_IN+6(4).
DATE_OUT4(2) = DATE_IN3(2).
DATE_OUT+6(2) = DATE_IN(2).
Max