on 2020 Oct 21 6:16 AM
Hello All
I am trying to extend standard CDS view C_PURCHASEORDERTP using below code
extend view C_PurchaseOrderTP with ZC_PurchaseOrderTP_EXT {
@UI.hidden: true @ObjectModel: { readOnly: true }
' ' as IsArchive
}
There is no error while extension but after activation I am getting error 'Error in entity 'C_PURCHASEORDERTP(CDS)': The table does not contain a row with the specif' in odata service :"MM_PUR_PO_MAINTAIN_V2" and also CDS views are lost under node Exposures via SADL .
Has anyone faced similar issue and have any idea how to fix it ?

Request clarification before answering.
Dear Tisha Dharod,
Unfortunately, it seems to be taking longer than usual for your question to be answered. You might want to try an alternative route to speed things up.
Please check if a similar question has already been asked in the Community. We have found that sometimes questions that have been answered before are no longer receiving responses.
The easiest way to do this, is to visit the All Questions page and search for your specific topic.
You could also check the SAP Support Portal and search for SAP Notes, SAP Knowledge Base Articles and more.
If all of this doesn’t work, I would suggest that you create a support ticket. All you need to do is log onto the SAP Support Portal with your S-user ID and password: http://service.sap.com/message
Thanks,
Marvin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also got the same type of error
Error in entity 'C_SLSPRICINGCONDITIONRECORDTP(CDS)': Element ZZPSTYV missing in the entit
I followed as mentioned in point 2, I found that the field was missing in the draft table once maintained issue was resolved
1) Click on Message information and see the full message there may be more details about which object is missing
or
2) Go to IWFND/MAINT_SERVICE code search for the service name and refresh the metadata it gives a dump
go to ST22 and analyze the dump description there you can find a missing table or draft table where you need to append/extend and add the same field that you extended via CDS view
However extending the CDS view directly is not a good practice or approach in new versions of S4. You can make use of Key user extensibility custom field, logic approach which is a no-code-low code approach clean core strategy framework is capable of adding new fields in all dependent objects
| User | Count |
|---|---|
| 22 | |
| 15 | |
| 14 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.