cancel
Showing results for 
Search instead for 
Did you mean: 

Jco Dimensions Problem...

Former Member
0 Kudos

Hello all !

I`m using jco in a custom Java Swing Application.

When i try to execute a query ...i have the some problem.

How to recover axes dimensions to "rows" from the a query to use in the

moveDimensionToRows(Dimension dimension) IBICommandProcessor method ?

Best Regards.

Taylor

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sorry ...the problem is using the BI java SDK ..not the jco component !

Thanks.

Former Member
0 Kudos

Just wounder are you calling the Table directly in SAP.

Or you are calling the BAPI function?

thanks

Former Member
0 Kudos

Hi Nicholes,

Let's put you at the same page...

I wrote a simple program in java and this program must read a query in the bw ( this query is already available for this) and then it have to execute this query passing all required parameters..

Using bi-sdk api I'm able to get all dimentions defined in the query. However, I can't distingue which one must be moved to rows, columns and slicers.. because all of them comes in a single list without any kind of "dimention type". And I have to set/move the dimentions (using moveDimentionsToRows method of IBICommandProcessor class) to the query before executing, otherwise the result won't be the espected..

Let's me know if you got it.

Thanks,