Quantcast
Channel: SCN : Popular Discussions - SAP Cloud Applications Studio
Viewing all articles
Browse latest Browse all 1333

Query.ExecuteFromDB leads to an error

$
0
0

Hello Experts,

 

I'm trying to fetch some values from the DB rather than cache. I've written the below code but get an error

 

Code under businsess partner relationship-aftermodify event

-----------------------------------------------------------------------------------------------------------------------------

Query = BusinessPartner.QueryByIdentification;
SelectionParams = Query.CreateSelectionParams();
SelectionParams.Add(Query.InternalID, "I", "EQ", this.RelationshipBusinessPartner.InternalID);
ResultData = Query.ExecuteFromDB(SelectionParams);

 

And the error is as below

 

[Activate] Relationship: Error in activation of runtime object


[Activate] Syntax error in generated ABAP method

 

If anyone of you have seen this before, please share how do I get rid of this error.

 

Regards,

Sandeep


Viewing all articles
Browse latest Browse all 1333

Trending Articles



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