cancel
Showing results for 
Search instead for 
Did you mean: 

Data from Virtual Element not getting fetched into OData API

PranavMahajan
Explorer
0 Kudos
229

We have implemented a logic in Custom CDS view to fetch Purchase order item text & Material PO text through Virtual Elements. But when we are Checking data in Odata API, virtual element data is not getting fetched.

We are using Std CDS for reference - I_PURCHASEORDERITEMNOTETP_2

Please help us & guide ! thanks !

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos
Added procure tag, Please remove other tags.
junwu
Active Contributor
0 Kudos
detail what you have done

Accepted Solutions (0)

Answers (1)

Answers (1)

Nitin-Chaurey
Discoverer
0 Kudos

Dear Junwn,

  I have created a custom cds based on Purchase Order and Line Items, now i wanted to read the long text from  i_purchaseorderitemnotetp_2 using join so i have create the virtual element on this cds  i_purchaseorderitemnotetp_2 and get the long text. 

i have generated the service by service definition and binding and i have created the communication user to use API in BTP  but when i check xml i am not able to get the long text in the API so the virtual element is not returning long text in API 
i need help to get the long text in API using Virtual element.

Thanks for your support
Nitin  

junwu
Active Contributor
0 Kudos
now i wanted to read the long text from i_purchaseorderitemnotetp_2 using join so i have create the virtual element on this cds i_purchaseorderitemnotetp_2 and get the long text. not able to follow this.
Nitin-Chaurey
Discoverer
0 Kudos
i want to read long text of PO how can i do that as it not permitting me to join in cds