Skip to content
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

Failure to import 2023 Branch #36

Open
mydoghasfleas opened this issue May 10, 2024 · 5 comments
Open

Failure to import 2023 Branch #36

mydoghasfleas opened this issue May 10, 2024 · 5 comments

Comments

@mydoghasfleas
Copy link

My second attempt at importing the 2023 Branch failed.

Extensive report created as an issue on abapGit, but the question is, if you managed to successfully create the package with abapGit, why would it not work on our S/4 HANA 2023 system?

Please refer to the below:

abapGit/abapGit#6927

(If you like, I can repost everything here).

@mydoghasfleas
Copy link
Author

On our on-prem S/4 HANA 2023 system, I am importing the 2023 branch of the flight model demo (https://github.com/SAP-samples/abap-platform-refscen-flight) from an exported zip file, as our system is blocked by the firewall from accessing github.com.

This time, instead of using the version of the standalone abapGit program shipped with our S/4 HANA system, I have downloaded and installed the latest (1.128.0) and used that.

After apparently successfully importing and activating all objects, I still am missing some, like the number range objects contained in the package (e.g. /DMO/AGNCY).

I am experiencing the same issue as reported here: #26.

I can confirm that I see the number range objects listed when I pull from the local repository (zip), after checking they are in the repository too.

So I decide to pull again and am surprised that there are many other objects listed that would apparently be created (again):

image

Including the NROs:

image

To be safe, I first deselect everything and try (re)import only the NROs.

Again, this is apparently successful, but still the NROs are not created in our system.

image

(I'm pretty sure I saw it try deserialize someting other than those objects too, but I can't say 100% for sure).

I will not go further at this point as perhaps you can advise me on the best course of action, before I break something.

@mydoghasfleas
Copy link
Author

Strangely, I now see some objects not yet activated.

image

I choose Advanced -> Activate Objects, like before, and this time get a popup with a whole bunch of objects to activate.

image

Then I get a whole bunch of errors:

image

I think I will exit the program first to release those locks. Clicking back brings up the activation dialog again. I continue, and this time itself reports the errors:

image

So I cancel, and at this point, it is still doing something, I do not know what:

image

@mydoghasfleas
Copy link
Author

OK, so after getting out, I went back in to try and load the repo from the zip again.

By the way, when I created the offline repo this time, the name was somehow not adopted:

image

Now I am ready to pull again from the zip, but is it safe to try import all these objects?

image

image

This time, I throw caution to the wind and proceed with these objects. (I don't know what object type DDLX or SRVB is, but I do not see it in the dropdown in the TADIR selection either).

The question is of course, why did they not get pulled the first time?

Now I try activate again, but it stops (no object list dialog this time, by the way):

image

@mydoghasfleas
Copy link
Author

OK, so I have repeated documenting my experience here, copying everything from abapGit/abapGit#6927.

@mbtools
Copy link

mbtools commented May 15, 2024

Re: Folder logic

The repo is using PREFIX (see .abapGit.xml. To avoid issues, you should use the same when creating the repo in your system. Also keep "Ignore subpackages" off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants