Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Combining mapping load from xls and load from sql

Good morning,

I want to combine a mapping load from xls and a load from sql and run into probs with syntax. Below script results in an error message "field GL_AccountDebit.GLACCT_D unknown" - what is the right syntax?

Directory;
AccountsD:
mapping LOAD
     [G/L Account.SAKNR] as GL_AccountDebit.GLACCT_D,
     [Long Text.TXT50] as LongText.TXT50_D
FROM
skat.XLS
(
txt, unicode, embedded labels, delimiter is '\t', msq);

CONNECT TO SAPdb;
RevAllocTable:
load

.... {many fields}

GLACCT_D as GL_AccountDebit.GLACCT_D,

.... {many more fields}

PSTNR as RA_PostingNumber.PSTNR,
ApplyMap ('AccountsD', GL_AccountDebit.GLACCT_D, 'Not Populated') as GL_Name;
select * from SAPdb.SAP."ZFI_RA_POST";

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Try

ApplyMap ('AccountsD', GLACCT_D , 'Not Populated') as GL_Name;

View solution in original post

1 Reply
MK_QSL
MVP
MVP

Try

ApplyMap ('AccountsD', GLACCT_D , 'Not Populated') as GL_Name;