How to Copy Test Data Set from One Function Module to Another (Comes Handy While Renaming Functions)

Size: px
Start display at page:

Download "How to Copy Test Data Set from One Function Module to Another (Comes Handy While Renaming Functions)"

Transcription

1 SDN Contribution How to Copy Test Data Set from One Function Module to Another (Comes Handy While Renaming Functions) Applies to: SAP R/3 Release 4.6 onwards (might work for earlier versions as well, but I have not tried). Summary SAP does not provide a standard way of copying test data directory while renaming function modules as it does for copying programs. This creates problems when one has to rename a function module which has a number of test data set saved in the test data directory. It is painful to manually enter the test data again in the new function module especially the function module has a lot of importing, changing parameters and tables. This code sample solves the problem. Created on: 30th April 2006 Author Bio (a) Name Sandip Sanyal (b) Company name IBM India Pvt. Ltd. (c) Field of work SAP Technical (ABAP) 2006 SAP AG 1

2 Table of Contents Procedure... 3 Input Values... 3 Code... 4 Related Content Disclaimer and Liability Notice SAP AG 2

3 Procedure This code has no prerequisite in terms of dictionary structures and should give no syntax error when pasted in SE38 editor. It should be applied in the following way: Copy a function module (Don t Rename, as then the whole test data directory will be lost). Execute the program Z_FUNCTION_TESTDATA_TRANSFER (code sample given below) with the old and new function module names as input. Now delete the old function module (optional). Input Values The program takes 2 inputs: Old Function Module Name New Function Module Name 2006 SAP AG 3

4 Code The whole code is given below: *& Report Z_FUNCTION_TESTDATA_TRANSFER * *& * *& * *& * REPORT z_function_testdata_transfer MESSAGE-ID FL. TABLES: tfdir,rs38l. TYPE-POOLS: nf2ty. DATA : BEGIN OF te_datadir OCCURS 10, dataid LIKE eufunc-nummer, stepid(3), seqid LIKE eufunc-seqid, datum LIKE sy-datum, uzeit LIKE sy-uzeit, title(40), END OF te_datadir. DATA : BEGIN OF fdesc OCCURS 10, name(30), " Fieldname table(40), " Table name type(1), " Data type length(5), " Length ilength(5), " Input Length hlength TYPE p, " Input Length ftype(3), " Type fdt_... " I IMPORT " E EXPORT " C CHANGING " S STRUCTURE " Y TYPE " T TABLE number TYPE i, " Reference, Structure END OF fdesc. DATA: BEGIN OF fdesc_copy OCCURS 10, line LIKE fdesc, END OF fdesc_copy. DATA : d102n_exportkey LIKE functdir, d102n_exportkey_new LIKE functdir. DATA: d102_fname LIKE rs38l-name SAP AG 4

5 DATA: t_dynpread TYPE STANDARD TABLE OF DYNPREAD INITIAL SIZE 0, W_DYNPREAD TYPE DYNPREAD. DATA: BEGIN OF fdesc_copy_backup OCCURS 10, line LIKE fdesc, END OF fdesc_copy_backup. DATA: g_prog_old LIKE trdir-name, g_prog_new LIKE trdir-name, l_no_save TYPE c, g_new_area TYPE rs38l-area, g_old_area TYPE rs38l-area, g_testdata_version TYPE i VALUE 1, struc_info_table_copy TYPE nf2ty_struc_info_table. PARAMETERS: p_ofunc TYPE rs38l_fnam, p_nfunc TYPE rs38l_fnam. * Provide F4 help AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ofunc. REFRESH T_DYNPREAD. W_DYNPREAD-fieldname = 'P_OFUNC'. APPEND W_DYNPREAD TO T_DYNPREAD. PERFORM val_request_fm TABLES T_DYNPREAD CHANGING p_ofunc. AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_nfunc. REFRESH T_DYNPREAD. W_DYNPREAD-fieldname = 'P_NFUNC'. APPEND W_DYNPREAD TO T_DYNPREAD. PERFORM val_request_fm TABLES T_DYNPREAD CHANGING p_nfunc. START-OF-SELECTION. * Get the old function module detail CLEAR: tfdir, rs38l. SELECT SINGLE * FROM tfdir WHERE funcname = p_ofunc. IF sy-subrc <> 0. MESSAGE i046 WITH p_ofunc. LEAVE LIST-PROCESSING. CLEAR d102n_exportkey. * Function group g_old_area = d102n_exportkey-area = tfdir-pname+4. d102n_exportkey-progid = p_ofunc. d102n_exportkey-dataid = '999'. * Get the new function module detail 2006 SAP AG 5

6 CLEAR: tfdir, rs38l. SELECT SINGLE * FROM tfdir WHERE funcname = p_nfunc. IF sy-subrc <> 0. MESSAGE i046 WITH p_nfunc. LEAVE LIST-PROCESSING. CLEAR d102n_exportkey_new. * Function group g_new_area = d102n_exportkey_new-area = tfdir-pname+4. d102n_exportkey_new-progid = p_nfunc. d102n_exportkey_new-dataid = '999'. * Get the test data directory of the old function module CATCH SYSTEM-EXCEPTIONS conne_import_wrong_comp_type = 1. IMPORT te_datadir fdesc_copy struc_info_table_copy g_no_save TO l_no_save d102_fname FROM DATABASE eufunc(fl) ID d102n_exportkey. ENDCATCH. fdesc_copy_backup[] = fdesc_copy[]. * Determine the generated subroutine pool name for the old function g_prog_old = p_ofunc. TRANSLATE g_prog_old USING ' ='. g_prog_old+30 = 'FT'. * Determine the generated subroutine pool name for the new function g_prog_new = p_nfunc. TRANSLATE g_prog_new USING ' ='. g_prog_new+30 = 'FT'. LOOP AT te_datadir. d102n_exportkey_new-dataid = te_datadir-dataid. LOOP AT fdesc_copy_backup INTO fdesc. PERFORM pa_write_parameter USING fdesc-ftype(1). ENDLOOP. ENDLOOP. MESSAGE s180 WITH 'Processing Complete'. *& Form pa_write_parameter * text * * 2006 SAP AG 6

7 FORM pa_write_parameter USING p_type. DATA: d_type(1) TYPE c VALUE 'I', param_value(220), o_param_value LIKE param_value, fdesc_index LIKE sy-tabix, d100_iohide. CHECK NOT fdesc-table(7) = 'REF TO '. CHECK NOT fdesc-type = 'r'. CHECK NOT fdesc-type = 'l'. "Datenreferenz fdesc_index = sy-tabix. "wird für Zugriff gehided d100_iohide = 'I'. "Hide für späteren Zugriff CLEAR param_value. CLEAR o_param_value. IF p_type = 'T' OR p_type = 'C'. d_type = 'O'. eufunc-name = p_ofunc. d102n_exportkey-progid = p_ofunc. d102n_exportkey-area = g_old_area. * Get the test data set from memory PERFORM db_load_testdata USING d102n_exportkey-area d102n_exportkey-progid te_datadir-dataid te_datadir-seqid g_prog_old. * Get the respective parameter value PERFORM parameter_get IN PROGRAM (g_prog_old) IF FOUND USING fdesc-name d_type CHANGING param_value o_param_value. eufunc-name = p_nfunc. d102n_exportkey_new-progid = p_nfunc. d102n_exportkey_new-area = g_new_area. eufunc-name = p_nfunc. d102n_exportkey_new-progid = p_nfunc. * Export the parameter values to memory PERFORM export_import IN PROGRAM (g_prog_old) IF FOUND USING 'IO' d102n_exportkey_new. * Export the data set to memory PERFORM db_export_datadir USING d102n_exportkey_new-area d102n_exportkey_new-progid '999'. ENDFORM. " PA_WRITE_PARAMETER *& Form DB_LOAD_TESTDATA 2006 SAP AG 7

8 * text * * * --> p1 text * <-- p2 text * * FORM db_load_testdata USING value(p_file) value(p_func) value(p_id) value(p_sid) g_prog. DATA: l_int TYPE i, rep TYPE rssourcet, l_rep TYPE rssourcel, l_found TYPE c. * CLEAR d102n_exportkey. IF NOT p_id IS INITIAL. l_int = p_id. d102n_exportkey-dataid = l_int. d102n_exportkey-area = p_file. d102n_exportkey-progid = p_func. d102n_exportkey-seqid = p_sid. READ REPORT g_prog INTO rep. LOOP AT rep INTO l_rep. TRANSLATE l_rep TO UPPER CASE. "#EC TRANSLANG IF l_rep CS 'FORM EXPORT_IMPORT USING'. "#EC NOTEXT l_found = 'X'. EXIT. ENDLOOP. IF l_found = 'X'. * Get the values of exporting, importing parameter etc PERFORM export_import IN PROGRAM (g_prog) USING 'II' d102n_exportkey. PERFORM export_import IN PROGRAM (g_prog) USING 'IV' d102n_exportkey. ENDFORM. " DB_LOAD_TESTDATA *& Form db_export_datadir * text * * * -->P_FILE text * -->P_FNAME text * -->P_DATAID text * * FORM db_export_datadir USING p_file p_fname p_dataid. CLEAR d102n_exportkey SAP AG 8

9 d102n_exportkey-area = p_file. d102n_exportkey-progid = p_fname. d102n_exportkey-dataid = p_dataid. eufunc-datum = sy-datum. eufunc-zeit = sy-uzeit. eufunc-autor = sy-uname. eufunc-version = g_testdata_version. d102_fname = p_fname. fdesc_copy[] = fdesc[]. EXPORT te_datadir fdesc_copy struc_info_table_copy g_no_save FROM l_no_save d102_fname TO DATABASE eufunc(fl) ID d102n_exportkey. ENDFORM. " DB_IMPORT_DATADIR *& Form val_request_fm form val_request_fm tables t_dynpread structure DYNPREAD changing p_func. DATA: l_object TYPE RS38L_FNAM. CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr tables dynpfields = t_dynpread EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 DOUBLE_CONVERSION = 9 STEPL_NOT_FOUND = 10 OTHERS = 11. READ TABLE t_dynpread INTO w_dynpread INDEX 1. CLEAR l_object. l_object = w_dynpread-fieldvalue. CALL FUNCTION 'F4_FUNCTIONMODULE' EXPORTING group = ' ' object = l_object suppress_selection = 'X' 2006 SAP AG 9

10 display_only variant IMPORTING result endform. = space = space = p_func. " val_request_fm Related Content None Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document SAP AG 10

ABAP Program to Read/Populate Selection Screen Parameters Dynamically

ABAP Program to Read/Populate Selection Screen Parameters Dynamically ABAP Program to Read/Populate Selection Screen Parameters Dynamically Applies to: SAP 4.6c Summary The main purpose of this article is to focus on dynamic read and dynamic population of selection screen

More information

Custom Process types Remote Trigger and End Time

Custom Process types Remote Trigger and End Time SDN Contribution Custom Process types Remote Trigger and End Time Applies to: SAP BW 3.1C and Above. Summary Development 1: We sometimes have loads in our process chains whose status and runtime don t

More information

Steps to Activate ALE Delta for Custom Master Datasource Created on ZTable

Steps to Activate ALE Delta for Custom Master Datasource Created on ZTable Steps to Activate ALE Delta for Custom Master Datasource Created on ZTable Applies to: This article applies to SAP BI 7.0 and SAP BW 3.X. For more information visit EDW Homepage. Summary This article explains

More information

POWL: Infoset Generation with Web Dynpro ABAP

POWL: Infoset Generation with Web Dynpro ABAP POWL: Infoset Generation with Web Dynpro ABAP Applies to: WebDynpro ABAP Developer. For more information, visit the Web Dynpro ABAP homepage. Summary: This document explains how to create an Infoset, generate

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons Creating Custom SU01 Transaction Code with Display and Password Reset Buttons Applies to: All versions of SAP. Summary This article will explain you the process of creating custom SU01 transaction code

More information

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts. Applies to: SAP IS-Utilities 4.6 and above. Summary This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts. Author: Company: Hiral M Dedhia L & T Infotech Ltd.

More information

Download SAP Query Output to Local/ Network Folders in Background

Download SAP Query Output to Local/ Network Folders in Background Download SAP Query Output to Local/ Network Folders in Background Applies to: SAP release where SQUE0001 enhancement (SMOD) available For more information, visit the ABAP homepage. Summary This article

More information

SAP BW Copy Existing DTP for Data Targets

SAP BW Copy Existing DTP for Data Targets SAP BW Copy Existing DTP for Data Targets Applies to: SAP BI Consultants with ABAP Knowledge. For more information, visit the EDW HomePage. Summary Copy existing DTP to a new one in not possible in SAP

More information

Triggering the Process Chains at Particular Date using Events

Triggering the Process Chains at Particular Date using Events Triggering the Process Chains at Particular Date using Events Applies to: SAP BW 3.5, Will also work on SAP BI 7 For more information, visit the Business Intelligence homepage Summary This document discusses

More information

SMT (Service Mapping Tool)

SMT (Service Mapping Tool) Applies to: This document applies to SAP versions ECC 6.0. For more information, visit the ABAP homepage. Summary This article contains the guidelines for using the SMT (Service mapping Tool) Mapping.

More information

Easy Lookup in Process Integration 7.1

Easy Lookup in Process Integration 7.1 Easy Lookup in Process Integration 7.1 Applies to: SAP NetWeaver Process Integration 7.1 For more information, visit the SOA Management homepage. Summary Unlike previous version of PI (7.0) / XI (3.0,

More information

Displaying SAP Transaction as Internet Application in Portal

Displaying SAP Transaction as Internet Application in Portal Displaying SAP Transaction as Internet Application in Portal Summary This article explains how we can display SAP transaction as Internet Application Components (IAC) in portal to make it simpler for the

More information

ecatt Part 6 System Data Container

ecatt Part 6 System Data Container \ ecatt Part 6 System Data Container Applies to: SAP 5.0 Summary In the Part I of ecatt series, we covered the introduction to ecatt, its prerequisites, features, when to go for SAP GUI mode recording

More information

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal Applies to: Web Dynpro ABAP. Summary This tutorial explains how to display Web Dynpro ABAP Application in Microsoft Share

More information

Creation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports

Creation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports Creation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports Applies to: This Article is intended for all those ABAPers who are interested in creating SAP-SETS and use them in ABAP. For more information,

More information

Customized Transaction to Trigger Process Chain from Failed Step

Customized Transaction to Trigger Process Chain from Failed Step Customized Transaction to Trigger Process Chain from Failed Step Applies to: SAP BW 3.x & SAP BI NetWeaver 2004s. For more information, visit the Business Intelligence homepage. Summary There are multiple

More information

Material Master Archiving in Simple Method

Material Master Archiving in Simple Method Material Master Archiving in Simple Method Applies to: This article is applicable for SAP MM Module of SAP Version SAP 4.7 till SAP ECC 6.0 Summary This article describes a process called Material Master

More information

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3 MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3 Applies to: SAP NetWeaver Master Data Management (MDM) SP3, SP4, SP5. Summary This article provides a step-by-step procedure for manually

More information

ABAP Code - Recipients (Specific Format) SAP BW Process Chain

ABAP Code -  Recipients (Specific Format) SAP BW Process Chain ABAP Code - Email Recipients (Specific Format) SAP BW Process Chain Applies to: This article is applicable to all the SAP BI consultants who are accustomed with SAP ABAP skills. For more information, visit

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

Routines in SAP BI 7.0 Transformations

Routines in SAP BI 7.0 Transformations Routines in SAP BI 7.0 Transformations Applies to: SAP BI 7.0. For more information, visit the Business Intelligence homepage. Summary This paper gives an overview about the different routines available

More information

Implementing Customer Exit Reporting Variables as Methods

Implementing Customer Exit Reporting Variables as Methods Implementing Customer Exit Reporting Variables as Methods Applies to: SAP BI 7.0 For more information, visit the Business Intelligence homepage. Summary This article describes how we can implement customer

More information

SAP QM-IDI Interface. SDN Contribution. Applies to: Summary. Author Bio. SAP QM Interfaces

SAP QM-IDI Interface. SDN Contribution. Applies to: Summary. Author Bio. SAP QM Interfaces SDN Contribution SAP QM-IDI Interface Applies to: SAP QM Interfaces Summary A description of the steps needed to activate a communication between Quality management and an external system using the QM-IDI

More information

Step by Step Guide for PI Server Start and Stop Procedure

Step by Step Guide for PI Server Start and Stop Procedure Step by Step Guide for PI Server Start and Stop Procedure Applies to: This document applies to PI 7.0 and 7.1 and above. For more information, visit the Application Management homepage. Summary This document

More information

MDM Syndicator: Custom Items Tab

MDM Syndicator: Custom Items Tab MDM Syndicator: Custom Items Tab Applies to: SAP NetWeaver Master Data Management (MDM) SP04, SP05 and SP06. For more information, visit the Master Data Management homepage. Summary This article provides

More information

Selection-Screen Design

Selection-Screen Design Applies To: SAP R/3, ABAP/4 Summary This program illustrates some of the selection-screen design features, simple use of field symbols and the various events associated with a report program. And one good

More information

Using Radio Buttons in Web Template

Using Radio Buttons in Web Template Using Radio Buttons in Web Template Applies to: SAP BW 3.5. For more information, visit the Business Intelligence homepage. Summary One of the ideal requirements in the BW Web Reporting is the user wants

More information

Material Listing and Exclusion

Material Listing and Exclusion Material Listing and Exclusion Applies to: Applies to ECC 6.0. For more information, visit the Enterprise Resource Planning homepage Summary This document briefly explains how to restrict customers from

More information

Step by Step Guide to Enhance a Data Source

Step by Step Guide to Enhance a Data Source Step by Step Guide to Enhance a Data Source Applies to: SAP BI 7.0. For more information, visit the Business Intelligence homepage Summary This article provides a step by step guide to enhance a Standard

More information

Web Dynpro: Coloring Table Conditionally

Web Dynpro: Coloring Table Conditionally Web Dynpro: Coloring Table Conditionally Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary This article is designed for the beginners in Web Dynpro who have ABAP

More information

SAP BusinessObjects Translation Manager Functionality and Use

SAP BusinessObjects Translation Manager Functionality and Use SAP BusinessObjects Translation Manager Functionality and Use Applies to: SAP BusinessObjects Enterprise XI 3.0, SAP BusinessObjects Enterprise XI 3.1 all support packs. For more information, visit SAP

More information

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP Applies to: SAP Netweaver 2004S: Web Dynpro for ABAP. For more information, visit the User Interface Technology homepage.

More information

Information Broadcasting Part 3 Scheduling the First Report

Information Broadcasting Part 3 Scheduling the First Report Information Broadcasting Part 3 Scheduling the First Report Applies to: SAP BW 3.5 Summary This is part-3 article in the Information broadcasting (IB) series. Some things have already been discussed like

More information

Table Row Popup in Web Dynpro Component

Table Row Popup in Web Dynpro Component Table Row Popup in Web Dynpro Component Applies to Web Dynpro for ABAP, NW 7.0. For more information, visit the Web Dynpro ABAP homepage. Summary This document helps to create Table Rowpopin in a Web Dynpro

More information

Reading Enhanced DataSource fields for the Remote Cube

Reading Enhanced DataSource fields for the Remote Cube Reading Enhanced DataSource fields for the Remote Cube Applies to: SAP BI 7.0. For more information, visit the EDW homepage. Summary SAP Remote Cube does not display the enhanced fields in the data source.

More information

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure Applies to: ECC 6.0 and BI 3.x and 7.0 For more information, visit the Business Intelligence homepage. Summary Many

More information

Standalone BW System Refresh

Standalone BW System Refresh Applies to: Software Component: SAP_BW. For more information, visit the EDW homepage Summary BW relevant steps/scenarios during refresh of an existing non-productive BW system from productive BW system

More information

Enhancement Technique: How-To-Guide on the usage of Validations

Enhancement Technique: How-To-Guide on the usage of Validations Enhancement Technique: How-To-Guide on the usage of Validations Applies to: SAP 4.6C and higher Summary This article provides a step-by-step guide on the usage of Validations, an Enhancement technique

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

Process Chain Log Deletion

Process Chain Log Deletion Applies to: SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the EDW homepage Summary Process chains are used in BW landscape to automate the loading sequence. There are multiple process

More information

Dynamically Enable / Disable Fields in Table Maintenance Generator

Dynamically Enable / Disable Fields in Table Maintenance Generator Dynamically Enable / Disable Fields in Table Maintenance Generator Applies to: SAP ABAP. For more information, visit the ABAP homepage. Summary This article demonstrates on how to Enable / Disable fields

More information

Reporting Duplicate Entries

Reporting Duplicate Entries Applies to: SAP BI 7.0 and above. For more information, visit the Business Intelligence Homepage. Summary It is a common reporting requirement to display duplicate entries based on a characteristic. This

More information

How to Write Inverse Routine with Expert Routine

How to Write Inverse Routine with Expert Routine How to Write Inverse Routine with Expert Routine Applies to: Development and support based on SAP BI 7.0 For more information, visit the Business Intelligence homepage. Summary The article shows the example

More information

Replacement Path: Explained with an Illustrated Example

Replacement Path: Explained with an Illustrated Example Replacement Path: Explained with an Illustrated Example Applies to: SAP NetWeaver BW. For more information, visit the EDW homepage Summary The document explains the purpose and implementation method of

More information

How to Default Variant Created for Report Developed In Report Painter/Writer

How to Default Variant Created for Report Developed In Report Painter/Writer How to Default Variant Created for Report Developed In Report Painter/Writer Applies to: Any business organization having reports developed using Report Painter/Report Writer. This is applicable from R/3

More information

A Step-by-Step Guide on IDoc-ALE between Two SAP Servers

A Step-by-Step Guide on IDoc-ALE between Two SAP Servers A Step-by-Step Guide on IDoc-ALE between Two SAP Servers Applies to: All modules of SAP where data need to transfer from one SAP System to another SAP System using ALE IDoc Methodology. For more information,

More information

A Simple search program for Dictionary objects

A Simple search program for Dictionary objects A Simple search program for Dictionary objects Applies To: ABAP Programming Article Summary This Code sample is a simple search utility for the dictionary objects. This has three kinds of search functionality

More information

Web Dynpro ABAP: Dynamic Table

Web Dynpro ABAP: Dynamic Table Applies to: SAP ECC 6.0 Summary Normally ABAP consultants might be aware of how to create internal table dynamically. This article aims to help the consultants how to display the dynamic table using Web

More information

Data Source Replication and Activation of Transfer Structures

Data Source Replication and Activation of Transfer Structures Data Source Replication and Activation of Transfer Structures Applies to: SAP Net Weaver BW. For more information, visit the EDW homepage Summary Detailed Documentation and practical implementation of

More information

Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed

Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed Applies to: SAP BW 3.X & BI 7.0. For more information, visit the Business Intelligence homepage. Summary This article

More information

Exception Handling in Web Services exposed from an R/3 System

Exception Handling in Web Services exposed from an R/3 System Exception Handling in Web Services exposed from an R/3 System Applies to: SAP WAS 6.2 onwards Summary We expose an RFC enabled function module as web service in R/3. While creating the function module,

More information

E-Sourcing System Copy [System refresh from Production to existing Development]

E-Sourcing System Copy [System refresh from Production to existing Development] E-Sourcing System Copy [System refresh from Production to existing Development] Applies to: SAP Netweaver 7.0 and E-Sourcing 5.1/CLM 2.0 Summary This document discusses about the steps to do an E-Sourcing

More information

Transfer Material Attributes (Material Type) from R/3 to SAP GRC Global Trade Services (GTS)

Transfer Material Attributes (Material Type) from R/3 to SAP GRC Global Trade Services (GTS) Transfer Material Attributes (Material Type) from R/3 to SAP GRC Global Trade Services (GTS) Applies to: This article and examples applies to ECC 6 and Global Trade System - SLL 7.0 and 7.1 Versions. For

More information

Web Dynpro ABAP: Changing ALV Contents and Saving in Database

Web Dynpro ABAP: Changing ALV Contents and Saving in Database Web Dynpro ABAP: Changing ALV Contents and Saving in Database Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage Summary The article is aimed to help beginners in Webdynpro

More information

Adding Custom Fields to Contract Account Screen

Adding Custom Fields to Contract Account Screen Adding Custom Fields to Contract Account Screen Applies to: This article applies to ISU-FICA & ABAP. For more information, visit the ABAP homepage. Summary This article explains how to add custom fields

More information

How to Create View on Different Tables and Load Data through Generic Datasource based on that View

How to Create View on Different Tables and Load Data through Generic Datasource based on that View How to Create View on Different Tables and Load Data through Generic Datasource based on that View Applies to: SAP Business Intelligence (BI 7.0). For more information, visit the EDW homepage Summary This

More information

Step By Step: the Process of Selective Deletion from a DSO

Step By Step: the Process of Selective Deletion from a DSO Step By Step: the Process of Selective Deletion from a DSO Applies to: SAP NetWeaver BW. For more information, visit the EDW homepage. Summary Selective deletion from DSO refers to deleting specific values

More information

Using Customer Exit Variables in BW/BI Reports: Part - 14

Using Customer Exit Variables in BW/BI Reports: Part - 14 Using Customer Exit Variables in BW/BI Reports: Part - 14 Applies to: SAP NetWeaver Business Warehouse (Formerly BI), Will also work on SAP BI 3.5. EDW homepage. Summary This article gives clear picture

More information

Financial Statement Version into PDF Reader

Financial Statement Version into PDF Reader Financial Statement Version into PDF Reader Applies to: SAP release 4.7EE, ECC 5.0 and ECC 6.0. For more information, visit the Enterprise Resource Planning homepage Summary: The objective of this article

More information

Developing Crystal Reports on SAP BW

Developing Crystal Reports on SAP BW Developing Crystal Reports on SAP BW Applies to: SAP BusinessObjects Crystal Reports. Summary This white paper explores various methods of accessing SAP BW data through Crystal Reports. Author: Arka Roy

More information

Applies To:...1. Summary...1. Table of Contents...1. Procedure..2. Code... Error! Bookmark not defined.0

Applies To:...1. Summary...1. Table of Contents...1. Procedure..2. Code... Error! Bookmark not defined.0 Applies To: Usage of Table Control in ABAP Summary Normally we use wizard if we are working with table control. This document helps us how to create a table control without using a wizard and how to manipulate

More information

Table Properties and Table Popin

Table Properties and Table Popin Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage Summary This article is designed to explain for setting the properties of Table at runtime based on condition and also

More information

Step by Step Procedure for DSO Creation

Step by Step Procedure for DSO Creation Step by Step Procedure for DSO Creation Applies to: SAP BI 7.0. For more information, visit the EDW homepage. Summary This article discusses about the step by step procedure for creating a DSO. Author:

More information

Graphical Mapping Technique in SAP NetWeaver Process Integration

Graphical Mapping Technique in SAP NetWeaver Process Integration Graphical Mapping Technique in SAP NetWeaver Process Integration Applies to: SAP NetWeaver XI/PI mappings. For more information, visit the Repository-based Modeling and Design homepage. Summary This guide

More information

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error About ITAB Duplicate_Key (SAP lrsaods) Runtime Error Applies to: SAP NetWeaver BW 3.x.For more information, visit the Business Intelligence homepage. Summary This article explains about the Runtime Error

More information

Restricting F4 (Input Help) Values While Running a SAP BW Query

Restricting F4 (Input Help) Values While Running a SAP BW Query Restricting F4 (Input Help) Values While Running a SAP BW Query Applies to: SAP BI 7.01 Summary This article briefs out the way to restrict F4 values (Input help values) while running a SAP BW query with

More information

Step by Step Method for File Archival in BW

Step by Step Method for File Archival in BW Step by Step Method for File Archival in BW Applies to: SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the EDW homepage. Summary This document will give the reader step by step approach

More information

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP Open Text DocuLink Configuration - To Access Documents which are Archived using SAP Applies to: Open Text DocuLink for SAP Solutions 9.6.2. For more information, visit http://www.opentext.com Summary Open

More information

Easy Application Integration: How to use the Records Management Call Handler Framework

Easy Application Integration: How to use the Records Management Call Handler Framework Easy Application Integration: How to use the Records Management Call Handler Framework Applies to: SAP NetWeaver > 7.0 For more information, visit the Data Management and Integration homepage. Summary

More information

ABAP HR: Standard Info Type Enhancement

ABAP HR: Standard Info Type Enhancement ABAP HR: Standard Info Type Enhancement Applies to: This document applies to SAP ECC 6.0, SAP Netweaver 2004s. For more information, visit the ABAP homepage. Summary This article contains the step by step

More information

All about Compression

All about Compression Applies to: SAP BI 7.0 developers and Reporting Users. For more information, visit the EDW homepage. Summary This document will help to understand almost all aspects related to compression, advantages

More information

MDM Syndication and Importing Configurations and Automation

MDM Syndication and Importing Configurations and Automation MDM Syndication and Importing Configurations and Automation Applies to: SAP MDM SP 05 Summary This document was written primarily for syndication and import of records into SAP NetWeaver MDM from different

More information

Customizing Characteristic Relationships in BW-BPS with Function Modules

Customizing Characteristic Relationships in BW-BPS with Function Modules Customizing Characteristic Relationships in BW-BPS with Function Modules Applies to: BW-BPS (Ver. 3.5 and BI 7.0) SEM-BPS (Ver 3.2 onwards) Summary This paper discusses the definition of a exit type characteristic

More information

Data Extraction & DS Enhancement in SAP BI Step by Step

Data Extraction & DS Enhancement in SAP BI Step by Step Data Extraction & DS Enhancement in SAP BI Step by Step Applies to: SAP BI 7.0, SAP ABAP, For more information, visit the Business Intelligence homepage. Summary The objective of the article is to outline

More information

Using Customer Exit Variables in BW/BI Reports Part - 1

Using Customer Exit Variables in BW/BI Reports Part - 1 Using Customer Exit Variables in BW/BI Reports Part - 1 Applies to: SAP BW 3.5, Will also work on SAP BI 7. For more information, visit the Business Intelligence homepage. Summary This article gives clear

More information

DB Connect with Delta Mechanism

DB Connect with Delta Mechanism Applies to: SAP BI/BW. For more information, visit the EDW homepage Summary This Article demonstrates the steps for handling Delta mechanism with Relational Database Management System (RDBMS) like SQL,

More information

How to use Boolean Operations in the Formula as Subsidiary for IF Condition

How to use Boolean Operations in the Formula as Subsidiary for IF Condition How to use Boolean Operations in the Formula as Subsidiary for IF Condition Applies to: SAP BW 3.5 & BI 7.0. For more information, visit the EDW homepage. Summary This paper will explain you how to use

More information

Steps for XML Validation by Adapter Engine in PI 7.1

Steps for XML Validation by Adapter Engine in PI 7.1 Steps for XML Validation by Adapter Engine in PI 7.1 Applies to: SAP PI 7.1, esoa. Summary In this article I have shown the steps required to do XML Validation by an Adapter Engine.. Author: Hemant Negi

More information

Methods of Selecting BOM Variant Parts in Variant Configuration

Methods of Selecting BOM Variant Parts in Variant Configuration Methods of Selecting BOM Variant Parts in Variant Configuration Applies to: SAP R/3 and ECC 6.0 For more information, visit the Product Lifecycle Management homepage. Summary This document explains in

More information

Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP

Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP Applies to: Adobe Live Cycle Designer 8.0- Web Dynpro ABAP Summary This article would help ABAP developers, who are faced with

More information

How to Create and Schedule Publications from Crystal Reports

How to Create and Schedule Publications from Crystal Reports How to Create and Schedule Publications from Crystal Reports Applies to: SAP BusinessObjects Enterprise. For more information, visit the Business Objects homepage. Summary This white paper describes how

More information

To Check the Files/Reports in Application Server and Trigger Mail Alerts

To Check the Files/Reports in Application Server and Trigger Mail Alerts To Check the Files/Reports in Application Server and Trigger Mail Alerts Applies to: SAP BW 3.0b, SAP BW 3.5, Will also work on SAP BI 7 For more information, visit the Business Intelligence homepage Summary

More information

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN Maintaining Roles and Authorizations in BI7.0 - RSECADMIN Applies to: SAP Business Intelligence 7.0. For more information, visit the Business Intelligence homepage. Summary This paper will take you through

More information

How to Configure User Status in mysap SRM

How to Configure User Status in mysap SRM How to Configure User Status in mysap SRM Applies to: mysap SRM 5.5 For more information, visit the Supplier Relationship Management homepage. Summary There had been quite a few instances in SRM Forum

More information

Database Statistics During ODS Activation

Database Statistics During ODS Activation Database Statistics During ODS Activation Applies to: SAP BW (3.5) / SAP BI (7.0). For more information, visit the EDW homepage Summary ODS Activation step periodically recalculates the statistics. This

More information

Common Queries/Errors while working with Adobe Print PDF Forms

Common Queries/Errors while working with Adobe Print PDF Forms Common Queries/Errors while working with Adobe Print PDF Forms Applies to: SAP Adobe Forms (Print-based forms) Summary This document lists common queries and errors while working on Adobe Print Forms.

More information

Validity Table in SAP BW/BI

Validity Table in SAP BW/BI Applies to: Applicable for SAP BI 3.x and above Summary To maintain the cubes non cumulative Key figures. Author: Om Ambulker Company: Cognizant, Pune Created on: 15 July 2011 Author Bio Om Ambulker is

More information

Add /Remove Links on ESS Home Page in Business Package 1.5

Add /Remove Links on ESS Home Page in Business Package 1.5 Add /Remove Links on ESS Home Page in Business Package 1.5 Applies to: SAP ECC EHP5. For more information, visit the Enterprise Resource Planning homepage. Summary Customizing links on ESS Overview page

More information

Freely Programmed Help- Web Dynpro

Freely Programmed Help- Web Dynpro Freely Programmed Help- Web Dynpro Applies to: SAP ABAP Workbench that supports Web dynpro development. For more information, visit the Web Dynpro ABAP homepage. Summary In addition to the Dictionary Search

More information

How to Create Business Graphics in Web Dynpro for ABAP

How to Create Business Graphics in Web Dynpro for ABAP Applies To: SAP Netweaver 2004s Internet Graphics Server 7.0 Summary The purpose of this document is to show you how to create business graphics in and to supply code samples to realize this. By: Velu

More information

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose Applies to: SAP Customer Relationship Management (SAP CRM) Release 7.0 SP 01, November 2008. SAP NetWeaver 7.0 including

More information

SAP BW - PSA/Change Log Deletion Governance

SAP BW - PSA/Change Log Deletion Governance SAP BW - PSA/Change Log Deletion Governance Applies to: SAP Net Weaver 2004s BI 7.0 Ehp1 SP 05. For more information, visit EDW homepage Summary This article suggests importance of PSA/Change log deletion

More information

Using Drop Down By Index in Table UI Element in WebDynpro ABAP

Using Drop Down By Index in Table UI Element in WebDynpro ABAP Using Drop Down By Index in Table UI Element in WebDynpro ABAP Applies to: Enterprise portal, ECC 6.0, Web Dynpro ABAP. For more information, visit the Web Dynpro ABAP homepage. Summary This article would

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

Program to Find Where used List of a Query for Web Template (3.5), Work Books and RRI

Program to Find Where used List of a Query for Web Template (3.5), Work Books and RRI Program to Find Where used List of a Query for Web Template (3.5), Work Books and RRI Applies to: SAP BW (3.5) / SAP BI(7.0) For more information, visit Business Intelligence Homepage. Summary This article

More information

ABAP Code - Read SAP BW Infoprovider (Infocube, DSO, Multiprovider) Data using ABAP Code

ABAP Code - Read SAP BW Infoprovider (Infocube, DSO, Multiprovider) Data using ABAP Code ABAP Code - Read SAP BW Infoprovider (Infocube, DSO, Multiprovider) Data using ABAP Code Applies to: This article is applicable to all the SAP BI 7.0 consultants who are accustomed with SAP ABAP skills.

More information

Purpose of Goods Receipt Message indicator in Purchase Orders

Purpose of Goods Receipt Message indicator in Purchase Orders Purpose of Goods Receipt Message indicator in Purchase Orders Applies to: This article is applicable for SAP MM Module of SAP for version SAP 4.7 till SAP ECC 6.O. For more information, visit the Supply

More information

Material Master Extension for New Plant

Material Master Extension for New Plant Material Master Extension for New Plant Applies to: SAP ECC 6.0. For more information, visit the ABAP homepage. Summary There is a need of extending the material of an existing plant in a company code

More information

How to Broadcast BEx Workbooks using BW Pre-calculation Server and through Process Chains

How to Broadcast BEx Workbooks using BW Pre-calculation Server and through Process Chains How to Broadcast BEx Workbooks using BW Pre-calculation Server and through Process Chains Applies to: SAP BI/BW 3.5 and above. For more information, visit the EDW homepage Summary The document will demonstrate

More information