Skip to Content
0
May 09, 2008 at 04:59 AM

Problem with the Date format and sending it to R/3

158 Views

Hi all,

I have an Adaptive RFC application which fetches the data from the R/3 and displays the Employee's Personal Data.

I am using a ZFM which is customised as per the requirement from the Standard BAPI_EMPLOYEE_GETDATA.

Now the Problem i am facing is Date is default and Optional Parameter in RFC.

If i execute the RFC in R/3 without Date it is not filling the Internal Tables. And if i pass the Date it is filling the Internal Table and fetches the Records.

So in WD application i am inputing Employee FirstName, LastName or the Employee ID.

User can give any of the above input or combination of FirstName and LastName Or only the Employee ID.

Now the Main Problem is of Date which is of type Date.

I have also tried the SimpleDateFormat Class, but i am not able to achieve the result.

I have also seen the Links and threads on SDN, but unable to solve the problem.

So pls help me out asap.

Thanks & Regards,

Dhruv Shah