<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAP Connector to Incremental read COEP Table with combination of multiple columns as primary key in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SAP-Connector-to-Incremental-read-COEP-Table-with-combination-of/m-p/1830956#M9455</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;To perfom the incremental on COEP you can use COBK as the base of your script since from here you will be able to get new data using field CPUDT, your "keygroup" will be these fields:&amp;nbsp;KOKRS GJAHR BELNR; if you want to filter by company code you should included into your script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[COEPINCR]:&lt;BR /&gt;Load&lt;BR /&gt;*;&lt;BR /&gt;SQL SUBSELECT KOKRS GJAHR BELNR MANDT BUKRS FKBER MATNR WERKS MEINH EBELN EBELP BUZEI GSBER OBJNR QMNUM PAOBJNR PERNR PARGB SGTXT VBUND ZEKKN DABRZ HRKFT GEBER SCOPE OWAER VERSN KSTAR SEGMENT ERLKZ GRANT_NBR BUDGET_PD WRTTP BELTP PERIO TWAER LEDNR REFBZ VRGNG TIMESTMP PSEGMENT PRODPER GKOAR GKONT USPOB WTGBTR WKGBTR WKFBTR WOGBTR PAGBTR PAFBTR MEGBTR MEFBTR PAROB PGEBER PGRANT_NBR PBUDGET_PD PFKBER MBGBTR MBFBTR PAROB1 BEKNZ MEINB MVFLG ZLENR BW_REFBZ RBEST BTRKL OBJNR_N1 OBJNR_N2 OBJNR_N3 LOGSYSO PKSTAR PBUKRS PSCOPE LOGSYSP BWSTRAT OBJNR_HK REFBZ_FI&lt;BR /&gt;from COEP&lt;BR /&gt;WHERE KOKRS GJAHR BELNR IN&lt;BR /&gt;(&lt;BR /&gt;SELECT KOKRS GJAHR BELNR FROM COBK WHERE&lt;BR /&gt;(&lt;BR /&gt;(CPUDT &amp;gt; '$(vTodaysDate)')&lt;BR /&gt;));&lt;BR /&gt;STORE * FROM [COEPINCR] INTO [..\QVD\COEPINCR.QVD];&lt;BR /&gt;DROP TABLE [COEPINCR];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are going to create a dashboard related to expenses do not forget to extract as well table COEJ which stores the "Plan" or Budget information versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edgar M.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Aug 2021 02:24:25 GMT</pubDate>
    <dc:creator>EdgarMM</dc:creator>
    <dc:date>2021-08-27T02:24:25Z</dc:date>
    <item>
      <title>SAP Connector to Incremental read COEP Table with combination of multiple columns as primary key</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SAP-Connector-to-Incremental-read-COEP-Table-with-combination-of/m-p/1676357#M5013</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to read SAP table - COEP into qvd file using Qliksense and SAP Connector.&lt;/P&gt;&lt;P&gt;My requirement is to identify the below items&lt;/P&gt;&lt;P&gt;1. Insert new records from SAP to qvd file&lt;/P&gt;&lt;P&gt;2. Update modified records from SAP to qvd file&lt;/P&gt;&lt;P&gt;3. Delete records from qvd which are not present in SAP&lt;/P&gt;&lt;P&gt;The key columns for COEP Table when I look at it are combination of the below columns&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MANDT(Client)&lt;/LI&gt;&lt;LI&gt;KOKRS(Controlling Area)&lt;/LI&gt;&lt;LI&gt;BELNR (Document Number)&lt;/LI&gt;&lt;LI&gt;BUZEI (Posting Row)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could you please let me know how would I proceed with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also do we have any standard template to read SAP Standard tables and have it updated in the qvd whenever the data gets changed from SAP Side?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 19:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SAP-Connector-to-Incremental-read-COEP-Table-with-combination-of/m-p/1676357#M5013</guid>
      <dc:creator>sush</dc:creator>
      <dc:date>2021-12-28T19:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Connector to Incremental read COEP Table with combination of multiple columns as primary key</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SAP-Connector-to-Incremental-read-COEP-Table-with-combination-of/m-p/1830956#M9455</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;To perfom the incremental on COEP you can use COBK as the base of your script since from here you will be able to get new data using field CPUDT, your "keygroup" will be these fields:&amp;nbsp;KOKRS GJAHR BELNR; if you want to filter by company code you should included into your script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[COEPINCR]:&lt;BR /&gt;Load&lt;BR /&gt;*;&lt;BR /&gt;SQL SUBSELECT KOKRS GJAHR BELNR MANDT BUKRS FKBER MATNR WERKS MEINH EBELN EBELP BUZEI GSBER OBJNR QMNUM PAOBJNR PERNR PARGB SGTXT VBUND ZEKKN DABRZ HRKFT GEBER SCOPE OWAER VERSN KSTAR SEGMENT ERLKZ GRANT_NBR BUDGET_PD WRTTP BELTP PERIO TWAER LEDNR REFBZ VRGNG TIMESTMP PSEGMENT PRODPER GKOAR GKONT USPOB WTGBTR WKGBTR WKFBTR WOGBTR PAGBTR PAFBTR MEGBTR MEFBTR PAROB PGEBER PGRANT_NBR PBUDGET_PD PFKBER MBGBTR MBFBTR PAROB1 BEKNZ MEINB MVFLG ZLENR BW_REFBZ RBEST BTRKL OBJNR_N1 OBJNR_N2 OBJNR_N3 LOGSYSO PKSTAR PBUKRS PSCOPE LOGSYSP BWSTRAT OBJNR_HK REFBZ_FI&lt;BR /&gt;from COEP&lt;BR /&gt;WHERE KOKRS GJAHR BELNR IN&lt;BR /&gt;(&lt;BR /&gt;SELECT KOKRS GJAHR BELNR FROM COBK WHERE&lt;BR /&gt;(&lt;BR /&gt;(CPUDT &amp;gt; '$(vTodaysDate)')&lt;BR /&gt;));&lt;BR /&gt;STORE * FROM [COEPINCR] INTO [..\QVD\COEPINCR.QVD];&lt;BR /&gt;DROP TABLE [COEPINCR];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are going to create a dashboard related to expenses do not forget to extract as well table COEJ which stores the "Plan" or Budget information versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edgar M.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 02:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SAP-Connector-to-Incremental-read-COEP-Table-with-combination-of/m-p/1830956#M9455</guid>
      <dc:creator>EdgarMM</dc:creator>
      <dc:date>2021-08-27T02:24:25Z</dc:date>
    </item>
  </channel>
</rss>

