on 03-31-2006 12:44 PM
I am using this method to transfer data from an internal table to Excel.
First I read the internal table structure using RFC_GET_STRUCTURE_DEFINITION.
Then I pass in the data to excel using the INSERT_ONE_TABLE method.
The problem I have is that for date entries when the internal table contains an initial value 00000000 this is interpereted by excel in some cases as 1999-11-30 and others as 12:00 am.
Even in debugger if the table field is cleared then in Excel it behaves differently
I would prefer a blank cell.
Rgds
Glenn
Glenn
Better late than never ...
You could modify the received structure definition and pass problematic fields as text. I.e. pass the data preceded by '.
0000000 --> '0000000
This will qualify the content of the cell as text and Excel won't change the format on it's own.
Regards,
Cornelius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.