on 04-03-2023 8:16 AM
Hi,
In a RAP education video i have seen an example and i am trying to do the same steps to be able to learn RAP.
In the video a CDS view entity was created and it gets the fix values inside a domain from DDIC.
I did the same but when i try "Open with -> Data Preview", i get nothing.
These are the values inside the domain.
I have seen a comment about the solution which recommends to add an entry in the table ABAP_LANGU_SWCMP. But i have no idea how to do it and which entry to create.
If you share any idea i would appreciate.
Best Regards
Customer domains can be found in View DDCDS_CUSTOMER_DOMAIN_VALUE and _T, when the domain is in a package, which itself is preferably part of a cloud ready SW-Component.
The reason is, that the underlying View ARS_OBJECTS_ALL_SW_COMP_SCP only finds objects which are in a customer software component.
IN 2020 only customer domains that belong to a cloud ready package are found, not every defined domain.
The package could for example belong to Z_CUSTOMER_DEVELOPMENT.
The Software component should also be ZCUSTOM_DEVELOPMENT. I used good old se80 to assign the SW-Component.
To check if that assigning is needed, please use underlying view ARS_OBJECTS_ALL_SW_COMP_SCP if your object is listed using SQL Console in ADT. If it is NOT listed, adjust as described.
TO check in sql console if the object can be found:
SELECT
ARS_OBJECTS_ALL_SW_COMP_SCP~PROGRAM_ID,
ARS_OBJECTS_ALL_SW_COMP_SCP~OBJECT_TYPE,
ARS_OBJECTS_ALL_SW_COMP_SCP~OBJECT_NAME,
ARS_OBJECTS_ALL_SW_COMP_SCP~PACKAGE_NAME,
ARS_OBJECTS_ALL_SW_COMP_SCP~SOFTWARE_COMPONENT,
ARS_OBJECTS_ALL_SW_COMP_SCP~IS_LOCAL_SOFTWARE_COMPONENT,
ARS_OBJECTS_ALL_SW_COMP_SCP~IS_INSTALLED_COMPONENT
FROM
ARS_OBJECTS_ALL_SW_COMP_SCP
where object_name = '<ZZ_MY_OBJECT>'
AND OBJECT_TYPE = 'DOMA'.
So finally, DDCDS_CUSTOMER_DOMAIN_VALUE should give back a result:
For more details, see the comments on top of view ARS_OBJECTS_ALL_SW_COMP_SCP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.