SAP Knowledge Base Article - Public

1614039 - When using Web Services and I try and get the securityInfo2 off of an object, it always returns null, why is that?


When using the web services sdk and trying to access the SecurityInfo2 off of an infoobject, it always returns null.


This occurs when you do not set the security options to true off of the getoptions object.


You need to make sure that you set

boGetOptions.IncludeSecurity = true;
boGetOptions.IncludeSecuritySpecified = true;

for the GetOptions object and pass it to the biplatform object you are using to query.

Something like

boResponseHolder = boBIPlatform.Get(query, boGetOptions);


getoptions security securityinfo2 null web services , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem


Crystal Reports 2008 V1