on 09-15-2004 6:59 PM
I need to replace C++ RFC Adapter with Java Adapter and I'm using JCO. I found the problem related to DATE format. All data goes to SAP in internal format (YYYYMMDD) but interfaces are written to accept date in external format (MMDDYYYY) and because of it I have problems calling ABAP functions.
Please help me to solve that problem.
Vitaly.Scherban@pb.com
Craig,
I just checked the client date settings and they are in MM/DD/YYYY format and it is exactly what I need.
Is that possible to set the Date field with String data with JCO? In C++ it is possible to do and that is how our current C++ application sends the DATE field to SAP.
I tried to set String to type D field and got exception of data convertion. Is that possible to do on the lowest level using something like MetaData?
Vitaly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Craig,
Thank you for reply.
How can I change the user settings for date formats?
What should I do?
Vitaly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We simply convert the date in Java before sending it over.
Because you also have the problem that SAP reads the user settings for date and number formats.
Setting in Java before sending was always the safest for us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.