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

How do I read text from BP Role Customer from S/4HANA Public Cloud?

mpredolim
Participant
0 Likes
712

Hi Gurus,

I must read the content from BP Role Customer and get text from Shipping Instructions for a given custom CDS view column that I´m creating now but when I try to use a wrapper class using the function module READ_TEXT it says it´s not permitted:

mpredolim_0-1734716882972.png

Is there any workaround for it please?

Thanks in advance,
Mauricio Predolim

Accepted Solutions (0)

Answers (1)

Answers (1)

Enda
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello @mpredolim 

Unfortunately it is not possible to call function modules from CDS views

it is not possible to read SAPscript texts from a CDS view. The reason is that the content of the texts is stored in a special packed format in the database which can only be unpacked by ABAP command IMPORT FROM DATABASE. Therefore, reading the content of the texts is only possible using ABAP. The database itself is not able to do this.

 

Please submit a feature request if you would like the functionality provided in a future release by 

following the KBA 2963059 ( https://launchpad.support.sap.com/#/notes/2963059 )

 

Best Regards

Enda