‎2007 Nov 29 5:19 PM
hi gurus,
i am trying to upload fi transactions through session, in tcode FB01, when i process the session in fore ground,
the dates in BLDAT and BUDAT, ie. document date and posting date in the screen are filled up leaving the last digit of the date.
for example:
the excel sheet had: 11/29/2007
in the debugging inside the program also, in all the itabs before submitting the data to the program rfbibl00 it is showing the date as
11/29/2007
but when the session is run in the foreground, both the fields are filled as
11/29/200
the last digit is missing.
this is happening in ecc, this is not arising in 4.7.
did any one face this problem.
‎2007 Nov 29 5:24 PM
You can use simple logic to fill the bdc data :
date
data : v_date1(2) type c," Day
v_date2(2) type c, " Month
v_date3(4) type c, " Year
v_date(8) type c. " Total date
clear : v_date1,
v_date2,
v_date3,
v_date.
v_date1 = i_data-STATUS_DATE+0(2)." Month
v_date2 = i_data-STATUS_DATE+3(2). " Day
v_date3 = i_data-STATUS_DATE+6(4). " Year.
concatenate v_date3 v_date1 v_date2 into v_date.
Use v_date for your transaction ,Check the date in debugging.
Thanks
Seshu
‎2007 Nov 29 5:24 PM
You can use simple logic to fill the bdc data :
date
data : v_date1(2) type c," Day
v_date2(2) type c, " Month
v_date3(4) type c, " Year
v_date(8) type c. " Total date
clear : v_date1,
v_date2,
v_date3,
v_date.
v_date1 = i_data-STATUS_DATE+0(2)." Month
v_date2 = i_data-STATUS_DATE+3(2). " Day
v_date3 = i_data-STATUS_DATE+6(4). " Year.
concatenate v_date3 v_date1 v_date2 into v_date.
Use v_date for your transaction ,Check the date in debugging.
Thanks
Seshu