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

Problem importing Flight Demo (2023 Branch) #6927

Closed
mydoghasfleas opened this issue May 10, 2024 · 10 comments
Closed

Problem importing Flight Demo (2023 Branch) #6927

mydoghasfleas opened this issue May 10, 2024 · 10 comments
Labels
question Further information is requested serialization Translate between object types and files

Comments

@mydoghasfleas
Copy link

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: SAP-samples/abap-platform-refscen-flight#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

Sorry, after documenting this here, I remembered that this should probably go to SAP-samples/abap-platform-refscen-flight, so I have logged it there, referencing this one: SAP-samples/abap-platform-refscen-flight#36

@mbtools mbtools added the question Further information is requested label May 11, 2024
@mbtools
Copy link
Member

mbtools commented May 11, 2024

Please test with https://github.com/abapGit-tests/NROB to see if importing number ranges works in general.

@mbtools mbtools added the serialization Translate between object types and files label May 11, 2024
@mydoghasfleas
Copy link
Author

Please test with https://github.com/abapGit-tests/NROB to see if importing number ranges works in general.

@mbtools So just to confirm: How do I use this? Is this a plugin for abapGit? Do I import this with abapGit and then is the functionality available?

@mbtools
Copy link
Member

mbtools commented May 13, 2024

It's just a test repo. Pull it into your system with abapGit. Does it create the number range object correctly?

@mydoghasfleas
Copy link
Author

Ah, understood, thanks @mbtools.

I tested it and it successfully pulled the NRO from a zip file and created it on the system:

image

@mydoghasfleas
Copy link
Author

@mbtools Can any of the settings, when creating the repository, have anything to do with the problems I am experiencing?

image

@SugguSandeep29
Copy link

@mbtools Can any of the settings, when creating the repository, have anything to do with the problems I am experiencing?

image

Hi @mydoghasfleas

That's not a problem, it's your choice

Soon after bringing the package on abapGit Platform, Operation Need to perform (Advanced > Activate Objects)
Once it's done need to perform (Push or Pull) Offline/Online

Thanks,
Suggu Sandeep.

@mbtools
Copy link
Member

mbtools commented May 15, 2024

Closing this in favor of SAP-samples/abap-platform-refscen-flight#36

@mbtools mbtools closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested serialization Translate between object types and files
Development

No branches or pull requests

3 participants