Ansicht
Dokumentation

BW_CONTENT_EANALYTIC - Settings for E-Analytics

BW_CONTENT_EANALYTIC - Settings for E-Analytics

Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Maintain the following entries:

Object   Value
Cookie_NAME   GUID
COOKIE_SEPARATOR   ;+
LOGSYS   BC5CLNT000
REPLACE_1_1   %7B
REPLACE_1_2   {
REPLACE_2_1   %7D
REPLACE_2_2   }
REPLACE_3_1   %2D
REPLACE_3_1   -
SESSION_NAME   ASPSESSIONID
SESION_SEPARATOR   ; +
TL_SERVER   http://www.mydomain.com/
GEN_BATCHFILE   ABAPDIR.BAT
GEN_BATCHFILECONTENT   DIR *.CSV /B < ABAPDIR.TXT
GEN_BATCHFILERESULT   ABAPDIR.TXT
GEN_FILEPATH   C:\1\XML

COOKIE-Parameter

The parameter COOKIE_NAME & COOKIE_SEPARATOR is used to detach the cookie value in the Web log file.

An example of a cookie:

UID=%7BAC6AFD49%2D6367%2D4627%2D913B%2DD0C8EDD3DF0A%7D;+Visits=1;+ASPSESSIONIDQQGGQGDO=EFOBBIPDPGPLLPJNJNKIJMDA

This cookie contains the following three pairs of parameters and values:

GUID -> %7BAC6AFD49%2D6367%2D4627%2D913B%2DD0C8EDD3DF0A%7D

Visits -> 1

ASPSESSIONIDQQGGQGDO -> EFOBBIPDPGPLLPJNJNKIJMDA

In the transfer routine for the InfoObjekt 0WEB_COOKIE, the system examines the cookie string, and reads for the cookie name ( in this example GUID ), and the corresponding value. (%7BAC6AFD49%2D6367%2D4627%2D913B%2DD0C8EDD3DF0A%7D).

The paramaters REPLACE_x_y can also be used to allow the cookie value to be read more easiy.

Logsys-Parameter

The parameter LOGSYS is required to correctly assign the ITS. This parameter allows the path of the webserver to be determined in the table TWPURLSVR, and is used, for example, in the class CL_BW_BCT_WEB_02 ,when creating the complete file path for Web reports.

REPLACE_X_Y_Parameter

The parameters REPLACE_X_Y are used when determining the cookie value. They are also used to convert character strings into other character strings, and always appear as a pair. For example: the parameter REPLACE_1_2 always requires parameter REPLACE_1_2, the next highest REPLACE_2_1 always requires parameter REPLACE_2_2.

As an example, using the COOKIE parameter

GUID -> %7BAC6AFD49%2D6367%2D4627%2D913B%2DD0C8EDD3DF0A%7D

the character string %7D is converted to {, %7B ind } and %2D to #. There is no limit to the number of corresponding character strings that can be created. The three pairs above, in terms of their values and the number of them, are only examples.

SESSION-Parameter

The parameters SESSION_NAME & SESSION_SEPARATOR are used to detach the session value in the Web log file.

AN example for a cookie:

UID=%7BAC6AFD49%2D6367%2D4627%2D913B%2DD0C8EDD3DF0A%7D;+Visits=1;+ASPSESSIONIDQQGGQGDO=EFOBBIPDPGPLLPJNJNKIJMDA

This cookie contains the following three pairs of parameters and values:

GUID -> %7BAC6AFD49%2D6367%2D4627%2D913B%2DD0C8EDD3DF0A%7D

Visits -> 1

ASPSESSIONIDQQGGQGDO -> EFOBBIPDPGPLLPJNJNKIJMDA

In the transfer routine for the InfoObjekt 0WEB_COOKIE, the system examines the cookie string, and reads for the cookie name ( in this example ASPSESSIONID), and the corresponding value. (EFOBBIPDPGPLLPJNJNKIJMDA)

The paramaters REPLACE_x_y can also be used to allow the cookie value to be read more easily.

TL_SERVER-Parameter

The parameter TL_SERVER is required to create the file path to the Tealeaf data bank correctly. It is used for web reports that call up the class CL_BW_BCT_WEB_02, and enables a direct jump from Queries with characteristic 0WEB_SESSN to TLS files, in order to extend the user's visit. If already installed on the local server, the client software RealiTea viewer from Tealeaf Technology is started.

Parameters GEN_BATCHFILE, GEN_BATCHFILECONTENT, GEN_BATCHFILERESULT, GEN_FILEPATH

These parameters are used from function module RS_BCT_GEN_FILES_GET. This function module is called up in a start routine for the InfoPacage, reads all the CSV file data with event data in the specified directory, and loads it into the data target.

In doing so, a batch file is created in steps with command line parameters, is executed, and creates a list with all the CSV files found in the directory. This list is read by the function module and combines the data in the CSV files for a new CSV file. Afterwards, the source CSV files are renammed (suffix #-old#) and the name of the new CSV file is transferred to the InfoPackage.

GEN_BATCHFILE Parameter

This parameter specifies the name of the batch file to be created. The batch file is created in the file folder, which is specified in the parameter GEN_FILEPATH. The batch file is filled with the value from GEN_BATCHFILECONTENT, is called up by the function module, and is executed. In doing so, the file is created, which is specified in the parameter GEN_BATCHFILERESULT.

GEN_BATCHFILECONTENT Parameter

This parameter value contains the command line parameters that are in the batch file.

GEN_BATCHFILERESULT Parameter

This parameter contains the name of the file created by the function module. In this file, all CSV files in the specified directory path are listed as an event.

GEN_FILEPATH Parameter

This parameter GEN_FILEPATH specifies the directory path in which the CSV files to be loaded are stored.






BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 7844 Date: 20240607 Time: 165753     sap01-206 ( 107 ms )