Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Issue with attributes in Query Characteristics while consuming BEx Query to Gateway via MDX

$
0
0

Hello Experts,

 

I have two BEx Queries which I want to consume in Gateway through MDx.

 

Query 1 : has one characteristic(with 107 attributes) and three key figures.

Query 2 : has one characteristic(with 266 attributes) and three key figures.

 

I was able to generate oData service for Query 1 successfully while I wasn't for Query 2. The problem that I got is "Classes generated with syntax error". When I opened the model provider class, yes there is an error. The error is that it was not able to generate TYPES. It is like below.

 

  types: .

   types:

TT_ZPM_M07_ZGES_ZPM_M07_BOOKI type standard table of TS_ZPM_M07_ZGES_ZPM_M07_BOOKI. .

 

If you see there is nothing in the TYPES declaration, like below:

 

TYPES: BEGIN OF TS_ZPM_M07_ZGES_ZPM_M07_BOOKI,

               <all those 266 attribute fields>

               END OF TS_ZPM_M07_ZGES_ZPM_M07_BOOKI.

 

Attempt 1: If I deselect around some 50 attributes, it is generated properly. But It gives error when I Query on it. It doesn't serve any purpose.

Attempt 2: If I manually type the fields in the TYPES, the syntax error is resolved. But the RUNTIME ARTIFACTS are not generated for the service and the REGISTER button is disabled to register the service.

 

Any idea how can I get rid of this issue? Any notes or something?

 

Thanks in advance,

 

Best Regards,

Seyed Ismail MAC


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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