Skip to Content
author's profile photo Former Member
Former Member

LoadFromDataSource method and row number columns

Since I've installed the 2004 SDK, I've tested out using the LoadFromDataSource method to populate db data source bound matrixes.

It's way faster than the previous method of filling up db datasource bound matrixes.

However, I've run into a problem, since the method fills only the db datasource bound fields

Because I no longer use a loop to populate the matrix, my user data source bound 'Row Number' column no longer gets populated. This is bothersome, as it is nice to have a row number column in the matrix.

I added a loop after the 'LoadFromDataSource' call to fill in the 'row number' column, but doing that eliminated all of the performance gain found by using the LoadFromDataSource method.

Since it seems to be the SAP standard to have the first column in every matrix contain the row number, I am disappointed that the LoadFromDataSource method doesn't have a provision to accomodate this.

It would be cool to have this method take a parameter that specified the ColUID of the row number column...

Ex. LoadFromDataSourceEx(matrix.columns(0).UniqueID)

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 16, 2005 at 02:54 PM

    Hi Demetree,

    I think you are absolutely right with your remarks!

    Can you create a (message on Service Markeplace for component "SBO-")DRQ?

    P(roduct) M(anagement) is constantly reviewing those requests and considering them to add these features in future releases!



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.