SAP connection

We need to fill following parameter in order to connect BW on component tSAPConnection. Default context is already created for all BW systems. 



The user to connect must be RFC_TAL_WBP, which is the RFC user for Talend (DE team). It already save in global context g_CNX_SAP_WBP

VariableSBXDEVQASPREPRD
sapClient400110400400400
sapUserRFC_TAL_WBPRFC_TAL_WBPRFC_TAL_WBPRFC_TAL_WBPRFC_TAL_WBP
sapHostwb1.eua.solvay.comwbd.eua.solvay.comwbq.eua.solvay.comwbv.eua.solvay.comwbp.eua.solvay.com
sapSystemNumber2048328500
sapUserPwdget it from Keepass



To run the test, DE can select the system that you want to run, it will automatically connect to that system and get the result

RFC Connection

It is required when FTP-Batch is used. This is require when we load a huge volume of data (more than 10,000 records), it is required to split the data and temporary save to the folder.  To connect to RFC, we can use QAS folder to keep the file

It also already save in global context g_CNX_FTP_BW

VariableValue
ftpHostwbq.eua.solvay.com
ftpFolder/exploit/BW/test
ftpPort22
ftpUsersftpbw
ftpPwdget it from Keepass

This function is available only some component 


GCP Connection

VariableMeaning
l_VAR_GCS_CSV_TO_STAGING_BUCKETNAMEBucket Name in GCS
l_VAR_FOLDERLocal path 
l_VAR_FILELocal filename
l_VAR_LIMITROWLimit number of row per file. Required only tSAPTableInput
l_PATHDIR_GCS_CSV_TO_STAGING_SERVICE_ACCOUNT_PATHLocation path and file of service account (JSON file)


(lightbulb) More detail how to get GCP service account

Component to Connect BW

OBJECT

Talend component

COMMENT

SAP Tables

InfoObject (master data)

tSAPTableInput

Delta No

Filter Yes

FTP-Batch Yes

DSO 

(old model)

tSAPDSOInput

Delta No

Filter Yes

FTP-Batch Yes

InfoCube

MultiProvider

(old model)

tSAPCubeInput

Delta No

Filter Yes

FTP-Batch Yes

ADSO 

Composite Provider

tSAPADSOInput


Delta Yes

Filter Yes

FTP-Batch No

BW Queries

tHttpRequest is used for Xtract

The best solution for query is Xtract and use tHttpRequest 


1. SAP Table

It is the same as ECC SAP Table just to connect to BW

2 InfoObject (Master data)

Although Talend has the component to get data from infoObject but it is better to get it from table since the tSAPInfoobjectInput can't have filter and there is no FTP batch or load by starting row like tSAPTableInput. Therefore, it is better to use tSAPTableInput

3 DSO

4. InfoCube

5. ADSO

6. MultiProvider

7. Composite Provider

8. BW Query

There are 3 main servers that we need to setup

8.1 BW Server

The query that will available on Xtract program need to mark flag Remote Access “By OLE DB for OLAP”  

The query that mark this flag should have the technical name starting with

QV_ for Qlik 

DE _for Talend that load to GCP for the new concept of data ocean

The flag must not be flagged in the cored query for BW, which name starting with BW_QRY_xxxx

It has to be done by BW developer and transport from WBD to WBP

8.2 Xtract

1. Open Xtract Designer in a virtual machine having this application like bgsoa-wks116. Connect to the Xtract sever (XU server : ACEW1DXTRAXUS01:8082)

2. Create a job in Xtract ( No need to create connection since all connection should have been already created so you will only have to decide which one to use)

     2.1 Click on New

     2.2 Select BW server 

     2.3 Enter the job name. The naming convention Landscape_QueryName such as PRD_DE_BW_QRY_XXXX  (Query name to connect via Talend must starting with DE, therefore, it can differentiate with Qlik query that have starting name with QV)

     2.4 To connect with BW query, it is required to select BW Cube

3.  Define data source

     3.1 Click on search and select MDX (or BICS) and enter the Query name 

     3.2 Click on Load, it will get Metadata of the query

Select the characteristics and key figures and edit the variable to enter required field. Be careful that MDX and BICS input can be different in some fields like date format


In case you can't find the query in MDX, then select BICS(Beta). 

BICS will not possible to select key and text for the characteristics on this version