on 2021 Jun 20 7:56 AM
Hello CAP enthusiastic,
I wonder how to load initial test data (CSV) to nested entities and compositions of many.
Request clarification before answering.
You can also use a CSV file.
Let’s say you have a namespace named test. Your initial data for your transaction would be in a file called test-transaction.csv.
Now, using the lines as an example, you would need to create a test.transaction-lines.csv file.
Note that you need to add an up__id reference in this file to create your lines as part of the correct transaction.
Best regards
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Find an example here: sap.capire.orders-Orders_Items.csv
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For the visual learners out there I've recorded a short video on this: https://www.youtube.com/watch?v=a2bGQ6GZCwY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
11 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.