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

DATASET MISMATCH ERROR

Former Member
0 Likes
702

HI ALL,

I AM TRYING TO EXECUTE A TRANSACTION AND IT IS GIVING SHORT DUMP.

MENTIONED BELOW IS THE ERROR.

PLEASE LET ME KNOW IF ANY CLUES TO FOLLOW

<b>ERROR ANALYSIS</b>

The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was

not caught in

procedure "%_IMPORT_VARI_CLNT" "(FORM)", nor was it propagated by a RAISING

clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

When importing the object "SO_PROD3", the component 3 in the dataset

had a different length from the corresponding component of the

target object in the program "YV00_RV_TLOAN_0064".

The length is 16 in the dataset, but 6 in the program.

<b>WHEN I ENTERED THE DEBUGGER IT IS TAKING ME TO THE BELOW CODE</b>

  • Read internal constant... VKBUR for Indirect Customer

CALL FUNCTION 'Y_V00_TLOAN_READ_CONSTANT'

EXPORTING I_CONSTANT_NAME = co_ic_indcust_vkbur

I_COMPANY_CODE = pa_bukrs

TABLES T_VALUE_RANGES = it_indcst_vkbur.

  • Read internal constant... VKBUR for SubDistributor

CALL FUNCTION 'Y_V00_TLOAN_READ_CONSTANT'

EXPORTING I_CONSTANT_NAME = co_ic_subdist_vkbur

I_COMPANY_CODE = pa_bukrs

TABLES T_VALUE_RANGES = it_subdis_vkbur.

ENDFORM. " read_tl_constants

*--END-INS-DH1K911178

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
531

Hi

It clearly says about the erroras

When importing the object "SO_PROD3", the component 3 in the dataset

had a different length from the corresponding component of the

target object in the program "YV00_RV_TLOAN_0064".

The length is 16 in the dataset, but 6 in the program.

So check the parameters declaration that are passed to this fun module

EXPORTING I_CONSTANT_NAME = <b>co_ic_indcust_vkbur</b>

I_COMPANY_CODE = <b>pa_bukrs</b>

TABLES T_VALUE_RANGES = <b>it_indcst_vkbur</b>.

  • Read internal constant... VKBUR for SubDistributor

CALL FUNCTION 'Y_V00_TLOAN_READ_CONSTANT'

EXPORTING I_CONSTANT_NAME = <b>co_ic_subdist_vkbur</b>

I_COMPANY_CODE = <b>pa_bukrs</b>

TABLES T_VALUE_RANGES = <b>it_subdis_vkbur</b>.

since there is length conflict between the fields,

it is raising an error which was not caught.

so check the paramters and pass the correct values

Reward points if useful

Regards

Anji

1 REPLY 1
Read only

Former Member
0 Likes
532

Hi

It clearly says about the erroras

When importing the object "SO_PROD3", the component 3 in the dataset

had a different length from the corresponding component of the

target object in the program "YV00_RV_TLOAN_0064".

The length is 16 in the dataset, but 6 in the program.

So check the parameters declaration that are passed to this fun module

EXPORTING I_CONSTANT_NAME = <b>co_ic_indcust_vkbur</b>

I_COMPANY_CODE = <b>pa_bukrs</b>

TABLES T_VALUE_RANGES = <b>it_indcst_vkbur</b>.

  • Read internal constant... VKBUR for SubDistributor

CALL FUNCTION 'Y_V00_TLOAN_READ_CONSTANT'

EXPORTING I_CONSTANT_NAME = <b>co_ic_subdist_vkbur</b>

I_COMPANY_CODE = <b>pa_bukrs</b>

TABLES T_VALUE_RANGES = <b>it_subdis_vkbur</b>.

since there is length conflict between the fields,

it is raising an error which was not caught.

so check the paramters and pass the correct values

Reward points if useful

Regards

Anji