Skip to Content
0
Former Member
Oct 15, 2005 at 12:50 PM

Date format

164 Views

Hi,

I have an application which makes a call to a BAPI.

The input parameter for this BAPI is date.

The date in Webdynpro is of the format MM/dd/yyyy,

whereas in ABAP it is yyyymmdd.

Due to this my application is unable to make the right call.

Can anyone tell me how I can change the format from MM/dd/yyyy to yyyymmdd?

I have tried using Simpledateformat. But this returns a a value of type String, while I need to pass the value of type Date only.

Can anyone help me out?

(I have browsed through the other posts but in vain)

Thanks and Regards

Reena