05-13-2008 7:55 AM
hi
i have this code that i m upgrading in from 4.5b to ECC6
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
FILE_NAME = P_FILE
CREATE_PIVOT = '0'
DATA_SHEET_NAME = 'Export'
PIVOT_SHEET_NAME = 'Export'
TABLES
DATA_TAB = T_EXCEL_DATA
FIELDNAMES = T_EXCEL_FIELDNAME
The T_EXCEL_FIELDNAME is of type
DATA: BEGIN OF T_EXCEL_FIELD OCCURS 0,
TEXT(30),
END OF T_EXCEL_FIELD.
And the T_EXCEL_DATA is an internal table of type field as example shown below
LANDX LIKE T005T-LANDX,
NAME1 LIKE KNA1-NAME1,
STREET LIKE ADRC-STREET,
GMAXW LIKE EMBK-GMAXW,
WAERS LIKE EMBK-WAERS,
GMAXQ LIKE EMBK-GMAXQ,
MEINS LIKE EMBK-MEINS,
GEART LIKE VBEX-GEART,
KUNNR LIKE VBPA-KUNNR,
I know the dump is because in the FM it is trying to put a test in a field curr or qty.
can anyone advise how it can be corrected. Is there another way instead of redefining all the field T_EXCEL_DATA to character???
05-13-2008 8:09 AM
Hi,
When did you get the ABAP dump?
Try search OSS note.
Cheers.
...Reward if useful.
05-13-2008 8:09 AM
Hi,
When did you get the ABAP dump?
Try search OSS note.
Cheers.
...Reward if useful.
05-13-2008 8:20 AM
i'm executing the program that have been taken from 4.5B transfer to ECC6
12-17-2010 8:33 AM
Hi
Is this problem is solve by someone ?
Even i am facing the same problem.