abapGit icon indicating copy to clipboard operation
abapGit copied to clipboard

Problem importing Flight Demo (2023 Branch)

Open mydoghasfleas opened this issue 1 year ago • 4 comments
trafficstars

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: https://github.com/SAP-samples/abap-platform-refscen-flight/issues/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 avatar May 10 '24 09:05 mydoghasfleas

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 avatar May 10 '24 09:05 mydoghasfleas

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 avatar May 10 '24 09:05 mydoghasfleas

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: https://github.com/SAP-samples/abap-platform-refscen-flight/issues/36

mydoghasfleas avatar May 10 '24 10:05 mydoghasfleas

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

mbtools avatar May 11 '24 06:05 mbtools

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?

mydoghasfleas avatar May 13 '24 05:05 mydoghasfleas

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

mbtools avatar May 13 '24 07:05 mbtools

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 avatar May 13 '24 08:05 mydoghasfleas

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

image

mydoghasfleas avatar May 15 '24 06:05 mydoghasfleas

@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.

SugguSandeep29 avatar May 15 '24 09:05 SugguSandeep29

Closing this in favor of https://github.com/SAP-samples/abap-platform-refscen-flight/issues/36

mbtools avatar May 15 '24 11:05 mbtools