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

In BDC programming how can we maintain date field

Former Member
0 Likes
638

hello all

In BDC programming how we will deal with date field?

In my flat file my date field format is different from the sap date field format. how can we deal this?

hello all

In BDC programming how we will deal with date field?

In my flat file my date field format is different from the sap date field format. how can we deal this?

4 REPLIES 4
Read only

former_member156446
Active Contributor
0 Likes
619

u need to play using

sy-datum(4) sy-datum4(2) sy-datum6(2) into gv_date .

Read only

GauthamV
Active Contributor
0 Likes
619

hi,

just define a variable with length 10 in ur internal table.

now pass the date format in flat file as dd.mm.yyyy.

Read only

Former Member
0 Likes
619

move the date to a c(10) type field.....and then use the individual components using offsets

Read only

Former Member
0 Likes
619

hi

better to change ur date format in flat file , u can do easily in excel.

DD.MM.YYYY. i.e (.) is acceptable in both .