New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor to support SAP Business Technology Platform (BTP, fka SAP Cloud Platform) ABAP Environment (Steampunk) #632
Comments
Any thoughts on how to handle the reports, dynpros and gui frontend stuff? Perhaps split the code into backend and examples? |
I've just tried another activation in 2008 and got this errors that might be easy to address: Use of Domain FLAG is not permitted. Use of Table DD02L is not permitted. and Use of Data Element DSTRING is not permitted. |
Hello Guys, |
For information, the errors above are partly addressed by:
|
yea, so above is the import errors, not the activation errors. Activation should give more errors, like #926 |
Hi Lars, can you please give an update with respect to Steampunk enablement? We are waiting for this since you announced Thanks & Regards, |
Hi Peter, stop waiting and start contributing. If you have the urgent need help to get it done. Best Regards |
yes, pull requests welcome 😄 https://blogs.sap.com/2022/01/03/steampunk-released-abap-api-first-draft-is-up/ is one tool to help the process, but its still lots of work, many issues to be tackled |
use of typegroup IXML is not permitted in Steampunk #632
use of typegroup IXML is not permitted in Steampunk #632
class |
For information, the list of 100 first syntax errors with the latest abap2xlsx version which includes the DDIC fixes (#1169); unfortunately, by error, I also imported the objects of the
|
I agree to go for a new repository for Cloud. It would be a new abap2xslsx with restricted features (e.g. abap2xlsx has several flaws too, many methods for the same thing, heterogeneous logic, public members which should be read-only or private, public instantiation while it should be private, etc. I guess that @attilaberencsi would like to be part of it (did the last PR for DDIC refactoring #1169). If you agree, then which version should we target, how to start a draft without making it public yet, should we first have all objects and then refactor one thing at a time, which name for the repository, etc.? (no idea at all as it is my first collaboration on a new GitHub project) NB: I started working on it in https://github.com/sandraros/abap2xlsx-cloud/tree/draft. |
Suggest:
|
Tried to relink it to the new cloud repo, but the code from Sandras @sandraros abap2xlsx-cloud repo was not taken over. Not sure about the reason. Whether this is normal, when we have objects never activated because of syntax issues, and we try to pull again some changes by others from GitHub froma new repo. The ideal would be if we could co-work on the same code base right in the system. Can You please advise what is the best to do in this case ? Thank You, Attila |
Just saw that now. Yes, the inactive objects are not pushed. I continued working on modifying the objects, activated many of them, and pushed again in my repository. I think it's impossible to push inactive objects, and impossible to force the activation of invalid objects. In fact, I don't know which approach to use. Lars approach is too complex for me, just because I don't know the stuff. By spending a few hours on it, I wanted to understand exactly what is to be done, even if we choose another solution. There are three important topics to convert to Cloud without redesigning anything:
I need a few hours to complete. After that, it will be more clear for me and I can discuss. No problem to restart from scratch using any better approach. |
😒 you are both at step 4 in my suggestion, do the easy stuff first, keeping compatibility the "SAP" approach is re-write everything. I think the worst approach is to re-write everything plus doing double maintenance |
@larshp okay I agree with your approach and I'll follow it. I was afraid of parts 2 and 4 (also upport you mentioned on Nov 19, 2021, maybe part 4). I propose to first create a branch "cloud" where to work and do the PRs. Concerning the points of your approach:
NB: concerning IXML, I have isolated my yesterday work (creation of all empty interfaces, classes, attributes and methods needed by abap2xlsx) in this repository/branch. |
I'm proposing to work now on replacing IXML classes/interfaces (not supported in ABAP Cloud) with equivalent ZCL_EXCEL*/ZIF_EXCEL* classes/interfaces which will use internally SXML (supported in ABAP Cloud). I'll do a PR which we can discuss. Please tell me if anybody has already started working on it, or proposes another solution. You can find the latest work here. |
FYI, I guess I need one more week to finish the main work at https://github.com/sandraros/ixml-cloud/tree/needed-by-abap2xlsx. After that, I will need a few more days to propose a PR at https://github.com/abap2xlsx/abap2xlsx. |
@attilaberencsi It's done, #1188: IXML is replaced with SXML (see PR description for more information). I tested it in a 7.52 system, not in a Cloud system yet. All test classes pass, also |
Cool, I'll try it at work on a 7.31 system and in the weekend on my MiniSAPs. |
Hi @attilaberencsi , do you have a possibility to get a BTP Free Tier? There you would have you own ABAP Enviornment and you will not run into this issues. |
thing is, IXML is supported in cloud, https://abapedia.org/steampunk-2305-api/if_ixml_document.intf.html needs some workarounds tho, guessing 100 or 200 lines of code will do |
Too bad, better late than never... 😓
|
Hi @gregorwolf, |
Hi @attilaberencsi, I've sent you an invite to the abapGit Slack so that we can have a private chat. Let's try something on my Free Tier ABAP Environment. |
After installing SAP Note 2684665 - Custom code checks for SAP Cloud Platform ABAP Environment the SAP Code Inspector (Transaction SCI) Check Variant with the following settings:
results in the following errors:
Let's start fixing this errors to get abap2xlsx running in Steampunk.
The text was updated successfully, but these errors were encountered: