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 Runtime Error

Former Member
0 Likes
1,239

Hi,

While i am uploading a flat file through a BDC fot T-Code CR01, i am getting a runtime error that is going to short dump. it shows the error as UC_OBJECTS_NOT_CONVERTIBLE.

This comes after i select the file for upload and execute. Pls refer below.

What happened?

Error in ABAP application program.

The current ABAP program "SAPLGRAP" had to be terminated because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

What can you do?

Print out the error message (using the "Print" function)

and make a note of the actions and input that caused the

error.

To resolve the problem, contact your SAP system administrator.

You can use transaction ST22 (ABAP Dump Analysis) to view and administer

termination messages, especially those beyond their normal deletion

date.

Error analysis :

The statement

"MOVE src TO dst"

requires the operands "dst" and "src" to be comvertible.

Since this statement occurs in a Unicode program, the special

convertibility rules for Unicode programs apply. In this case, the

following rules have been broken:

please help guys...

Thanks

Dinesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
931

The dump relates to a difference in the format of fields DST and SRC, how are these two fields defined in you program?

6 REPLIES 6
Read only

Former Member
0 Likes
932

The dump relates to a difference in the format of fields DST and SRC, how are these two fields defined in you program?

Read only

0 Likes
931

i havn't declared these fields in the program. it is calling an SAP Standard program internally

Read only

0 Likes
931

When I put the dump name into SAPnet I get a couple of hundred notes back, so if this is a SAP standard problem you could try to find one that most fits your scenario.

Read only

dev_parbutteea
Active Contributor
0 Likes
931

Hi,

srt and dst should be of the same type.

Regards.

Read only

varma_narayana
Active Contributor
0 Likes
931

Hi..

I beleive the internal table that u are using to UPLOAD from the Flat file has some fields with NUMERIC data types (I, P , F). If u change them to CHARACTER Types (C , N) It should work.

Bcoz While uploading data from file or Downloading data to file Data sholud be in CHAR format.

<b>reward if Helpful.</b>

Read only

marcelo_ramos1
SAP Mentor
SAP Mentor
0 Likes
931

Hi,

You must pass only Char fields to BDC estructure.

Move value of decimal data to a char data and them pass to BDC structure.

Regards.

Marcelo