Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Error while passing Date and Time parameters to BAPI function

$
0
0

Hi All,

I am working with a BAPI_TRIP_CREATE_FROM_DATA to load milage and advance tables data..and for this i need to pass EmployeeNumber, FrameData: DEP_DATE, DEP_TIME parameters.. but for the date and time i am facing issue as

 

[Function Call:SAPECHP6..BAPI_TRIP_CREATE_FROM_DATA]

NRDM Function <Cannot parse expression.

For the call to function <BAPI_TRIP_CREATE_FROM_DATA>, cannot convert parameter number <2> to type <DATE>. Provide a parameter of the correct type.. (BODI-1112351)> (BODI-1111191)

 

what is the correct structure to pass the date and time to the BAPI function parameters

 

I tried by passing the values as

DEP_Date: '06-03-2016'   , '2016-06-06' , 2016-06-06

DEP_Time: '05:55:55'  ,  05:55:55

 

but for every case it is showing error...can anyone help me with correct way of representing the date and time data

 

 

 

 

 

 

 

Thanks

PrasannaKumar Pendela


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>