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 problem

Former Member
0 Likes
652

Dear All ,

one program is exporting the result into cluster memory . The other program is importing the data from that memory . I have changed the length of one field in both the programs . That field was previously referring to BSIS-DMBTR . I made that field as type P Length 16 decimals 2 . System is giveing Dump given below .

When importing the object "IT_DISP", the component 12 in the dataset had a different length from the corresponding component of the target object in the program "ZF13020".

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

what should be done

5 REPLIES 5
Read only

Former Member
0 Likes
621

Hi,

See the lengths in Both Programs, the length should be same in both programs i mean what ever you are exportng, the in\mporting filed length should be same, if the lenghts or not same then it will give you the dump,

Thanks

Sudheer

Read only

0 Likes
621

hi Sudheer .

the field is V_REC(16) type P decimals 2 .

i am assigning the value of BSIS-DMBTR to this field .

V_REC = BSIS-DMBTR .

and appending the IT_DISP which contains other fields also apart from this .

Then I am exporting it to the cluster memory .

Other program is Importing data into it_disp1 from the cluster meomory . this table also has field V_REC(16) type p decimals 2 .

is there any problem if i assing the value of BSIS-dmbtr to V_REC . The DMBTR is CURR with 13 length 2 decimals

Read only

0 Likes
621

Hi,

export parameter and import parameter name and size should be same in both the programs .if you are exporting IT_DISP ,then declare it_disp(<b>not it_disp1</b>) in another program and import . it will work.

Regards

Appana

Read only

Former Member
0 Likes
621

Hi,

The order of fields in internal table in both programs should be same. The name of internal table and its declaration should also be same.

Check the declaration of internal tables, their data types, name of both internal tables.

Best regards,

Prashant

Read only

Former Member
0 Likes
621

sorry by mistake i typed as IT_DISP1 . It is same .