Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i need your help,
i have three tables and want the last two tables concatenate with the first one
only with the table 2 it works but when i load the third table i get a syn table and the values are wrong
pleas help me
Hi
If you are getting a syn table, then table 3 is not concatenating. Make the concatenation explicit:
Data:
LOAD * FROM Table1;
Concatenate(Data)
LOAD * FROM Table2;
Concatenate(Data)
LOAD * FROM Table3;
HTH
Jonathan
Hi
If you are getting a syn table, then table 3 is not concatenating. Make the concatenation explicit:
Data:
LOAD * FROM Table1;
Concatenate(Data)
LOAD * FROM Table2;
Concatenate(Data)
LOAD * FROM Table3;
HTH
Jonathan
Hi,
add Concatenate keyword before load statement.
if this not work then post your script.
Regards
thanx
what did u mean with add concatenate keyword
thats my script
SAP_IST_F20:
LOAD Geschäftsjahr,
Periode,
AddMonths(makedate(Geschäftsjahr,2), Periode) as Date,
// Month(Periode,+2) AS Month,
// Year(Date) AS Year,
Kostenstelle,
Kostenartengruppe,
Kostenart,
Kostenartenbeschr.,
[Konto Gegenbuchung],
[Bezeichnung des Gegenkontos],
[Wert/BWähr],
Berichtswährung,
Benutzername,
Buchungsdatum,
Bezeichnung,
[Nr Referenzbeleg],
Einkaufsbeleg
FROM
qvd)
(
Where Kostenstelle<>1011747 and Kostenstelle<>1011746 and [Konto Gegenbuchung]<>10010;
Concatenate(SAP_IST_F20)
LV_Betrieb:
LOAD Rechnungsfirma,
Projekt_Rechnung,
Prod,
Bezeichnung_Produkt,
Projekt_ID,
Bezeichnung_Projekt,
Anteil_Projekt,
Projektstatus,
Leistung_ID,
Bezeichnung_Leistung,
Zusatzinfo,
Kontierung_Kunde_I,
Kontierung_Kunde_II,
SummevonMENGE,
Einheit,
Preis_EUR,
EUR,
EUR AS [Wert/BWähr],
Abrechnungsmonat,
Date(Abrechnungsmonat) AS Date,
// Year(Abrechnungsmonat) AS Geschäftsjahr,
// Month(Abrechnungsmonat) AS Periode,
Leistungsmonat,
Rechnungsnummer,
1011747 AS Kostenstelle,
2581500000 AS Kostenart,
'Aufwand Weiterbelastung IT- und EDV-Kost' AS Kostenartenbeschr.
FROM
qvd);
(
Concatenate(SAP_IST_F20)
LV_Projekte:
LOAD Rechnungsfirma,
PROJEKT_RECHNUNG,
PRODUKT,
BEZEICHNUNG_PRODUKT,
PROJEKT_ID,
BEZEICHNUNG_PROJEKT,
ANTEIL_PROJEKT,
PROJEKTSTATUS,
LEISTUNG_ID,
BEZEICHNUNG_LEISTUNG,
ZUSATZINFO,
KONTIERUNG_KUNDE_I,
KONTIERUNG_KUNDE_II,
MENGE,
EINHEIT,
PREIS_EUR,
EUR AS [Wert/BWähr],
Abrechnungsmonat,
Date(Abrechnungsmonat) AS Date,
Leistungsmonat,
Rechnungsnummer,
1011746 AS Kostenstelle
FROM
qvd);
(
Hi,
Just remove table name for 2nd,3rd before load statement
Try Below code
SAP_IST_F20:
LOAD Geschäftsjahr,
Periode,
AddMonths(makedate(Geschäftsjahr,2), Periode) as Date,
// Month(Periode,+2) AS Month,
// Year(Date) AS Year,
Kostenstelle,
Kostenartengruppe,
Kostenart,
Kostenartenbeschr.,
[Konto Gegenbuchung],
[Bezeichnung des Gegenkontos],
[Wert/BWähr],
Berichtswährung,
Benutzername,
Buchungsdatum,
Bezeichnung,
[Nr Referenzbeleg],
Einkaufsbeleg
FROM
qvd)
(
Where Kostenstelle<>1011747 and Kostenstelle<>1011746 and [Konto Gegenbuchung]<>10010;
Concatenate(SAP_IST_F20)
LOAD Rechnungsfirma,
Projekt_Rechnung,
Prod,
Bezeichnung_Produkt,
Projekt_ID,
Bezeichnung_Projekt,
Anteil_Projekt,
Projektstatus,
Leistung_ID,
Bezeichnung_Leistung,
Zusatzinfo,
Kontierung_Kunde_I,
Kontierung_Kunde_II,
SummevonMENGE,
Einheit,
Preis_EUR,
EUR,
EUR AS [Wert/BWähr],
Abrechnungsmonat,
Date(Abrechnungsmonat) AS Date,
// Year(Abrechnungsmonat) AS Geschäftsjahr,
// Month(Abrechnungsmonat) AS Periode,
Leistungsmonat,
Rechnungsnummer,
1011747 AS Kostenstelle,
2581500000 AS Kostenart,
'Aufwand Weiterbelastung IT- und EDV-Kost' AS Kostenartenbeschr.
FROM
qvd);
(
Concatenate(SAP_IST_F20)
LOAD Rechnungsfirma,
PROJEKT_RECHNUNG,
PRODUKT,
BEZEICHNUNG_PRODUKT,
PROJEKT_ID,
BEZEICHNUNG_PROJEKT,
ANTEIL_PROJEKT,
PROJEKTSTATUS,
LEISTUNG_ID,
BEZEICHNUNG_LEISTUNG,
ZUSATZINFO,
KONTIERUNG_KUNDE_I,
KONTIERUNG_KUNDE_II,
MENGE,
EINHEIT,
PREIS_EUR,
EUR AS [Wert/BWähr],
Abrechnungsmonat,
Date(Abrechnungsmonat) AS Date,
Leistungsmonat,
Rechnungsnummer,
1011746 AS Kostenstelle
FROM
qvd);
(
Regards
Hi,
do you have two tables with name "LV_Projekte:"
because i did not see any Ebene 1 , Ebene2 such field under "LV_Projekte" table in posted script.
Regards