cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to use GOS attachment URL in CDS view

S0026746840
Discoverer
0 Likes
832

I want to use GOS attachment URL in CDS View.

However, URL attached in GOS is stored in SOFFCONT1 as binery data, so that it cannot be used directly.

1, Can I use Function Module in CDS View?
    CDS View is used by DataSphere, so maybe I cannot use Virtual Element.

2, Is there any table that store URL text as text data?

 

Accepted Solutions (0)

Answers (1)

Answers (1)

juveria_sap_integrity
Active Participant
0 Likes

In S/4 systems, GOS doesn’t really distinguish between “URL” and “file” at storage level. Even when you attach a URL via GOS, it’s still persisted as SAPoffice content and ends up in SOFFCONT1 as binary, not as plain text. This is often missed.

You can’t call function modules or do binary‑to‑text conversion inside a CDS view, especially if the consumer is Datasphere. CDS is deliberately restricted, and virtual elements won’t help here either.

Be careful here: there is no standard table where GOS URLs are stored as clean text you can just select. If you need URLs in Datasphere, the usual approach is to change how they are created in the first place (store the URL as application data in your own table, not as a GOS attachment), or extract and convert them outside CDS (ABAP layer, ODP, or custom extraction). Otherwise you’re looking at a design limitation, not a missing join