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

urgent help !!!!! BDC date Problem

Former Member
0 Likes
613

hi ,

I have requ that if no date is mentioned in flat file i need to pass bank value in Tcode .

But when i uploading the values date field is taken values '0000000' which is saying invaild value.

I used in bdc_open_group field DATFM = space . still it is not working .

plz help.

Thanks,

sridhar

hi ,

I have requ that if no date is mentioned in flat file i need to pass bank value in Tcode .

But when i uploading the values date field is taken values '0000000' which is saying invaild value.

I used in bdc_open_group field DATFM = space . still it is not working .

plz help.

Thanks,

sridhar

4 REPLIES 4
Read only

Former Member
0 Likes
581

Hi Sridhar,

Try this way c_open_group field DATFM = ' '

hope this should work.

swathi

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
581

You might want to try to write the data to a 10 type c field. Then use this field in your BDC.

data: bdcdate(10) type c.


concatenate '00' '00' '0000' into bdcdate separated by '/'.


write:/ bdcdate.

Regards,

Rich Heilman

PS.

Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.

Spread the wor(l)d!

Read only

Former Member
0 Likes
581

I don't know if it is a typo, but your date has only 7 zeros whereas the initial value of a date field is 8 zeros. Probably that is why you are getting that invalid date error message.

Read only

Former Member
0 Likes
581

Hi sridhar,

Make sure that the field datfm is of length 10.

then bdc_open_group field DATFM = '00/00/0000'.

hope this helps,

regards,

keerthi.