Symptom
The Sales Order has Header and Item Long Text maintained that need to be extracted but there is no CDS View released, also the CDS view for Long Text is not available in the SAP API HUB https://api.sap.com/ or app "View Browser".
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- It is necessary to extract the long text in the sales orders header and item data:
Cause
Instead of using a CDS View, you can extract the header and item texts for sales orders using our API Sales Order (A2X)
Resolution
Consider using API Sales Order (A2X) to extract the header and item texts for the sales orders:
- /A_SalesOrderItem(SalesOrder='{SalesOrder}',SalesOrderItem='{SalesOrderItem}')/to_Text (Reads the text of a sales order item).
- /A_SalesOrder('{SalesOrder}')/to_Text (Reads the header texts of a sales order).
See Also
Influence Opportunity Lists / SAP S/4HANA Cloud for Sales
SAP Help Documentation / Sales Order (A2X)
There is currently an Influence Idea for this requirement also which is being considered in the long term scenario: CDS View for Long Text.
Keywords
SAP Knowledge Base Article - Public