Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC Programming

Former Member
0 Likes
380

HI All,

I am getting 'Formatting error in KETDAT(Required Delivery Date)' field while creating salesorder for given recording in BDC programm.i am giving data through a RFC which is having structures same as BAPI_SALESORDER_CREATEFROMDAT2 .

(i am getting error for the field ORDER_SCHEDULE_IN-REQ_DATE......Formating Error)

please give me a solution for this very urgent

2 REPLIES 2
Read only

Former Member
0 Likes
363

Are you passing the date like this?


20080430

Greetings,

Blag.

Read only

naimesh_patel
Active Contributor
0 Likes
363

Your date must be in format YYYYMMDD (SAP internal format) for the field REQ_DATE.

If you are getting date as 04/30/2008 than convert it into 20080430.

You can use like:


L_DATE+0(4) = L_IN_DATE+6(4).
L_DATE+4(2) = L_IN_DATE+3(2).
L_dATE+6(2) = L_IN_DATE+0(2).

Regards,

Naimesh Patel