Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Luca10
Contributor
Contributor

Line details from tSageX3Input Component

Hi,
I am using the version 6.4. This query is regarding tSageX3Input Component.
I kindly request to give more information on how to get the line details while reading the record. Basically the question is how to manage the TAB ID and the LIN tags.
Is the TAB ID and LIN ID can be managed with tSageX3Input Component ?

<?xml version="1.0" encoding="UTF-8"?>
<RESULT>
    <GRP ID="POH0_1" >
        <FLD NAME="POHFCY" TYPE="Char" >F</FLD>
        <FLD NAME="POHNUM" TYPE="Char" >ODA1701357F</FLD>
        <FLD NAME="ORDDAT" TYPE="Date" >20171024</FLD>
        <FLD NAME="BPSNUM" TYPE="Char" >S00071</FLD>
    </GRP>
    <GRP ID="POH1_1" >
        <FLD NAME="BPSINV" TYPE="Char" >S00071</FLD>
        <FLD NAME="BPAINV" TYPE="Char" >SL01</FLD>
        <FLD NAME="BPRPAY" TYPE="Char" >S00071</FLD>
    </GRP>
    <TAB DIM="500" ID="POH2_1" SIZE="3" >
        <LIN NUM="1" >
            <FLD NAME="POPLIN" TYPE="Integer" >1000</FLD>
            <FLD NAME="YCANUMD" TYPE="Char" ></FLD>
            <FLD NAME="ITMREF" TYPE="Char" >3001003</FLD>
            <FLD NAME="ITMDES" TYPE="Char" >vite TE UNI 5739 - A2-70 M 8 x</FLD>
            <FLD NAME="UOM" TYPE="Char" >UN</FLD>
            <FLD NAME="QTYUOM" TYPE="Decimal" >11</FLD>
        </LIN>
        <LIN NUM="2" >
            <FLD NAME="POPLIN" TYPE="Integer" >2000</FLD>
            <FLD NAME="YCANUMD" TYPE="Char" ></FLD>
            <FLD NAME="ITMREF" TYPE="Char" >3001014</FLD>
            <FLD NAME="ITMDES" TYPE="Char" >vite TE UNI 5739 - A2-70 M 12 </FLD>
            <FLD NAME="UOM" TYPE="Char" >UN</FLD>
            <FLD NAME="QTYUOM" TYPE="Decimal" >10</FLD>
        </LIN>
        <LIN NUM="3" >
            <FLD NAME="POPLIN" TYPE="Integer" >3000</FLD>
            <FLD NAME="YCANUMD" TYPE="Char" ></FLD>
            <FLD NAME="ITMREF" TYPE="Char" >3001014</FLD>
            <FLD NAME="ITMDES" TYPE="Char" >vite TE UNI 5739 - A2-70 M 12 </FLD>
            <FLD NAME="UOM" TYPE="Char" >UN</FLD>
            <FLD NAME="QTYUOM" TYPE="Decimal" >20</FLD>
        </LIN>
    </TAB>
</RESULT>

Thanks, Luca

Labels (4)
2 Replies
Anonymous
Not applicable

Hello Luca,

Could you please also elaborate your case with an example with expected output values?

Best regards

Sabrina

Luca10
Contributor
Contributor
Author

Hello,

this is the expected output that i did with tFileInputXML

Thanks,

Luca

[statistics] connected
.----+------+-------+------.
|        tLogRow_1         |
|=---+------+-------+-----=|
|Riga|POPLIN|ITMREF |QTYUOM|
|=---+------+-------+-----=|
|1   |1000  |3001003|11    |
|2   |2000  |3001014|10    |
|32  |3000  |3001014|20    |
'----+------+-------+------'
[statistics] disconnected

 


2017-10-30_091703.png