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

TABL,VIEW: Simplify deserialize #5989

Merged
merged 5 commits into from
Jan 24, 2023
Merged

TABL,VIEW: Simplify deserialize #5989

merged 5 commits into from
Jan 24, 2023

Conversation

mbtools
Copy link
Member

@mbtools mbtools commented Jan 12, 2023

Over the years, various workarounds have been implemented to handle dependencies used in tables and views like foreign keys, references to classes or interfaces, or search helps. This led to a two-phase deserialize (DDIC and LATE). Nevertheless, some test scenarios were still failing (for example, function group with maintenance views).

I created a new test repo covering all these "DDIC dependency scenarios". It also covers dependencies between ABAP and DDIC. See repo and its readme.

image

After #3545, OO references are not a problem anymore and don't require two phases. It turns out that we don't need any of the work arounds and a single DDIC phase is sufficient to deserialize tables and views.

The test repo can be deserialized and uninstalled without problems. I will run a complete CI test but am confident that all will work well.

Closes #5451 (too)

Over the years, various workarounds have been implemented to handle dependencies used in tables and views like foreign keys, references to classes or interfaces, or search helps. This led to a two-phase deserialize (`DDIC` and `LATE`). Nevertheless, some test scenarios were still failing (for example, [function group with maintenance views](https://github.com/abapGit-tests/FUGR_maint_view_var)). 

I created a new test repo covering all these "DDIC dependency scenarios". It also covers dependencies between ABAP and DDIC. See [repo](https://github.com/abapGit-tests/TABL_ddic_integration) and its readme.

After #3545, OO references are not a problem anymore and don't require two phases. It turns out that we don't need any of the work arounds and a single DDIC phase is sufficient to deserialize tables and views. 

The test repo can be deserialized and uninstalled without problems. I will run a complete CI test but am confident that all will work well.
@mbtools mbtools added serialization Translate between object types and files bug Something isn't working labels Jan 12, 2023
@mbtools
Copy link
Member Author

mbtools commented Jan 22, 2023

Another CI run (will publish on Monday). This works well. No issues.

@mbtools mbtools marked this pull request as ready for review January 22, 2023 10:52
@mbtools mbtools merged commit 95f7844 into main Jan 24, 2023
@mbtools mbtools deleted the mbtools/tabl_view_deser branch January 24, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working serialization Translate between object types and files
Development

Successfully merging this pull request may close these issues.

TOBJ: abapGit CI fails
1 participant