Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What do you mean with both "Umsatz Lookup" and "Umsatz Lookup".
I you mean the lookup query.
I've tested in my sql program it works correctly with the right data.
On tmap it's an "left outer join".
May i overlook or i interpret some basic mechanism in Talend in an wrong way .. or the Lookup is not implemented properly
Thanks for help
best regards fireskyer
// ============================================================================
//
// Copyright (c) 2006-2015, Talend Inc.
//
// This source code has been automatically generated by_Talend Open Studio for Data Integration
// / Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package sf_csv.sf_prod_data_migration_q_ktxt_acc_u_0_1;
import routines.Mathematical;
Have you checked the outputs from both "Umsatz Lookup" and "Umsatz Lookup" to see if the Select query works well?
How did you set the join model? left outer join or inner join in tMap? More information will be helpful for us to locate your issue
More information will be helpful for us to locate your issue
1. Output is checked with sql developer Result: All ok all Colums are righted Assigned to the Data
2. Output checked with the query from the lookup in Talend and out put to an Excel File Result: All ok all Colums are righted Assigned to the Data
As you can see the 2 Fields has the same Values but this does not reflect the mapping in the previous step.
If you look at your data one value has a decimal point while the other doesn't so they won't match.
32275.0 and 32275
The lookup "left out join" doesn't work well for your case?
Could you please simply give us your expected result and actual result?
Best regards
Sabrina
SELECT DISTINCT RELES.AKTJAHR,
RELES.VORJAHR,
RELFIRMA.NAME,
RELFIRMA.KTXT,
RELES.VORVORJAHR,
RELFIRMA.FIRMANR,
RELFIRMA.ABCKLAS,
RELANSCH.STRASSE,
RELANSCH.ORT,
RELANSCH.LAND,
RELANSCH.STAAT,
RELANSCH.PLZORT,
RELANSCH.PLZPOSTFACH,
RELANSCH.POSTFACH,
RELACP.VERTRETER2,
RELACP.VERTRETER1,
RELANSCH.LANDKNG
FROM (((INFOR.RELFIRMA RELFIRMA
INNER JOIN INFOR.RELADRESSE RELADRESSE
ON (RELFIRMA.FIRMANR = RELADRESSE.FIRMANR))
INNER JOIN INFOR.RELANSCH RELANSCH
ON (RELADRESSE.ANSCHRIFTNR = RELANSCH.ANSCHRIFTNR))
-- INNER JOIN INFOR.RELES RELES
LEFT OUTER JOIN INFOR.RELES RELES
ON (RELES.DATENFELDER_1 = RELFIRMA.FIRMANR))
LEFT OUTER JOIN INFOR.RELACP RELACP ON (RELFIRMA.FIRMANR = RELACP.MNR)
WHERE RELANSCH.VERWENDUNG1 = 1
AND RELES.SATZART = 'UK'
AND RELFIRMA.VERWENDUNG1 = 1
AND RELFIRMA.FIRMANR = '18025'