Comments (15)
Hello @RohanAccenture - Thanks for reaching out to us on your query. I think your SAP system Netweaver version is less than 7.4 and this might be causing this syntax issue.
Also, We see that SDK includes method 'GET_CLASS' which exists as a part of interface 'ZIF_ADF_AZURE_DEFCONFIG' and its been implemented in class 'zcl_adf_service_default_config'.
Please could you try to fix this syntax error by declaring the variable 'classname' inside method 'CREATE' and Changing the code block inside method 'CLASS_CONSTRUCTOR' as shown below if your NetWeaver version < 7.4 and please let us know if it resolves the issue.
For method : 'CREATE'
Data classname type SEOCLNAME.
classname = m_service_config->get_classname( i_interface_type = interface_type ).
For method : 'CLASS_CONSTRUCTOR' as NEW keyword mayn't work in the version < 7.4
Comment out line : m_service_config = NEW zcl_adf_service_default_config( ).
Insert below lines of code
data : lo_ref1 type ref to zcl_adf_service_default_config.
CREATE OBJECT lo_ref1.
m_service_config = lo_ref1.
Thanks,
Krishna Chandra Dash
from abap-sdk-for-azure.
Hi @krdash,
we tried with the suggested code but still getting the error of Method "GET_CLASSNAME" is unknown or PROTECTED or PRIVATE.
Also, we are using S/4 1809 system so netweaver > 7.4 .
Attached screenshot for your reference.
from abap-sdk-for-azure.
Hi @RohanAccenture - If your SAP systems Netweaver system > 7.4 , then you shouldn't face this issue. However please could you check the attribute 'm_service_config' whether its referring to object reference type interface 'ZIF_ADF_AZURE_DEFCONFIG' under attribute section of class 'ZCL_ADF_SERVICE_FACTORY'. Also, please check the alias section and method section of implementation class 'zcl_adf_service_default_config'.
Please share the screen shot for further trouble shooting as we don't see any issue in our environment.
Thanks,
Krishna
from abap-sdk-for-azure.
Hi,
PFB the screenshots :-
from abap-sdk-for-azure.
Hi @RohanAccenture - Thanks for sharing the screen shots. As per current version of SDK, the attribute 'm_service_config' has been declared as 'Private' (please check below screen shot) . I think your code base is not in sync with the current version of SDK. Please could you sync up the changes again from our master branch code repository. It should resolve the issue.
and Also, please try to check once by changing the declaration as 'Private' for attribute 'm_service_config' of class 'zcl_adf_service_factory' before the sync up just to check if its working or not.
from abap-sdk-for-azure.
Hi ,
we tried changing the M_SERVICE_CONFIG visibility from PUBLIC to PRIVATE but still we are getting the same error. We checked the source code on GIT. It is exactly the same in our system. We could not find any relevant code related to GET_CLASSNAME method in the SRC repository.
from abap-sdk-for-azure.
Hi @RohanAccenture - Please find below screenshot of our current Source code repository in Github , which includes implementation of method 'GET_CLASSNAME ' in implementation class 'ZCL_ADF_SERVICE_DEFAULT_CONFIG' for file 'zcl_adf_service_default_config.clas.abap' under ZADF folder.
And as per the initial snapshots provided by you, attribute 'm_service_config' was declared as 'Public' which means that code base is not in sync with our source code repository as it was supposed to be reflected as 'Private' as per current code base in Github source code repository.
Request you to validate and refer the corresponding .class.abap file in our source code repository if there is any difference and try to pull the latest changes again into your system . If the issue still persists, please reach out to our team ABAP SDK for Azure [email protected] from your mail id, so that we can have quick trouble shooting session for resolving the issue.
Meanwhile please try to validate once as per below screen shots if it can help you to resolve the issue.
Thanks,
Krishna
from abap-sdk-for-azure.
Hi Krishna,
We are getting the following error while pulling the code as well as we get the message : 'Dynpro ZREST_SCREEN 0100 was activated'.
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_ADF_SERVICE failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_ADF_SERVICE_AAD failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_ADF_SERVICE_BLOB failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_ADF_SERVICE_COSMOSDB failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_ADF_SERVICE_EVENTHUB failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_ADF_SERVICE_KEYVAULT failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_ADF_SERVICE_OMS_LA failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_ADF_SERVICE_SERVICEBUS failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_REST_FRAMEWORK failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCL_REST_UTILITY_CLASS failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCX_ADF_SERVICE failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCX_ADF_SQLDB failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCX_HTTP_CLIENT_FAILED failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCX_INTERACE_CONFIG_MISSING failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object ZCX_REST failed
Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5
Import of object Z_RESTCALL_FROM_DB failed
Error from SEO_INTERFACE_CREATE_COMPLETE. Subrc = 5
Import of object ZIF_ADF_AZURE_DEFCONFIG failed
Error from SEO_INTERFACE_CREATE_COMPLETE. Subrc = 5
Import of object ZIF_REST_FRAMEWORK failed
Error from SEO_INTERFACE_CREATE_COMPLETE. Subrc = 5
Import of object ZIF_REST_HTTP_CONSTANTS failed
from abap-sdk-for-azure.
Hi @RohanAccenture - Please could you let us know if you are using 'Online' option of ZABAPGit for pulling the latest changes?
and please reach out to our team ABAP SDK for Azure [email protected] from your mail id, so that we can have quick trouble shooting session for resolving the issue.
Thanks,
Krishna
from abap-sdk-for-azure.
Hi Krishna,
We have reached out to ABAP SDK for Azure team, Waiting for their response.
from abap-sdk-for-azure.
Thanks @RohanAccenture for reaching out to us .
We are going to schedule a quick troubleshooting session for tomorrow in India Time. Hope this time would work for your team.
Thanks,
Krishna
from abap-sdk-for-azure.
Hi @RohanAccenture - We tried to replicate the issue by pulling the latest changes into one of our system and we didn't get any errors. However we came to know that the issue related to these errors might be due to objects locked in multiple Transport requests/Tasks.
Please could you check once and unlock your multiple existing open Transports/Tasks containing SDK objects before pulling latest changes through ZABAPGit. This means SDK objects shouldn't be captured in multiple open TRs/Tasks in your system while pulling the latest changes through ZABAPGit. Hope this would resolve your issue.
'Error from SEO_CLASS_CREATE_COMPLETE. Subrc = 5'
'Import of object ZCL_REST_UTILITY_CLASS failed'
Hi Lars @larshp- Please suggest us if there is any alternate way to fix this object locking issues.
Thanks,
Krishna
from abap-sdk-for-azure.
Hi Krishna,
Thanks for your support. We were able to deploy the SDK on our system after changing the package of required objects. We are able to send data from SAP to Azure EventHub.
We can see 1 message received in Eventhub but not sure how to check what data is received. Could you please help us with this.
from abap-sdk-for-azure.
Hi @RohanAccenture @microsoft/abapsdk - Thanks for the update that the syntax error has been resolved and you are able to deploy SDK in your system successfully. Please could you close this issue and open another issue regarding your new query as It would be helpful for us to track the same in a better way. Thanks, Krishna
from abap-sdk-for-azure.
Thanks for your support.
from abap-sdk-for-azure.
Related Issues (20)
- This repo is missing important files HOT 1
- Error updating where-used list for CLAS ZCX_ADF_SERVICE_GRAPH HOT 9
- Cosmos fix from PR #93 overridden HOT 3
- Dose ABAP SDK support upload Excel xls file to Blob? HOT 24
- [FEATURE] Alternative deployment option for the SDK without 3rd party dependency HOT 4
- Interface GRAPH not maintained in factory method HOT 2
- Generation ZREST_SCREEN terminated (see long text). Return code ZREST_SCREEN
- Event-Grid - Double json serialization by oref_eventgrid->set_eventgrid_schema HOT 3
- Http version unsupport error when transfer excel from sap to azure blob HOT 3
- How to avoid the problem of duplicate names of some tables caused by importing the Azure SDK. HOT 12
- Link Microsoft AI SDK for SAP HOT 3
- The HTTP version specified is not supported for this operation by the server HOT 2
- Error activating objects HOT 5
- consider renaming AUTH GROUP and AUTH ZGROUP
- Add Possibility to list all blobs in a container HOT 5
- Update repository content to current abapGit format HOT 1
- Import of object ZADF_CONFIGFG failed HOT 9
- Rename default branch to main
- Work with Office365 SharePoint Document Library HOT 9
- Activating ABAP SDK for Azure on SAP Cloud's Steampunk environment fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abap-sdk-for-azure.