Skip to content

Structure Package type not taken from Git repository in nested package setup during Pull #6923

Description

@eoud

Good day,

When my original nested package setup is:

  • ZDEV (Structure Package)
    -- ZBC (Structure Package)
    -- -- ZBC_ABA (Structure Package)
    -- -- -- ZBC_ABA_ATF (Development Package)

All packages in the GitHub repository will reflect the correct types after staging, and I create the ZDEV package manually in the target system. So far so good.

However, when pulling the repository (Folder Logic = Full) in a new system the following error is given:
image

Besides that the error message (import of object...failed) is incorrect, since the package actually are imported, they are imported as type Development Packages, thus ignoring the source XML values for:
<RESTRICTED>X</RESTRICTED>
<MAINPACK>S</MAINPACK>

In the target system this then results in:

  • ZDEV (Structure Package)(as manually created beforehand)
    -- ZBC (Development Package)
    -- -- ZBC_ABA (Development Package)
    -- -- -- ZBC_ABA_ATF (Development Package)

For both the stage and pull I've used the standalone version: abapmerge 0.16.0 - 2024-04-24T14:41:46.792Z and both SAP systems are S4H op2023.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciFindings from CI test runslimitationKnown functional gap (PRs welcome)serializationTranslate between object types and files

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions