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

Import from Memory ID

Former Member
0 Likes
1,013

Hi,

In a program, I am getting a short dump at statement,

IMPORT T_DOWN_NOTPAYED HSDPN HIVDPN

HIVDPV HCURR FROM MEMORY ID 'ZDOW2'.

Short dump details given below.

<i>Error when attempting to IMPORT object "T_DOWN_NOTPAYED".

When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the

program.</i>

The object T_DOWN_NOTPAYED has the following declaration.

DATA : BEGIN OF T_DOWN_NOTPAYED OCCURS 0,

VBELN LIKE VBRP-VBELN,

POSNR LIKE VBRP-POSNR,

CMPRE LIKE VBRP-CMPRE,

CMWAE LIKE VBRK-CMWAE,

END OF T_DOWN_NOTPAYED.

How can we know where is the corresponding export statement and the structure of the exported parameters. Please suggest how to solve this problem.

Thanks & Regards,

Vishnu Priya.

4 REPLIES 4
Read only

Former Member
0 Likes
591

Priya,

You will have to ask the developer who is exporting that T_DOWN_NOTPAYED values from whichever program he is doing that. You will have find that program and figure out that structure.

Regards,

Ravi

Note : Please mark the helpful answers

Read only

suresh_datti
Active Contributor
0 Likes
591

Ideally, you are the one who is supposed to know about the EXPORT too. It looks like you are working on a Program somebody else has written.. One way of locating the EXPORT statement could be to use the standard Program RPR_ABAP_SOURCE_SCAN and search for the string IMPORT T_DOWN_NOTPAYED to MEMORY ID 'ZDOW2'.

Regards,

Suresh Datti

Read only

hymavathi_oruganti
Active Contributor
0 Likes
591

to find out where export is used, one method is,

find the where used list for the report name.

because normally after export statement, they should use

submit <report name> statement.

and that report name and the report in which import u r using will be same.

Read only

vinod_gunaware2
Active Contributor
0 Likes
591

Check strucure and length and type of variable.

It should be same

regards

vinod