‎2006 Apr 11 11:04 AM
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.
‎2006 Apr 11 11:07 AM
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
‎2006 Apr 11 11:12 AM
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
‎2006 Apr 11 11:19 AM
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.
‎2006 Apr 11 11:21 AM
Check strucure and length and type of variable.
It should be same
regards
vinod