You are on page 1of 124

1. ETL Documentation 1.1. Billing 1.1.1. KNKK_Cust_Credit_Limit_WF Table usage ADM_DS SD_DATA.KNKK_CREDIT_LIMIT SAP_DS KNKK 1.1.1.1.

KNKK_Cust_Credit_Limit_DF (Source) (Target)

KNKK_CREDIT_LIMIT

ADM_DS.KNKK_CREDIT_LIMIT.CUSTOMER_NUMBER = CUSTOMER_NUMBER Query.CUSTOMER_NUMBER = KNKK_Credit_Limit_R3DF.KUNNR Query.KUNNR = KUNNR Query.KUNNR = ltrim(KNKK.KUNNR, '0') CREDIT_CONTROL_AREA Query.CREDIT_CONTROL_AREA = KNKK_Credit_Limit_R3DF.KKBER Query.KKBER = KKBER Query.KKBER = KNKK.KKBER ADM_DS.KNKK_CREDIT_LIMIT.CREDIT_LIMIT = CREDIT_LIMIT Query.CREDIT_LIMIT = KNKK_Credit_Limit_R3DF.KLIMK Query.KLIMK = KLIMK Query.KLIMK = KNKK.KLIMK ADM_DS.KNKK_CREDIT_LIMIT.RECEIVABLES = RECEIVABLES Query.RECEIVABLES = KNKK_Credit_Limit_R3DF.SKFOR Query.SKFOR = SKFOR Query.SKFOR = KNKK.SKFOR

Customer Number 1 Customer Number 1 Customer Number 1 Credit control area Credit control area Credit control area Customer's credit limit Customer's credit limit Customer's credit limit Total receivables (for credit limit check) Total receivables (for credit limit check) Total receivables (for credit limit check)

ADM_DS.KNKK_CREDIT_LIMIT.SP_LIABILITY = Query.SP_LIABILITY = Query.SSOBL = Query.SSOBL = ADM_DS.KNKK_CREDIT_LIMIT.DWH_DATE = Query.DWH_Date =

SP_LIABILITY KNKK_Credit_Limit_R3DF.SSOBL SSOBL KNKK.SSOBL DWH_DATE to_date(sysdate(), 'YYYY.MM.DD')

Relevant special liabilities for credit limit check Relevant special liabilities for credit limit check Relevant special liabilities for credit limit check

Table usage ADM_DS SD_DATA.KNKK_CREDIT_LIMIT SAP_DS KNKK 1.1.2. SD_Billing_VBRK_WF Table usage ADM_DS SD_DATA.SD_BILLING_VBRK SAP_DS VBRK VBRP 1.1.2.1. SD_Billing_VBRK_DF (Source) (Source) (Comparison, Target) (Source) (Target)

SD_BILLING_VBRK

ADM_DS.SD_BILLING_VBRK.BILLING_NUMBER = BILLING_NUMBER Map_Update.BILLING_NUMBER = BILLING_NUMBER SD_BILLING_VBRK.BILLING_NUMBER = Key Query.BILLING_NUMBER = SD_Billing_VBRK_R3DF.VBELN Query.VBELN = VBELN Query.VBELN = VBRK.VBELN ADM_DS.SD_BILLING_VBRK.BILLING_ITEM = BILLING_ITEM Map_Update.BILLING_ITEM = BILLING_ITEM SD_BILLING_VBRK.BILLING_ITEM = Key Query.BILLING_ITEM = SD_Billing_VBRK_R3DF.POSNR Query.POSNR = POSNR Query.POSNR = VBRP.POSNR ADM_DS.SD_BILLING_VBRK.DELIVERY_NUMBER = DELIVERY_NUMBER Map_Update.DELIVERY_NUMBER = DELIVERY_NUMBER SD_BILLING_VBRK.DELIVERY_NUMBER = compare Query.DELIVERY_NUMBER = SD_Billing_VBRK_R3DF.VGBEL Query.VGBEL = VGBEL Query.VGBEL = VBRP.VGBEL ADM_DS.SD_BILLING_VBRK.CREATION_DATE = CREATION_DATE Map_Update.CREATION_DATE = CREATION_DATE SD_BILLING_VBRK.CREATION_DATE = compare Query.CREATION_DATE = SD_Billing_VBRK_R3DF.ERDAT Query.ERDAT = ERDAT Query.ERDAT = VBRK.ERDAT ADM_DS.SD_BILLING_VBRK.MODIFICATION_DATE = MODIFICATION_DATE Map_Update.MODIFICATION_DATE = MODIFICATION_DATE SD_BILLING_VBRK.MODIFICATION_DATE = compare Query.MODIFICATION_DATE = SD_Billing_VBRK_R3DF.AEDAT Query.AEDAT = AEDAT Query.AEDAT = VBRK.AEDAT ADM_DS.SD_BILLING_VBRK.STATUS_INVOICE = STATUS_INVOICE Map_Update.STATUS_INVOICE = STATUS_INVOICE SD_BILLING_VBRK.STATUS_INVOICE = compare Query.STATUS_INVOICE = SD_Billing_VBRK_R3DF.RFBSK Query.RFBSK = RFBSK Query.RFBSK = VBRK.RFBSK ADM_DS.SD_BILLING_VBRK.DWH_DATE = DWH_DATE Map_Update.DWH_DATE = DWH_DATE SD_BILLING_VBRK.DWH_DATE = not compared Query.DWH_DATE = to_date(SYSDATE(), 'yyyy.mm.dd')

Billing document Billing document Billing document

Billing item Billing item Billing item

Document number of the reference document Document number of the reference document Document number of the reference document

Date on which the record was created Date on which the record was created Date on which the record was created

Last changed on Last changed on Last changed on

Status for transfer to accounting Status for transfer to accounting Status for transfer to accounting

Map_Update.DELIVERY_ITEM_NUMBER = SD_BILLING_VBRK.DELIVERY_ITEM_NUMBER = Query.DELIVERY_ITEM_NUMBER = Query.DELIVERY_ITEM_NUMBER = Query.DELIVERY_ITEM_NUMBER =

DELIVERY_ITEM_NUMBER DELIVERY_ITEM_NUMBER compare SD_Billing_VBRK_R3DF.DELIVERY_ITEM_NUMBER DELIVERY_ITEM_NUMBER VBRP.VGPOS

Item number of the reference item Item number of the reference item Item number of the reference item

SD_BILLING_VBRK

ADM_DS.SD_BILLING_VBRK.BILLING_NUMBER = BILLING_NUMBER Map_Insert.BILLING_NUMBER = BILLING_NUMBER SD_BILLING_VBRK.BILLING_NUMBER = Key Query.BILLING_NUMBER = SD_Billing_VBRK_R3DF.VBELN Query.VBELN = VBELN Query.VBELN = VBRK.VBELN ADM_DS.SD_BILLING_VBRK.BILLING_ITEM = BILLING_ITEM Map_Insert.BILLING_ITEM = BILLING_ITEM SD_BILLING_VBRK.BILLING_ITEM = Key Query.BILLING_ITEM = SD_Billing_VBRK_R3DF.POSNR Query.POSNR = POSNR Query.POSNR = VBRP.POSNR ADM_DS.SD_BILLING_VBRK.DELIVERY_NUMBER = DELIVERY_NUMBER Map_Insert.DELIVERY_NUMBER = DELIVERY_NUMBER SD_BILLING_VBRK.DELIVERY_NUMBER = compare Query.DELIVERY_NUMBER = SD_Billing_VBRK_R3DF.VGBEL Query.VGBEL = VGBEL Query.VGBEL = VBRP.VGBEL ADM_DS.SD_BILLING_VBRK.CREATION_DATE = CREATION_DATE Map_Insert.CREATION_DATE = CREATION_DATE SD_BILLING_VBRK.CREATION_DATE = compare Query.CREATION_DATE = SD_Billing_VBRK_R3DF.ERDAT Query.ERDAT = ERDAT Query.ERDAT = VBRK.ERDAT ADM_DS.SD_BILLING_VBRK.MODIFICATION_DATE = MODIFICATION_DATE Map_Insert.MODIFICATION_DATE = MODIFICATION_DATE SD_BILLING_VBRK.MODIFICATION_DATE = compare Query.MODIFICATION_DATE = SD_Billing_VBRK_R3DF.AEDAT Query.AEDAT = AEDAT Query.AEDAT = VBRK.AEDAT ADM_DS.SD_BILLING_VBRK.STATUS_INVOICE = STATUS_INVOICE

Billing document Billing document Billing document

Billing item Billing item Billing item

Document number of the reference document Document number of the reference document Document number of the reference document

Date on which the record was created Date on which the record was created Date on which the record was created

Last changed on Last changed on Last changed on

Map_Insert.STATUS_INVOICE = SD_BILLING_VBRK.STATUS_INVOICE = Query.STATUS_INVOICE = Query.RFBSK = Query.RFBSK = ADM_DS.SD_BILLING_VBRK.DWH_DATE = Map_Insert.DWH_DATE = SD_BILLING_VBRK.DWH_DATE = Query.DWH_DATE = Map_Insert.DELIVERY_ITEM_NUMBER = SD_BILLING_VBRK.DELIVERY_ITEM_NUMBER = Query.DELIVERY_ITEM_NUMBER = Query.DELIVERY_ITEM_NUMBER = Query.DELIVERY_ITEM_NUMBER =

STATUS_INVOICE compare SD_Billing_VBRK_R3DF.RFBSK RFBSK VBRK.RFBSK DWH_DATE DWH_DATE not compared to_date(SYSDATE(), 'yyyy.mm.dd') DELIVERY_ITEM_NUMBER DELIVERY_ITEM_NUMBER compare SD_Billing_VBRK_R3DF.DELIVERY_ITEM_NUMBER DELIVERY_ITEM_NUMBER VBRP.VGPOS

Status for transfer to accounting Status for transfer to accounting Status for transfer to accounting

Item number of the reference item Item number of the reference item Item number of the reference item

Table usage ADM_DS SD_DATA.SD_BILLING_VBRK SAP_DS VBRK VBRP 1.1.3. S067_Credit_Limit_WF Table usage ADM_DS SD_DATA.S067_CREDIT_LIMIT SAP_DS (Target) (Source) (Source) (Comparison, Target)

S067 1.1.3.1. S067_Credit_Limit_DF

(Source)

S067_CREDIT_LIMIT

Query.Credit_control_area = Query.Credit_control_area = Query.Credit_control_area = ADM_DS.S067_CREDIT_LIMIT.CREDIT_ACCOUNT = Query.Credit_Account = Query.Credit_Account = Query.Credit_Account = ADM_DS.S067_CREDIT_LIMIT.CURRENCY = Query.Currency = Query.Currency = Query.Currency = ADM_DS.S067_CREDIT_LIMIT.OPEN_DELIVERY = Query.Open_Delivery = Query.Open_Delivery = Query.Open_Delivery = ADM_DS.S067_CREDIT_LIMIT.OPEN_BILL_DOCU = Query.Open_Bill_Docu = Query.Open_Bill_Docu = Query.Open_Bill_Docu = ADM_DS.S067_CREDIT_LIMIT.GUAR_OPEN_DELVY = Query.Guar_open_delvy = Query.Guar_open_delvy = Query.Guar_open_delvy = Query.Guaran_Open_BillDoc = Query.Guaran_Open_BillDoc = Query.Guaran_Open_BillDoc = ADM_DS.S067_CREDIT_LIMIT.DWH_DATE =

CREDIT_CONTROL_AREA S067_Credit_Limit_R3DF.Credit_control_area Credit_control_area S067.KKBER CREDIT_ACCOUNT ltrim(S067_Credit_Limit_R3DF.Credit_Account, '0') Credit_Account S067.KNKLI CURRENCY S067_Credit_Limit_R3DF.Currency Currency S067.CMWAE OPEN_DELIVERY S067_Credit_Limit_R3DF.Open_Delivery Open_Delivery S067.OLIKW OPEN_BILL_DOCU S067_Credit_Limit_R3DF.Open_Bill_Docu Open_Bill_Docu S067.OFAKW GUAR_OPEN_DELVY S067_Credit_Limit_R3DF.Guar_open_delvy Guar_open_delvy S067.AOLIW GUARAN_OPEN_BILLDOC S067_Credit_Limit_R3DF.Guaran_Open_BillDoc Guaran_Open_BillDoc S067.AOFAW DWH_DATE

Credit control area Credit control area Credit control area Customer's account number with credit limit reference Customer's account number with credit limit reference Customer's account number with credit limit reference Currency key of credit control area Currency key of credit control area Currency key of credit control area Open delivery credit value Open delivery credit value Open delivery credit value Open billing document credit value Open billing document credit value Open billing document credit value Guaranteed open delivery value Guaranteed open delivery value Guaranteed open delivery value Guaranteed open billing values Guaranteed open billing values Guaranteed open billing values

Query.DWH_DATE =

to_date(sysdate(), 'YYYY.MM.DD')

DWH Upload Date

Table usage ADM_DS SD_DATA.S067_CREDIT_LIMIT SAP_DS S067 1.1.4. Billing_CDC Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1AEO1 CE1ASO1 CE1CNO1 CE1DEO1 CE1FRO1 (Source) (Source) (Source) (Source) (Source) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target) (Source) (Target)

CE1JPO1 CE1KRO1 CE1NLO1 CE1PLO1 CE1SEO1 CE1SGO1 CE1UKO1 CE1WVO1 MARA T001 VBAP VBKD 1.1.4.1. BILL_FRO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Source) (Source) (Source) (Source) (Source) (Source) (Source) (Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1FRO1 MARA T001 VBAP VBKD 1.1.4.1.1. BILL_CE1FRO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1FRO1_R3DF.PALEDGER PALEDGER CE1FRO1.PALEDGER VRGAR BILL_CE1FRO1_R3DF.VRGAR VRGAR CE1FRO1.VRGAR VERSI BILL_CE1FRO1_R3DF.VERSI VERSI CE1FRO1.VERSI PERIO BILL_CE1FRO1_R3DF.PERIO PERIO CE1FRO1.PERIO PAOBJNR BILL_CE1FRO1_R3DF.PAOBJNR PAOBJNR CE1FRO1.PAOBJNR PASUBNR BILL_CE1FRO1_R3DF.PASUBNR PASUBNR CE1FRO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1FRO1_R3DF.BELNR BELNR CE1FRO1.BELNR POSNR BILL_CE1FRO1_R3DF.POSNR POSNR CE1FRO1.POSNR HZDAT BILL_CE1FRO1_R3DF.HZDAT HZDAT CE1FRO1.HZDAT GJAHR BILL_CE1FRO1_R3DF.GJAHR GJAHR CE1FRO1.GJAHR PERDE BILL_CE1FRO1_R3DF.PERDE PERDE CE1FRO1.PERDE WADAT BILL_CE1FRO1_R3DF.WADAT WADAT CE1FRO1.WADAT FADAT BILL_CE1FRO1_R3DF.FADAT FADAT CE1FRO1.FADAT BUDAT BILL_CE1FRO1_R3DF.BUDAT BUDAT CE1FRO1.BUDAT KNDNR BILL_CE1FRO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1FRO1.KNDNR, '0'), '-') ARTNR BILL_CE1FRO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1FRO1.ARTNR, '0'), '-') FKART BILL_CE1FRO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1FRO1.FKART FRWAE BILL_CE1FRO1_R3DF.FRWAE FRWAE CE1FRO1.FRWAE KURSF BILL_CE1FRO1_R3DF.KURSF KURSF CE1FRO1.KURSF KAUFN BILL_CE1FRO1_R3DF.KAUFN KAUFN CE1FRO1.KAUFN KDPOS BILL_CE1FRO1_R3DF.KDPOS KDPOS CE1FRO1.KDPOS BUKRS BILL_CE1FRO1_R3DF.BUKRS BUKRS CE1FRO1.BUKRS KOKRS BILL_CE1FRO1_R3DF.KOKRS KOKRS CE1FRO1.KOKRS WERKS BILL_CE1FRO1_R3DF.WERKS WERKS nvl(CE1FRO1.WERKS, '-') GSBER BILL_CE1FRO1_R3DF.GSBER GSBER CE1FRO1.GSBER VKORG BILL_CE1FRO1_R3DF.VKORG VKORG ifthenelse((CE1FRO1.VKORG = ' CE1FRO1.VKORG) VTWEG BILL_CE1FRO1_R3DF.VTWEG VTWEG nvl(CE1FRO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1FRO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1FRO1_R3DF.SPART SPART nvl(CE1FRO1.SPART, '01') RBELN BILL_CE1FRO1_R3DF.RBELN RBELN CE1FRO1.RBELN RPOSN BILL_CE1FRO1_R3DF.RPOSN RPOSN CE1FRO1.RPOSN PRCTR BILL_CE1FRO1_R3DF.PRCTR PRCTR CE1FRO1.PRCTR TIMESTMP BILL_CE1FRO1_R3DF.TIMESTMP TIMESTMP CE1FRO1.TIMESTMP WWMKT BILL_CE1FRO1_R3DF.WWMKT WWMKT CE1FRO1.WWMKT ABSMG_ME BILL_CE1FRO1_R3DF.ABSMG_ME ABSMG_ME CE1FRO1.ABSMG_ME ABSMG BILL_CE1FRO1_R3DF.ABSMG ABSMG CE1FRO1.ABSMG ERLOS BILL_CE1FRO1_R3DF.ERLOS ERLOS (CE1FRO1.ERLOS + CE1FRO1.VVATR) MRABA BILL_CE1FRO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1FRO1.MRABA RABAT BILL_CE1FRO1_R3DF.RABAT RABAT CE1FRO1.RABAT JBONU BILL_CE1FRO1_R3DF.JBONU JBONU CE1FRO1.JBONU AUSFR BILL_CE1FRO1_R3DF.AUSFR AUSFR CE1FRO1.AUSFR BRSCH BILL_CE1FRO1_R3DF.BRSCH BRSCH CE1FRO1.BRSCH VVMAT BILL_CE1FRO1_R3DF.VVMAT VVMAT CE1FRO1.VVMAT VVLAB BILL_CE1FRO1_R3DF.VVLAB VVLAB CE1FRO1.VVLAB VVPRO BILL_CE1FRO1_R3DF.VVPRO VVPRO CE1FRO1.VVPRO VVTPR BILL_CE1FRO1_R3DF.VVTPR VVTPR CE1FRO1.VVTPR WWSET BILL_CE1FRO1_R3DF.WWSET WWSET CE1FRO1.WWSET VVRBT BILL_CE1FRO1_R3DF.VVRBT VVRBT CE1FRO1.VVRBT COUNTRY BILL_CE1FRO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'FR' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1FRO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1FRO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1FRO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1FRO1.VKORG = ' '), CE1FRO1.BUKRS, CE1FRO1.VKORG) VTWEG nvl(CE1FRO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1FRO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1FRO1_R3DF.BUDAT) BUDAT CE1FRO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1FRO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1FRO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1FRO1.VKORG = ' '), CE1FRO1.BUKRS, CE1FRO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1FRO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1FRO1.SPART, '01') KZWI1 BILL_CE1FRO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1FRO1.KAUFN, POSNR, CE1FRO1.KDPOS) KWMENG BILL_CE1FRO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1FRO1.KAUFN, POSNR, CE1FRO1.KDPOS) KURSK BILL_CE1FRO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1FRO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1FRO1_R3DF.VVINS VVINS CE1FRO1.VVINS VVERL BILL_CE1FRO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1FRO1_R3DF.VVRDG VVRDG CE1FRO1.VVRDG VVRDA BILL_CE1FRO1_R3DF.VVRDA VVRDA CE1FRO1.VVRDA VVROT BILL_CE1FRO1_R3DF.VVROT VVROT CE1FRO1.VVROT WWCAT BILL_CE1FRO1_R3DF.WWCAT WWCAT CE1FRO1.WWCAT LOCAL_CURRENCY BILL_CE1FRO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1FRO1.BUKRS) MSTAV BILL_CE1FRO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1FRO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS VVATC BILL_CE1FRO1_R3DF.VVATC VVATC CE1FRO1.VVATC

Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1FRO1 MARA T001 VBAP VBKD 1.1.4.2. BILL_NLO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1NLO1 MARA T001 VBAP VBKD 1.1.4.2.1. BILL_CE1NLO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1NLO1_R3DF.PALEDGER PALEDGER CE1NLO1.PALEDGER VRGAR BILL_CE1NLO1_R3DF.VRGAR VRGAR CE1NLO1.VRGAR VERSI BILL_CE1NLO1_R3DF.VERSI VERSI CE1NLO1.VERSI PERIO BILL_CE1NLO1_R3DF.PERIO PERIO CE1NLO1.PERIO PAOBJNR BILL_CE1NLO1_R3DF.PAOBJNR PAOBJNR CE1NLO1.PAOBJNR PASUBNR BILL_CE1NLO1_R3DF.PASUBNR PASUBNR CE1NLO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1NLO1_R3DF.BELNR BELNR CE1NLO1.BELNR POSNR BILL_CE1NLO1_R3DF.POSNR POSNR CE1NLO1.POSNR HZDAT BILL_CE1NLO1_R3DF.HZDAT HZDAT CE1NLO1.HZDAT GJAHR BILL_CE1NLO1_R3DF.GJAHR GJAHR CE1NLO1.GJAHR PERDE BILL_CE1NLO1_R3DF.PERDE PERDE CE1NLO1.PERDE WADAT BILL_CE1NLO1_R3DF.WADAT WADAT CE1NLO1.WADAT FADAT BILL_CE1NLO1_R3DF.FADAT FADAT CE1NLO1.FADAT BUDAT BILL_CE1NLO1_R3DF.BUDAT BUDAT CE1NLO1.BUDAT KNDNR BILL_CE1NLO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1NLO1.KNDNR, '0'), '-') ARTNR BILL_CE1NLO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1NLO1.ARTNR, '0'), '-') FKART BILL_CE1NLO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1NLO1.FKART FRWAE BILL_CE1NLO1_R3DF.FRWAE FRWAE CE1NLO1.FRWAE KURSF BILL_CE1NLO1_R3DF.KURSF KURSF CE1NLO1.KURSF KAUFN BILL_CE1NLO1_R3DF.KAUFN KAUFN CE1NLO1.KAUFN KDPOS BILL_CE1NLO1_R3DF.KDPOS KDPOS CE1NLO1.KDPOS BUKRS BILL_CE1NLO1_R3DF.BUKRS BUKRS CE1NLO1.BUKRS KOKRS BILL_CE1NLO1_R3DF.KOKRS KOKRS CE1NLO1.KOKRS WERKS BILL_CE1NLO1_R3DF.WERKS WERKS nvl(CE1NLO1.WERKS, '-') GSBER BILL_CE1NLO1_R3DF.GSBER GSBER CE1NLO1.GSBER VKORG BILL_CE1NLO1_R3DF.VKORG VKORG ifthenelse((CE1NLO1.VKORG = ' CE1NLO1.VKORG) VTWEG BILL_CE1NLO1_R3DF.VTWEG VTWEG nvl(CE1NLO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1NLO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1NLO1_R3DF.SPART SPART nvl(CE1NLO1.SPART, '01') RBELN BILL_CE1NLO1_R3DF.RBELN RBELN CE1NLO1.RBELN RPOSN BILL_CE1NLO1_R3DF.RPOSN RPOSN CE1NLO1.RPOSN PRCTR BILL_CE1NLO1_R3DF.PRCTR PRCTR CE1NLO1.PRCTR TIMESTMP BILL_CE1NLO1_R3DF.TIMESTMP TIMESTMP CE1NLO1.TIMESTMP WWMKT BILL_CE1NLO1_R3DF.WWMKT WWMKT CE1NLO1.WWMKT ABSMG_ME BILL_CE1NLO1_R3DF.ABSMG_ME ABSMG_ME CE1NLO1.ABSMG_ME ABSMG BILL_CE1NLO1_R3DF.ABSMG ABSMG CE1NLO1.ABSMG ERLOS BILL_CE1NLO1_R3DF.ERLOS ERLOS (CE1NLO1.ERLOS + CE1NLO1.VVATR) MRABA BILL_CE1NLO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1NLO1.MRABA RABAT BILL_CE1NLO1_R3DF.RABAT RABAT CE1NLO1.RABAT JBONU BILL_CE1NLO1_R3DF.JBONU JBONU CE1NLO1.JBONU AUSFR BILL_CE1NLO1_R3DF.AUSFR AUSFR CE1NLO1.AUSFR BRSCH BILL_CE1NLO1_R3DF.BRSCH BRSCH CE1NLO1.BRSCH VVMAT BILL_CE1NLO1_R3DF.VVMAT VVMAT CE1NLO1.VVMAT VVLAB BILL_CE1NLO1_R3DF.VVLAB VVLAB CE1NLO1.VVLAB VVPRO BILL_CE1NLO1_R3DF.VVPRO VVPRO CE1NLO1.VVPRO VVTPR BILL_CE1NLO1_R3DF.VVTPR VVTPR CE1NLO1.VVTPR WWSET BILL_CE1NLO1_R3DF.WWSET WWSET CE1NLO1.WWSET VVRBT BILL_CE1NLO1_R3DF.VVRBT VVRBT CE1NLO1.VVRBT COUNTRY BILL_CE1NLO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'NL' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1NLO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1NLO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1NLO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1NLO1.VKORG = ' '), CE1NLO1.BUKRS, CE1NLO1.VKORG) VTWEG nvl(CE1NLO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1NLO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1NLO1_R3DF.BUDAT) BUDAT CE1NLO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1NLO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1NLO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1NLO1.VKORG = ' '), CE1NLO1.BUKRS, CE1NLO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1NLO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1NLO1.SPART, '01') KZWI1 BILL_CE1NLO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1NLO1.KAUFN, POSNR, CE1NLO1.KDPOS) KWMENG BILL_CE1NLO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1NLO1.KAUFN, POSNR, CE1NLO1.KDPOS) KURSK BILL_CE1NLO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1NLO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1NLO1_R3DF.VVINS VVINS CE1NLO1.VVINS VVERL BILL_CE1NLO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1NLO1_R3DF.VVRDG VVRDG CE1NLO1.VVRDG VVRDA BILL_CE1NLO1_R3DF.VVRDA VVRDA CE1NLO1.VVRDA VVROT BILL_CE1NLO1_R3DF.VVROT VVROT CE1NLO1.VVROT WWCAT BILL_CE1NLO1_R3DF.WWCAT WWCAT CE1NLO1.WWCAT LOCAL_CURRENCY BILL_CE1NLO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1NLO1.BUKRS) MSTAV BILL_CE1NLO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1NLO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS VVATC BILL_CE1NLO1_R3DF.VVATC VVATC CE1NLO1.VVATC

Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1NLO1 MARA T001 VBAP VBKD 1.1.4.3. BILL_UKO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1UKO1 MARA T001 VBAP VBKD 1.1.4.3.1. BILL_CE1UKO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1UKO1_R3DF.PALEDGER PALEDGER CE1UKO1.PALEDGER VRGAR BILL_CE1UKO1_R3DF.VRGAR VRGAR CE1UKO1.VRGAR VERSI BILL_CE1UKO1_R3DF.VERSI VERSI CE1UKO1.VERSI PERIO BILL_CE1UKO1_R3DF.PERIO PERIO CE1UKO1.PERIO PAOBJNR BILL_CE1UKO1_R3DF.PAOBJNR PAOBJNR CE1UKO1.PAOBJNR PASUBNR BILL_CE1UKO1_R3DF.PASUBNR PASUBNR CE1UKO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1UKO1_R3DF.BELNR BELNR CE1UKO1.BELNR POSNR BILL_CE1UKO1_R3DF.POSNR POSNR CE1UKO1.POSNR HZDAT BILL_CE1UKO1_R3DF.HZDAT HZDAT CE1UKO1.HZDAT GJAHR BILL_CE1UKO1_R3DF.GJAHR GJAHR CE1UKO1.GJAHR PERDE BILL_CE1UKO1_R3DF.PERDE PERDE CE1UKO1.PERDE WADAT BILL_CE1UKO1_R3DF.WADAT WADAT CE1UKO1.WADAT FADAT BILL_CE1UKO1_R3DF.FADAT FADAT CE1UKO1.FADAT BUDAT BILL_CE1UKO1_R3DF.BUDAT BUDAT CE1UKO1.BUDAT KNDNR BILL_CE1UKO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1UKO1.KNDNR, '0'), '-') ARTNR BILL_CE1UKO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1UKO1.ARTNR, '0'), '-') FKART BILL_CE1UKO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1UKO1.FKART FRWAE BILL_CE1UKO1_R3DF.FRWAE FRWAE CE1UKO1.FRWAE KURSF BILL_CE1UKO1_R3DF.KURSF KURSF CE1UKO1.KURSF KAUFN BILL_CE1UKO1_R3DF.KAUFN KAUFN CE1UKO1.KAUFN KDPOS BILL_CE1UKO1_R3DF.KDPOS KDPOS CE1UKO1.KDPOS BUKRS BILL_CE1UKO1_R3DF.BUKRS BUKRS CE1UKO1.BUKRS KOKRS BILL_CE1UKO1_R3DF.KOKRS KOKRS CE1UKO1.KOKRS WERKS BILL_CE1UKO1_R3DF.WERKS WERKS nvl(CE1UKO1.WERKS, '-') GSBER BILL_CE1UKO1_R3DF.GSBER GSBER CE1UKO1.GSBER VKORG BILL_CE1UKO1_R3DF.VKORG VKORG ifthenelse((CE1UKO1.VKORG = ' CE1UKO1.VKORG) VTWEG BILL_CE1UKO1_R3DF.VTWEG VTWEG nvl(CE1UKO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1UKO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1UKO1_R3DF.SPART SPART nvl(CE1UKO1.SPART, '01') RBELN BILL_CE1UKO1_R3DF.RBELN RBELN CE1UKO1.RBELN RPOSN BILL_CE1UKO1_R3DF.RPOSN RPOSN CE1UKO1.RPOSN PRCTR BILL_CE1UKO1_R3DF.PRCTR PRCTR CE1UKO1.PRCTR TIMESTMP BILL_CE1UKO1_R3DF.TIMESTMP TIMESTMP CE1UKO1.TIMESTMP WWMKT BILL_CE1UKO1_R3DF.WWMKT WWMKT CE1UKO1.WWMKT ABSMG_ME BILL_CE1UKO1_R3DF.ABSMG_ME ABSMG_ME CE1UKO1.ABSMG_ME ABSMG BILL_CE1UKO1_R3DF.ABSMG ABSMG CE1UKO1.ABSMG ERLOS BILL_CE1UKO1_R3DF.ERLOS ERLOS (CE1UKO1.ERLOS + CE1UKO1.VVATR) MRABA BILL_CE1UKO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1UKO1.MRABA RABAT BILL_CE1UKO1_R3DF.RABAT RABAT CE1UKO1.RABAT JBONU BILL_CE1UKO1_R3DF.JBONU JBONU CE1UKO1.JBONU AUSFR BILL_CE1UKO1_R3DF.AUSFR AUSFR CE1UKO1.AUSFR BRSCH BILL_CE1UKO1_R3DF.BRSCH BRSCH CE1UKO1.BRSCH VVMAT BILL_CE1UKO1_R3DF.VVMAT VVMAT CE1UKO1.VVMAT VVLAB BILL_CE1UKO1_R3DF.VVLAB VVLAB CE1UKO1.VVLAB VVPRO BILL_CE1UKO1_R3DF.VVPRO VVPRO CE1UKO1.VVPRO VVTPR BILL_CE1UKO1_R3DF.VVTPR VVTPR CE1UKO1.VVTPR WWSET BILL_CE1UKO1_R3DF.WWSET WWSET CE1UKO1.WWSET VVRBT BILL_CE1UKO1_R3DF.VVRBT VVRBT CE1UKO1.VVRBT COUNTRY BILL_CE1UKO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'UK' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1UKO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1UKO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1UKO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1UKO1.VKORG = ' '), CE1UKO1.BUKRS, CE1UKO1.VKORG) VTWEG nvl(CE1UKO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1UKO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1UKO1_R3DF.BUDAT) BUDAT CE1UKO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1UKO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1UKO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1UKO1.VKORG = ' '), CE1UKO1.BUKRS, CE1UKO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1UKO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1UKO1.SPART, '01') KZWI1 BILL_CE1UKO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1UKO1.KAUFN, POSNR, CE1UKO1.KDPOS) KWMENG BILL_CE1UKO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1UKO1.KAUFN, POSNR, CE1UKO1.KDPOS) KURSK BILL_CE1UKO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1UKO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1UKO1_R3DF.VVINS VVINS CE1UKO1.VVINS VVERL BILL_CE1UKO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1UKO1_R3DF.VVRDG VVRDG CE1UKO1.VVRDG VVRDA BILL_CE1UKO1_R3DF.VVRDA VVRDA CE1UKO1.VVRDA VVROT BILL_CE1UKO1_R3DF.VVROT VVROT CE1UKO1.VVROT WWCAT BILL_CE1UKO1_R3DF.WWCAT WWCAT CE1UKO1.WWCAT LOCAL_CURRENCY BILL_CE1UKO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1UKO1.BUKRS) MSTAV BILL_CE1UKO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1UKO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS VVATC BILL_CE1UKO1_R3DF.VVATC VVATC CE1UKO1.VVATC

Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1UKO1 MARA T001 VBAP VBKD 1.1.4.4. BILL_PLO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1PLO1 MARA T001 VBAP VBKD 1.1.4.4.1. BILL_CE1PLO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1PLO1_R3DF.PALEDGER PALEDGER CE1PLO1.PALEDGER VRGAR BILL_CE1PLO1_R3DF.VRGAR VRGAR CE1PLO1.VRGAR VERSI BILL_CE1PLO1_R3DF.VERSI VERSI CE1PLO1.VERSI PERIO BILL_CE1PLO1_R3DF.PERIO PERIO CE1PLO1.PERIO PAOBJNR BILL_CE1PLO1_R3DF.PAOBJNR PAOBJNR CE1PLO1.PAOBJNR PASUBNR BILL_CE1PLO1_R3DF.PASUBNR PASUBNR CE1PLO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1PLO1_R3DF.BELNR BELNR CE1PLO1.BELNR POSNR BILL_CE1PLO1_R3DF.POSNR POSNR CE1PLO1.POSNR HZDAT BILL_CE1PLO1_R3DF.HZDAT HZDAT CE1PLO1.HZDAT GJAHR BILL_CE1PLO1_R3DF.GJAHR GJAHR CE1PLO1.GJAHR PERDE BILL_CE1PLO1_R3DF.PERDE PERDE CE1PLO1.PERDE WADAT BILL_CE1PLO1_R3DF.WADAT WADAT CE1PLO1.WADAT FADAT BILL_CE1PLO1_R3DF.FADAT FADAT CE1PLO1.FADAT BUDAT BILL_CE1PLO1_R3DF.BUDAT BUDAT CE1PLO1.BUDAT KNDNR BILL_CE1PLO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1PLO1.KNDNR, '0'), '-') ARTNR BILL_CE1PLO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1PLO1.ARTNR, '0'), '-') FKART BILL_CE1PLO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1PLO1.FKART FRWAE BILL_CE1PLO1_R3DF.FRWAE FRWAE CE1PLO1.FRWAE KURSF BILL_CE1PLO1_R3DF.KURSF KURSF CE1PLO1.KURSF KAUFN BILL_CE1PLO1_R3DF.KAUFN KAUFN CE1PLO1.KAUFN KDPOS BILL_CE1PLO1_R3DF.KDPOS KDPOS CE1PLO1.KDPOS BUKRS BILL_CE1PLO1_R3DF.BUKRS BUKRS CE1PLO1.BUKRS KOKRS BILL_CE1PLO1_R3DF.KOKRS KOKRS CE1PLO1.KOKRS WERKS BILL_CE1PLO1_R3DF.WERKS WERKS nvl(CE1PLO1.WERKS, '-') GSBER BILL_CE1PLO1_R3DF.GSBER GSBER CE1PLO1.GSBER VKORG BILL_CE1PLO1_R3DF.VKORG VKORG ifthenelse((CE1PLO1.VKORG = ' CE1PLO1.VKORG) VTWEG BILL_CE1PLO1_R3DF.VTWEG VTWEG nvl(CE1PLO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1PLO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1PLO1_R3DF.SPART SPART nvl(CE1PLO1.SPART, '01') RBELN BILL_CE1PLO1_R3DF.RBELN RBELN CE1PLO1.RBELN RPOSN BILL_CE1PLO1_R3DF.RPOSN RPOSN CE1PLO1.RPOSN PRCTR BILL_CE1PLO1_R3DF.PRCTR PRCTR CE1PLO1.PRCTR TIMESTMP BILL_CE1PLO1_R3DF.TIMESTMP TIMESTMP CE1PLO1.TIMESTMP WWMKT BILL_CE1PLO1_R3DF.WWMKT WWMKT CE1PLO1.WWMKT ABSMG_ME BILL_CE1PLO1_R3DF.ABSMG_ME ABSMG_ME CE1PLO1.ABSMG_ME ABSMG BILL_CE1PLO1_R3DF.ABSMG ABSMG CE1PLO1.ABSMG ERLOS BILL_CE1PLO1_R3DF.ERLOS ERLOS (CE1PLO1.ERLOS + CE1PLO1.VVATR) MRABA BILL_CE1PLO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1PLO1.MRABA RABAT BILL_CE1PLO1_R3DF.RABAT RABAT CE1PLO1.RABAT JBONU BILL_CE1PLO1_R3DF.JBONU JBONU CE1PLO1.JBONU AUSFR BILL_CE1PLO1_R3DF.AUSFR AUSFR CE1PLO1.AUSFR BRSCH BILL_CE1PLO1_R3DF.BRSCH BRSCH CE1PLO1.BRSCH VVMAT BILL_CE1PLO1_R3DF.VVMAT VVMAT CE1PLO1.VVMAT VVLAB BILL_CE1PLO1_R3DF.VVLAB VVLAB CE1PLO1.VVLAB VVPRO BILL_CE1PLO1_R3DF.VVPRO VVPRO CE1PLO1.VVPRO VVTPR BILL_CE1PLO1_R3DF.VVTPR VVTPR CE1PLO1.VVTPR WWSET BILL_CE1PLO1_R3DF.WWSET WWSET CE1PLO1.WWSET VVRBT BILL_CE1PLO1_R3DF.VVRBT VVRBT CE1PLO1.VVRBT COUNTRY BILL_CE1PLO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'PL' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1PLO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1PLO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1PLO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1PLO1.VKORG = ' '), CE1PLO1.BUKRS, CE1PLO1.VKORG) VTWEG nvl(CE1PLO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1PLO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1PLO1_R3DF.BUDAT) BUDAT CE1PLO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1PLO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1PLO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1PLO1.VKORG = ' '), CE1PLO1.BUKRS, CE1PLO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1PLO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1PLO1.SPART, '01') KZWI1 BILL_CE1PLO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1PLO1.KAUFN, POSNR, CE1PLO1.KDPOS) KWMENG BILL_CE1PLO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1PLO1.KAUFN, POSNR, CE1PLO1.KDPOS) KURSK BILL_CE1PLO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1PLO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1PLO1_R3DF.VVINS VVINS CE1PLO1.VVINS VVERL BILL_CE1PLO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1PLO1_R3DF.VVRDG VVRDG CE1PLO1.VVRDG VVRDA BILL_CE1PLO1_R3DF.VVRDA VVRDA CE1PLO1.VVRDA VVROT BILL_CE1PLO1_R3DF.VVROT VVROT CE1PLO1.VVROT WWCAT BILL_CE1PLO1_R3DF.WWCAT WWCAT CE1PLO1.WWCAT LOCAL_CURRENCY BILL_CE1PLO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1PLO1.BUKRS) MSTAV BILL_CE1PLO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1PLO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS VVATC BILL_CE1PLO1_R3DF.VVATC VVATC CE1PLO1.VVATC

Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1PLO1 MARA T001 VBAP VBKD 1.1.4.5. BILL_DEO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1DEO1 MARA T001 VBAP VBKD 1.1.4.5.1. BILL_CE1DEO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1DEO1_R3DF.PALEDGER PALEDGER CE1DEO1.PALEDGER VRGAR BILL_CE1DEO1_R3DF.VRGAR VRGAR CE1DEO1.VRGAR VERSI BILL_CE1DEO1_R3DF.VERSI VERSI CE1DEO1.VERSI PERIO BILL_CE1DEO1_R3DF.PERIO PERIO CE1DEO1.PERIO PAOBJNR BILL_CE1DEO1_R3DF.PAOBJNR PAOBJNR CE1DEO1.PAOBJNR PASUBNR BILL_CE1DEO1_R3DF.PASUBNR PASUBNR CE1DEO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1DEO1_R3DF.BELNR BELNR CE1DEO1.BELNR POSNR BILL_CE1DEO1_R3DF.POSNR POSNR CE1DEO1.POSNR HZDAT BILL_CE1DEO1_R3DF.HZDAT HZDAT CE1DEO1.HZDAT GJAHR BILL_CE1DEO1_R3DF.GJAHR GJAHR CE1DEO1.GJAHR PERDE BILL_CE1DEO1_R3DF.PERDE PERDE CE1DEO1.PERDE WADAT BILL_CE1DEO1_R3DF.WADAT WADAT CE1DEO1.WADAT FADAT BILL_CE1DEO1_R3DF.FADAT FADAT CE1DEO1.FADAT BUDAT BILL_CE1DEO1_R3DF.BUDAT BUDAT CE1DEO1.BUDAT KNDNR BILL_CE1DEO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1DEO1.KNDNR, '0'), '-') ARTNR BILL_CE1DEO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1DEO1.ARTNR, '0'), '-') FKART BILL_CE1DEO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1DEO1.FKART FRWAE BILL_CE1DEO1_R3DF.FRWAE FRWAE CE1DEO1.FRWAE KURSF BILL_CE1DEO1_R3DF.KURSF KURSF CE1DEO1.KURSF KAUFN BILL_CE1DEO1_R3DF.KAUFN KAUFN CE1DEO1.KAUFN KDPOS BILL_CE1DEO1_R3DF.KDPOS KDPOS CE1DEO1.KDPOS BUKRS BILL_CE1DEO1_R3DF.BUKRS BUKRS CE1DEO1.BUKRS KOKRS BILL_CE1DEO1_R3DF.KOKRS KOKRS CE1DEO1.KOKRS WERKS BILL_CE1DEO1_R3DF.WERKS WERKS nvl(CE1DEO1.WERKS, '-') GSBER BILL_CE1DEO1_R3DF.GSBER GSBER CE1DEO1.GSBER VKORG BILL_CE1DEO1_R3DF.VKORG VKORG ifthenelse((CE1DEO1.VKORG = ' CE1DEO1.VKORG) VTWEG BILL_CE1DEO1_R3DF.VTWEG VTWEG nvl(CE1DEO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1DEO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1DEO1_R3DF.SPART SPART nvl(CE1DEO1.SPART, '01') RBELN BILL_CE1DEO1_R3DF.RBELN RBELN CE1DEO1.RBELN RPOSN BILL_CE1DEO1_R3DF.RPOSN RPOSN CE1DEO1.RPOSN PRCTR BILL_CE1DEO1_R3DF.PRCTR PRCTR ifthenelse((CE1DEO1.BUKRS = 'DE02'), 'DE-CRU', 'DE-OPU') TIMESTMP BILL_CE1DEO1_R3DF.TIMESTMP TIMESTMP CE1DEO1.TIMESTMP WWMKT BILL_CE1DEO1_R3DF.WWMKT WWMKT CE1DEO1.WWMKT ABSMG_ME BILL_CE1DEO1_R3DF.ABSMG_ME ABSMG_ME CE1DEO1.ABSMG_ME ABSMG BILL_CE1DEO1_R3DF.ABSMG ABSMG CE1DEO1.ABSMG ERLOS BILL_CE1DEO1_R3DF.ERLOS ERLOS (CE1DEO1.ERLOS + CE1DEO1.VVATR) MRABA BILL_CE1DEO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1DEO1.MRABA RABAT BILL_CE1DEO1_R3DF.RABAT RABAT CE1DEO1.RABAT JBONU BILL_CE1DEO1_R3DF.JBONU JBONU CE1DEO1.JBONU AUSFR BILL_CE1DEO1_R3DF.AUSFR AUSFR CE1DEO1.AUSFR BRSCH BILL_CE1DEO1_R3DF.BRSCH BRSCH CE1DEO1.BRSCH VVMAT BILL_CE1DEO1_R3DF.VVMAT VVMAT CE1DEO1.VVMAT VVLAB BILL_CE1DEO1_R3DF.VVLAB VVLAB CE1DEO1.VVLAB VVPRO BILL_CE1DEO1_R3DF.VVPRO VVPRO CE1DEO1.VVPRO VVTPR BILL_CE1DEO1_R3DF.VVTPR VVTPR CE1DEO1.VVTPR WWSET BILL_CE1DEO1_R3DF.WWSET WWSET CE1DEO1.WWSET VVRBT BILL_CE1DEO1_R3DF.VVRBT VVRBT CE1DEO1.VVRBT COUNTRY BILL_CE1DEO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'DE' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1DEO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1DEO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1DEO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1DEO1.VKORG = ' '), CE1DEO1.BUKRS, CE1DEO1.VKORG) VTWEG nvl(CE1DEO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1DEO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1DEO1_R3DF.BUDAT) BUDAT CE1DEO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1DEO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1DEO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1DEO1.VKORG = ' '), CE1DEO1.BUKRS, CE1DEO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1DEO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1DEO1.SPART, '01') KZWI1 BILL_CE1DEO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1DEO1.KAUFN, POSNR, CE1DEO1.KDPOS) KWMENG BILL_CE1DEO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1DEO1.KAUFN, POSNR, CE1DEO1.KDPOS) KURSK BILL_CE1DEO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1DEO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1DEO1_R3DF.VVINS VVINS CE1DEO1.VVINS VVERL BILL_CE1DEO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance Revenues CTR/IO Revenues CTR/IO

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = Query.VVWAS = Query.VVWAS = Query.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

CE1DEO1.VVERL VVRDG BILL_CE1DEO1_R3DF.VVRDG VVRDG CE1DEO1.VVRDG VVRDA BILL_CE1DEO1_R3DF.VVRDA VVRDA CE1DEO1.VVRDA VVROT BILL_CE1DEO1_R3DF.VVROT VVROT CE1DEO1.VVROT WWCAT BILL_CE1DEO1_R3DF.WWCAT WWCAT CE1DEO1.WWCAT LOCAL_CURRENCY BILL_CE1DEO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1DEO1.BUKRS) MSTAV BILL_CE1DEO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1DEO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS BILL_CE1DEO1_R3DF.VVWAS VVWAS CE1DEO1.VVWAS VVATC BILL_CE1DEO1_R3DF.VVATC VVATC CE1DEO1.VVATC

Revenues CTR/IO Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

Warranty Serv Mat Warranty Serv Mat Warranty Serv Mat AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1DEO1 MARA T001 VBAP VBKD 1.1.4.6. BILL_SE01_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1SEO1 MARA T001 VBAP VBKD 1.1.4.6.1. BILL_CE1SE01_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1SEO1_R3DF.PALEDGER PALEDGER CE1SEO1.PALEDGER VRGAR BILL_CE1SEO1_R3DF.VRGAR VRGAR CE1SEO1.VRGAR VERSI BILL_CE1SEO1_R3DF.VERSI VERSI CE1SEO1.VERSI PERIO BILL_CE1SEO1_R3DF.PERIO PERIO CE1SEO1.PERIO PAOBJNR BILL_CE1SEO1_R3DF.PAOBJNR PAOBJNR CE1SEO1.PAOBJNR PASUBNR BILL_CE1SEO1_R3DF.PASUBNR PASUBNR CE1SEO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1SEO1_R3DF.BELNR BELNR CE1SEO1.BELNR POSNR BILL_CE1SEO1_R3DF.POSNR POSNR CE1SEO1.POSNR HZDAT BILL_CE1SEO1_R3DF.HZDAT HZDAT CE1SEO1.HZDAT GJAHR BILL_CE1SEO1_R3DF.GJAHR GJAHR CE1SEO1.GJAHR PERDE BILL_CE1SEO1_R3DF.PERDE PERDE CE1SEO1.PERDE WADAT BILL_CE1SEO1_R3DF.WADAT WADAT CE1SEO1.WADAT FADAT BILL_CE1SEO1_R3DF.FADAT FADAT CE1SEO1.FADAT BUDAT BILL_CE1SEO1_R3DF.BUDAT BUDAT CE1SEO1.BUDAT KNDNR BILL_CE1SEO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1SEO1.KNDNR, '0'), '-') ARTNR BILL_CE1SEO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1SEO1.ARTNR, '0'), '-') FKART BILL_CE1SEO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1SEO1.FKART FRWAE BILL_CE1SEO1_R3DF.FRWAE FRWAE CE1SEO1.FRWAE KURSF BILL_CE1SEO1_R3DF.KURSF KURSF CE1SEO1.KURSF KAUFN BILL_CE1SEO1_R3DF.KAUFN KAUFN CE1SEO1.KAUFN KDPOS BILL_CE1SEO1_R3DF.KDPOS KDPOS CE1SEO1.KDPOS BUKRS BILL_CE1SEO1_R3DF.BUKRS BUKRS CE1SEO1.BUKRS KOKRS BILL_CE1SEO1_R3DF.KOKRS KOKRS CE1SEO1.KOKRS WERKS BILL_CE1SEO1_R3DF.WERKS WERKS nvl(CE1SEO1.WERKS, '-') GSBER BILL_CE1SEO1_R3DF.GSBER GSBER CE1SEO1.GSBER VKORG BILL_CE1SEO1_R3DF.VKORG VKORG ifthenelse((CE1SEO1.VKORG = ' CE1SEO1.VKORG) VTWEG BILL_CE1SEO1_R3DF.VTWEG VTWEG nvl(CE1SEO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1SEO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1SEO1_R3DF.SPART SPART nvl(CE1SEO1.SPART, '01') RBELN BILL_CE1SEO1_R3DF.RBELN RBELN CE1SEO1.RBELN RPOSN BILL_CE1SEO1_R3DF.RPOSN RPOSN CE1SEO1.RPOSN PRCTR BILL_CE1SEO1_R3DF.PRCTR PRCTR CE1SEO1.PRCTR TIMESTMP BILL_CE1SEO1_R3DF.TIMESTMP TIMESTMP CE1SEO1.TIMESTMP WWMKT BILL_CE1SEO1_R3DF.WWMKT WWMKT CE1SEO1.WWMKT ABSMG_ME BILL_CE1SEO1_R3DF.ABSMG_ME ABSMG_ME CE1SEO1.ABSMG_ME ABSMG BILL_CE1SEO1_R3DF.ABSMG ABSMG CE1SEO1.ABSMG ERLOS BILL_CE1SEO1_R3DF.ERLOS ERLOS (CE1SEO1.ERLOS + CE1SEO1.VVATR) MRABA BILL_CE1SEO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1SEO1.MRABA RABAT BILL_CE1SEO1_R3DF.RABAT RABAT CE1SEO1.RABAT JBONU BILL_CE1SEO1_R3DF.JBONU JBONU CE1SEO1.JBONU AUSFR BILL_CE1SEO1_R3DF.AUSFR AUSFR CE1SEO1.AUSFR BRSCH BILL_CE1SEO1_R3DF.BRSCH BRSCH CE1SEO1.BRSCH VVMAT BILL_CE1SEO1_R3DF.VVMAT VVMAT CE1SEO1.VVMAT VVLAB BILL_CE1SEO1_R3DF.VVLAB VVLAB CE1SEO1.VVLAB VVPRO BILL_CE1SEO1_R3DF.VVPRO VVPRO CE1SEO1.VVPRO VVTPR BILL_CE1SEO1_R3DF.VVTPR VVTPR CE1SEO1.VVTPR WWSET BILL_CE1SEO1_R3DF.WWSET WWSET CE1SEO1.WWSET VVRBT BILL_CE1SEO1_R3DF.VVRBT VVRBT CE1SEO1.VVRBT COUNTRY BILL_CE1SEO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'SE' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1SEO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1SEO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1SEO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1SEO1.VKORG = ' '), CE1SEO1.BUKRS, CE1SEO1.VKORG) VTWEG nvl(CE1SEO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1SEO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1SEO1_R3DF.BUDAT) BUDAT CE1SEO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1SEO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1SEO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1SEO1.VKORG = ' '), CE1SEO1.BUKRS, CE1SEO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1SEO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1SEO1.SPART, '01') KZWI1 BILL_CE1SEO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1SEO1.KAUFN, POSNR, CE1SEO1.KDPOS) KWMENG BILL_CE1SEO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1SEO1.KAUFN, POSNR, CE1SEO1.KDPOS) KURSK BILL_CE1SEO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1SEO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1SEO1_R3DF.VVINS VVINS CE1SEO1.VVINS VVERL BILL_CE1SEO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = Query.VVWAS = Query.VVWAS = Query.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1SEO1_R3DF.VVRDG VVRDG CE1SEO1.VVRDG VVRDA BILL_CE1SEO1_R3DF.VVRDA VVRDA CE1SEO1.VVRDA VVROT BILL_CE1SEO1_R3DF.VVROT VVROT CE1SEO1.VVROT WWCAT BILL_CE1SEO1_R3DF.WWCAT WWCAT CE1SEO1.WWCAT LOCAL_CURRENCY BILL_CE1SEO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1SEO1.BUKRS) MSTAV BILL_CE1SEO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1SEO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS BILL_CE1SEO1_R3DF.VVWAS VVWAS CE1SEO1.VVWAS VVATC BILL_CE1SEO1_R3DF.VVATC VVATC CE1SEO1.VVATC

Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

Warranty Serv Mat Warranty Serv Mat Warranty Serv Mat AM Training Costs AM Training Costs AM Training Costs

Table usage

ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1SEO1 MARA T001 VBAP VBKD 1.1.4.7. BILL_CRU_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target) (Source) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1WVO1 MARA T001 VBAP VBKD 1.1.4.7.1. BILL_CRU_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1WVO1_R3DF.PALEDGER PALEDGER CE1WVO1.PALEDGER VRGAR BILL_CE1WVO1_R3DF.VRGAR VRGAR CE1WVO1.VRGAR VERSI BILL_CE1WVO1_R3DF.VERSI VERSI CE1WVO1.VERSI PERIO BILL_CE1WVO1_R3DF.PERIO PERIO CE1WVO1.PERIO PAOBJNR BILL_CE1WVO1_R3DF.PAOBJNR PAOBJNR CE1WVO1.PAOBJNR PASUBNR BILL_CE1WVO1_R3DF.PASUBNR PASUBNR CE1WVO1.PASUBNR

Currency type for an operating concern Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Plan version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR = Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART

BELNR BILL_CE1WVO1_R3DF.BELNR BELNR CE1WVO1.BELNR POSNR BILL_CE1WVO1_R3DF.POSNR POSNR CE1WVO1.POSNR HZDAT BILL_CE1WVO1_R3DF.HZDAT HZDAT CE1WVO1.HZDAT GJAHR BILL_CE1WVO1_R3DF.GJAHR GJAHR CE1WVO1.GJAHR PERDE BILL_CE1WVO1_R3DF.PERDE PERDE CE1WVO1.PERDE WADAT BILL_CE1WVO1_R3DF.WADAT WADAT CE1WVO1.WADAT FADAT BILL_CE1WVO1_R3DF.FADAT FADAT CE1WVO1.FADAT BUDAT BILL_CE1WVO1_R3DF.BUDAT BUDAT CE1WVO1.BUDAT KNDNR BILL_CE1WVO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1WVO1.KNDNR, '0'), '-') ARTNR BILL_CE1WVO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1WVO1.ARTNR, '0'), '-') FKART

Document number of line item in Profitability Analysis Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number

Query.FKART = Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG =

BILL_CE1WVO1_R3DF.FKART FKART CE1WVO1.FKART FRWAE BILL_CE1WVO1_R3DF.FRWAE FRWAE CE1WVO1.FRWAE KURSF BILL_CE1WVO1_R3DF.KURSF KURSF CE1WVO1.KURSF KAUFN BILL_CE1WVO1_R3DF.KAUFN KAUFN CE1WVO1.KAUFN KDPOS BILL_CE1WVO1_R3DF.KDPOS KDPOS CE1WVO1.KDPOS BUKRS BILL_CE1WVO1_R3DF.BUKRS BUKRS CE1WVO1.BUKRS KOKRS BILL_CE1WVO1_R3DF.KOKRS KOKRS CE1WVO1.KOKRS WERKS BILL_CE1WVO1_R3DF.WERKS WERKS nvl(CE1WVO1.WERKS, '-') GSBER BILL_CE1WVO1_R3DF.GSBER GSBER CE1WVO1.GSBER VKORG BILL_CE1WVO1_R3DF.VKORG VKORG ifthenelse((CE1WVO1.VKORG = ' CE1WVO1.VKORG) VTWEG BILL_CE1WVO1_R3DF.VTWEG VTWEG

Billing type Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1WVO1.BUKRS,

Distribution channel Distribution channel

Query.VTWEG = ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

nvl(CE1WVO1.VTWEG, '01') SPART BILL_CE1WVO1_R3DF.SPART SPART nvl(CE1WVO1.SPART, '01') RBELN BILL_CE1WVO1_R3DF.RBELN RBELN CE1WVO1.RBELN RPOSN BILL_CE1WVO1_R3DF.RPOSN RPOSN CE1WVO1.RPOSN PRCTR BILL_CE1WVO1_R3DF.PRCTR PRCTR CE1WVO1.WWWPR TIMESTMP BILL_CE1WVO1_R3DF.TIMESTMP TIMESTMP CE1WVO1.TIMESTMP WWMKT BILL_CE1WVO1_R3DF.WWMKT WWMKT CE1WVO1.WWMKT ABSMG_ME BILL_CE1WVO1_R3DF.ABSMG_ME ABSMG_ME CE1WVO1.ABSMG_ME ABSMG BILL_CE1WVO1_R3DF.ABSMG ABSMG CE1WVO1.ABSMG ERLOS BILL_CE1WVO1_R3DF.ERLOS ERLOS (CE1WVO1.ERLOS + CE1WVO1.VVATR) MRABA BILL_CE1WVO1_R3DF.MRABA MRABA

Distribution channel Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1WVO1.MRABA RABAT BILL_CE1WVO1_R3DF.RABAT RABAT CE1WVO1.RABAT JBONU BILL_CE1WVO1_R3DF.JBONU JBONU CE1WVO1.JBONU AUSFR BILL_CE1WVO1_R3DF.AUSFR AUSFR CE1WVO1.AUSFR BRSCH BILL_CE1WVO1_R3DF.BRSCH BRSCH CE1WVO1.BRSCH VVMAT BILL_CE1WVO1_R3DF.VVMAT VVMAT CE1WVO1.VVMAT VVLAB BILL_CE1WVO1_R3DF.VVLAB VVLAB 0 VVPRO BILL_CE1WVO1_R3DF.VVPRO VVPRO 0 VVTPR BILL_CE1WVO1_R3DF.VVTPR VVTPR CE1WVO1.VVTPR WWSET BILL_CE1WVO1_R3DF.WWSET WWSET CE1WVO1.WWSET VVRBT BILL_CE1WVO1_R3DF.VVRBT VVRBT CE1WVO1.VVRBT COUNTRY BILL_CE1WVO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key

Material Cost of Sls Material Cost of Sls

Labour Cost of Sales Labour Cost of Sales

Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'WV' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1WVO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1WVO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1WVO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1WVO1.VKORG = ' '), CE1WVO1.BUKRS, CE1WVO1.VKORG) VTWEG nvl(CE1WVO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1WVO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1WVO1_R3DF.BUDAT) BUDAT CE1WVO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1WVO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1WVO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1WVO1.VKORG = ' '), CE1WVO1.BUKRS, CE1WVO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1WVO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1WVO1.SPART, '01') KZWI1 BILL_CE1WVO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1WVO1.KAUFN, POSNR, CE1WVO1.KDPOS) KWMENG BILL_CE1WVO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1WVO1.KAUFN, POSNR, CE1WVO1.KDPOS) KURSK BILL_CE1WVO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1WVO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1WVO1_R3DF.VVINS VVINS 0 VVERL BILL_CE1WVO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = Query.VVWAS = Query.VVWAS = Query.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1WVO1_R3DF.VVRDG VVRDG CE1WVO1.VVRDG VVRDA BILL_CE1WVO1_R3DF.VVRDA VVRDA CE1WVO1.VVRDA VVROT BILL_CE1WVO1_R3DF.VVROT VVROT CE1WVO1.VVROT WWCAT BILL_CE1WVO1_R3DF.WWCAT WWCAT CE1WVO1.WWCAT LOCAL_CURRENCY BILL_CE1WVO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1WVO1.BUKRS) MSTAV BILL_CE1WVO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1WVO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS BILL_CE1WVO1_R3DF.VVWAS VVWAS CE1WVO1.VVWAS VVATC BILL_CE1WVO1_R3DF.VVATC VVATC CE1WVO1.VVATC

Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

Warranty Serv Mat Warranty Serv Mat Warranty Serv Mat AM Training Costs AM Training Costs AM Training Costs

Table usage

ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1WVO1 MARA T001 VBAP VBKD 1.1.4.8. BILL_ASO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target) (Source) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1ASO1 MARA T001 VBAP VBKD 1.1.4.8.1. BILL_CE1ASO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1ASO1_R3DF.PALEDGER PALEDGER CE1ASO1.PALEDGER VRGAR BILL_CE1ASO1_R3DF.VRGAR VRGAR CE1ASO1.VRGAR VERSI BILL_CE1ASO1_R3DF.VERSI VERSI CE1ASO1.VERSI PERIO BILL_CE1ASO1_R3DF.PERIO PERIO CE1ASO1.PERIO PAOBJNR BILL_CE1ASO1_R3DF.PAOBJNR PAOBJNR CE1ASO1.PAOBJNR PASUBNR BILL_CE1ASO1_R3DF.PASUBNR PASUBNR CE1ASO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1ASO1_R3DF.BELNR BELNR CE1ASO1.BELNR POSNR BILL_CE1ASO1_R3DF.POSNR POSNR CE1ASO1.POSNR HZDAT BILL_CE1ASO1_R3DF.HZDAT HZDAT CE1ASO1.HZDAT GJAHR BILL_CE1ASO1_R3DF.GJAHR GJAHR CE1ASO1.GJAHR PERDE BILL_CE1ASO1_R3DF.PERDE PERDE CE1ASO1.PERDE WADAT BILL_CE1ASO1_R3DF.WADAT WADAT CE1ASO1.WADAT FADAT BILL_CE1ASO1_R3DF.FADAT FADAT CE1ASO1.FADAT BUDAT BILL_CE1ASO1_R3DF.BUDAT BUDAT CE1ASO1.BUDAT KNDNR BILL_CE1ASO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1ASO1.KNDNR, '0'), '-') ARTNR BILL_CE1ASO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1ASO1.ARTNR, '0'), '-') FKART BILL_CE1ASO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1ASO1.FKART FRWAE BILL_CE1ASO1_R3DF.FRWAE FRWAE CE1ASO1.FRWAE KURSF BILL_CE1ASO1_R3DF.KURSF KURSF CE1ASO1.KURSF KAUFN BILL_CE1ASO1_R3DF.KAUFN KAUFN CE1ASO1.KAUFN KDPOS BILL_CE1ASO1_R3DF.KDPOS KDPOS CE1ASO1.KDPOS BUKRS BILL_CE1ASO1_R3DF.BUKRS BUKRS CE1ASO1.BUKRS KOKRS BILL_CE1ASO1_R3DF.KOKRS KOKRS CE1ASO1.KOKRS WERKS BILL_CE1ASO1_R3DF.WERKS WERKS nvl(CE1ASO1.WERKS, '-') GSBER BILL_CE1ASO1_R3DF.GSBER GSBER CE1ASO1.GSBER VKORG BILL_CE1ASO1_R3DF.VKORG VKORG ifthenelse((CE1ASO1.VKORG = ' CE1ASO1.VKORG) VTWEG BILL_CE1ASO1_R3DF.VTWEG VTWEG nvl(CE1ASO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1ASO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1ASO1_R3DF.SPART SPART nvl(CE1ASO1.SPART, '01') RBELN BILL_CE1ASO1_R3DF.RBELN RBELN CE1ASO1.RBELN RPOSN BILL_CE1ASO1_R3DF.RPOSN RPOSN CE1ASO1.RPOSN PRCTR BILL_CE1ASO1_R3DF.PRCTR PRCTR CE1ASO1.PRCTR TIMESTMP BILL_CE1ASO1_R3DF.TIMESTMP TIMESTMP CE1ASO1.TIMESTMP WWMKT BILL_CE1ASO1_R3DF.WWMKT WWMKT CE1ASO1.WWMKT ABSMG_ME BILL_CE1ASO1_R3DF.ABSMG_ME ABSMG_ME CE1ASO1.ABSMG_ME ABSMG BILL_CE1ASO1_R3DF.ABSMG ABSMG CE1ASO1.ABSMG ERLOS BILL_CE1ASO1_R3DF.ERLOS ERLOS (CE1ASO1.ERLOS + CE1ASO1.VVATR) MRABA BILL_CE1ASO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1ASO1.MRABA RABAT BILL_CE1ASO1_R3DF.RABAT RABAT CE1ASO1.RABAT JBONU BILL_CE1ASO1_R3DF.JBONU JBONU CE1ASO1.JBONU AUSFR BILL_CE1ASO1_R3DF.AUSFR AUSFR CE1ASO1.AUSFR BRSCH BILL_CE1ASO1_R3DF.BRSCH BRSCH CE1ASO1.BRSCH VVMAT BILL_CE1ASO1_R3DF.VVMAT VVMAT CE1ASO1.VVMAT VVLAB BILL_CE1ASO1_R3DF.VVLAB VVLAB CE1ASO1.VVLAB VVPRO BILL_CE1ASO1_R3DF.VVPRO VVPRO CE1ASO1.VVPRO VVTPR BILL_CE1ASO1_R3DF.VVTPR VVTPR CE1ASO1.VVTPR WWSET BILL_CE1ASO1_R3DF.WWSET WWSET CE1ASO1.WWSET VVRBT BILL_CE1ASO1_R3DF.VVRBT VVRBT CE1ASO1.VVRBT COUNTRY BILL_CE1ASO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'AS' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1ASO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1ASO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1ASO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1ASO1.VKORG = ' '), CE1ASO1.BUKRS, CE1ASO1.VKORG) VTWEG nvl(CE1ASO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1ASO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1ASO1_R3DF.BUDAT) BUDAT CE1ASO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1ASO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1ASO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1ASO1.VKORG = ' '), CE1ASO1.BUKRS, CE1ASO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1ASO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1ASO1.SPART, '01') KZWI1 BILL_CE1ASO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1ASO1.KAUFN, POSNR, CE1ASO1.KDPOS) KWMENG BILL_CE1ASO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1ASO1.KAUFN, POSNR, CE1ASO1.KDPOS) KURSK BILL_CE1ASO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1ASO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1ASO1_R3DF.VVINS VVINS CE1ASO1.VVINS VVERL BILL_CE1ASO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance Revenues CTR/IO Revenues CTR/IO

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = Query.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1ASO1_R3DF.VVRDG VVRDG CE1ASO1.VVRDG VVRDA BILL_CE1ASO1_R3DF.VVRDA VVRDA CE1ASO1.VVRDA VVROT BILL_CE1ASO1_R3DF.VVROT VVROT CE1ASO1.VVROT WWCAT BILL_CE1ASO1_R3DF.WWCAT WWCAT CE1ASO1.WWCAT LOCAL_CURRENCY BILL_CE1ASO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1ASO1.BUKRS) MSTAV BILL_CE1ASO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1ASO1.ARTNR) , '-') VVNOS BILL_CE1ASO1_R3DF.VVNOS VVNOS CE1ASO1.VVNOS SOURCE SOURCE_TYPE VVWAS VVATC BILL_CE1ASO1_R3DF.VVATC VVATC CE1ASO1.VVATC

Revenues CTR/IO Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

Service ASE (add on) Service ASE (add on) Service ASE (add on)

AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1ASO1 MARA T001 VBAP VBKD 1.1.4.9. BILL_CNO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1CNO1 MARA T001 VBAP VBKD 1.1.4.9.1. BILL_CE1CNO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1CNO1_R3DF.PALEDGER PALEDGER CE1CNO1.PALEDGER VRGAR BILL_CE1CNO1_R3DF.VRGAR VRGAR CE1CNO1.VRGAR VERSI BILL_CE1CNO1_R3DF.VERSI VERSI CE1CNO1.VERSI PERIO BILL_CE1CNO1_R3DF.PERIO PERIO CE1CNO1.PERIO PAOBJNR BILL_CE1CNO1_R3DF.PAOBJNR PAOBJNR CE1CNO1.PAOBJNR PASUBNR BILL_CE1CNO1_R3DF.PASUBNR PASUBNR CE1CNO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1CNO1_R3DF.BELNR BELNR CE1CNO1.BELNR POSNR BILL_CE1CNO1_R3DF.POSNR POSNR CE1CNO1.POSNR HZDAT BILL_CE1CNO1_R3DF.HZDAT HZDAT CE1CNO1.HZDAT GJAHR BILL_CE1CNO1_R3DF.GJAHR GJAHR CE1CNO1.GJAHR PERDE BILL_CE1CNO1_R3DF.PERDE PERDE CE1CNO1.PERDE WADAT BILL_CE1CNO1_R3DF.WADAT WADAT CE1CNO1.WADAT FADAT BILL_CE1CNO1_R3DF.FADAT FADAT CE1CNO1.FADAT BUDAT BILL_CE1CNO1_R3DF.BUDAT BUDAT CE1CNO1.BUDAT KNDNR BILL_CE1CNO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1CNO1.KNDNR, '0'), '-') ARTNR BILL_CE1CNO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1CNO1.ARTNR, '0'), '-') FKART BILL_CE1CNO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1CNO1.FKART FRWAE BILL_CE1CNO1_R3DF.FRWAE FRWAE CE1CNO1.FRWAE KURSF BILL_CE1CNO1_R3DF.KURSF KURSF CE1CNO1.KURSF KAUFN BILL_CE1CNO1_R3DF.KAUFN KAUFN CE1CNO1.KAUFN KDPOS BILL_CE1CNO1_R3DF.KDPOS KDPOS CE1CNO1.KDPOS BUKRS BILL_CE1CNO1_R3DF.BUKRS BUKRS CE1CNO1.BUKRS KOKRS BILL_CE1CNO1_R3DF.KOKRS KOKRS CE1CNO1.KOKRS WERKS BILL_CE1CNO1_R3DF.WERKS WERKS nvl(CE1CNO1.WERKS, '-') GSBER BILL_CE1CNO1_R3DF.GSBER GSBER CE1CNO1.GSBER VKORG BILL_CE1CNO1_R3DF.VKORG VKORG ifthenelse((CE1CNO1.VKORG = ' CE1CNO1.VKORG) VTWEG BILL_CE1CNO1_R3DF.VTWEG VTWEG nvl(CE1CNO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1CNO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1CNO1_R3DF.SPART SPART nvl(CE1CNO1.SPART, '01') RBELN BILL_CE1CNO1_R3DF.RBELN RBELN CE1CNO1.RBELN RPOSN BILL_CE1CNO1_R3DF.RPOSN RPOSN CE1CNO1.RPOSN PRCTR BILL_CE1CNO1_R3DF.PRCTR PRCTR CE1CNO1.PRCTR TIMESTMP BILL_CE1CNO1_R3DF.TIMESTMP TIMESTMP CE1CNO1.TIMESTMP WWMKT BILL_CE1CNO1_R3DF.WWMKT WWMKT CE1CNO1.WWMKT ABSMG_ME BILL_CE1CNO1_R3DF.ABSMG_ME ABSMG_ME CE1CNO1.ABSMG_ME ABSMG BILL_CE1CNO1_R3DF.ABSMG ABSMG CE1CNO1.ABSMG ERLOS BILL_CE1CNO1_R3DF.ERLOS ERLOS (CE1CNO1.ERLOS + CE1CNO1.VVATR) MRABA BILL_CE1CNO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1CNO1.MRABA RABAT BILL_CE1CNO1_R3DF.RABAT RABAT CE1CNO1.RABAT JBONU BILL_CE1CNO1_R3DF.JBONU JBONU CE1CNO1.JBONU AUSFR BILL_CE1CNO1_R3DF.AUSFR AUSFR CE1CNO1.AUSFR BRSCH BILL_CE1CNO1_R3DF.BRSCH BRSCH CE1CNO1.BRSCH VVMAT BILL_CE1CNO1_R3DF.VVMAT VVMAT CE1CNO1.VVMAT VVLAB BILL_CE1CNO1_R3DF.VVLAB VVLAB CE1CNO1.VVLAB VVPRO BILL_CE1CNO1_R3DF.VVPRO VVPRO CE1CNO1.VVPRO VVTPR BILL_CE1CNO1_R3DF.VVTPR VVTPR CE1CNO1.VVTPR WWSET BILL_CE1CNO1_R3DF.WWSET WWSET CE1CNO1.WWSET VVRBT BILL_CE1CNO1_R3DF.VVRBT VVRBT CE1CNO1.VVRBT COUNTRY BILL_CE1CNO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'CN' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1CNO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1CNO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1CNO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1CNO1.VKORG = ' '), CE1CNO1.BUKRS, CE1CNO1.VKORG) VTWEG nvl(CE1CNO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1CNO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1CNO1_R3DF.BUDAT) BUDAT CE1CNO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1CNO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1CNO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1CNO1.VKORG = ' '), CE1CNO1.BUKRS, CE1CNO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1CNO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1CNO1.SPART, '01') KZWI1 BILL_CE1CNO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1CNO1.KAUFN, POSNR, CE1CNO1.KDPOS) KWMENG BILL_CE1CNO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1CNO1.KAUFN, POSNR, CE1CNO1.KDPOS) KURSK BILL_CE1CNO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1CNO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1CNO1_R3DF.VVINS VVINS CE1CNO1.VVINS VVERL BILL_CE1CNO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance Revenues CTR/IO Revenues CTR/IO

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = Query.VVWAS = Query.VVWAS = Query.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1CNO1_R3DF.VVRDG VVRDG CE1CNO1.VVRDG VVRDA BILL_CE1CNO1_R3DF.VVRDA VVRDA CE1CNO1.VVRDA VVROT BILL_CE1CNO1_R3DF.VVROT VVROT CE1CNO1.VVROT WWCAT BILL_CE1CNO1_R3DF.WWCAT WWCAT CE1CNO1.WWCAT LOCAL_CURRENCY BILL_CE1CNO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1CNO1.BUKRS) MSTAV BILL_CE1CNO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1CNO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS BILL_CE1CNO1_R3DF.VVWAS VVWAS CE1CNO1.VVWAS VVATC BILL_CE1CNO1_R3DF.VVATC VVATC CE1CNO1.VVATC

Revenues CTR/IO Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

Warranty Serv Mat Warranty Serv Mat Warranty Serv Mat AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1CNO1 MARA T001 VBAP VBKD 1.1.4.10. BILL_KRO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1KRO1 MARA T001 VBAP VBKD 1.1.4.10.1. BILL_CE1KRO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1KRO1_R3DF.PALEDGER PALEDGER CE1KRO1.PALEDGER VRGAR BILL_CE1KRO1_R3DF.VRGAR VRGAR CE1KRO1.VRGAR VERSI BILL_CE1KRO1_R3DF.VERSI VERSI CE1KRO1.VERSI PERIO BILL_CE1KRO1_R3DF.PERIO PERIO CE1KRO1.PERIO PAOBJNR BILL_CE1KRO1_R3DF.PAOBJNR PAOBJNR CE1KRO1.PAOBJNR PASUBNR BILL_CE1KRO1_R3DF.PASUBNR PASUBNR CE1KRO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1KRO1_R3DF.BELNR BELNR CE1KRO1.BELNR POSNR BILL_CE1KRO1_R3DF.POSNR POSNR CE1KRO1.POSNR HZDAT BILL_CE1KRO1_R3DF.HZDAT HZDAT CE1KRO1.HZDAT GJAHR BILL_CE1KRO1_R3DF.GJAHR GJAHR CE1KRO1.GJAHR PERDE BILL_CE1KRO1_R3DF.PERDE PERDE CE1KRO1.PERDE WADAT BILL_CE1KRO1_R3DF.WADAT WADAT CE1KRO1.WADAT FADAT BILL_CE1KRO1_R3DF.FADAT FADAT CE1KRO1.FADAT BUDAT BILL_CE1KRO1_R3DF.BUDAT BUDAT CE1KRO1.BUDAT KNDNR BILL_CE1KRO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1KRO1.KNDNR, '0'), '-') ARTNR BILL_CE1KRO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1KRO1.ARTNR, '0'), '-') FKART BILL_CE1KRO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1KRO1.FKART FRWAE BILL_CE1KRO1_R3DF.FRWAE FRWAE CE1KRO1.FRWAE KURSF BILL_CE1KRO1_R3DF.KURSF KURSF CE1KRO1.KURSF KAUFN BILL_CE1KRO1_R3DF.KAUFN KAUFN CE1KRO1.KAUFN KDPOS BILL_CE1KRO1_R3DF.KDPOS KDPOS CE1KRO1.KDPOS BUKRS BILL_CE1KRO1_R3DF.BUKRS BUKRS CE1KRO1.BUKRS KOKRS BILL_CE1KRO1_R3DF.KOKRS KOKRS CE1KRO1.KOKRS WERKS BILL_CE1KRO1_R3DF.WERKS WERKS nvl(CE1KRO1.WERKS, '-') GSBER BILL_CE1KRO1_R3DF.GSBER GSBER CE1KRO1.GSBER VKORG BILL_CE1KRO1_R3DF.VKORG VKORG ifthenelse((CE1KRO1.VKORG = ' CE1KRO1.VKORG) VTWEG BILL_CE1KRO1_R3DF.VTWEG VTWEG nvl(CE1KRO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1KRO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1KRO1_R3DF.SPART SPART nvl(CE1KRO1.SPART, '01') RBELN BILL_CE1KRO1_R3DF.RBELN RBELN CE1KRO1.RBELN RPOSN BILL_CE1KRO1_R3DF.RPOSN RPOSN CE1KRO1.RPOSN PRCTR BILL_CE1KRO1_R3DF.PRCTR PRCTR CE1KRO1.PRCTR TIMESTMP BILL_CE1KRO1_R3DF.TIMESTMP TIMESTMP CE1KRO1.TIMESTMP WWMKT BILL_CE1KRO1_R3DF.WWMKT WWMKT CE1KRO1.WWMKT ABSMG_ME BILL_CE1KRO1_R3DF.ABSMG_ME ABSMG_ME CE1KRO1.ABSMG_ME ABSMG BILL_CE1KRO1_R3DF.ABSMG ABSMG CE1KRO1.ABSMG ERLOS BILL_CE1KRO1_R3DF.ERLOS ERLOS (CE1KRO1.ERLOS + CE1KRO1.vvatr) MRABA BILL_CE1KRO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1KRO1.MRABA RABAT BILL_CE1KRO1_R3DF.RABAT RABAT CE1KRO1.RABAT JBONU BILL_CE1KRO1_R3DF.JBONU JBONU CE1KRO1.JBONU AUSFR BILL_CE1KRO1_R3DF.AUSFR AUSFR CE1KRO1.AUSFR BRSCH BILL_CE1KRO1_R3DF.BRSCH BRSCH CE1KRO1.BRSCH VVMAT BILL_CE1KRO1_R3DF.VVMAT VVMAT CE1KRO1.VVMAT VVLAB BILL_CE1KRO1_R3DF.VVLAB VVLAB CE1KRO1.VVLAB VVPRO BILL_CE1KRO1_R3DF.VVPRO VVPRO CE1KRO1.VVPRO VVTPR BILL_CE1KRO1_R3DF.VVTPR VVTPR CE1KRO1.VVTPR WWSET BILL_CE1KRO1_R3DF.WWSET WWSET CE1KRO1.WWSET VVRBT BILL_CE1KRO1_R3DF.VVRBT VVRBT CE1KRO1.VVRBT COUNTRY BILL_CE1KRO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'KR' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1KRO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1KRO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1KRO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1KRO1.VKORG = ' '), CE1KRO1.BUKRS, CE1KRO1.VKORG) VTWEG nvl(CE1KRO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1KRO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1KRO1_R3DF.BUDAT) BUDAT CE1KRO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1KRO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1KRO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1KRO1.VKORG = ' '), CE1KRO1.BUKRS, CE1KRO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1KRO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1KRO1.SPART, '01') KZWI1 BILL_CE1KRO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1KRO1.KAUFN, POSNR, CE1KRO1.KDPOS) KWMENG BILL_CE1KRO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1KRO1.KAUFN, POSNR, CE1KRO1.KDPOS) KURSK BILL_CE1KRO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1KRO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1KRO1_R3DF.VVINS VVINS CE1KRO1.VVINS VVERL BILL_CE1KRO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance Revenues CTR/IO Revenues CTR/IO

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = Query.VVWAS = Query.VVWAS = Query.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1KRO1_R3DF.VVRDG VVRDG CE1KRO1.VVRDG VVRDA BILL_CE1KRO1_R3DF.VVRDA VVRDA CE1KRO1.VVRDA VVROT BILL_CE1KRO1_R3DF.VVROT VVROT CE1KRO1.VVROT WWCAT BILL_CE1KRO1_R3DF.WWCAT WWCAT CE1KRO1.WWCAT LOCAL_CURRENCY BILL_CE1KRO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1KRO1.BUKRS) MSTAV BILL_CE1KRO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1KRO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS BILL_CE1KRO1_R3DF.VVWAS VVWAS CE1KRO1.VVWAS VVATC BILL_CE1KRO1_R3DF.VVATC VVATC CE1KRO1.VVATC

Revenues CTR/IO Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

Warranty Serv Mat Warranty Serv Mat Warranty Serv Mat AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1KRO1 MARA T001 VBAP VBKD 1.1.4.11. BILL_JPO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

CE1JPO1 MARA T001 VBAP VBKD 1.1.4.11.1. BILL_CE1JPO1_DF

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR =

PALEDGER BILL_CE1JPO1_R3DF.PALEDGER PALEDGER CE1JPO1.PALEDGER VRGAR BILL_CE1JPO1_R3DF.VRGAR VRGAR CE1JPO1.VRGAR VERSI BILL_CE1JPO1_R3DF.VERSI VERSI CE1JPO1.VERSI PERIO BILL_CE1JPO1_R3DF.PERIO PERIO CE1JPO1.PERIO PAOBJNR BILL_CE1JPO1_R3DF.PAOBJNR PAOBJNR CE1JPO1.PAOBJNR PASUBNR BILL_CE1JPO1_R3DF.PASUBNR PASUBNR CE1JPO1.PASUBNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA)

ADM_DS.BILL_CE1O1.BELNR Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART =

BELNR BILL_CE1JPO1_R3DF.BELNR BELNR CE1JPO1.BELNR POSNR BILL_CE1JPO1_R3DF.POSNR POSNR CE1JPO1.POSNR HZDAT BILL_CE1JPO1_R3DF.HZDAT HZDAT CE1JPO1.HZDAT GJAHR BILL_CE1JPO1_R3DF.GJAHR GJAHR CE1JPO1.GJAHR PERDE BILL_CE1JPO1_R3DF.PERDE PERDE CE1JPO1.PERDE WADAT BILL_CE1JPO1_R3DF.WADAT WADAT CE1JPO1.WADAT FADAT BILL_CE1JPO1_R3DF.FADAT FADAT CE1JPO1.FADAT BUDAT BILL_CE1JPO1_R3DF.BUDAT BUDAT CE1JPO1.BUDAT KNDNR BILL_CE1JPO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1JPO1.KNDNR, '0'), '-') ARTNR BILL_CE1JPO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1JPO1.ARTNR, '0'), '-') FKART BILL_CE1JPO1_R3DF.FKART

Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type

Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG =

FKART CE1JPO1.FKART FRWAE BILL_CE1JPO1_R3DF.FRWAE FRWAE CE1JPO1.FRWAE KURSF BILL_CE1JPO1_R3DF.KURSF KURSF CE1JPO1.KURSF KAUFN BILL_CE1JPO1_R3DF.KAUFN KAUFN CE1JPO1.KAUFN KDPOS BILL_CE1JPO1_R3DF.KDPOS KDPOS CE1JPO1.KDPOS BUKRS BILL_CE1JPO1_R3DF.BUKRS BUKRS CE1JPO1.BUKRS KOKRS BILL_CE1JPO1_R3DF.KOKRS KOKRS CE1JPO1.KOKRS WERKS BILL_CE1JPO1_R3DF.WERKS WERKS nvl(CE1JPO1.WERKS, '-') GSBER BILL_CE1JPO1_R3DF.GSBER GSBER CE1JPO1.GSBER VKORG BILL_CE1JPO1_R3DF.VKORG VKORG ifthenelse((CE1JPO1.VKORG = ' CE1JPO1.VKORG) VTWEG BILL_CE1JPO1_R3DF.VTWEG VTWEG nvl(CE1JPO1.VTWEG, '01')

Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1JPO1.BUKRS,

Distribution channel Distribution channel Distribution channel

ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA =

SPART BILL_CE1JPO1_R3DF.SPART SPART nvl(CE1JPO1.SPART, '01') RBELN BILL_CE1JPO1_R3DF.RBELN RBELN CE1JPO1.RBELN RPOSN BILL_CE1JPO1_R3DF.RPOSN RPOSN CE1JPO1.RPOSN PRCTR BILL_CE1JPO1_R3DF.PRCTR PRCTR CE1JPO1.PRCTR TIMESTMP BILL_CE1JPO1_R3DF.TIMESTMP TIMESTMP CE1JPO1.TIMESTMP WWMKT BILL_CE1JPO1_R3DF.WWMKT WWMKT CE1JPO1.WWMKT ABSMG_ME BILL_CE1JPO1_R3DF.ABSMG_ME ABSMG_ME CE1JPO1.ABSMG_ME ABSMG BILL_CE1JPO1_R3DF.ABSMG ABSMG CE1JPO1.ABSMG ERLOS BILL_CE1JPO1_R3DF.ERLOS ERLOS (CE1JPO1.ERLOS + CE1JPO1.VVATR) MRABA BILL_CE1JPO1_R3DF.MRABA MRABA

Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount

Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY =

CE1JPO1.MRABA RABAT BILL_CE1JPO1_R3DF.RABAT RABAT CE1JPO1.RABAT JBONU BILL_CE1JPO1_R3DF.JBONU JBONU CE1JPO1.JBONU AUSFR BILL_CE1JPO1_R3DF.AUSFR AUSFR CE1JPO1.AUSFR BRSCH BILL_CE1JPO1_R3DF.BRSCH BRSCH CE1JPO1.BRSCH VVMAT BILL_CE1JPO1_R3DF.VVMAT VVMAT CE1JPO1.VVMAT VVLAB BILL_CE1JPO1_R3DF.VVLAB VVLAB CE1JPO1.VVLAB VVPRO BILL_CE1JPO1_R3DF.VVPRO VVPRO CE1JPO1.VVPRO VVTPR BILL_CE1JPO1_R3DF.VVTPR VVTPR CE1JPO1.VVTPR WWSET BILL_CE1JPO1_R3DF.WWSET WWSET CE1JPO1.WWSET VVRBT BILL_CE1JPO1_R3DF.VVRBT VVRBT CE1JPO1.VVRBT COUNTRY BILL_CE1JPO1_R3DF.COUNTRY

Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

COUNTRY 'JP' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1JPO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1JPO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.SPART)) KNDNR nvl(ltrim(CE1JPO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1JPO1.VKORG = ' '), CE1JPO1.BUKRS, CE1JPO1.VKORG) VTWEG nvl(CE1JPO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION SPART nvl(CE1JPO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1JPO1_R3DF.BUDAT) BUDAT CE1JPO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.ABSMG_ME)) Product number Product number

Plant Plant

Query.KNDNR Query.KNDNR Query.VKORG Query.VKORG

= = = =

Customer Customer Sales organization Sales organization Distribution channel Distribution channel

Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID =

Division Division

Posting date Posting date

Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1JPO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1JPO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1JPO1.VKORG = ' '), CE1JPO1.BUKRS, CE1JPO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1JPO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.KZWI1 = Query.KZWI1 = Query.KZWI1 = Query.KZWI1 = ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = SPART nvl(CE1JPO1.SPART, '01') KZWI1 BILL_CE1JPO1_R3DF.KZWI1 KZWI1 lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1JPO1.KAUFN, POSNR, CE1JPO1.KDPOS) KWMENG BILL_CE1JPO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1JPO1.KAUFN, POSNR, CE1JPO1.KDPOS) KURSK BILL_CE1JPO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1JPO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1JPO1_R3DF.VVINS VVINS CE1JPO1.VVINS VVERL BILL_CE1JPO1_R3DF.VVERL VVERL

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

Insurance Insurance Insurance Revenues CTR/IO Revenues CTR/IO

Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = Query.VVWAS = Query.VVWAS = Query.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

0 VVRDG BILL_CE1JPO1_R3DF.VVRDG VVRDG CE1JPO1.VVRDG VVRDA BILL_CE1JPO1_R3DF.VVRDA VVRDA CE1JPO1.VVRDA VVROT BILL_CE1JPO1_R3DF.VVROT VVROT CE1JPO1.VVROT WWCAT BILL_CE1JPO1_R3DF.WWCAT WWCAT CE1JPO1.WWCAT LOCAL_CURRENCY BILL_CE1JPO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1JPO1.BUKRS) MSTAV BILL_CE1JPO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1JPO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS BILL_CE1JPO1_R3DF.VVWAS VVWAS CE1JPO1.VVWAS VVATC BILL_CE1JPO1_R3DF.VVATC VVATC CE1JPO1.VVATC

Revenues CTR/IO Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

Warranty Serv Mat Warranty Serv Mat Warranty Serv Mat AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS

SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1JPO1 MARA T001 VBAP VBKD 1.1.4.12. BILL_SGO1_CDC_WF Table usage ADM_DS SD_DATA.BILL_CE1O1 SAP_DS CE1SGO1 MARA T001

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

(Target)

(Source) (Lookup()) (Lookup())

VBAP VBKD 1.1.4.12.1. BILL_CE1SGO1_DF

(Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER = ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR = ADM_DS.BILL_CE1O1.BELNR = Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR = Query.POSNR = Query.POSNR = Query.POSNR =

PALEDGER BILL_CE1SGO1_R3DF.PALEDGER PALEDGER CE1SGO1.PALEDGER VRGAR BILL_CE1SGO1_R3DF.VRGAR VRGAR CE1SGO1.VRGAR VERSI BILL_CE1SGO1_R3DF.VERSI VERSI CE1SGO1.VERSI PERIO BILL_CE1SGO1_R3DF.PERIO PERIO CE1SGO1.PERIO PAOBJNR BILL_CE1SGO1_R3DF.PAOBJNR PAOBJNR CE1SGO1.PAOBJNR PASUBNR BILL_CE1SGO1_R3DF.PASUBNR PASUBNR CE1SGO1.PASUBNR BELNR BILL_CE1SGO1_R3DF.BELNR BELNR CE1SGO1.BELNR POSNR BILL_CE1SGO1_R3DF.POSNR POSNR CE1SGO1.POSNR

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item

ADM_DS.BILL_CE1O1.HZDAT Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT Query.WADAT = Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART = Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF =

HZDAT BILL_CE1SGO1_R3DF.HZDAT HZDAT CE1SGO1.HZDAT GJAHR BILL_CE1SGO1_R3DF.GJAHR GJAHR CE1SGO1.GJAHR PERDE BILL_CE1SGO1_R3DF.PERDE PERDE CE1SGO1.PERDE WADAT BILL_CE1SGO1_R3DF.WADAT WADAT CE1SGO1.WADAT FADAT BILL_CE1SGO1_R3DF.FADAT FADAT CE1SGO1.FADAT BUDAT BILL_CE1SGO1_R3DF.BUDAT BUDAT CE1SGO1.BUDAT KNDNR BILL_CE1SGO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1SGO1.KNDNR, '0'), '-') ARTNR BILL_CE1SGO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1SGO1.ARTNR, '0'), '-') FKART BILL_CE1SGO1_R3DF.FKART FKART CE1SGO1.FKART FRWAE BILL_CE1SGO1_R3DF.FRWAE FRWAE CE1SGO1.FRWAE KURSF BILL_CE1SGO1_R3DF.KURSF

Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate

Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG Query.VKORG = Query.VKORG = Query.VKORG =

ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG = ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN =

KURSF CE1SGO1.KURSF KAUFN BILL_CE1SGO1_R3DF.KAUFN KAUFN CE1SGO1.KAUFN KDPOS BILL_CE1SGO1_R3DF.KDPOS KDPOS CE1SGO1.KDPOS BUKRS BILL_CE1SGO1_R3DF.BUKRS BUKRS CE1SGO1.BUKRS KOKRS BILL_CE1SGO1_R3DF.KOKRS KOKRS CE1SGO1.KOKRS WERKS BILL_CE1SGO1_R3DF.WERKS WERKS nvl(CE1SGO1.WERKS, '-') GSBER BILL_CE1SGO1_R3DF.GSBER GSBER CE1SGO1.GSBER VKORG BILL_CE1SGO1_R3DF.VKORG VKORG ifthenelse((CE1SGO1.VKORG = ' CE1SGO1.VKORG) VTWEG BILL_CE1SGO1_R3DF.VTWEG VTWEG nvl(CE1SGO1.VTWEG, '01') SPART BILL_CE1SGO1_R3DF.SPART SPART nvl(CE1SGO1.SPART, '01') RBELN BILL_CE1SGO1_R3DF.RBELN RBELN

Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1SGO1.BUKRS,

Distribution channel Distribution channel Distribution channel Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line

item Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA = Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = CE1SGO1.RBELN RPOSN BILL_CE1SGO1_R3DF.RPOSN RPOSN CE1SGO1.RPOSN PRCTR BILL_CE1SGO1_R3DF.PRCTR PRCTR CE1SGO1.PRCTR TIMESTMP BILL_CE1SGO1_R3DF.TIMESTMP TIMESTMP CE1SGO1.TIMESTMP WWMKT BILL_CE1SGO1_R3DF.WWMKT WWMKT CE1SGO1.WWMKT ABSMG_ME BILL_CE1SGO1_R3DF.ABSMG_ME ABSMG_ME CE1SGO1.ABSMG_ME ABSMG BILL_CE1SGO1_R3DF.ABSMG ABSMG CE1SGO1.ABSMG ERLOS BILL_CE1SGO1_R3DF.ERLOS ERLOS (CE1SGO1.ERLOS + CE1SGO1.VVATR) MRABA BILL_CE1SGO1_R3DF.MRABA MRABA CE1SGO1.MRABA RABAT BILL_CE1SGO1_R3DF.RABAT RABAT CE1SGO1.RABAT JBONU BILL_CE1SGO1_R3DF.JBONU JBONU CE1SGO1.JBONU Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime) MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Reference document number for CO-PA line item

ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB = Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY = Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID =

AUSFR BILL_CE1SGO1_R3DF.AUSFR AUSFR CE1SGO1.AUSFR BRSCH BILL_CE1SGO1_R3DF.BRSCH BRSCH CE1SGO1.BRSCH VVMAT BILL_CE1SGO1_R3DF.VVMAT VVMAT CE1SGO1.VVMAT VVLAB BILL_CE1SGO1_R3DF.VVLAB VVLAB CE1SGO1.VVLAB VVPRO BILL_CE1SGO1_R3DF.VVPRO VVPRO CE1SGO1.VVPRO VVTPR BILL_CE1SGO1_R3DF.VVTPR VVTPR CE1SGO1.VVTPR WWSET BILL_CE1SGO1_R3DF.WWSET WWSET CE1SGO1.WWSET VVRBT BILL_CE1SGO1_R3DF.VVRBT VVRBT CE1SGO1.VVRBT COUNTRY BILL_CE1SGO1_R3DF.COUNTRY COUNTRY 'SG' MATERIAL_SID 0 CUSTOMER_SID 0 TIME_SID adm_datetotimedim_fn(BILL_CE1SGO1_R3DF.BUDAT)

Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Query.BUDAT = BUDAT Query.BUDAT = CE1SGO1.BUDAT ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = UNIT_OF_MEASURE_SID Query.UNIT_OF_MEASURE_SID = 0 ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = 0 ADM_DS.BILL_CE1O1.KZWI1 = KZWI1 Query.KZWI1 = BILL_CE1SGO1_R3DF.KZWI1 Query.KZWI1 = KZWI1 Query.KZWI1 = lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN, CE1SGO1.KAUFN, POSNR, CE1SGO1.KDPOS) ADM_DS.BILL_CE1O1.KWMENG = KWMENG Query.KWMENG = BILL_CE1SGO1_R3DF.KWMENG Query.KWMENG = KWMENG Query.KWMENG = lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1SGO1.KAUFN, POSNR, CE1SGO1.KDPOS) ADM_DS.BILL_CE1O1.KURSK = KURSK Query.KURSK = BILL_CE1SGO1_R3DF.KURSK Query.KURSK = KURSK Query.KURSK = lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1SGO1.KAUFN, POSNR, 0) ADM_DS.BILL_CE1O1.DWH_DATE = DWH_DATE Query.DWH_DATE = sysdate() ADM_DS.BILL_CE1O1.VVINS = VVINS Query.VVINS = BILL_CE1SGO1_R3DF.VVINS Query.VVINS = VVINS Query.VVINS = CE1SGO1.VVINS ADM_DS.BILL_CE1O1.VVERL = VVERL Query.VVERL = BILL_CE1SGO1_R3DF.VVERL Query.VVERL = VVERL Query.VVERL = 0 ADM_DS.BILL_CE1O1.VVRDG = VVRDG Query.VVRDG = BILL_CE1SGO1_R3DF.VVRDG Query.VVRDG = VVRDG Query.VVRDG = CE1SGO1.VVRDG ADM_DS.BILL_CE1O1.VVRDA = VVRDA Query.VVRDA = BILL_CE1SGO1_R3DF.VVRDA Query.VVRDA = VVRDA Query.VVRDA = CE1SGO1.VVRDA ADM_DS.BILL_CE1O1.VVROT = VVROT Query.VVROT = BILL_CE1SGO1_R3DF.VVROT Query.VVROT = VVROT Query.VVROT = CE1SGO1.VVROT

Posting date Posting date

Insurance Insurance Insurance Revenues CTR/IO Revenues CTR/IO Revenues CTR/IO Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other

ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

WWCAT BILL_CE1SGO1_R3DF.WWCAT WWCAT CE1SGO1.WWCAT LOCAL_CURRENCY BILL_CE1SGO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1SGO1.BUKRS) MSTAV BILL_CE1SGO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1SGO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS VVATC BILL_CE1SGO1_R3DF.VVATC VVATC CE1SGO1.VVATC

CustomerCatagory CustomerCatagory CustomerCatagory

Service ASE (add on)

AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS SD_DATA.BILL_CE1O1 SAP_DS CE1SGO1 MARA T001 VBAP (Source) (Lookup()) (Lookup()) (Lookup()) (Target)

VBKD 1.1.4.13. BILL_AEO1_CDC_WF Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1AEO1 MARA T001 VBAP VBKD 1.1.4.13.1. BILL_CE1AEO1_DF

(Lookup())

(Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

(Source) (Lookup()) (Lookup()) (Lookup()) (Lookup())

BILL_CE1O1

ADM_DS.BILL_CE1O1.PALEDGER = Query.PALEDGER = Query.PALEDGER = Query.PALEDGER =

PALEDGER BILL_CE1AEO1_R3DF.PALEDGER PALEDGER CE1AEO1.PALEDGER

Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA) Ledger for profitability segments (CO-PA)

ADM_DS.BILL_CE1O1.VRGAR = Query.VRGAR = Query.VRGAR = Query.VRGAR = ADM_DS.BILL_CE1O1.VERSI = Query.VERSI = Query.VERSI = Query.VERSI = ADM_DS.BILL_CE1O1.PERIO = Query.PERIO = Query.PERIO = Query.PERIO = ADM_DS.BILL_CE1O1.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = Query.PAOBJNR = ADM_DS.BILL_CE1O1.PASUBNR = Query.PASUBNR = Query.PASUBNR = Query.PASUBNR = ADM_DS.BILL_CE1O1.BELNR = Query.BELNR = Query.BELNR = Query.BELNR = ADM_DS.BILL_CE1O1.POSNR = Query.POSNR = Query.POSNR = Query.POSNR = ADM_DS.BILL_CE1O1.HZDAT = Query.HZDAT = Query.HZDAT = Query.HZDAT = ADM_DS.BILL_CE1O1.GJAHR = Query.GJAHR = Query.GJAHR = Query.GJAHR = ADM_DS.BILL_CE1O1.PERDE = Query.PERDE = Query.PERDE = Query.PERDE = ADM_DS.BILL_CE1O1.WADAT = Query.WADAT =

VRGAR BILL_CE1AEO1_R3DF.VRGAR VRGAR CE1AEO1.VRGAR VERSI BILL_CE1AEO1_R3DF.VERSI VERSI CE1AEO1.VERSI PERIO BILL_CE1AEO1_R3DF.PERIO PERIO CE1AEO1.PERIO PAOBJNR BILL_CE1AEO1_R3DF.PAOBJNR PAOBJNR CE1AEO1.PAOBJNR PASUBNR BILL_CE1AEO1_R3DF.PASUBNR PASUBNR CE1AEO1.PASUBNR BELNR BILL_CE1AEO1_R3DF.BELNR BELNR CE1AEO1.BELNR POSNR BILL_CE1AEO1_R3DF.POSNR POSNR CE1AEO1.POSNR HZDAT BILL_CE1AEO1_R3DF.HZDAT HZDAT CE1AEO1.HZDAT GJAHR BILL_CE1AEO1_R3DF.GJAHR GJAHR CE1AEO1.GJAHR PERDE BILL_CE1AEO1_R3DF.PERDE PERDE CE1AEO1.PERDE WADAT BILL_CE1AEO1_R3DF.WADAT

Record type Record type Record type Version (CO-PA) Version (CO-PA) Version (CO-PA) Period/year Period/year Period/year Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment number (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Profitability segment changes (CO-PA) Document number of CO-PA line item Document number of CO-PA line item Document number of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Item no. of CO-PA line item Date on which the record was created Date on which the record was created Date on which the record was created Fiscal year Fiscal year Fiscal year Period Period Period Goods issue date

Query.WADAT = Query.WADAT = ADM_DS.BILL_CE1O1.FADAT Query.FADAT = Query.FADAT = Query.FADAT = ADM_DS.BILL_CE1O1.BUDAT Query.BUDAT = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.KNDNR Query.KNDNR = Query.KNDNR = Query.KNDNR = ADM_DS.BILL_CE1O1.ARTNR Query.ARTNR = Query.ARTNR = Query.ARTNR = ADM_DS.BILL_CE1O1.FKART Query.FKART = Query.FKART = Query.FKART = ADM_DS.BILL_CE1O1.FRWAE Query.FRWAE = Query.FRWAE = Query.FRWAE = ADM_DS.BILL_CE1O1.KURSF Query.KURSF = Query.KURSF = Query.KURSF = ADM_DS.BILL_CE1O1.KAUFN Query.KAUFN = Query.KAUFN = Query.KAUFN = ADM_DS.BILL_CE1O1.KDPOS Query.KDPOS = Query.KDPOS = Query.KDPOS = ADM_DS.BILL_CE1O1.BUKRS Query.BUKRS = Query.BUKRS = Query.BUKRS = ADM_DS.BILL_CE1O1.KOKRS

WADAT CE1AEO1.WADAT FADAT BILL_CE1AEO1_R3DF.FADAT FADAT CE1AEO1.FADAT BUDAT BILL_CE1AEO1_R3DF.BUDAT BUDAT CE1AEO1.BUDAT KNDNR BILL_CE1AEO1_R3DF.KNDNR KNDNR nvl(ltrim(CE1AEO1.KNDNR, '0'), '-') ARTNR BILL_CE1AEO1_R3DF.ARTNR ARTNR nvl(ltrim(CE1AEO1.ARTNR, '0'), '-') FKART BILL_CE1AEO1_R3DF.FKART FKART CE1AEO1.FKART FRWAE BILL_CE1AEO1_R3DF.FRWAE FRWAE CE1AEO1.FRWAE KURSF BILL_CE1AEO1_R3DF.KURSF KURSF CE1AEO1.KURSF KAUFN BILL_CE1AEO1_R3DF.KAUFN KAUFN CE1AEO1.KAUFN KDPOS BILL_CE1AEO1_R3DF.KDPOS KDPOS CE1AEO1.KDPOS BUKRS BILL_CE1AEO1_R3DF.BUKRS BUKRS CE1AEO1.BUKRS KOKRS

Goods issue date Goods issue date Invoice date (date created) Invoice date (date created) Invoice date (date created) Posting date Posting date Posting date Customer Customer Customer Product number Product number Product number Billing type Billing type Billing type Foreign currency key Foreign currency key Foreign currency key Exchange rate Exchange rate Exchange rate Sales order number Sales order number Sales order number Item number in sales order Item number in sales order Item number in sales order Company code Company code Company code

Query.KOKRS = Query.KOKRS = Query.KOKRS = ADM_DS.BILL_CE1O1.WERKS = Query.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.GSBER = Query.GSBER = Query.GSBER = Query.GSBER = ADM_DS.BILL_CE1O1.VKORG = Query.VKORG = Query.VKORG = Query.VKORG = ADM_DS.BILL_CE1O1.VTWEG = Query.VTWEG = Query.VTWEG = Query.VTWEG = ADM_DS.BILL_CE1O1.SPART = Query.SPART = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.RBELN = Query.RBELN = Query.RBELN = Query.RBELN = ADM_DS.BILL_CE1O1.RPOSN = Query.RPOSN = Query.RPOSN = Query.RPOSN = ADM_DS.BILL_CE1O1.PRCTR = Query.PRCTR = Query.PRCTR = Query.PRCTR = ADM_DS.BILL_CE1O1.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP = Query.TIMESTMP =

BILL_CE1AEO1_R3DF.KOKRS KOKRS CE1AEO1.KOKRS WERKS BILL_CE1AEO1_R3DF.WERKS WERKS nvl(CE1AEO1.WERKS, '-') GSBER BILL_CE1AEO1_R3DF.GSBER GSBER CE1AEO1.GSBER VKORG BILL_CE1AEO1_R3DF.VKORG VKORG ifthenelse((CE1AEO1.VKORG = ' CE1AEO1.VKORG) VTWEG BILL_CE1AEO1_R3DF.VTWEG VTWEG nvl(CE1AEO1.VTWEG, '01') SPART BILL_CE1AEO1_R3DF.SPART SPART nvl(CE1AEO1.SPART, '01') RBELN BILL_CE1AEO1_R3DF.RBELN RBELN CE1AEO1.RBELN RPOSN BILL_CE1AEO1_R3DF.RPOSN RPOSN CE1AEO1.RPOSN PRCTR BILL_CE1AEO1_R3DF.PRCTR PRCTR CE1AEO1.PRCTR TIMESTMP BILL_CE1AEO1_R3DF.TIMESTMP TIMESTMP CE1AEO1.TIMESTMP

Controlling area Controlling area Controlling area Plant Plant Plant Business area Business area Business area Sales organization Sales organization Sales organization

'), CE1AEO1.BUKRS,

Distribution channel Distribution channel Distribution channel Division Division Division Reference document number for CO-PA line item Reference document number for CO-PA line item Reference document number for CO-PA line item Item number from reference document (CO-PA) Item number from reference document (CO-PA) Item number from reference document (CO-PA) Profit center Profit center Profit center Time created (Greenwich Meantime) Time created (Greenwich Meantime) Time created (Greenwich Meantime)

ADM_DS.BILL_CE1O1.WWMKT = Query.WWMKT = Query.WWMKT = Query.WWMKT = ADM_DS.BILL_CE1O1.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = Query.ABSMG_ME = ADM_DS.BILL_CE1O1.ABSMG = Query.ABSMG = Query.ABSMG = Query.ABSMG = ADM_DS.BILL_CE1O1.ERLOS = Query.ERLOS = Query.ERLOS = Query.ERLOS = ADM_DS.BILL_CE1O1.MRABA = Query.MRABA = Query.MRABA = Query.MRABA = ADM_DS.BILL_CE1O1.RABAT = Query.RABAT = Query.RABAT = Query.RABAT = ADM_DS.BILL_CE1O1.JBONU = Query.JBONU = Query.JBONU = Query.JBONU = ADM_DS.BILL_CE1O1.AUSFR = Query.AUSFR = Query.AUSFR = Query.AUSFR = ADM_DS.BILL_CE1O1.BRSCH = Query.BRSCH = Query.BRSCH = Query.BRSCH = ADM_DS.BILL_CE1O1.VVMAT = Query.VVMAT = Query.VVMAT = Query.VVMAT = ADM_DS.BILL_CE1O1.VVLAB = Query.VVLAB =

WWMKT BILL_CE1AEO1_R3DF.WWMKT WWMKT CE1AEO1.WWMKT ABSMG_ME BILL_CE1AEO1_R3DF.ABSMG_ME ABSMG_ME CE1AEO1.ABSMG_ME ABSMG BILL_CE1AEO1_R3DF.ABSMG ABSMG CE1AEO1.ABSMG ERLOS BILL_CE1AEO1_R3DF.ERLOS ERLOS (CE1AEO1.ERLOS + CE1AEO1.vvatr) MRABA BILL_CE1AEO1_R3DF.MRABA MRABA CE1AEO1.MRABA RABAT BILL_CE1AEO1_R3DF.RABAT RABAT CE1AEO1.RABAT JBONU BILL_CE1AEO1_R3DF.JBONU JBONU CE1AEO1.JBONU AUSFR BILL_CE1AEO1_R3DF.AUSFR AUSFR CE1AEO1.AUSFR BRSCH BILL_CE1AEO1_R3DF.BRSCH BRSCH CE1AEO1.BRSCH VVMAT BILL_CE1AEO1_R3DF.VVMAT VVMAT CE1AEO1.VVMAT VVLAB BILL_CE1AEO1_R3DF.VVLAB

MarketGroupOEAM MarketGroupOEAM MarketGroupOEAM Base unit of measure Base unit of measure Base unit of measure Sales quantity Sales quantity Sales quantity Revenue Revenue Revenue Quantity discount Quantity discount Quantity discount Other discounts Other discounts Other discounts Annual rebates Annual rebates Annual rebates Outgoing freight Outgoing freight Outgoing freight Industry key Industry key Industry key Material Cost of Sls Material Cost of Sls Material Cost of Sls Labour Cost of Sales

Query.VVLAB = Query.VVLAB = ADM_DS.BILL_CE1O1.VVPRO = Query.VVPRO = Query.VVPRO = Query.VVPRO = ADM_DS.BILL_CE1O1.VVTPR = Query.VVTPR = Query.VVTPR = Query.VVTPR = ADM_DS.BILL_CE1O1.WWSET = Query.WWSET = Query.WWSET = Query.WWSET = ADM_DS.BILL_CE1O1.VVRBT = Query.VVRBT = Query.VVRBT = Query.VVRBT = ADM_DS.BILL_CE1O1.COUNTRY = Query.COUNTRY = Query.COUNTRY = Query.COUNTRY = ADM_DS.BILL_CE1O1.MATERIAL_SID = Query.MATERIAL_SID =

ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID = ADM_DS.ADM_MATERIAL_DIM.MATERIAL = Query.ARTNR = Query.ARTNR = ADM_DS.ADM_MATERIAL_DIM.WERKS = Query.WERKS = Query.WERKS = ADM_DS.BILL_CE1O1.CUSTOMER_SID = Query.CUSTOMER_SID =

VVLAB CE1AEO1.VVLAB VVPRO BILL_CE1AEO1_R3DF.VVPRO VVPRO CE1AEO1.VVPRO VVTPR BILL_CE1AEO1_R3DF.VVTPR VVTPR CE1AEO1.VVTPR WWSET BILL_CE1AEO1_R3DF.WWSET WWSET CE1AEO1.WWSET VVRBT BILL_CE1AEO1_R3DF.VVRBT VVRBT CE1AEO1.VVRBT COUNTRY BILL_CE1AEO1_R3DF.COUNTRY COUNTRY 'AE' MATERIAL_SID lookup(ADM_DS.SD_DATA.ADM_MATERIAL_DIM, MATERIAL_SID, '0', 'PRE_LOAD_CACHE', MATERIAL, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.ARTNR), WERKS, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.WERKS)) ADM_DS.ADM_MATERIAL_DIM.MATERIAL_SID ADM_DS.ADM_MATERIAL_DIM.MATERIAL ARTNR nvl(ltrim(CE1AEO1.ARTNR, '0'), '-') ADM_DS.ADM_MATERIAL_DIM.WERKS WERKS nvl(CE1AEO1.WERKS, '-') CUSTOMER_SID lookup(ADM_DS.SD_DATA.ADM_CUSTOMER_DIM, CUSTOMER_SID, '0', 'PRE_LOAD_CACHE', CUSTOMER_NUMBER, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.KNDNR), SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.VTWEG), DIVISION,

Labour Cost of Sales Labour Cost of Sales Process Cost of Sls Process Cost of Sls Process Cost of Sls Transfer Price COS Transfer Price COS Transfer Price COS Set Number Set Number Set Number Rebates (SD) Rebates (SD) Rebates (SD)

Product number Product number

Plant Plant

adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.SPART)) Query.KNDNR = Query.KNDNR = Query.VKORG = Query.VKORG = Query.VTWEG = Query.VTWEG = ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = Query.SPART = ADM_DS.BILL_CE1O1.TIME_SID = Query.TIME_SID = Query.BUDAT = Query.BUDAT = ADM_DS.BILL_CE1O1.UNIT_OF_MEASURE_SID = Query.UNIT_OF_MEASURE_SID = KNDNR nvl(ltrim(CE1AEO1.KNDNR, '0'), '-') VKORG ifthenelse((CE1AEO1.VKORG = ' '), CE1AEO1.BUKRS, CE1AEO1.VKORG) VTWEG nvl(CE1AEO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION Customer Customer Sales organization Sales organization Distribution channel Distribution channel

SPART nvl(CE1AEO1.SPART, '01') TIME_SID adm_datetotimedim_fn(BILL_CE1AEO1_R3DF.BUDAT) BUDAT CE1AEO1.BUDAT UNIT_OF_MEASURE_SID lookup(ADM_DS.SD_DATA.ADM_UNIT_OF_MEASURE_DIM, UNIT_OF_MEASURE_SID, '0', 'PRE_LOAD_CACHE', UNIT_OF_MEASURE, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.ABSMG_ME)) Query.ABSMG_ME = ABSMG_ME Query.ABSMG_ME = CE1AEO1.ABSMG_ME ADM_DS.BILL_CE1O1.SALES_ORGANIZATION_SID = SALES_ORGANIZATION_SID Query.SALES_ORGANIZATION_SID = lookup(ADM_DS.SD_DATA.ADM_SALES_ORGANIZATION_DIM, SALES_ORGANIZATION_SID, '0', 'PRE_LOAD_CACHE', SALES_ORGANIZATION, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.VKORG), DISTRIBUTION_CHANNEL, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.VTWEG), DIVISION, adm_cleancharcode_fn(BILL_CE1AEO1_R3DF.SPART), SALES_OFFICE, '-', SALES_GROUP, '-') Query.VKORG = VKORG Query.VKORG = ifthenelse((CE1AEO1.VKORG = ' '), CE1AEO1.BUKRS, CE1AEO1.VKORG) Query.VTWEG = VTWEG Query.VTWEG = nvl(CE1AEO1.VTWEG, '01') ADM_DS.ADM_MATERIAL_DIM.DIVISION ADM_DS.ADM_MATERIAL_DIM.DIVISION = Query.SPART = SPART Query.SPART = nvl(CE1AEO1.SPART, '01') ADM_DS.BILL_CE1O1.KZWI1 = KZWI1 Query.KZWI1 = BILL_CE1AEO1_R3DF.KZWI1 Query.KZWI1 = KZWI1 Query.KZWI1 = lookup(SAP_DS."".VBAP, KZWI1, 0, 'NO_CACHE', VBELN,

Division Division

Posting date Posting date

Base unit of measure Base unit of measure

Sales organization Sales organization Distribution channel Distribution channel

Division Division

CE1AEO1.KAUFN, POSNR, CE1AEO1.KDPOS) ADM_DS.BILL_CE1O1.KWMENG = Query.KWMENG = Query.KWMENG = Query.KWMENG = ADM_DS.BILL_CE1O1.KURSK = Query.KURSK = Query.KURSK = Query.KURSK = ADM_DS.BILL_CE1O1.DWH_DATE = Query.DWH_DATE = ADM_DS.BILL_CE1O1.VVINS = Query.VVINS = Query.VVINS = Query.VVINS = ADM_DS.BILL_CE1O1.VVERL = Query.VVERL = Query.VVERL = Query.VVERL = ADM_DS.BILL_CE1O1.VVRDG = Query.VVRDG = Query.VVRDG = Query.VVRDG = ADM_DS.BILL_CE1O1.VVRDA = Query.VVRDA = Query.VVRDA = Query.VVRDA = ADM_DS.BILL_CE1O1.VVROT = Query.VVROT = Query.VVROT = Query.VVROT = ADM_DS.BILL_CE1O1.WWCAT = Query.WWCAT = Query.WWCAT = Query.WWCAT = ADM_DS.BILL_CE1O1.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = Query.LOCAL_CURRENCY = ADM_DS.BILL_CE1O1.MSTAV = KWMENG BILL_CE1AEO1_R3DF.KWMENG KWMENG lookup(SAP_DS."".VBAP, KWMENG, 0, 'NO_CACHE', VBELN, CE1AEO1.KAUFN, POSNR, CE1AEO1.KDPOS) KURSK BILL_CE1AEO1_R3DF.KURSK KURSK lookup(SAP_DS."".VBKD, KURSK, 0, 'NO_CACHE', VBELN, CE1AEO1.KAUFN, POSNR, 0) DWH_DATE sysdate() VVINS BILL_CE1AEO1_R3DF.VVINS VVINS CE1AEO1.VVINS VVERL BILL_CE1AEO1_R3DF.VVERL VVERL 0 VVRDG BILL_CE1AEO1_R3DF.VVRDG VVRDG CE1AEO1.VVRDG VVRDA BILL_CE1AEO1_R3DF.VVRDA VVRDA CE1AEO1.VVRDA VVROT BILL_CE1AEO1_R3DF.VVROT VVROT CE1AEO1.VVROT WWCAT BILL_CE1AEO1_R3DF.WWCAT WWCAT CE1AEO1.WWCAT LOCAL_CURRENCY BILL_CE1AEO1_R3DF.LOCAL_CURRENCY LOCAL_CURRENCY lookup(SAP_DS."".T001, WAERS, '-', 'NO_CACHE', BUKRS, CE1AEO1.BUKRS) MSTAV

Insurance Insurance Insurance Revenues CTR/IO Revenues CTR/IO Revenues CTR/IO Returns Defective Returns Defective Returns Defective Returns Damaged Returns Damaged Returns Damaged Returns Other Returns Other Returns Other CustomerCatagory CustomerCatagory CustomerCatagory

Query.MSTAV = Query.MSTAV = Query.MSTAV = ADM_DS.BILL_CE1O1.VVNOS = Query.VVNOS = ADM_DS.BILL_CE1O1.SOURCE = ADM_DS.BILL_CE1O1.SOURCE_TYPE = ADM_DS.BILL_CE1O1.VVWAS = Query.VVWAS = Query.VVWAS = Query.VVWAS = ADM_DS.BILL_CE1O1.VVATC = Query.VVATC = Query.VVATC = Query.VVATC =

BILL_CE1AEO1_R3DF.MSTAV MSTAV nvl(lookup(SAP_DS."".MARA, MSTAV, '-', 'NO_CACHE', MATNR, CE1AEO1.ARTNR) , '-') VVNOS 0 SOURCE SOURCE_TYPE VVWAS BILL_CE1AEO1_R3DF.VVWAS VVWAS CE1AEO1.VVWAS VVATC BILL_CE1AEO1_R3DF.VVATC VVATC CE1AEO1.VVATC

Warranty Serv Mat Warranty Serv Mat Warranty Serv Mat AM Training Costs AM Training Costs AM Training Costs

Table usage ADM_DS SD_DATA.ADM_CUSTOMER_DIM SD_DATA.ADM_MATERIAL_DIM SD_DATA.ADM_SALES_ORGANIZATION_DIM SD_DATA.ADM_UNIT_OF_MEASURE_DIM SD_DATA.BILL_CE1O1 SAP_DS CE1AEO1 MARA T001 VBAP (Source) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Lookup()) (Target)

VBKD 1.1.5. Wait_for_Billing_batch_WF Table usage

(Lookup())