on 2023 Jan 04 3:09 AM
Dear Experts,
We are trying to integrate SAP MII (http://12.123.123.123:50000/XMII/Menu.jsp) with SAP ME (http://12.123.123.123:50000/manufacturing/index.jsp).
Getting below error while trying to execute PAPI Interface Action Block.
While looking at SAP MII Logs, The error message is [Deprecated scope of type SERVERSESSION_AT_LEAST_ONE_APP_SCOPE is used! Please replace the usage of scopes with new mechanism based on "Cross application session communication API"]
* We have Oracle ERP in the landscape. So while configuring SAPMEINT, We have maintained some dummy data for SAP ERP portion in the wizard. Do we need SAP ERP system mandatory to configure in SAPMEINT?
*SAP ME and SAP MII running in same port (50000). Will it be a cause for this Issue?
Thanks & Regards,
Surender Kamaraj.
Request clarification before answering.
Please try SAP Note 3246765.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sergiy,
I understood from the note '3246765' the action block 'SAP ME PAPI Interface' using another custom action block 'Find SAPME PAPIs' to retrieve a list of available PAPIs from SAP ME. If nothing is found, Then we may get 'Premature End of File'.
So I tried executing 'Find SAPME PAPIs' action block directly to get list of available PAPIs form SAP ME and got an error message ‘[ERROR] [Find_SAP_ME_PAPIs_0]FindPAPIsAction.findPAPIs(): Error in searching PAPIs. The error is:Class not found: com.knsdev.service.ShopOrderUpdateInterface’
Action block ‘Find_SAP_ME_PAPIs’ is as configured as per below details.
Kindly let me know if there are any recommendations.
Thanks & Regards,
Surender Kamaraj.
Hello Sergiy,
Thanks for your comments.
The current version of SAP MEINT in our landscape is 15.3 (same as ME & MII - 15.3). Can we still deploy this patch SAPMEINT 15.4 SP000 00009 in our NW?
The SAP Notes (3246765) mentions the software components as SAPMEINT 15.4 & 15.5, and also the support package patches as SAPMEINT 15.4 SP000 00009.
Regarding the error message, You explained that the action block (Find_SAP_ME_PAPIs) is trying to look for SAP ME service definitions from our own custom package/project rather than SAP ME class. So where can we do the changes so that these action blocks will try to look for SAP ME service definition from SAP ME class.
Thanks & Regards,
Surender Kamaraj.
Sorry but I can hardly advise you on your custom project. You should address such question to ME SDK developers who can examine your system and your project.
As concerns the Note, it is applicable to 15.4 and 15.5 because the issue was originally reported against 15.4 and hance its fix was upported into 15.5. If the same issue happens to be reported in 15.3, then we will downport the same fix to 15.3. If you want to apply the fix as is, you will have to upgrade to 15.4/15.5.
For Deprecated scope of type SERVERSESSION_AT_LEAST_ONE_APP_SCOPE is used! Please replace the usage of scopes with new mechanism based on "Cross application session communication API"]
I think that error may be a red herring and not related to the issue you are seeing as we get it whenever we log in to our system (version 15.4.013).
As for MII and ME running on the same port 50000, this should be fine we have the same setup.
As for the premature end of file error I'm not much help so hopefully someone else can advise on that.
Cheers
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ben,
I understood from the note '3246765' the action block 'SAP ME PAPI Interface' using another custom action block 'Find SAPME PAPIs' to retrieve a list of available PAPIs from SAP ME. If nothing is found, Then we may get 'Premature End of File'.
So I tried executing 'Find SAPME PAPIs' action block directly to get list of available PAPIs form SAP ME and got an error message ‘[ERROR] [Find_SAP_ME_PAPIs_0]FindPAPIsAction.findPAPIs(): Error in searching PAPIs. The error is:Class not found: com.knsdev.service.ShopOrderUpdateInterface’
Action block ‘Find_SAP_ME_PAPIs’ is as configured as per below details.
Kindly let me know if there are any recommendations.
Thanks & Regards,
Surender Kamaraj.
User | Count |
---|---|
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.