on 2025 Jan 31 4:59 PM
In an ABAP RAP project, I want to read all instances of a BusinessObject via the EML statement "READ ..." like
READ ENTITIES OF zstore IN LOCAL MODE
ENTITY store
ALL FIELDS
WITH CORRESPONDING #( keys )
RESULT result_stores.but without providing any key, since I want to read all instances.
So, basically, I want to do a query "SELECT * FROM mytable" but as an EML statement for a BusinessObject.
Is that possible, and if so, how?
Request clarification before answering.
How about selecting directly from the underlying CDS view (zstore)?
One note: Draft entities cannot be retrieved using above method; therefore, if draft data is required, you need to retrieve them from the draft table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 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.