SAP-samples / cloud-abap-rap

This repository contains several examples how to develop with the ABAP RESTful Application Programming Model (RAP) in SAP BTP, ABAP environment.
Apache License 2.0
214 stars 61 forks source link

2022 branch - Table is inactive #19

Closed jrodriguez-rc closed 1 year ago

jrodriguez-rc commented 1 year ago

I'm trying to create a new project, in a package defined as "ABAP for Cloud Development" but it fails because it determines that the table is not active image

The table is active, but XCO determines the table doesn't exist

image

This is because XCO is applying a filter to check if the table is released

image
anfisc commented 1 year ago

Hi Jaime, thanks for pointing me to this issue. I have to change the logic of my generator. Currently it checks the language version of the package and as a result use the xco library version for either cloud or on prem. I have however to change this because the cloud version should only be used if the package is also member of a software component that has also language version 5. Since the cloud version of the xco library is only able to "see" the objects within the same software component the call currently fails. As a workaround you can change the language version of your package to "abap_standard". But I have to perform additional checks what such a change to my code means when it comes to generation of objects. Kind regards, Andre