‎2006 Aug 28 3:03 PM
Hi,
I get a dump after the 'Import' statement(ECC 5.0).
"Length of the target is different from the source".
EXPORT(in standard LV03RF0A):
EXPORT OUTPUT TO DATABASE INDX(SD) ID DA_SRTFD.
Structure of internal table OUTPUT is:
DATA: BEGIN OF OUTPUT OCCURS 1000.
INCLUDE STRUCTURE BV03R.
DATA: END OF OUTPUT.
One record is exported.
IMPORT(in Z-FM):
IMPORT OUTPUT FROM DATABASE INDX(SD) ID DA_SRTFD.
Structure of internal table OUTPUT is:
BV03R plus a couple of other fields.
Note:
(1) There is no dump in the previous version (4.6C).
(2) The key is different in 5.0(appended with date and time). That is, the export happens with key V03RSDV03V02<b>0828183456</b> Bold characters are appended in 5.0.
(3) If I correct the key in Z-function module, it gives this dump. If the key is the same as in the old system(V03RSDV03V02), there is no dump. But the data imported is different(1000 records instead of the one record).
(4) In INDX, an average record has length 1000. But the export that is happening in 5.0 has 393.
So eventhough the export is happening, I doubt if the export is happening properly.
Any help will be appreciated.
Santhosh.
‎2006 Aug 28 3:27 PM
Hello Santosh
Perhaps you could give it a try and call the IMPORT statement with one of the following options:
...ACCEPTING PADDING.
...ACCEPTING TRUNCATION.Look at the ABAP online documentation for details of these conversion options.
Regards
Uwe
‎2006 Aug 28 3:45 PM
Hi Uwe,
I've tried both. It does not work.
Thanks,
Santhosh.
N.B. : Could this be a Basis problem?
‎2007 Feb 09 10:29 PM
Hi,
did you get it resolved ? I have same issue. Please send me a mail with your findings/thoughts to rameshsa@yahoo.com
Regards,
-mty