How To... Perform ABAP Unit Tests for Transformations in SAP NetWeaver BW

Size: px
Start display at page:

Download "How To... Perform ABAP Unit Tests for Transformations in SAP NetWeaver BW"

Transcription

1 SAP NetWeaver SAP How-To NetWeaver Guide How-To Guide How To... Perform ABAP Unit Tests for Transformations in SAP NetWeaver BW Applicable Releases: SAP NetWeaver BW 7.0 and higher Topic Area: Enterprise Data Warehousing Version 1.0 March 2012

2 Copyright 2012 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. SAP NetWeaver How-to Guides are intended to simplify the product implementation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should you wish to receive additional information, clarification or support, please refer to SAP Consulting. Any software coding and/or code lines / strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. Disclaimer Some components of this product are based on Java. Any code change in these components may cause unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation of these components. Any Java Source Code delivered with this product is only to be used by SAP s Support Services and may not be modified or altered in any way.

3 Document History Document Version Description 1.00 First official release of this guide

4 Typographic Conventions Type Style Example Text Description Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Cross-references to other documentation Icons Icon Description Caution Note or Important Example Recommendation or Tip Example text Example text Example text <Example text> EXAMPLE TEXT Emphasized words or phrases in body text, graphic titles, and table titles File and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. User entry texts. These are words or characters that you enter in the system exactly as they appear in the documentation. Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system. Keys on the keyboard, for example, F2 or ENTER.

5 Table of Contents 1. Scenario General Description of the Solution Prerequisite Step by Step Solution Display Details of the BW Transformation Define Data Structures for the ecatt Test Data Container Create an ecatt Test Data Container Create a Wrapper Class for the Test Data Container Create a Wrapper Class for Class CL_RSTRAN_EXECUTE Create Test Class for ABAP Unit Test Program Logic of Test Class ZLCL_TEST_RSTRAN Perform ABAP Unit Test for BW Transformation Appendix ABAP Class Coding Coding of Wrapper Class ZCL_TDC_VARIANT Adjustments to Coding of Wrapper Class ZCL_TDC_VARIANT Coding of Wrapper Class ZCL_RSTRAN_EXECUTE Coding of Test Class ZLCL_TEST_RSTRAN Adjustments to Coding of Test Class ZLCL_TEST_RSTRAN March

6 1. Scenario ABAP unit tests enable writing and running white box tests during the development of complex BW transformation rules and routines. This How-To document shows you the tools you need to develop BW transformations according to a test-driven paradigm. 2. General Description of the Solution In this How-To document we describe a prototype implementation of an ABAP unit test for a selected BW transformation. In the first step, the details of the selected BW transformation are analyzed to get some basic information (transformation ID, inbound/outbound data structures) needed for the later implementation. Then we create an ecatt-based test data container, which will store inbound (source) data and expected (target) data values of the BW transformation. In addition, a wrapper class is coded to access this test data container during the execution of an ABAP unit test. After these preparation steps we are ready to build the test class itself. This test class invokes a method of a tested program (provided by the class CL_RSTRAN_EXECUTE) which in turn isolates and calls the generated ABAP program for the selected BW transformation. Thus it enables to compare the outbound (target) data of the BW transformation with the expected values. The ABAP code of this prototype implementation is displayed in the appendix of this document. It is also described there, what adjustments need to be done to prepare an ABAP unit test for an arbitrarily chosen BW transformation. 3. Prerequisite SAP NetWaever BW 7.00, Support Package 28 or SAP NetWaever BW 7.30, Support Package 6 or corresponding support packages of SAP NetWaever BW 7.01, 7.02, Details are provided by OSS note This note also contains correction instructions which you can implement as an advance correction to enable this ABAP unit test scenario on lower support package levels of SAP NetWaever BW 7.00 or SAP NetWaever BW March

7 4. Step by Step Solution We now create an ABAP unit test for a selected transformation in SAP NetWeaver BW. 4.1 Display Details of the BW Transformation Open the Data Warehousing Workbench (transaction RSA1) and navigate the following way to the BW transformation to be tested: Choose Goto then use function Modeling and double-click on field InfoProvider. Now press icon Search to find the target InfoProvider of the BW transformation. Open the list below this InfoProvider to find the BW transformation to be tested. Example: Transformation from DataStore Object 0FIAR_O06 to InfoCube 0FIAR_C02 Picture 1: Transformation in Data Warehousing Workbench The technical name of the transformation determines the transformation ID, which you will need later in the ABAP unit test code. The transformation from DataStore Object 0FIAR_O06 (source) to InfoCube 0FIAR_C02 (target) has the transformation ID: 0ON484YZMTWZJJZKKQ6A8S4REX6ROF0F Now double-click on the transformation to display the details. March

8 Picture 2: Details of Transformation The details screen displays the structures of inbound (source) data (left side) and outbound (target) data (right side) of the transformation. The transformation rules are depicted between both source and target structures. The example transformation has the inbound data structure of the DataStore Object 0FIAR_O06 and a flattened outbound data structure representing the characteristics and key figures of the InfoCube 0FIAR_C02. All InfoObjects are mapped from source to target structure except 0FISCVARNT which is set to constant value K3 in the target structure. Now choose Extras then use function Display Generated Program to see the ABAP code that was generated by the SAP BW system for this transformation. Scroll down to ABAP statement class lcl_transform definition and find the type definitions for the structures of source data (type _ty_s_sc_1, corresponding to DataStore Object 0FIAR_O06) and target data (type _ty_s_tg_1, corresponding to InfoCube 0FIAR_C02). TYPES: BEGIN OF _ty_s_sc_1, * InfoObject: 0DEBITOR Customer Number. DEBITOR TYPE /BI0/OIDEBITOR, * InfoObject: 0COMP_CODE Company code. COMP_CODE TYPE /BI0/OICOMP_CODE, * InfoObject: 0FISCPER Fiscal year / period. FISCPER TYPE /BI0/OIFISCPER, * InfoObject: 0DEBIT Total Debit Postings. DEBIT TYPE /BI0/OIDEBIT, * InfoObject: 0CREDIT Total credit postings. CREDIT TYPE /BI0/OICREDIT, * InfoObject: 0BALANCE Cumulative Balance. BALANCE TYPE /BI0/OIBALANCE, * InfoObject: 0SALES Sales for the Period. SALES TYPE /BI0/OISALES, * InfoObject: 0CURRENCY Currency Key. CURRENCY TYPE /BI0/OICURRENCY, * InfoObject: 0CURTYPE Currency Type. CURTYPE TYPE /BI0/OICURTYPE, March

9 * Field: RECORD Data record number. RECORD TYPE RSARECORD, END OF _ty_s_sc_1. : TYPES: BEGIN OF _ty_s_tg_1, * InfoObject: 0CHNGID Change run ID. CHNGID TYPE /BI0/OICHNGID, * InfoObject: 0RECORDTP Record type. RECORDTP TYPE /BI0/OIRECORDTP, * InfoObject: 0REQUID Request ID. REQUID TYPE /BI0/OIREQUID, * InfoObject: 0FISCPER Fiscal year / period. FISCPER TYPE /BI0/OIFISCPER, * InfoObject: 0FISCVARNT Fiscal year variant. FISCVARNT TYPE /BI0/OIFISCVARNT, * InfoObject: 0FISCYEAR Fiscal year. FISCYEAR TYPE /BI0/OIFISCYEAR, * InfoObject: 0FISCPER3 Posting period. FISCPER3 TYPE /BI0/OIFISCPER3, * InfoObject: 0CURRENCY Currency Key. CURRENCY TYPE /BI0/OICURRENCY, * InfoObject: 0DEBITOR Customer Number. DEBITOR TYPE /BI0/OIDEBITOR, * InfoObject: 0COMP_CODE Company code. COMP_CODE TYPE /BI0/OICOMP_CODE, * InfoObject: 0CURTYPE Currency Type. CURTYPE TYPE /BI0/OICURTYPE, * InfoObject: 0SALES Sales for the Period. SALES TYPE /BI0/OISALES, * InfoObject: 0DEBIT Total Debit Postings. DEBIT TYPE /BI0/OIDEBIT, * InfoObject: 0BALANCE Cumulative Balance. BALANCE TYPE /BI0/OIBALANCE, * InfoObject: 0CREDIT Total credit postings. CREDIT TYPE /BI0/OICREDIT, * Field: RECORD Data record number. RECORD TYPE RSARECORD, END OF _ty_s_tg_1. Picture 3: Generated program of transformation - Type definitions Now you have displayed all detail information about the BW transformation which you will need when you are programming the ABAP unit test for this transformation. 4.2 Define Data Structures for the ecatt Test Data Container In this preparing step, you define the data structures for source and target data of the transformation. These structures will be used to create an ecatt Test Data Container for the inbound (source) parameter and the expected (target) parameter values. March

10 Data Store Object The BW system creates a data structure (the table for active records) in the data dictionary (DDIC) when you activate the corresponding DataStore Object. You can directly use this structure for the creation of the ecatt Test Data Container. The technical name of this table is composed of /BI0/A<technical name of DataStore Object w/o leading 0>00. Example: DataStore Object 0FIAR_O06 (source of transformation) has the structure defined by the table for active records with technical name /BI0/AFIAR_O0600. We use this structure definition while creating the ecatt Test Data Container for the inbound (source) data values. DataSource, InfoSource, and InfoCube For these BI Content objects, the BW system does not create flat data structures during content activation. Therefore, you have to create a corresponding structure in the data dictionary manually where you can use the type definition of the generated program (see Picture 3). Example: We create a data structure corresponding to the InfoCube 0FIAR_C02 which shall be used for creating the ecatt Test Data Container for the expected (target) data values. Open the data dictionary (transaction SE11) and enter the technical name of the data structure corresponding to the InfoCube 0FIAR_C02 into field Data type: ZST_EXP_0FIAR_C02. Then press button Create. On the next pop-up, choose radio button Structure and press Enter. Add a Short Description of the structure. On the tab strip Components, enter all components (fields) of the structure and their component type definitions according to the type definitions in the generated program (see Picture 3). Picture 4: Components of structure corresponding to InfoCube 0FIAR_C02 March

11 Now change to tab strip Currency/quantity fields and define currency key and unit of measure for the key figures of the structure. Picture 5: Currency/quantity fields of structure correspondig to InfoCube 0FIAR_C02 In case of an amount field, use the reference field WAERS of reference table TCURC. In case of a quantity field, use the reference field MSEHI of reference table T006. Press on icon Activate to save and activate this structure. Now you have defined the data structures which you will use to create an ecatt Test Data Container for the inbound (source) data values and the expected (target) data values. 4.3 Create an ecatt Test Data Container In this preparing step, you create an ecatt Test Data Container where you can store a set of inbound data records of the transformation together with the corresponding target data records which you expect after performing the ABAP unit test of transformation rules and routines. Example: Create Test Data Container ZTDC_TEST_RSTRAN for transformation from DataStore Object 0FIAR_O06 to InfoCube 0FIAR_C02 Open ecatt initial screen (transaction SECATT) and choose radio button Test Data. Enter the technical name ZTDC_TEST_RSTRAN for this field and set field Version to 1. Then press on icon Create Object. On tab strip Attributes then tab strip General Data enter a title for the test data container and an application component. March

12 Picture 6: Test Data Container ZTCD_TEST_RSTRAN - General Data On tab strip Parameters insert two parameter lines which will contain the inbound (source) and expected (target) data values. For each parameter line, enter a Parameter (technical name), a Description, and a Parameter Reference. The values for Parameter Reference are determined by the technical name of the structures for the inbound (source) data values and the expected (target) data values which were defined in the previous section 4.2. Picture 7: Test Data Container Parameters I_ODSO_0FIAR_O06 and E_CUBE_0FIAR_C02 March

13 For inbound data of the transformation we use the Parameter Reference to the generated DDIC table structure /BI0/AFIAR_O0600 of the DataStore Object. For expected data of the transformation we use the manually created DDIC structure ZST_EXT_0FIAR_C02 representing a flattened data structure of InfoCube 0FIAR_C02. On tab strip Variants set radio button Internal Variants and insert new variant lines. Each variant will contain the values for both the inbound (source) data and the expected (target) data. For each variant line, enter a Variant (technical name) and a Description. Picture 8: Test Data Container Variants RECORD_1 and RECORD_2 Double-click on both columns I_ODSO_0FIAR_O06 and E_CUBE_0FIAR_C02 for each variant line to get a details screen where you can enter values for parameters. March

14 Picture 9: Test Data Container - Parameter values of a variant RECORD_1 Note that each variant line contains both inbound (source) data values (parameter I_ODSO_0FIAR_O06) and expected (target) data values (parameter E_CUBE_0FIAR_C02). So, you have to fill both sets of values for each variant line. Save the test data container. Now you have created an ecatt Test Data Container for the inbound (source) data values and the expected (target) data values. You have also stored there some test records for the ABP unit test of the transformation. 4.4 Create a Wrapper Class for the Test Data Container In this step, you create a wrapper class for the test data container ZTDC_TEST_RSTRAN that was built in the previous section. This wrapper class reads the data stored in the test data container to be used as inbound and expected data values within the ABAP unit test of the transformation. Open class builder (transaction SE24) and enter ZCL_TDC_VARIANT to field Object type. Then press on button Create. On the next pop-up enter the text Wrapper to access data of test data container to the field Description and set the following flags. Then press Save. March

15 Picture 10: Class Builder Properties Open class builder (transaction SE24) and enter ZCL_TDC_VARIANT to field Object type. Then press on button Change. Press on button Source Code-Based and replace the existing ABAP source code by the text stored in Appendix 5.1. Adjust the ABAP source code to meet your use case according to Appendix Press on icon Activate to store and activate the class ZCL_TDC_VARIANT. 4.5 Create a Wrapper Class for Class CL_RSTRAN_EXECUTE The class CL_RSTRAN_EXECUTE (Direct Execution of Transformation) is part of software component SAP_BW. As ABAP code of this software component cannot be changed in your system, we create a wrapper ABAP class ZCL_RSTRAN_EXECUTE, which only calls the method RUN_TRAN of class CL_RSTRAN_EXECUTE. Open class builder (transaction SE24) and enter ZCL_RSTRAN_EXECUTE to field Object type. Then press on icon Create. On the next pop-up enter the text Wrapper of class CL_RSTRAN_EXECUTE to the field Description and set the following flags. Then press Save. March

16 Picture 11: Class Builder Properties Press button Source Code-Based and replace the generated ABAP source code by the text stored in Appendix 5.2. Press on icon Activate to store and activate the class ZCL_RSTRAN_EXECUTE Now you have created a wrapper class ZCL_RSTRAN_EXECUTE for the class which directly executes any BW transformation. For this wrapper class we will now create a test class to perform an ABAP unit test of a selected transformation. 4.6 Create Test Class for ABAP Unit Test In the last step, you create the test class for the ABAP unit test corresponding to the class ZCL_RSTRAN_EXECUTE which directly executes any BW transformation. Then you implement some methods of this test class according to a selected transformation that you need to test. After this you are able to perform the ABAP unit test for this transformation. Open class builder (transaction SE24) and enter ZCL_RSTRAN_EXECUTE to field Object type. Then press on button Change. Choose Utilities the use function Test Classes Generate. The Test Class Generation Wizard opens. Press button Continue. Wizard step Class Selection: assure that the radio button Global Class is set and that the field Global Class Name has the value ZCL_RSTRAN_EXECUTE. Press button Continue. Wizard step Test Class Selection & Options: press on icon Create (located right beside the field Test class name). On the next pop-up enter the value ZLCL_TEST_RSTRAN to the field Test Class Name. Press Enter. Wizard step Test Class Selection & Options: enter the Options displayed in Picture 12. Press button Continue. March

17 Picture 12: Test Class Generation Options Wizard step Method Selection: select method RUN_TRAN. Press button Continue. Wizard step Summary: press button Continue. Wizard step Finish: press button Complete. Replace the generated ABAP source code by the text stored in Appendix 5.3. Adjust the ABAP source code to meet your use case according to Appendix Press on icon Activate to save and activate the new test class ZLCL_TEST_RSTRAN Program Logic of Test Class ZLCL_TEST_RSTRAN See the comments in the ABAP source code of Appendix 5.2 to understand the functionality and program flow in detail. METHOD setup is called before the test of the transformation is started. It sets the parameter transformation ID of the selected BW transformation and reads the inbound (source) data and expected (target) data values from the test data container. METHOD run_tran performs the ABAP unit test of the selected transformation. It calls the method zcl_rstran_execute=>run_tran of class ZCL_RSTRAN_EXECUTE which executes the selected BW transformation. Then it passes the outbound (target) data of the transformation and the expected (target) data values from the test data container to the method cl_abap_unit_assert=>assert_equals of the ABAP unit test framework. This method compares the outbound data of transformation with the expected data from the test data container and displays a detailed error message if there are any differences between them (on field level of the corresponding structures). 4.7 Perform ABAP Unit Test for BW Transformation Now everything is prepared for the ABAP unit test for a selected BW transformation. Open class builder (transaction SE24) and enter ZCL_RSTRAN_EXECUTE to field Object type. Then press on icon Display. Choose Goto then use function Local Definitions/Implementations Local Test Classes. Choose Local Test Classes then use function Execute Unit Tests to start the ABAP unit test for the BW transformation. March

18 Picture 13: Result of ABAP Unit Test The ABAP unit test result displays an error for the first set of compared records. The actual table (that is the outbound data record of the BW transformation) shows value K3 for field FISCVARNT whereas the expected table (that is the expected data record) shows value K4 for the same field. Analysis of this test result: The inbound data record (that is parameter I_ODSO_0FIAR_O06 of the test data container, see Picture 9) contains value K4 for field FISCVARNT. The expectation for this field is the same value. That means the ABAP unit test for the transformation expects a direct move of field FISCVARNT from inbound to outbound data record. The actual value of field FISCVARNT after execution of the BW transformation is K3 in contrast which is approved by looking at the transformation rules in Picture 2: A constant value K3 is set at the outbound side of the selected BW transformation. So, the implemented BW transformation does not meet the expectation of the ABAP unit test. It needs to be adjusted accordingly (direct move of field FISCVARNT instead of setting a constant value K3). March

19 5. Appendix ABAP Class Coding 5.1 Coding of Wrapper Class ZCL_TDC_VARIANT CLASS zcl_tdc_variant DEFINITION PUBLIC CREATE PRIVATE. PUBLIC SECTION. TYPES: tab TYPE STANDARD TABLE OF REF TO zcl_tdc_variant WITH DEFAULT KEY. CLASS-METHODS: s_get_variants RETURNING value(r_variants) TYPE zcl_tdc_variant=>tab RAISING cx_ecatt_tdc_access. METHODS: get_i_odso_0fiar_o06 RETURNING value(r_i_odso_0fiar_o06) TYPE /bi0/afiar_o0600, get_e_cube_0fiar_c02 RETURNING value(r_e_cube_0fiar_c02) TYPE zst_exp_0fiar_c02. PRIVATE SECTION. CLASS-DATA: tdc TYPE REF TO cl_apl_ecatt_tdc_api. METHODS: init IMPORTING i_name TYPE csequence. DATA: name TYPE etvar_id. ENDCLASS. CLASS ZCL_TDC_VARIANT IMPLEMENTATION. METHOD get_e_cube_0fiar_c02. TRY. tdc->get_value( EXPORTING i_param_name = 'E_CUBE_0FIAR_C02' i_variant_name = me->name CHANGING e_param_value = r_e_cube_0fiar_c02 ). CATCH cx_ecatt_tdc_access. cl_aunit_assert=>fail( msg = 'Error reading expected data of transform.: CUBE 0FIAR_C02' March

20 quit = 0 ). ENDTRY. ENDMETHOD. "get_ e_cube_0fiar_c02 METHOD get_i_odso_0fiar_o06. TRY. tdc->get_value( EXPORTING i_param_name = 'I_ODSO_0FIAR_O06' i_variant_name = me->name CHANGING e_param_value = r_i_odso_0fiar_o06 ). CATCH cx_ecatt_tdc_access. cl_aunit_assert=>fail( msg = 'Error reading Inbound data of transform.: ODSO 0FIAR_O06' quit = 0 ). ENDTRY. ENDMETHOD. "get_i_dso_0fiar_o06 METHOD init. name = i_name. ENDMETHOD. "init METHOD s_get_variants. DATA: lt_variants TYPE etvar_name_tabtype, lv_variant LIKE LINE OF lt_variants, variant TYPE REF TO zcl_tdc_variant. tdc = cl_apl_ecatt_tdc_api=>get_instance( 'ZTDC_TEST_RSTRAN' ). lt_variants = tdc->get_variant_list( ). LOOP AT lt_variants INTO lv_variant WHERE table_line <> 'ECATTDEFAULT'. CREATE OBJECT variant. variant->init( i_name = lv_variant ). APPEND variant TO r_variants. ENDLOOP. ENDMETHOD. "s_get_variants ENDCLASS Adjustments to Coding of Wrapper Class ZCL_TDC_VARIANT Adjustments in CLASS zcl_tdc_variant DEFINITION The method definitions have to be adjusted according to your inbound (source) data and expected (target) data structures. Replace: (1) the name of the get_... methods by your own method names, (2) the RETURNING value parameters by your own returning parameter names, (3) the TYPE assignments by your own inbound and expected data structures. March

21 Adjustments in CLASS ZCL_TDC_VARIANT IMPLEMENTATION Each get_... method implementation has to be adjusted according to your adjustments in the class definition part and also according to your inbound (source) data and expected (target) data structures. Replace: (1) the name of the get_... methods by your own method names given in the class definition part, (2) the exporting parameter i_param_name of method tdc->get_value by the corresponding inbounding (source) or expected (target) data parameters of your test data container defined in section 4.3, (3) the changing parameter e_param_value of method tdc->get_value by the corresponding RETURNING value parameters given for the get_... methods in the class definition part, (4) the message text in the CATCH statement by your own data source and target of your tested transformation. 5.2 Coding of Wrapper Class ZCL_RSTRAN_EXECUTE CLASS zcl_rstran_execute DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. CLASS-METHODS run_tran IMPORTING i_tranid TYPE rstranid i_t_data TYPE ANY TABLE EXPORTING e_t_data TYPE ANY TABLE. ENDCLASS. CLASS ZCL_RSTRAN_EXECUTE IMPLEMENTATION. METHOD run_tran. CLEAR e_t_data. CALL METHOD cl_rstran_execute=>run_tran EXPORTING i_tranid = i_tranid i_t_data = i_t_data IMPORTING e_t_data = e_t_data. ENDMETHOD. "run_tran March

22 ENDCLASS. 5.3 Coding of Test Class ZLCL_TEST_RSTRAN * * * CLASS zlcl_test_rstran DEFINITION * * * * * CLASS zlcl_test_rstran DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS. PRIVATE SECTION. DATA: ld_tranid TYPE rstranid, * Inbound data of transformation ls_data TYPE /bi0/afiar_o0600, lt_data LIKE TABLE OF ls_data, * Expected data after transformation ls_exp_data TYPE zst_exp_0fiar_c02, lt_exp_data LIKE TABLE OF ls_exp_data. METHODS: setup, run_tran FOR TESTING. ENDCLASS. "zlcl_test_rstran * * * CLASS zlcl_test_rstran IMPLEMENTATION * * * * * CLASS zlcl_test_rstran IMPLEMENTATION. METHOD setup. DATA: variants TYPE zcl_tdc_variant=>tab, variant TYPE REF TO zcl_tdc_variant. * Set the ID of the transformation to be tested. ld_tranid = '0ON484YZMTWZJJZKKQ6A8S4REX6ROF0F'. * Get variants of Test Data Container ZTDC_TEST_RSTRAN variants = zcl_tdc_variant=>s_get_variants( ). REFRESH: lt_data, lt_exp_data. * Loop variants and read test data from container LOOP AT variants INTO variant. March

23 CLEAR: ls_data, ls_exp_data. * Fill inbound data of transformation ls_data = variant->get_i_odso_0fiar_o06( ). APPEND ls_data TO lt_data. * Fill expected data of transformation ls_exp_data = variant->get_e_cube_0fiar_c02( ). APPEND ls_exp_data TO lt_exp_data. ENDLOOP. ENDMETHOD. "setup METHOD run_tran. TYPES: * Inbound data of transformation: * copy TYPE _ty_s_sc_1 of generated program here BEGIN OF ty_i_data, * InfoObject: 0DEBITOR Customer Number. debitor TYPE /bi0/oidebitor, * InfoObject: 0COMP_CODE Company code. comp_code TYPE /bi0/oicomp_code, * InfoObject: 0FISCPER Fiscal year / period. fiscper TYPE /bi0/oifiscper, * InfoObject: 0FISCVARNT Fiscal year variant. fiscvarnt TYPE /bi0/oifiscvarnt, * InfoObject: 0DEBIT Total Debit Postings. debit TYPE /bi0/oidebit, * InfoObject: 0CREDIT Total credit postings. credit TYPE /bi0/oicredit, * InfoObject: 0BALANCE Cumulative Balance. balance TYPE /bi0/oibalance, * InfoObject: 0SALES Sales for the Period. sales TYPE /bi0/oisales, * InfoObject: 0CURRENCY Currency Key. currency TYPE /bi0/oicurrency, * InfoObject: 0CURTYPE Currency Type. curtype TYPE /bi0/oicurtype, * Field: RECORD Data record number. record TYPE rsarecord, END OF ty_i_data. TYPES: * Outbound data of transformation: * copy TYPE _ty_s_tg_1 of generated program here BEGIN OF ty_e_data, * InfoObject: 0CHNGID Change run ID. chngid TYPE /bi0/oichngid, * InfoObject: 0RECORDTP Record type. recordtp TYPE /bi0/oirecordtp, * InfoObject: 0REQUID Request ID. requid TYPE /bi0/oirequid, March

24 * InfoObject: 0FISCPER Fiscal year / period. fiscper TYPE /bi0/oifiscper, * InfoObject: 0FISCVARNT Fiscal year variant. fiscvarnt TYPE /bi0/oifiscvarnt, * InfoObject: 0FISCYEAR Fiscal year. fiscyear TYPE /bi0/oifiscyear, * InfoObject: 0FISCPER3 Posting period. fiscper3 TYPE /bi0/oifiscper3, * InfoObject: 0CURRENCY Currency Key. currency TYPE /bi0/oicurrency, * InfoObject: 0DEBITOR Customer Number. debitor TYPE /bi0/oidebitor, * InfoObject: 0COMP_CODE Company code. comp_code TYPE /bi0/oicomp_code, * InfoObject: 0CURTYPE Currency Type. curtype TYPE /bi0/oicurtype, * InfoObject: 0SALES Sales for the Period. sales TYPE /bi0/oisales, * InfoObject: 0DEBIT Total Debit Postings. debit TYPE /bi0/oidebit, * InfoObject: 0BALANCE Cumulative Balance. balance TYPE /bi0/oibalance, * InfoObject: 0CREDIT Total credit postings. credit TYPE /bi0/oicredit, * Field: RECORD Data record number. record TYPE rsarecord, END OF ty_e_data. DATA: * Inbound data of transformation ls_i_data TYPE ty_i_data, lt_i_data TYPE TABLE OF ty_i_data, * Outbound data of transformation ls_e_data TYPE ty_e_data, lt_e_data TYPE TABLE OF ty_e_data, * Outbound data of transformation with same structure as expected data ls_out_data LIKE ls_exp_data, lt_out_data LIKE TABLE OF ls_exp_data. DATA: l_lines TYPE i. * Transfer inbound data of transformation to structure of * generated program LOOP AT lt_data INTO ls_data. MOVE-CORRESPONDING ls_data TO ls_i_data. APPEND ls_i_data TO lt_i_data. ENDLOOP. * Perform transformation code zcl_rstran_execute=>run_tran( EXPORTING i_tranid = ld_tranid March

25 i_t_data = lt_i_data IMPORTING e_t_data = lt_e_data ). * Check if outbound data of transformation is filled DESCRIBE TABLE lt_e_data LINES l_lines. IF l_lines IS INITIAL. FORMAT COLOR = col_negative INVERSE ON. WRITE: /,/ 'Error message from ABAP unit test of transformation:', /, / 'Outbound data of transformation is empty.',/, / 'Check, if type definitions of inbound and outbound data', / 'in method RUN_TRAN of your local test class is exactly', / 'the same as in the generated program of the tested', / 'BW transformation.'. EXIT. ENDIF. * Transfer outbound data of transformation to structure of * expected data (without technical fields) LOOP AT lt_e_data INTO ls_e_data. MOVE-CORRESPONDING ls_e_data TO ls_out_data. APPEND ls_out_data TO lt_out_data. ENDLOOP. * Compare outbound data of transformation with expected data cl_abap_unit_assert=>assert_equals( act = lt_out_data exp = lt_exp_data msg = 'Testing value lt_exp_data' * level = ). ENDMETHOD. "parameterized_test ENDCLASS. "zlcl_test_rstran Adjustments to Coding of Test Class ZLCL_TEST_RSTRAN Adjustments in CLASS zlcl_test_rstran DEFINITION The DATA definitions have to be adjusted according to your inbound (source) data and expected (target) data structures. Replace the TYPE assignments by your own inbound and expected data structures. Adjustments in CLASS zlcl_test_rstran IMPLEMENTATION Adjustments in METHOD setup Replace March

26 (1) the transformation ID (statement ld_tranid = ' ') by the transformation ID of your BW transformation to be tested. You determine this transformation ID in section 4.1, (2) the name of the get_... methods by your own method names given in the class definition part of the ABAP class CLASS ZCL_TDC_VARIANT (see section 5.1) Adjustments in METHOD run_tran Replace (1) the type definition of ty_i_data (inbound data of transformation) by the type definition _ty_s_sc_1 of the generated program, (2) the type definition of ty_e_data (outbound data of transformation) by the type definition _ty_s_tg_1 of the generated program. You determine the type definitions _ty_s_sc_1 and _ty_s_tg_1 of the generated program of the transformation in section 4.1. March

27

How To... Configure Integrated Configurations in the Advanced Adapter Engine

How To... Configure Integrated Configurations in the Advanced Adapter Engine SAP NetWeaver How-To Guide How To... Configure Integrated Configurations in the Advanced Adapter Engine Applicable Releases: SAP NetWeaver Process Integration 7.1, EhP 1 Topic Area: SOA Middleware Capability:

More information

How to Use Function Keys in Mobile Applications for Handhelds

How to Use Function Keys in Mobile Applications for Handhelds SAP NetWeaver How-To Guide How to Use Function Keys in Mobile Applications for Handhelds Applicable Releases: SAP NetWeaver 7.1 Topic Area: User Productivity Capability: Mobile Version 1.00 June 2009 Copyright

More information

How To... Reuse Business Objects and Override Operations of a Business Object

How To... Reuse Business Objects and Override Operations of a Business Object SAP NetWeaver How-To Guide How To... Reuse Business Objects and Override Operations of a Business Object Applicable Releases: SAP NetWeaver Composition Environment 7.1 Topic Area: Development and Composition

More information

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request SAP How-To Guide Master Data Governance for Material How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to Applicable Releases: EhP5, EhP6, MDG6.1 Version 1.1 March 2013

More information

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1 SAP NetWeaver How-To Guide How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1 Applicable Releases: SAP NetWeaver Mobile 7.1 Topic Area: User Productivity Capability: Mobile

More information

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks SAP How-To Guide Master Data Governance for Material How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks Applicable Releases: EhP5,

More information

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible SAP NetWeaver How-To Guide How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible Applicable Releases: SAP NetWeaver 7.0 SAP NetWeaver CE 7.1 Topic Area: Security & Identity

More information

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK SAP NetWeaver SAP How-To NetWeaver Guide How-To Guide How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK Applicable Releases: SAP NetWeaver BW

More information

SAP NetWeaver How-To Guide

SAP NetWeaver How-To Guide SAP NetWeaver How-To Guide Search and Adapt SAP Best Practice content from Business Process Repository (BPR) Applicable Releases: Business Process Blueprinting 1.0 for SAP Solution Manager 7.1 IT Practice

More information

How To... Promote Reports and Input Schedules Through Your System Landscape

How To... Promote Reports and Input Schedules Through Your System Landscape SAP BOBJ Planning & Consolidation (BPC), version for Netweaver How-To Guide How To... Promote Reports and Input Schedules Through Your System Landscape Applicable Releases: SAP BusinessObjects Planning

More information

Simplified Configuration of Single System Update in Maintenance Optimizer

Simplified Configuration of Single System Update in Maintenance Optimizer SAP Solution Manager How-To Guide Simplified Configuration of Single System Update in Maintenance Optimizer Applicable Releases: SAP Solution Manager 7.0 Enhancement Package 1 SP23 or higher SAP Solution

More information

How To...Configure Integration of CUP with SPM

How To...Configure Integration of CUP with SPM SAP SOLUTIONS FOR GOVERNANCE, RISK, AND COMPLIANCE How-To Guide How To...Configure Integration of CUP with SPM SAP GRC Regional Implementation Group Applicable Releases: SAP GRC Access Control 5.3 Topic

More information

How To Generate XSD Schemas from Existing MDM Repositories

How To Generate XSD Schemas from Existing MDM Repositories SAP NetWeaver How-To Guide How To Generate XSD Schemas from Existing MDM Repositories Applicable Releases: SAP NetWeaver MDM 7.1 Topic Area: Information Management Capability: Master Data Management Version

More information

How-To... Add Sensitive Content into an Area

How-To... Add Sensitive Content into an Area SAP NetWeaver How-To Guide How-To... Add Sensitive Content into an Area For Web Page Composer in SAP NetWeaver Portal 7.3 Applicable Releases: SAP NetWeaver 7.3 Version 1.0 Jun 2011 Some components of

More information

How To... Master Data Governance for Material: File Down- and Upload

How To... Master Data Governance for Material: File Down- and Upload SAP How-To Guide Master Data Governance for Material How To... Master Data Governance for Material: File Down- and Upload Applicable Releases: EhP5 Version 1.0 November 2011 Copyright 2011 SAP AG. All

More information

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option)

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option) SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option) Applicable Releases: EhP5 Version 1.0 September 2011 Copyright 2011 SAP AG.

More information

SAP NetWeaver How-To Guide

SAP NetWeaver How-To Guide SAP NetWeaver How-To Guide Integrate your Business Blueprint with SAP Netweaver BPM Applicable Releases: Business Process Blueprinting 1.0 for SAP Solution Manager 7.1 IT Practice / Topic Area: Blueprinting

More information

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server Applicable Releases: SAP Test Data Migration Server 4.0 SP03 Version 1.0 October 2012 Copyright 2012

More information

How to... Build a Planning Function that Deletes Comments in BW

How to... Build a Planning Function that Deletes Comments in BW SAP NetWeaver SAP How-To NetWeaver Guide How-To Guide How to... Build a Planning Function that Deletes Comments in BW Applicable Releases: SAP NetWeaver BW 7.01 Topic Area: Business Information Management

More information

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver. SAP BusinessObjects EPM RIG How-To Guide How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver. Applicable Releases: SAP BusinessObjects

More information

How To... Use the BPC_NW Mass User Management Tool

How To... Use the BPC_NW Mass User Management Tool SAP BOBJ Planning & Consolidation (BPC), version for Netweaver How-To Guide How To... Use the BPC_NW Mass User Management Tool Applicable Releases: SAP BusinessObjects Planning & Consolidation 7.0, version

More information

Do Exception Broadcasting

Do Exception Broadcasting How-to Guide SAP NetWeaver 2004s How To Do Exception Broadcasting Version 1.00 October 2006 Applicable Releases: SAP NetWeaver 2004s Copyright 2006 SAP AG. All rights reserved. No part of this publication

More information

Setting Up an Environment for Testing Applications in a Federated Portal Network

Setting Up an Environment for Testing Applications in a Federated Portal Network SAP NetWeaver How-To Guide Setting Up an Environment for Testing Applications in a Federated Portal Network Applicable Releases: SAP NetWeaver 7.0 IT Practice: User Productivity Enablement IT Scenario:

More information

SAP Composite Application Framework. Creating a Content Package Object

SAP Composite Application Framework. Creating a Content Package Object SAP Composite Application Framework Creating a Content Package Object Version 1.00 July 2006 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F +49/18 05/34 34 20 www.sap.com Copyright

More information

MDM Syndicator Create Flat Syndication File

MDM Syndicator Create Flat Syndication File MDM Syndicator Create Flat Syndication File Applies to: SAP NetWeaver Master Data Management (MDM) SP3, SP4, SP5. Summary This article provides a step-by-step procedure in manually syndicate the data to

More information

Visual Composer - Task Management Application

Visual Composer - Task Management Application Visual Composer - Task Management Application Applies to: Visual Composer for NetWeaver 2004s. Summary This document describes the basic functionality of the Task Management application, which is now available

More information

Create Monitor Entries from a Transformation routine

Create Monitor Entries from a Transformation routine How-to Guide SAP NetWeaver 2004s How To Create Monitor Entries from a Transformation routine Version 1.00 May 2006 Applicable Releases: SAP NetWeaver 2004s (BI Capability) Copyright 2006 SAP AG. All rights

More information

How To Customize the SAP User Interface Using Theme Editor

How To Customize the SAP User Interface Using Theme Editor SAP NetWeaver How-To Guide How To Customize the SAP User Interface Using Theme Editor Applicable Releases: SAP NetWeaver 7.0 and 7.11 Version 1.0 June 2010 Copyright 2010 SAP AG. All rights reserved. No

More information

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to: Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to: Access Control 5.3 Summary GRC Access Control identifies

More information

How To... Configure Drill Through Functionality

How To... Configure Drill Through Functionality SAP BOBJ Planning & Consolidation (BPC), version for Netweaver How-To Guide How To... Configure Drill Through Functionality Applicable Releases: SAP BusinessObjects Planning and Consolidation 7.5, version

More information

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer SAP NetWeaver How-To Guide How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer Applicable Releases: Portal for SAP NetWeaver 7.3 Version 1.0 April 2011 Copyright 2011 SAP AG. All

More information

Process Control 2.5 Implementation Checklist

Process Control 2.5 Implementation Checklist SAP SOLUTIONS FOR GOVERNANCE, RISK, AND COMPLIANCE Checklist Process Control 2.5 Implementation Checklist SAP GRC Regional Implementation Group Applicable Releases: SAP GRC Process Control 2.5 IT Practice

More information

Install TREX for CAF Version 1.00 March 2006

Install TREX for CAF Version 1.00 March 2006 How-to Guide SAP NetWeaver 04s How To Install TREX for CAF Version 1.00 March 2006 Applicable Releases: SAP NetWeaver 04s Copyright 2006 SAP AG. All rights reserved. No part of this publication may be

More information

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide SAP NetWeaver How-To Guide SAP NetWeaver Gateway Virtualization Guide Version 1.01 May 2012 Copyright 2012 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any

More information

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping A Step-By-Step Guide on File to File Scenario Using Xslt Mapping Applies to: SAP Exchange Infrastructure (XI) 3.0 / Process Integration (PI) 7.0 This document is for all XI aspirants who want to create

More information

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool SAP MII Websocket Integration with SAP PCo in Self Service Composition Environment How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool Applicable

More information

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures SAP Composite Application Framework Creating an External Service type Callable Object in Guided Procedures Version 1.00 July 2006 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F +49/18

More information

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems Applies to: SAP GRC Access Enforcer, release 5.2 Summary For GRC Access Control to be able

More information

How to do Breakdown Validation in SAP BPC 7.0 for the SAP NetWeaver Platform

How to do Breakdown Validation in SAP BPC 7.0 for the SAP NetWeaver Platform SAP BOBJ Planning & Consolidation, version for SAP NetWeaver How-To Guide How to do Breakdown Validation in SAP BPC 7.0 for the SAP NetWeaver Platform Applicable Releases: SAP BPC 7.0 NW SP02 (and higher)

More information

How To Enable Business Workflow for SAP NetWeaver Gateway 2.0

How To Enable Business Workflow for SAP NetWeaver Gateway 2.0 SAP NetWeaver How-To Guide How To Enable Business Workflow for SAP NetWeaver Gateway 2.0 (Revised for version 2.0 SP03) Version 2.03 March 2012 Author: Marc Chan, SAP Customer Solution Adoption (CSA) Copyright

More information

What s New / Release Notes SAP Strategy Management 10.1

What s New / Release Notes SAP Strategy Management 10.1 What s New / Release Notes SAP Strategy Management 10.1 PUBLIC Document Version: 1.1 [November 6, 2013] Copyright Copyright 2013 SAP AG. All rights reserved. No part of this publication may be reproduced

More information

How to Set Up and Use the SAP OEE Custom UI Feature

How to Set Up and Use the SAP OEE Custom UI Feature SAP Overall Equipment Effectiveness Management How-To Guide How to Set Up and Use the SAP OEE Custom UI Feature Applicable Release: OEE 1.0 SP01 Version 1.0 August 8, 2013 Copyright 2013 SAP AG. All rights

More information

Consuming Web Dynpro components in Visual Composer.

Consuming Web Dynpro components in Visual Composer. Consuming Web Dynpro components in Visual Composer. Applies to: Visual Composer for SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1 Summary A step by step guide for translating

More information

configure an anonymous access to KM

configure an anonymous access to KM How-to Guide SAP NetWeaver 2004s How To configure an anonymous access to KM Version 1.00 February 2006 Applicable Releases: SAP NetWeaver 2004s Copyright 2006 SAP AG. All rights reserved. No part of this

More information

Create Monitor Entries from an update routine

Create Monitor Entries from an update routine How-to Guide SAP NetWeaver 04 How To Create Monitor Entries from an update routine Version 1.00 November 2004 Applicable Releases: SAP NetWeaver 04 (Business Warehouse) Copyright 2004 SAP AG. All rights

More information

link SAP BPC Excel from an enterprise portal Version th of March 2009

link SAP BPC Excel from an enterprise portal Version th of March 2009 How-to Guide SAP CPM How To link SAP BPC Excel from an enterprise portal Version 1.00 12 th of March 2009 Applicable Releases: SAP BPC 7.0 M, 7.0 NW Copyright 2007 SAP AG. All rights reserved. No part

More information

How To Extend User Details

How To Extend User Details How-to Guide SAP NetWeaver 2004s How To Extend User Details May 2006 Applicable Releases: SAP NetWeaver 2004s Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or

More information

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How to Set Up and Use the SAP OEE Custom KPI Andons Feature SAP Overall Equipment Effectiveness Management How-To Guide How to Set Up and Use the SAP OEE Custom KPI Andons Feature Applicable Release: OEE 1.0 SP02 Patch 2 Version 1.0 February 20, 2014 Copyright

More information

How to Create a New SAPUI5 Development Component

How to Create a New SAPUI5 Development Component SAP Overall Equipment Effectiveness Management How-To Guide How to Create a New SAPUI5 Development Component Applicable Release: OEE 1.0 SP01 Version 1.0 August 8, 2013 Copyright 2013 SAP AG. All rights

More information

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration Applies to: SAP Netweaver 2004s Summary This document shows how to use custom themes for Web Dynpro ABAP applications

More information

Building a Tax Calculation Application

Building a Tax Calculation Application Building a Tax Calculation Application Applies to: Business Rules Framework plus shipped with SAP NetWeaver 7.0 Enhancement Package 1. Summary In this tutorial, you learn to model an application for calculating

More information

Extract Archived data from R3

Extract Archived data from R3 How-to Guide SAP NetWeaver 04 How To Extract Archived data from R3 Version 1.00 November 2004 Applicable Releases: SAP NetWeaver 04 (Business Warehouse) Copyright 2004 SAP AG. All rights reserved. No part

More information

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

Data Validation in Visual Composer for SAP NetWeaver Composition Environment Data Validation in Visual Composer for SAP NetWeaver Composition Environment Applies to: Visual Composer for SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1 For more information

More information

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

How to View Dashboards in the Self Service Composition Environment with Additional Metadata SAP MII Add Metadata to Dashboards in Service Composition Environment How-To-Guide How to View Dashboards in the Self Service Composition Environment with Additional Metadata Applicable Release: MII 15.0

More information

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0 How- to Guide SAP NetW e a v e r 0 4 How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0 Ver si o n 1. 0 0 Dec e m b e r 2 0 0 4 Applic a b l e Rele a s e s : SAP NetW e a v e r 0 4 SP Sta c

More information

Line Items in BI Integrated Planning

Line Items in BI Integrated Planning How-to Guide SAP NetWeaver 7.0 (2004s) How To Line Items in BI Integrated Planning Version 2.00 February 2008 Applicable Releases: SAP NetWeaver 7.0 Business Information Management Business Planning and

More information

Integrate a Forum into a Collaboration Room

Integrate a Forum into a Collaboration Room How-to Guide SAP NetWeaver 04 How To Integrate a Forum into a Collaboration Room Version 1.00 May 2007 Applicable Releases: SAP NetWeaver 04 SPS20 Copyright 2007 SAP AG. All rights reserved. No part of

More information

How To Troubleshoot SSL with BPC Version 1.01 May 2009

How To Troubleshoot SSL with BPC Version 1.01 May 2009 How-to Guide SAP CPM How To Troubleshoot SSL with BPC Version 1.01 May 2009 Applicable Releases: SAP BPC 7 Microsoft Copyright 2007 SAP AG. All rights reserved. No part of this publication may be reproduced

More information

How To Configure IDoc Adapters

How To Configure IDoc Adapters How-to Guide SAP NetWeaver 04 How To Configure IDoc Adapters Version 1.00 Feb 2005 Applicable Releases: SAP NetWeaver 04 XI 3.0 SR1 and above Copyright 2005 SAP AG. All rights reserved. No part of this

More information

SAP Composite Application Framework. Creating a Callable Object in Group: Miscellaneous

SAP Composite Application Framework. Creating a Callable Object in Group: Miscellaneous SAP Composite Application Framework Creating a Callable Object in Group: Miscellaneous Version 1.00 July 2006 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F +49/18 05/34 34 20 www.sap.com

More information

How to Browse an Enterprise Services Registry in Visual Composer

How to Browse an Enterprise Services Registry in Visual Composer How to Browse an Enterprise Services Registry in Visual Composer Applies to: Visual Composer SAP NetWeaver Composition Environment 7.1 (Ehp0 and Ehp1) For more information, visit the User Interface Technology

More information

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

Create Partitions in SSAS of BPC Version 1.00 Feb 2009 How-to Guide SAP EPM How To Create Partitions in SSAS of BPC Version 1.00 Feb 2009 Applicable Releases: SAP BPC 5.x Copyright 2007 SAP AG. All rights reserved. No part of this publication may be reproduced

More information

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): Purpose: Why: When: How often: Main Tasks: Perform configuration steps for used in GRC Access

More information

Cache Settings in Web Page Composer

Cache Settings in Web Page Composer Cache Settings in Web Page Composer Applies to: EP 7.0, SAP NetWeaver Knowledge Management SPS14. For more information, visit the Content Management homepage. Summary This paper explains what cache settings

More information

Integrating a Web Service in a Composite Application. SAP Composite Application Framework

Integrating a Web Service in a Composite Application. SAP Composite Application Framework Integrating a Web Service in a Composite Application SAP Composite Application Framework Document Version 1.00 November 2005 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F +49/18

More information

How to Translate a Visual Composer Model Part I

How to Translate a Visual Composer Model Part I How to Translate a Visual Composer Model Part I Applies to: SAP NetWeaver Visual Composer. Summary This How To guide is the first part in a series of guides which explain how to create and maintain translations

More information

Configure SSO in an SAP NetWeaver 2004s Dual Stack

Configure SSO in an SAP NetWeaver 2004s Dual Stack How-to Guide SAP xrpm 4.0 How To Configure SSO in an SAP NetWeaver 2004s Dual Stack Version 1.00 December 2005 Applicable Releases: SAP xrpm 4.0 Copyright 2004 SAP AG. All rights reserved. No part of this

More information

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0 How-to Guide SAP NetWeaver 04 How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0 Version 1.00 Nov 2005 Applicable Releases: SAP NetWeaver 04 SPS 13 and above

More information

Web Page Composer anonymous user access

Web Page Composer anonymous user access Web Page Composer anonymous user access Applies to: SAP NetWeaver Knowledge Management SPS14. For more information, visit the Content Management homepage. Summary Web Page composer is a tool used for publishing

More information

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006 How-to Guide SAP NetWeaver 04s How To Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006 Applicable Releases: SAP NetWeaver 04s SPS07 or greater Copyright 2006 SAP AG. All rights

More information

SAP How-To Guide. Master Data Governance for Material. How To... Adjust MDG Homepage. Applicable Releases: EhP6, MDG 6.1

SAP How-To Guide. Master Data Governance for Material. How To... Adjust MDG Homepage. Applicable Releases: EhP6, MDG 6.1 SAP How-To Guide Master Data Governance for Material How To... Master Data Governance for Material Adjust MDG Homepage Applicable Releases: EhP6, MDG 6.1 Version 1.0 October 2013 Copyright 2013 SAP AG.

More information

SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee

SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee SAP NetWeaver How-To Guide SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee Applicable Releases: SAP NetWeaver 7.0 EhP1 SAP NetWeaver CE 7.1 and 7.1 EhP1 Topic Area:

More information

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

Configure UD Connect on the J2EE Server for JDBC Access to External Databases How-to Guide SAP NetWeaver 04 How to Configure UD Connect on the J2EE Server for JDBC Access to External Databases Version 1.05 Jan. 2004 Applicable Releases: SAP NetWeaver 04 (SAP BW3.5) Copyright 2004

More information

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04 How-to Guide SAP NetWeaver 04 How To Configure TREX 6.1 for Efficient Indexing Document Version 1.00 January 2005 Applicable Releases: SAP NetWeaver 04 Copyright 2005 SAP AG. All rights reserved. No part

More information

Value Help in Web Dynpro ABAP - Tutorial.

Value Help in Web Dynpro ABAP - Tutorial. Value Help in Web Dynpro ABAP - Tutorial. Applies to: Web Dynpro for ABAP, For more information, visit the Web Dynpro ABAP homepage. Summary In this tutorial I want to explain how to set value help for

More information

View Time Security for crystalreports.com

View Time Security for crystalreports.com View Time Security for crystalreports.com Applies to: crystalreports.com, SAP BusinessObjects BI OnDemand This white paper demonstrates a method for implementing view time security within a Crystal Report

More information

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006 How-to Guide Beginning with SAP NetWeaver 2004s SPS06 How To Transport in GP Version 2.00 January 2006 Applicable Releases: Beginning with SAP NetWeaver 2004s SPS06 Copyright 2006 SAP AG. All rights reserved.

More information

Consuming Directory API in ABAP

Consuming Directory API in ABAP Applies to: SAP ECC 6.0, PI 7.0 PI 7.1 For more information, visit the Business Process Modeling homepage.. Summary This article explains in detail how the directory API services can be consumed from ABAP

More information

Enterprise Portal Logon Page Branding

Enterprise Portal Logon Page Branding Enterprise Portal Logon Page Branding Applies to: This document applies to Enterprise Portal 6.0 based on NW04 and 2004s platforms. Summary This document describes a procedure that uses the NetWeaver Development

More information

Installation Guide Business Explorer

Installation Guide Business Explorer Business Explorer 7. 1 0 Copyright Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission

More information

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1 Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1 Applies to: SAP NetWeaver Process Integration IT Scenarios in Version 7.1 Summary In this article I introduce some details

More information

Implement a virtual InfoProvider with Services

Implement a virtual InfoProvider with Services How-to Guide SAP NetWeaver 04 How To Implement a virtual InfoProvider with Services Version 2.00 March 2005 Applicable Releases: SAP NetWeaver 04 Copyright 2005 SAP AG. All rights reserved. No part of

More information

Visual Composer Build Process

Visual Composer Build Process Applies to: Visual Composer for Composition Environment 7.1 Summary This paper explains how Visual Composer builds & creates its applications, and what are the dependencies and naming consideration a modeler

More information

How To... Transport Forum Content Between SAP NetWeaver Systems

How To... Transport Forum Content Between SAP NetWeaver Systems SAP NetWeaver How-To Guide How To... Transport Forum Content Between SAP NetWeaver Systems Applicable Releases: SAP NetWeaver 7.0 SAP NetWeaver 7.0 including Enhancement Package 1 SAP NetWeaver 7.0 including

More information

How To... Delete EAN Assignments from 0RPA_MEAN

How To... Delete EAN Assignments from 0RPA_MEAN SAP NetWeaver How-To Guide How To... Delete EAN Assignments from 0RPA_MEAN Applicable Releases: SAP BW >= Release 3.5 and above BI Content >= Release 3.52 and above Plug-In >= 2004.1 and above Version

More information

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS SDN Contribution HOW TO CONFIGURE XMII 11.5.1 BUILD 63 AND IIS 6.0 FOR HTTPS Applies to: Configuring SAP xapp Manufacturing Integration and Intelligence (SAP xmii 11.5.1 build 63) and IIS 6.0 for https.

More information

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks BusinessObjects Enterprise XI 3.0 with Complex NAT Networks Applies to: BusinessObjects Enterprise XI 3.0 Summary The BusinessObjects Enterprise Administrator s Guide (XI 3.1) provides the basic concept

More information

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius How To Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius SAP Product Name: SAP Business Planning and Consolidation, version for Microsoft Applicable

More information

Authentication of a WS Client Using a SAP Logon Ticket

Authentication of a WS Client Using a SAP Logon Ticket Authentication of a WS Client Using a SAP Logon Ticket Release 650 HELP.BCWEBSERVICES_TUTORIALS SAP Online Help 04.04.2005 Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication

More information

Extracting Product Attributes in XML using Web Service

Extracting Product Attributes in XML using Web Service Extracting Product Attributes in XML using Web Service Applies to: SAP for Banking. For more information, visit the Web Services homepage. Summary The purpose of this document is to describe in detail

More information

How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC

How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC September 2006 SAP NetWeaver 2004s Copyright Copyright 2005 SAP AG. All rights reserved. No part of this publication may be reproduced or

More information

How To Set Up and Use the SAP ME Work Instructions Feature

How To Set Up and Use the SAP ME Work Instructions Feature SAP Manufacturing Execution How-To Guide How To Set Up and Use the SAP ME Work Instructions Feature Applicable Release: ME 6.1 Version 2.3 August 27, 2013 Copyright 2013 SAP AG. All rights reserved. No

More information

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling. SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling. Applies to: SAP MII 12.0. - For more information, visit the Manufacturing homepage. Summary This document explores the data

More information

Working with Select Options in Web Dynpro for ABAP

Working with Select Options in Web Dynpro for ABAP Working with Select Options in Web Dynpro for ABAP Applies to: SAP ECC 6.0 (Release 700, SP 12). Summary To show a select options screen in Web Dynpro ABAP we have to use SAP s Standard component. This

More information

Web Dynpro for ABAP: Tutorial 4 - Display Bookings of Selected Flight

Web Dynpro for ABAP: Tutorial 4 - Display Bookings of Selected Flight Web Dynpro for ABAP: Tutorial 4 - Display Bookings of Selected Flight SAP NetWeaver 2004s Copyright Copyright 2005 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted

More information

How To...Consume HANA Models with Input Parameters in BW Virtual Providers

How To...Consume HANA Models with Input Parameters in BW Virtual Providers SAP How-to Guide Database & Technology SAP HANA Appliance How To...Consume HANA Models with Input Parameters in BW Virtual Providers Applicable Releases: SAP HANA 1.0 SPS 04 SAP BW powered by HANA 7.3

More information

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2 Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2 Applies to: SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1 Summary This guide explains how to

More information

Monitoring System Landscapes Using the DBA Cockpit

Monitoring System Landscapes Using the DBA Cockpit Monitoring System Landscapes Using the DBA Cockpit Applies to: Database Monitoring and Administration of SAP NetWeaver systems using the latest DBA Cockpit that is provided with release 7.10 and SAP NetWeaver

More information

SAP BW 3.3 April 2004 English. General Ledger Analysis. Business Process Procedure. SAP AG Neurottstr Walldorf Germany

SAP BW 3.3 April 2004 English. General Ledger Analysis. Business Process Procedure. SAP AG Neurottstr Walldorf Germany SAP BW 3.3 April 2004 English General Ledger Analysis Business Process Procedure SAP AG Neurottstr. 16 69190 Walldorf Germany Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication

More information

Introducing SAP Enterprise Services Explorer for Microsoft.NET

Introducing SAP Enterprise Services Explorer for Microsoft.NET Introducing SAP Enterprise Services Explorer for Microsoft.NET Applies to: SAP SOA, SAP NetWeaver Composition Environment 7.1 including enhancement package 1, SAP Services Registry, SAP - Microsoft interoperability,

More information