on 09-26-2006 10:37 AM
Hi everybody,
I have to fill a BAPI with the actual time and date. For the time I use the data type Time: Virtual Field and as default value TNOW().
Now two problems occur:
On the screen the field is filled correctly but in the backend system not the actual time is reported the value is always 02:00 AM.
If you want to change the field value in the VC you get not the time format but the date format. I mean you click in and instead of 12:00 PM you get a value like 26.09.2006
An other issue is the date field with default value NOW(). The actual date is reported correctly but if you want to change the date to e.g. 27.09.2006 the value is then suddenly 09.03.2008.
Does anybody of you have an idea?
Thanks and best regards
Berthold
> Hi everybody,
>
>
Hi Berthold,
> An other issue is the date field with default value
> NOW(). The actual date is reported correctly but if
> you want to change the date to e.g. 27.09.2006 the
> value is then suddenly 09.03.2008.
I have opened an OSS and SAP is fixing this problem in the next SPs.
> I have to fill a BAPI with the actual time and date.
> For the time I use the data type Time: Virtual Field
> and as default value TNOW().
> Now two problems occur:
> On the screen the field is filled correctly but in
> the backend system not the actual time is reported
> the value is always 02:00 AM.
> If you want to change the field value in the VC you
> get not the time format but the date format. I mean
> you click in and instead of 12:00 PM you get a value
> like 26.09.2006
The problem is that you must pass your date in the internal date, therefore you can use the function module called 'CONVERT_DATE_TO_INTERNAL' or transform your date before passing into BAPI. The internal format is yyyymmdd.
Best Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You have to check that the format of the date is set correctly, you should enter the date in the correct manner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.