Set up a new extraction Try it out - Set Up an Extraction
It's time to set up an extraction for your P2P connection. Are you ready? If you don't have a connection yet, go to the "Connect to Systems" course and have a look at the Process Connector and Extractors lessons. Here are the connection details again in case you need them - make sure all entries are correct before staring your extraction work.
Name: P2P Data Connection Type: MySQL Host: academymysql.cluster-ro-ckynnbglhixw.eu-central-1.rds.amazonaws.com Port: 3306 Database Name: p2p Username: p2p PW: Celonis1234!
As usual, use your personal training environment to complete this exercise.
Challenge yourself with the Basic Instructions. If you want to check your work or need help, have a look at the Steps.
Basic Instructions In your Data Pool (Get Data into Celonis Training / or the name you gave it ), create a new Data Job called "P2P Data Job" based on your P2P Connection
Create a new Extraction called "P2P Raw Data". Use the visual editor. Add all tables available for your connection Add the following filters to the respective tables: TABLE NAME FILTERS EKKO
Time Filter → Creation date filter:
AEDAT >= June 1st 2014 00:00 / 12 AM
EKPO
Join Configuration: Join table EKKO
Custom join condition: EKPO.MANDT = EKKO.MANDT AND EKPO.EBELN = EKKO.EBELN
Filter on joined table: EKKO.AEDAT >= '2014-06-01'
EBAN
Time Filter → Creation date filter: BADAT >= April 1st 2014 00:00 / 12 AM
CDHDR
Time Filter → Creation date filter: UDATE >= June 1st 2014 00:00 / 12 AM
CDPOS
Join Configuration: Join table CDHDR
Custom join condition:
CDPOS.MANDANT = CDHDR.MANDANT AND
CDPOS.OBJECTCLAS = CDHDR.OBJECTCLAS AND
CDPOS.OBJECTID = CDHDR.OBJECTID AND
CDPOS.CHANGENR = CDHDR.CHANGENR
Filter on joined table: CDHDR.UDATE >= '2014-06-01'
Other tables
For the tables LFA1, DD02T, DD03M no extra filtering is needed.
Save and run your extraction Steps
Create a new Data Job in your Data Pool called "P2P Data Job" and select the P2P Data Connection
In your Data Job, create a new Extraction called "P2P Raw Data" by clicking "Add Tables" (Don't use the template unless you are tight on time!). Select the "Visual Editor".
Add all tables available for your connection and save.
Not seeing tables but instead something like this error or no tables at all?
This is mostly due to your schema not being accurate. Go back and double check your connection details.
Add the following filters to the respective tables:
EKKO
Time Filter → Creation date filter:
AEDAT >= June 1st 2014 00:00 (12 AM)
(Be careful here, the date picker may display the date differently depending on your browser and language settings—this is nothing to worry about as long as you select the right date)
EKPO
Join Configuration: Join table EKKO
Custom join condition: EKPO.MANDT = EKKO.MANDT AND EKPO.EBELN = EKKO.EBELN
Filter on joined table: EKKO.AEDAT >= '2014-06-01'
(Psssst: make sure to enter the date here exactly as displayed as there is no date picker here)
EBAN
Time Filter → Creation date filter: BADAT >= April 1st 2014, 12 AM
CDHDR
Time Filter → Creation date filter: UDATE >= June 1st 2014, 12 AM
CDPOS
Join Configuration: Join table CDHDR
Custom join condition:
CDPOS.MANDANT = CDHDR.MANDANT AND
CDPOS.OBJECTCLAS = CDHDR.OBJECTCLAS AND
CDPOS.OBJECTID = CDHDR.OBJECTID AND
CDPOS.CHANGENR = CDHDR.CHANGENR
Filter on joined table: CDHDR.UDATE >= '2014-06-01'
For the tables LFA1, DD02T, DD03M no extra filtering is needed.
Run your extraction, making sure to select "Full Load" (note you can ignore the "potential issues found.." warning as these refer to the lack of delta filters.:
Results & Troubleshooting Failed extraction?
It could happen that your extraction partially fails due to a high load on our training server—we are currently working on solving this issue. As a workaround, try extracting only the failed tables:
Check the logs and see which table(s) failed. You can simply execute another extraction but select only the failed tables.
Successful!
If all went well, your extraction task ran successfully and you extracted the following number of records per table:
TABLE NAME COUNT CDHDR 17,002 CDPOS 34,648 DD02T 18 DD03M 1,474 EBAN 137 EKKO 14,067 EKPO 28,360 LFA1 2,058
There are two simple ways you can check the extracted records.
Check the logs:
Execute a SELECT COUNT(*) FROM {Table_Name} in a transformation task.
Numbers not quite accurate?
If the numbers are off, go back and check your extraction on the specific table.
Getting stuck with errors? An issue may have snuck into your extraction filters. You can delete your extraction, create a fresh one using the "P2P Raw Data" Template, and run it.