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 XD01

Former Member
0 Likes
585

Hi,

we know that while uploading data into the database, all the data types of the fields should be of character type. But while uploading data through XD01, we have a field, language key (SPRAS). But it is of type LANG and the length is 1 .

But while entering the value in it we have to give 'EN'. So we should give 2 char length. But when I give it is saying that "Source field length is more than target length."

Please let me know how to solve it.

Thanks in advance .

Regards,

SUMAN.

2 REPLIES 2
Read only

Former Member
0 Likes
502

instead of 'EN' give 'E', it's char1 field ADDR1_DATA-spras(char-1) .

(spras has conversion routine, internally it stores as 'E' but while displaying it displays as 'EN')

Siva

Read only

Former Member
0 Likes
502

Hi

The length of the SPRAS field is 1 char. So u should give only one char. There is conversion routine inside domain. It will convert it into 2 char..

Reward me if its useful.

Regards

Ravi