2 weeks ago
Hi everyone,
we have to print purchasing text from the material master in the form PP_MOR_DATA_LIST in SAP public cloud. Unfortunately, the CDS-Views for the product purchase text are not yet available or released in the public cloud.
Has anyone found a workarround or an alternative way to include this text in the form?
Any hints or best practices woult be greatly appreciated.
Thanks an best regards
Manuela
Request clarification before answering.
Hello @MAHOE
Thank you for your question.
Have a look at these references, they provide more detailed guidance:
Purchase Text, Custom Business Objects, Extensibility, Using the Extensibility Wizard for SAP S/4HANA Cloud Public Edition.
In summary, you are right, in public cloud, the standard CDS view for Material Purchase Texts is not released for consumption in custom forms like PP_MOR_DATA_LIST. The clean-core approach in the public cloud limits this due to data privacy reasons. However, there are a few clean core, fully supported workaround you can use depending on your functional scope or reporting needs. I recommend you use the Communication Arrangement with Released API. You can extract material purchasing text data through the released OData API: API_PRODUC_PURCHASE_TEXT_SRV
Option 1: Open the Communication Arrangements app
Make use of SAP_COM_0009 (Product Integration) to create an arrangement scenario
Call the API endpoint /A_ProductPurchaseText to read purchasing texts by product and Language.
Store the result in a Custom Busines Object or a Custom CDS View.
Extend your form PP_MOR_DATA_LIST by using Custom Fields and Logic à Data Source Extension to include this CBO/CDS view.
Option 2 is to maintain a Custom Business Object with material and text fields if you prefer internal text control without API dependencies.
The 3rd option is to use Standard Text Determination if your purchasing texts are static or reused frequently.
Best regards
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.