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
abap language version prevents import into older system #5921
Comments
there is a long discussion at SAP/abap-file-formats#44, my opinion is that it should not be part of the XML try commenting the following line and check if it works, or perhaps it has to be |
or adjust the XML files manually to be "normal" unicode, which can be imported into both old systems and new Steaumpunk |
tho, perhaps we should add a workaround here to have it default to a supported UCCHECK |
ok. it's quite strange. the ABAP language version only exists for a DB-Tabe and ana table type, but not for the FM. ABAPGit imports both without problems. but not the FM. https://github.com/dominikpanzer/ABAP-Meterdata-Manager/search?q=language+version after reading the thread: it could also work if I just remove the XML-Tag from the objects? I'll try that. Thanks Lars! |
Steampunk uses the UCCHECK field for storing the langauge version, see https://github.com/dominikpanzer/ABAP-Meterdata-Manager/blob/main/src/zbilling_functions.fugr.saplzbilling_functions.xml#L14 try setting it to |
abapGit is not handling the language version consistently. for some objects the field is cleared (example DDLS and DDLX), for some it is serialized (PROG, CLAS, FUGR). Function group/modules have additional logic for includes: abapGit/src/objects/zcl_abapgit_object_fugr.clas.abap Lines 543 to 576 in 004885f
I missed the AFF discussion last year. The conclusion there looks ok to me (although it's still up to the object type implementation to include the version or not). AG doesn't follow this logic at the moment. I suggest centralizing the mapping logic in AG since it's now all over. Then add an exit so everyone can have their own release/repo/object-specific logic. |
Closing in favor of #6154 |
hi team,
a database table has ABAP language version 5 assigned because it was originally developed in an ABAP steampunk environment. I can't import a function group into older systems because of this. but the table should (hopefully) be compatible with older ABAP versions. here's the demo repo / issue dominikpanzer/ABAP-Meterdata-Manager#1
import via online repository is not possible.
import via offline/zip is possible, but the function group will be skipped
The text was updated successfully, but these errors were encountered: