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

Runtime Errors: CONNE_IMPORT_WRONG_OBJECT_TYPE

Former Member
0 Likes
854

Hi,

I am using SUBMIT with EXPORTING LIST TO MEMORY AND RETURN via function module.

On debug mode, after IMPORT <itab> FROM MEMORY ID <id_text>, I get this runtime error: CONNE_IMPORT_WRONG_OBJECT_TYPE.

Has anybody encountered this error? Kindly update me if you have any idea.

Thank you!

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
594

You may need to use shared memory buffer while using IMPORT/EXPORT

like


EXPORT p1 = text1  p2 = text2 TO SHARED BUFFER indx(XY) ID id. 

IMPORT p1 = text2  p2 = text1 FROM SHARED BUFFER indx(XY) ID id. 

DELETE FROM SHARED BUFFER indx(XY) ID id. 

http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm

http://help.sap.com/abapdocu_70/en/ABAPDELETE_CLUSTER.htm

a®

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
595

You may need to use shared memory buffer while using IMPORT/EXPORT

like


EXPORT p1 = text1  p2 = text2 TO SHARED BUFFER indx(XY) ID id. 

IMPORT p1 = text2  p2 = text1 FROM SHARED BUFFER indx(XY) ID id. 

DELETE FROM SHARED BUFFER indx(XY) ID id. 

http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm

http://help.sap.com/abapdocu_70/en/ABAPDELETE_CLUSTER.htm

a®

Read only

Former Member
0 Likes
594

Thank you