on 08-31-2009 12:15 PM
HI All,
I am facing problem in inserting the date into RFC from webdynpro java.
Actually BAPI can accept teh date only in sql format and i have taken it as sql only and i am sending it direct as 2009-08-31 ,but its not going into backend.
When i tried to excute rfc then ,i came to know that it can accept only 31082009 format.
i tried to fromat and tehn send it but it would be string format so bapi is not acceptiong in webdynpro itself.
Kindly,Advise me how to pass date .
Regards,
Anu
The date format should not affect the sending.
If the backend variable is date (and in java - sql date) you should send it as is.
If you need to create a date of your own or you are using the date data type in java (which is java.util.Date) you should convert from java util to java sql.
post your code here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bapi itsef is taking care of the format.Resolved.Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
please check the code you are using to insert the data to the bapi , as there should not be
any problem when the date format is of sql.date type , but in the webdynpro when you use the date it should
also be of same data type , else there will be data type compatability problem ,
check the code you are using to insert the data to the rfc ,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.