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

Temporary errors during pull of package interfaces #6976

Open
NeumannJoerg opened this issue Jul 9, 2024 · 2 comments
Open

Temporary errors during pull of package interfaces #6976

NeumannJoerg opened this issue Jul 9, 2024 · 2 comments
Labels
limitation Known functional gap (PRs welcome)

Comments

@NeumannJoerg
Copy link

No description provided.

@NeumannJoerg
Copy link
Author

NeumannJoerg commented Jul 9, 2024

When trying to pull this repo https://github.com/SchwarzIT/sap-usi-authority-check I'm getting the following error messages:

Object PINF /USI/AUTH_P from different package Import of Object /USI/AUTH_MAIN_P failed
image
The package interface of the main package is reusing a package interface from a subpackage.
I assume there is an issue regarding the import/activation sequence of the objects.

Package /USI/AUTH_MAIN has no use access to package interface SAP_NWBC_INTERFACE Import of Object /USI/AUTH failed
Packages /USI/AUTH & /USI/AUTH_MAIN both declare a use access for package interface SAP_NWBC_INTERFACE and that package interface exists in the system. I have no clue, what might be the issue here.

Both error messages will disappear, if you just try importing often enough. You might need to restart abapGit during the process but after a few attempts it will work eventually.

@NeumannJoerg NeumannJoerg changed the title Temporary errors during pull pf package interfaces. Temporary errors during pull of package interfaces Jul 9, 2024
@mbtools
Copy link
Member

mbtools commented Jul 9, 2024

It's a known issue/gap in abapGit that it does not detect dependencies between objects of the same type. Therefore, import order might turn out to be incorrect leading to the observed behaviour.

This needs some effort to implement and test since it's at the core of the deserialize process. Not sure if and when it will get done.

* TODO: BEGIN extract to object handler method in ZIF_ABAPGIT_OBJECT:
* METHODS get_deserialize_order
* IMPORTING
* it_items TYPE ty_items_tt
* RETURNING
* VALUE(rt_requries) TYPE ty_items_tt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
limitation Known functional gap (PRs welcome)
Development

No branches or pull requests

2 participants