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

Formating Error

Former Member
0 Likes
774

Hi,

I am using VA01 in a batch input session. For the field RV45A-KETDAT , i am getting an error Formatting error in the field RV45A-KETDAT

but my value is of the same data element(KETDAT) of data type CHAR. any clues?

3 REPLIES 3
Read only

Former Member
0 Likes
566

There is a difference between the way date is maintained on the screen or in the program.

In the program date is in the following format YYYYMMDD

so if you pass this to the bdc then it will consider YY.YM.MDD so it will give an error.

What you need to do is to reformat the date field into a char(10) field like

data date_text(10) type c.

concatenate date6(2) date4(2) date(4) into date_text.

if this helps reward points.

regards,

khusro habib

Edited by: Khusro Habib on Apr 29, 2008 2:44 PM

Read only

Former Member
0 Likes
566

hi

well it s becoz what date u r giveing is having diffrent format than it have in program internaly so for that it will be bettet to follow the answer of habib as above or use the funtion module to convert the date

thank u

snehi chouhan

Read only

Former Member
0 Likes
566

Hi

U need to transfer the data type in field RV45A-KPRGBZ

Max