Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 6532

CX_SY_DYNAMIC_OSQL_SEMANTICS error with dynamic SELECT statement

$
0
0

Hello Gurus,

 

We have a dynamic SELECT statement in our BW Update Rules where the the Selection Fields are populated at run-time and so are the look-up target and also the WHERE clause. The code basically looks like below:

 

          SELECT (lt_select_flds)

            FROM (lf_tab_name)

            INTO CORRESPONDING FIELDS OF TABLE <lt_data_tab>

            FOR ALL ENTRIES IN <lt_source_data>

            WHERE (lf_where).

 

In this instance, we are selecting 5 fields from Customer Master Data and the WHERE condition for this instance of the run is as below:

 

WHERE: DIVISION = <lt_source_data>-DIVISION AND DISTR_CHAN = <lt_source_data>-DISTR_CHAN AND SALESORG = <lt_source_data>-SALESORG AND CUST_SALES = <lt_source_data>-SOLD_TO AND OBJVERS = 'A'

 

This code was working fine till we were in BW 3.5 and is causing issues after we moved to BW 7.31 recently. Ever since, when we execute our data load, we get the CX_SY_DYNAMIC_OSQL_SEMANTICS. THE ERROR TEXT SAYS 'Unable to interpret '<LT_SOURCE_data>-DOC_NUMBER'.

 

Can you pleasesuggest what can we do to this code to get is working correctly ? What has changed in ABAP Objects that has been introduced from BI 7.0 that could be causing this issue?

 

Would appreciate any help we can get here.

 

Thanks

Arvind


Viewing all articles
Browse latest Browse all 6532

Latest Images

Trending Articles

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