Error during Export to Excel

Hi

Am facing a very weird problem while doing an export to excel. I get an error which says " Syntax error in Field Definition (3292)" -“Export failed (DMA0005)”

Am using Business Objects version 5.1.9. It is really strange since the data can be exported to .txt format but throws an error when exporting to excel

Has anyone faced a problem like this before? By the way, my objects do not have special characters in particular just a colon : …can anyone help me out with this?

I have attached a screenshot of the error
qc_snapshot_1.jpg


meenal (BOB member since 2006-03-08)

You should have tried a Search first, as you’d see from Asking Smart BOB Questions, a hyperlink available every time you start a new topic.

I never ran into this problem – but I did a search on the error code you report – 3292 – and found about half a dozen past topics.

This ancient topic, from the ListServ days, shows that your colon is probably causing the problem.


Anita Craig :us: (BOB member since 2002-06-17)

Hi

The topic is ancient true…went through all the links there but find nothing that fixes my problem. Point is…the object throwing the error has no : in it…Name change did not work either…the only reason I can think of is that some values come up as #EMPTY in the data manager…

The reports based on this universe would be totally ad-hoc and my clients want to just pull the data into excel…

They would want to know why BO is not able to do something that it is supposed to and I have no answer to that…

I can ask them to use the copyall function and do a paste but that would be as a last option…

Version is BO 5.1.9 so basically this should have been fixed way back…

Any other ideas??


meenal (BOB member since 2006-03-08)

I have to think that perhaps it’s Excel that’s doing the complaining. So there would be nothing to “fix” in BusinessObjects.

Have you tried the copy and paste to see what happens?


Anita Craig :us: (BOB member since 2002-06-17)

The Copy and Paste Function works perfectly fine. I would have assumed that it was an excel problem, but it happens with everyone for the same query, the same objects in particular.
And the objects do not have any special characters in their query at all. Again #EMPTY seems to be the only reason, but what I do not understand is there are other objects which don’t have any data too and they do not give any problem :hb:
I have given the Copy Paste option as a workaround, but my clients do not seem happy about an extra step as they call it. Any more clues for me??


meenal (BOB member since 2006-03-08)

Looking at the Graphic you pasted, I still see: - ) / : as special characters. I know you handled the colon, but what of the others?


digpen :us: (BOB member since 2002-08-15)

All special characters removed…Column type is character…nothing extraordinary as such…still does not work…


meenal (BOB member since 2006-03-08)

Ok. What is the longest variable name that is in your DP?


digpen :us: (BOB member since 2002-08-15)

I have narrowed down the problem to two columns for this query. When I remove these from my DP, the export to excel option works fine…

One of them is

Column Name: Techs operate CT equip
Type: Character
SQL: ODS_REP_SOURCE.DI_CT_V.ctNumTechs
Data: 1000 rows with 70 of them blank

Hope that helps you analyse


meenal (BOB member since 2006-03-08)

Ok… are the “Blank” values at the beginning of your result set? With that assumption in mind, I’m thinking that the “Export” is attempting to “define” the exported data type by the contents of each column. If the first dozen or so rows are blank, it doesn’t have any value to make that determination and is failing.

Try changing the sort on your incoming data to make sure at least the first row has data returned for every column.


digpen :us: (BOB member since 2002-08-15)

First column is defined…the next two are not…data can be exported into text without any problems…what did you want me to do with the sort again??


meenal (BOB member since 2006-03-08)

Sort your data so that you have values for every column for the first row in your result set. Then try to export and see if that resolves the issue. If it does not, then try again without your two undefined or empty columns.


digpen :us: (BOB member since 2002-08-15)

meenal,

In your screenshot I see that the option ‘Delete Spaces’ is selected.
What happens if you de-select it.
I can imagine that deleting spaces from a null-value returns an error.
OK, if this is true, it’s a bug :wah:

If you don’t want spaces in your XLS-file you can set the option ‘Remove trailing spaces’ in the query-panel.

Hope this helps,
Johan


JdVries :netherlands: (BOB member since 2006-02-06)