Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

SQL over SAP BW thru SAP BODS

$
0
0

Hi guys.

 

I have the next situation. I have two DataStores defined, one of them to SAP BW and the other one to SQL Server.

I need to know how many rows has a table before download on the SQL Server database.

I done a Dataflow with 2 objects only, SQL object and Template table. In the SQL editor i've defined the SAP BW Datastore and in the SQL text, i was put the sentence "Select count(1) from DS_SAPBW.."/BIC/AZTB_XXXXXX" ", but when i executed appear an error with "Invalid object" description.

I have tryed write the table name with diferent ways, but all of them generate the same error.

Can i use sql command direct over SAP BW or exists something restriction about that?.

Another way to count the rows is with a Dataflow with 3 objects, Source, Query and template table. In the Query i choose one port and use it to count() and write on the template table, but this solution take a lot of time when the source table is a large table, because try read all rows before give the result.

Can anybody help me?.

 

 

 


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>