<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SAP Interoperability (gateway) fails to run SAP FLOC Dataload and ABC Criticality update due to bad/missing cached SAP credentials</title><link>https://communities.bentley.com/products/assetwise/asset_performance_management/w/wiki/41835/sap-interoperability-gateway-fails-to-run-sap-floc-dataload-and-abc-criticality-update-due-to-bad-missing-cached-sap-credentials</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>SAP Interoperability (gateway) fails to run SAP FLOC Dataload and ABC Criticality update due to bad/missing cached SAP credentials</title><link>https://communities.bentley.com/products/assetwise/asset_performance_management/w/wiki/41835/sap-interoperability-gateway-fails-to-run-sap-floc-dataload-and-abc-criticality-update-due-to-bad-missing-cached-sap-credentials</link><pubDate>Thu, 01 Jun 2023 20:23:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6245966d-8aff-4b5f-b92c-8fff1c9dccb8</guid><dc:creator>Joseph Marin</dc:creator><comments>https://communities.bentley.com/products/assetwise/asset_performance_management/w/wiki/41835/sap-interoperability-gateway-fails-to-run-sap-floc-dataload-and-abc-criticality-update-due-to-bad-missing-cached-sap-credentials#comments</comments><description>Current Revision posted to Asset Reliability | AssetWise APM Wiki by Joseph Marin on 6/1/2023 8:23:39 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;" width="30%"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;APM Implementation and Performance Management&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;7.11&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;Problem&lt;/h1&gt;
&lt;p&gt;User initially reported that ABC Criticality was not updating in SAP via SAP Interoperability when consequence priority was updated in APM. It was found that the Job Processing Service was actually stuck on a Process Job running the SAP FLOC and Equipment Dataload and wasn&amp;#39;t getting to the outbound abc criticality update. The code was reporting that the abc criticality didn&amp;#39;t map to the consequence priority but this is because it wasn&amp;#39;t actually loaded to the stub object. After troubleshooting with the user and doing some local experimentation we were able to replicate the same error message by leaving the SAP External Data Provider Crenentials blank;&lt;br /&gt;&amp;quot;2019-03-18 19:27:10.0697Z Error BENTLEY\APMServer$ Ivara.EXPLink.IVSTAGE.DataLoaderAssetSAPFLOCDataExchangeJob [33] Failed to extract floc records from SAP EXCEPTION OCCURRED:ObjectDeletedException An attempt was made to access an object (CLSID:1000031392 OID:1)that has been deleted.&amp;nbsp;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.OQ.ObjectResolver.get_UnManagedCaxContainerPtr()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.OQ.oCAXContainerObject.IsMemberRelevant(Int32 iMemberID)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.EXD.SAPPlant.get_Plant()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.IVSTAGE.DataLoaderAssetSAPFLOCDataExchangeJob.OnPreProcessJob() in F:\SRC\hotfixes\7.11.0.203\APM\DataLoader\DataLoader&amp;quot;.&lt;/p&gt;
&lt;p&gt;The true problem was that the Process Job was failing to update the APM SAP Stub object when attempting to run the dataload due to missing/bad cached SAP username and password.&lt;/p&gt;
&lt;h1&gt;Solution&lt;/h1&gt;
&lt;p&gt;We cleared the cached credentials by switching between Shared and Per User options and restarting the services. We found that&amp;nbsp;occasionally when&amp;nbsp;refreshing the Process Job service that the credentials in the SAP External Data Provider were being nulled out. We believe that this may be a consequence of switching between Per User and Shared authentication types on the External Data Provider and running a service refresh from the Enterprise view &amp;gt; Services tab.&lt;br /&gt;Once the SAP credentials for the SAP External Data Provider were properly set and cached, the User&amp;#39;s Process Jobs for SAP FLOC dataload and SAP Equipment dataload was running successfully after the session and the outbound SAP ABC Criticality was being updated properly.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-02-43/7026.NewLogo.png"&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: apm, APM Implementation and Performance Management, FLOC Dataloader, Equipment Dataloader, SAP Interoperability, ABC Criticality, SAP&lt;/div&gt;
</description></item><item><title>SAP Interoperability (gateway) fails to run SAP FLOC Dataload and ABC Criticality update due to bad/missing cached SAP credentials</title><link>https://communities.bentley.com/products/assetwise/asset_performance_management/w/wiki/41835/sap-interoperability-gateway-fails-to-run-sap-floc-dataload-and-abc-criticality-update-due-to-bad-missing-cached-sap-credentials/revision/2</link><pubDate>Wed, 02 Dec 2020 19:31:15 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6245966d-8aff-4b5f-b92c-8fff1c9dccb8</guid><dc:creator>Deborah Gardiner</dc:creator><comments>https://communities.bentley.com/products/assetwise/asset_performance_management/w/wiki/41835/sap-interoperability-gateway-fails-to-run-sap-floc-dataload-and-abc-criticality-update-due-to-bad-missing-cached-sap-credentials#comments</comments><description>Revision 2 posted to Asset Reliability | AssetWise APM Wiki by Deborah Gardiner on 12/2/2020 7:31:15 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;" width="30%"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;APM Implementation and Performance Management&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;7.11&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;Problem&lt;/h1&gt;
&lt;p&gt;User initially reported that ABC Criticality was not updating in SAP via SAP Interoperability when consequence priority was updated in APM. It was found that the Job Processing Service was actually stuck on a Process Job running the SAP FLOC and Equipment Dataload and wasn&amp;#39;t getting to the outbound abc criticality update. The code was reporting that the abc criticality didn&amp;#39;t map to the consequence priority but this is because it wasn&amp;#39;t actually loaded to the stub object. After troubleshooting with the user and doing some local experimentation we were able to replicate the same error message by leaving the SAP External Data Provider Crenentials blank;&lt;br /&gt;&amp;quot;2019-03-18 19:27:10.0697Z Error BENTLEY\APMServer$ Ivara.EXPLink.IVSTAGE.DataLoaderAssetSAPFLOCDataExchangeJob [33] Failed to extract floc records from SAP EXCEPTION OCCURRED:ObjectDeletedException An attempt was made to access an object (CLSID:1000031392 OID:1)that has been deleted.&amp;nbsp;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.OQ.ObjectResolver.get_UnManagedCaxContainerPtr()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.OQ.oCAXContainerObject.IsMemberRelevant(Int32 iMemberID)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.EXD.SAPPlant.get_Plant()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.IVSTAGE.DataLoaderAssetSAPFLOCDataExchangeJob.OnPreProcessJob() in F:\SRC\hotfixes\7.11.0.203\APM\DataLoader\DataLoader&amp;quot;.&lt;/p&gt;
&lt;p&gt;The true problem was that the Process Job was failing to update the APM SAP Stub object when attempting to run the dataload due to missing/bad cached SAP username and password.&lt;/p&gt;
&lt;h1&gt;Solution&lt;/h1&gt;
&lt;p&gt;We cleared the cached credentials by switching between Shared and Per User options and restarting the services. We found that&amp;nbsp;occasionally when&amp;nbsp;refreshing the Process Job service that the credentials in the SAP External Data Provider were being nulled out. We believe that this may be a consequence of switching between Per User and Shared authentication types on the External Data Provider and running a service refresh from the Enterprise view &amp;gt; Services tab.&lt;br /&gt;Once the SAP credentials for the SAP External Data Provider were properly set and cached, the User&amp;#39;s Process Jobs for SAP FLOC dataload and SAP Equipment dataload was running successfully after the session and the outbound SAP ABC Criticality was being updated properly.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-02-43/7026.NewLogo.png"&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: apm, APM Implementation and Performance Management, FLOC Dataloader, Equipment Dataloader, SAP Interoperability, ABC Criticality, SAP&lt;/div&gt;
</description></item><item><title>SAP Interoperability (gateway) fails to run SAP FLOC Dataload and ABC Criticality update due to bad/missing cached SAP credentials</title><link>https://communities.bentley.com/products/assetwise/asset_performance_management/w/wiki/41835/sap-interoperability-gateway-fails-to-run-sap-floc-dataload-and-abc-criticality-update-due-to-bad-missing-cached-sap-credentials/revision/1</link><pubDate>Thu, 04 Apr 2019 21:07:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6245966d-8aff-4b5f-b92c-8fff1c9dccb8</guid><dc:creator>Joseph Marin</dc:creator><comments>https://communities.bentley.com/products/assetwise/asset_performance_management/w/wiki/41835/sap-interoperability-gateway-fails-to-run-sap-floc-dataload-and-abc-criticality-update-due-to-bad-missing-cached-sap-credentials#comments</comments><description>Revision 1 posted to Asset Reliability | AssetWise APM Wiki by Joseph Marin on 4/4/2019 9:07:36 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;" width="30%"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;APM Implementation and Performance Management&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;7.11&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;Problem&lt;/h1&gt;
&lt;p&gt;User initially reported that ABC Criticality was not updating in SAP via SAP Interoperability when consequence priority was updated in APM. It was found that the Job Processing Service was actually stuck on a Process Job running the SAP FLOC and Equipment Dataload and wasn&amp;#39;t getting to the outbound abc criticality update. The code was reporting that the abc criticality didn&amp;#39;t map to the consequence priority but this is because it wasn&amp;#39;t actually loaded to the stub object. After troubleshooting with the user and doing some local experimentation we were able to replicate the same error message by leaving the SAP External Data Provider Crenentials blank;&lt;br /&gt;&amp;quot;2019-03-18 19:27:10.0697Z Error BENTLEY\APMServer$ Ivara.EXPLink.IVSTAGE.DataLoaderAssetSAPFLOCDataExchangeJob [33] Failed to extract floc records from SAP EXCEPTION OCCURRED:ObjectDeletedException An attempt was made to access an object (CLSID:1000031392 OID:1)that has been deleted.&amp;nbsp;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.OQ.ObjectResolver.get_UnManagedCaxContainerPtr()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.OQ.oCAXContainerObject.IsMemberRelevant(Int32 iMemberID)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.EXD.SAPPlant.get_Plant()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Ivara.EXPLink.IVSTAGE.DataLoaderAssetSAPFLOCDataExchangeJob.OnPreProcessJob() in F:\SRC\hotfixes\7.11.0.203\APM\DataLoader\DataLoader&amp;quot;.&lt;/p&gt;
&lt;p&gt;The true problem was that the Process Job was failing to update the APM SAP Stub object when attempting to run the dataload due to missing/bad cached SAP username and password.&lt;/p&gt;
&lt;h1&gt;Solution&lt;/h1&gt;
&lt;p&gt;We cleared the cached credentials by switching between Shared and Per User options and restarting the services. We found that&amp;nbsp;occasionally when&amp;nbsp;refreshing the Process Job service that the credentials in the SAP External Data Provider were being nulled out. We believe that this may be a consequence of switching between Per User and Shared authentication types on the External Data Provider and running a service refresh from the Enterprise view &amp;gt; Services tab.&lt;br /&gt;Once the SAP credentials for the SAP External Data Provider were properly set and cached, the User&amp;#39;s Process Jobs for SAP FLOC dataload and SAP Equipment dataload was running successfully after the session and the outbound SAP ABC Criticality was being updated properly.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-18/NewLogo.png"&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: apm, APM Implementation and Performance Management, FLOC Dataloader, Equipment Dataloader, SAP Interoperability, ABC Criticality, SAP&lt;/div&gt;
</description></item></channel></rss>