Creating External RFC Components in C++ (RFC API) and the SAP R/3 Integration

Size: px
Start display at page:

Download "Creating External RFC Components in C++ (RFC API) and the SAP R/3 Integration"

Transcription

1 Creating External RFC Components in C++ (RFC API) and the SAP R/3 Integration Applies to: Any integration with external applications that can use the RFC API component structures such as C++ programs or another platform, working as a data server to SAP R/3 developments. For more information, visit the ABAP homepage. Summary This article motivates you to understand how simple is connecting external applications such as libraries or executables to serve SAP R/3 applications where the SAP can t do their job without a help. This article will guide you as an educational way to tell about all mainly steps required to creating interesting integrations using C++ applications or another platform as you well wish. Here you can find out how you can generate simple codes in C++ to compile and build external RFC Server applications that will be reused by SAP R/3 internal developments module functions as example. Author: Marcos Werneck Diniz Company: IBM do Brasil Created on: 08 December 2008 Author Bio Marcos Werneck Diniz is a SAP R/3 consultant since 2002, working as a Material Management and Warehouse Management consultant in a large number of projects in many different sectors (industry (pharma), retail, aerospace, etc.) Currently he is a consultant of IBM do Brasil, advising the Material Management and Warehouse Management projects SAP AG 1

2 Table of Contents Introduction...3 An example to guide you...3 Creating the Sample Solution...4 Main Program (ABAP)...4 Creating the Internal Function ZFUNCTION_RFC...6 Creating a C++ RFC Server Application...6 SM59 Adjusting Settings to SAP R/3 Recognize the C++ Application...10 Testing the whole solution...12 Disclaimer and Liability Notice SAP AG 2

3 Introduction I ll assume that you have some expertise about SAP R/3 programming concepts, for instance: module functions, internal and external RFCs, function parameters and etc. This introduction will show the way of external RFC Server Applications can be used to help you at some moments where SAP R/3 conventional development can really do the work as you want. For examples, external integrations with data collectors, external equipments and some other situations which remain a comprehensive technical hard work. In these situations, maybe the best way to give a simple and good solution is using external components created by another language (C++, Visual Basic, etc.). An example to guide you In this article I ll assume you are in touch of a few technical terms used in this document BAPI, module functions, z programs, BADI, tables, external and internal RFCs, etc. Imagine you are already working with these technologies and you are going to make a next step in direction of this new integration C++ applications serving ABAP programs. If you are familiar with these terms, please go ahead if not, let me point to some related documentation that you can easy understand this concept: Classical SAP Technologies (ABAP) help.sap.com Introduction to RFC Server Programs help.sap.com Introduction of the RFC API help.sap.com An extra documentation or articles can be found using simple search keywords at Come back to our article, I ll exemplify a simple scenario as you can see at the picture below: Note: This integration will manage the following steps: #1 a SAP R/3 application calling a module function; #2 a module function handling an external RFC call; #3 SM59 appropriately settings to connect the C++ application (local machine) and #4 the C++ application in details. After this little introduction, I ll let you understand a simple example of each part of the solution SAP AG 3

4 Here you can find a preview of all codes and settings that will be maintained after this article: Creating the Sample Solution In order to keep your focus in whole solution I decided to compose the sample solution step-by-step starting by the ABAP program that will control the RFC Server application and its return. Main Program (ABAP) The program show here is extremely simple. It ll send a parameter and receive another one in this case de C++ application will receive this information and send back to the ABAP program. Please, make sure that you understand this simple solution, in order to create special processes into C++ application such as: database requests, legacy integrations, equipment integrations, etc. Let s understand the basic of this program: *& * *& Report ZMAIN_ABAP * *& * *& * *& Simple program to call RFC external functions * *& * *& * REPORT zmain_abap.. DATA: myresult TYPE STRING. DATA: msg_text1(80) TYPE c, "Message text msg_text2(80) TYPE c. "Message text DATA: field1 TYPE STRING. PARAMETERS: p_field1(10) type c. field1 = p_field1. CALL FUNCTION 'ZFUNCTION_RFC' DESTINATION 'MYSERVER' EXPORTING question = p_field SAP AG 4

5 IMPORTING myanswer = myresult EXCEPTIONS communication_failure = 1 MESSAGE msg_text1 system_failure = 2 MESSAGE msg_text2. IF sy-subrc NE 0. WRITE 'An internal error ocurred in RFC call...'. ELSE. WRITE 'The result of C++ application is... '. WRITE myresult. ENDIF. The main structure of this program is called through the command CALL FUNCTION. In this example, ZFUNCTION_RFC is a reference function which will process the IMPORTING and EXPORTING parameters. Note that this function must receive the same nomenclature of internal C++ function but I ll explain it better ahead. DESTINANTION MYSERVER is used to link the external executable with SAP R/3 through SM59 settings it s required to ABAP code understand where is the local C++ application. If you take a look in this program you ll see a simple structure when a parameter p_field1 is sent do RFC call through question attribute and the function returned a value in myanswer parameter (IMPORTING). Here you can check the screen interface of this simple function Note: This interface is simple, just to illustrate this example! And I m not an ABAP programmer If we try to execute this function right now without any other implementation our result will be something like this: Note: A message error handled by the ABAP program. Now let s forward to the next step the internal ABAP function SAP AG 5

6 Creating the Internal Function ZFUNCTION_RFC As I told you, this function will be used to take care of the internal parameters processed by the main ABAP program show in our last step. Basically we will create an empty function as this example below: FUNCTION ZFUNCTION_RFC. *" *"*"Interface local: *" IMPORTING *" VALUE(I_VALUE1) TYPE STRING *" EXPORTING *" VALUE(E_RESULT) TYPE STRING *" ENDFUNCTION. As you could see, this function processes only the parameters of the C++ application (internal functions) working as local interface between our ABAP program and the external C++ function. Here is extremely important be aware of the nomenclature of these programs and functions (C++) they must have the same name! Creating a C++ RFC Server Application Now our simple solution is almost finishing since we have to create a simple (?!) C++ application which will support the RFC Server function every time the ABAP program call them. At this moment you must consider the utilization of the RFC SDK from SAP R/3. This package will give you as well other examples, the correct includes, libraries and the file librfc32.dll required to connect this application to SAP R/3. Here you can get the sample C++ application: // RFCSERVER.CPP : Sample RFC Server C++ application // Author: Marcos Werneck, contato@marcoswerneck.com // // // required includes - please check the RFC SDK in order to use the correct files // #include "stdafx.h" #include "stdio.h" #include "string.h" #include "time.h" #include "c:\rfcsdk\include\srfcserv.h" #include "c:\rfcsdk\include\saprfc.h" #include "c:\rfcsdk\include\sapitab.h" int mainu (int argc, rfc_char_t **argv) { RFC_RC remote_teste (RFC_HANDLE handle); /* RFC handle for internal function */ char * remote_teste_docu (void); /* n/a */ RFC_RC install ( RFC_HANDLE handle ); /* RFC installation handle */ RFC_HANDLE handle; /* RFC general handle */ 2008 SAP AG 6

7 RFC_RC rc; /* SET rc = RFC_RC */ handle = RfcAccept(argv); /* Parameters processing handle */ rc = install(handle); functions */ /* Call to install internal if (rc!= RFC_OK) /* Install processing routine */ { RfcAbort(handle,"Initialization error"); return(1); } do { rc = RfcDispatch(handle); */ } while (rc == RFC_OK); /* Wait RFC calls from ABAP program } RfcClose(handle); return(0); /* Close RFC handle - end of the application */ /***************************************** * remote_teste() * internal function used by C++ application *******************************************/ RFC_RC remote_teste (RFC_HANDLE handle) { RFC_RC rc; /* SET rc = RFC_RC */ RFC_PARAMETER parameters[4]; /* Parameters of RFC FUNCTION */ RFC_TABLE tables[2]; /* Table structure of RFC FUNCTION - not used by this example */ memset(&parameters[0], 0, sizeofr(parameters)); // EXPORTING PARAMETER parameters[0].name = cu("question"); parameters[0].nlen = strlenu ((rfc_char_t*) parameters[0].name); parameters[0].addr = &questions; parameters[0].leng = 0; parameters[0].type = RFCTYPE_STRING; parameters[1].name = NULL; tables[0].name = NULL; rc = RfcGetData( handle, parameters, tables); /* Receive data from ABAP RFC CALL... */ if (rc!= RFC_OK) return (rc); answer = RfcAllocString (12); strcpy ((char*) answer, (char*) questions); 2008 SAP AG 7

8 // IMPORTING PARAMETER parameters[0].name = cu("myanswer"); parameters[0].nlen = strlenu ((rfc_char_t *)parameters[0].name); parameters[0].addr = &answer; parameters[0].leng = strlen ((char*) answer); parameters[0].type = RFCTYPE_STRING; parameters[1].name = NULL; tables[0].name = NULL; rc = RfcSendData(handle, parameters, tables); /* Send data to ABAP RFC CALL */ return(rc); } /* end of remote_teste() */ /**************************************** * remote_uname_docu() * * this function supplies a documentation <-- NOT USED BY THIS SAMPLE... ********************************************/ char * remote_teste_docu(void) { static char docu[] = "RFC_TESTE is a test program that executes a uname command \n" " on the called Unix system.\n" " \n" " A 250 Character buffer is passed to this function (and ignored) \n" " a 250 character buffer is returned from this function \n" " the returned data is a text string \n" " \n Garth Kennedy 1 Dec 1994 \n" ; return (docu); } /* end of remote_uname_docu() */ /**************************************** * install() * Install functions -> SAP R/3 ****************************************/ RFC_RC install(rfc_handle handle) { RFC_RC rc; rc = RfcInstallFunctionExt(handle, "ZFUNCTION_RFC", external (ABAP) function */ (RFC_ONCALL)remote_teste, function */ remote_teste_docu() ); DOCUMENTATION **NOT USED** */ if (rc!= RFC_OK) return rc; /* internal and /* internal C++ /* MS-DOS 2008 SAP AG 8

9 return RFC_OK; } /* end of install() */ As you can see, we have a lot of internal function that enables the RFC CALL processing with external programs in this case, a C++ application. Most of the C++ programmers can easily understand this code and modify it to use again in another solutions. Here the main point is show how you can use the common functions and procedures. Here you can find a simple context of this solution: Note: This picture can be found at The main functions that you will always use are: RFCACCEPT RFCINSTALLFUNCTION RFCDISPATCH RFCCLOSE RFCGETDATA RFCSENDDATA There is a lot of information available at and Some other specialized ABAP portals have useful information as well. But sometime the research is very hard to discover samples. Some of C++ samples are very complex and some times very hard to understand the whole function. I hope you use this small sample to understand the basic functions SAP AG 9

10 SM59 Adjusting Settings to SAP R/3 Recognize the C++ Application Our last step for this solution, is create a entry in SM59 just to link a internal identification to this C++ program. Here is the main screen of SM59 Display and maintain RFC destinations Note: There are some specific settings that you can manage at this transaction, but for our sample, we ll use the TCP/IP connections. When you create a new entry for TCP/IP connections the following screen must be filled: After, the second stage is defining the activation type in this sample the C++ application will be executed from a local directory SAP AG 10

11 Note: After these settings, you can save the information and be able to test connection in the same transaction. It s not required create the program entry with extensions such as.dll or.exe If have done all settings correctly, the test connection must appear as below: Now you can test your RFC Server through SAP program 2008 SAP AG 11

12 Testing the whole solution Now choose your ABAP program in our sample ZMAIN_ABAP and execute it as required in our specification pass one parameter and receive the same value as an IMPORTING parameter. After the program execution we have The code in C++ application that makes this result for us is listed below (highlighted): // EXPORTING PARAMETER parameters[0].name = cu("question"); parameters[0].nlen = strlenu ((rfc_char_t*) parameters[0].name); parameters[0].addr = &questions; parameters[0].leng = 0; parameters[0].type = RFCTYPE_STRING; parameters[1].name = NULL; tables[0].name = NULL; rc = RfcGetData( handle, parameters, tables); /* Receive data from ABAP RFC CALL... */ if (rc!= RFC_OK) return (rc); answer = RfcAllocString (12); strcpy ((char*) answer, (char*) questions); // IMPORTING PARAMETER parameters[0].name = cu("myanswer"); parameters[0].nlen = strlenu ((rfc_char_t *)parameters[0].name); parameters[0].addr = &answer; parameters[0].leng = strlen ((char*) answer); parameters[0].type = RFCTYPE_STRING; parameters[1].name = NULL; tables[0].name = NULL; rc = RfcSendData(handle, parameters, tables); /* Send data to ABAP RFC CALL */ I hope with this simple example, you can be able to research more options and improvements to implement solid solutions SAP AG 12

13 Related Content RFC Series Part 1: Mining R/3 with the RFCSDK - What is RFC? Consuming RFC Function Module Using Guided Procedures The RFC API For more information, visit the ABAP homepage SAP AG 13

14 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 14

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

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

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

Setting up Connection between BW and R/3 for Data Load

Setting up Connection between BW and R/3 for Data Load Setting up Connection between BW and R/3 for Data Load Applies to: SAP BI 7.0. For more information, visit the Business Intelligence homepage. Summary This document guides to establish connection between

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

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

Procedure to Trigger Events in Remote System Using an ABAP Program

Procedure to Trigger Events in Remote System Using an ABAP Program Procedure to Trigger Events in Remote System Using an ABAP Program Applies to: SAP BW 3.x, SAP BI 7.x, SAP ECC, APO Systems. Summary This document gives the procedure to trigger events in a Remote System

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

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

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

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

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

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

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

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

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

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

Linking Documents with Web Templates

Linking Documents with Web Templates Linking Documents with Web Templates Summary This article explains certain ways to link documents with our Web-Templates which is a useful way of attaching information with a query. When the enduser runs

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

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

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

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

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

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

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

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

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3 How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3 Applies to: SAP NetWeaver Portal 7.3, NWDS 7.3. For more information, visit the Portal and Collaboration homepage. Summary This

More information

Recreating BIA Indexes to Address the Growth of Fact Index Table

Recreating BIA Indexes to Address the Growth of Fact Index Table Recreating BIA Indexes to Address the Growth of Fact Index Table Applies to: Software Component: SAP_BW.Release: 700 BIA version: 53 Summary In this article we would learn the application of recreating

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

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

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

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

Generate Export Data Source

Generate Export Data Source Applies to: SAP BI 7.0 developers and support Users. For more information, visit the EDW homepage Summary This paper describes the data mart interface which makes it possible to update data from one data

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

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

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

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

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

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

Step by Step Guide on How to Use Cell Definition in BEx Query

Step by Step Guide on How to Use Cell Definition in BEx Query Step by Step Guide on How to Use Cell Definition in BEx Query Applies to: SAP BI 7.0. For more information, visit the EDW homepage. Summary This article explains the functionalities of Cell Definition

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

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

Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java

Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java Applies to: SAP Enterprise Portal, Web Dynpro for Java. For more information, visit the Portal and Collaboration homepage.

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

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

Limitation in BAPI Scheduling Agreement (SA) Create or Change

Limitation in BAPI Scheduling Agreement (SA) Create or Change Limitation in BAPI Scheduling Agreement (SA) Create or Change Applies to: SAP ECC 6.0.For more information, visit the ABAP homepage. Summary The article describes the limitations in standard SAP BAPIs

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

Step-By-Step guide to Virtual InfoCube Implementation

Step-By-Step guide to Virtual InfoCube Implementation Step-By-Step guide to Virtual InfoCube Implementation Applies to: SAP NetWeaver BW. For more information, visit the EDW homepage Summary This article provides a detailed insight into Virtual Infocube data

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

Data Mining: Scoring (Linear Regression)

Data Mining: Scoring (Linear Regression) Data Mining: Scoring (Linear Regression) Applies to: SAP BI 7.0. For more information, visit the EDW Homepage Summary This article deals with Data Mining and it explains the classification method Scoring

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

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 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

How to Create and Execute Dynamic Operating System Scripts With XI

How to Create and Execute Dynamic Operating System Scripts With XI Applies To: SAP Exchange Infrastructure 3.0, SP 15, Integration Repository and Directory Summary This document describes how to create, store and execute a non static operating command script. In this

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

HOWTO: SCRIPTING LANGUAGE SUPPORT FOR SAP SERVICES - RUBY

HOWTO: SCRIPTING LANGUAGE SUPPORT FOR SAP SERVICES - RUBY SDN Contribution HOWTO: SCRIPTING LANGUAGE SUPPORT FOR SAP SERVICES - RUBY Applies To SAP NetWeaver; Ruby 1.8.2; SAP::Rfc 0.19 Ruby Extension. Summary This article gives an introduction to usage of SAP

More information

Step by Step Guide How to Use BI Queries in Visual Composer

Step by Step Guide How to Use BI Queries in Visual Composer Step by Step Guide How to Use BI Queries in Visual Composer Applies to: SAP BW 7.x. For more information, visit the EBW homepage. Summary The objective of this Article is to explain step by step guide

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

SUP: Personalization Keys and Synchronize Parameter

SUP: Personalization Keys and Synchronize Parameter SUP: Personalization Keys and Synchronize Parameter Applies to: Blackberry Mobile. For more information, visit the Mobile homepage. Summary This article gives a brief idea about Personalization Keys and

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

SAP BI BO Unit/Currency Logic for Unknown Units Case Study

SAP BI BO Unit/Currency Logic for Unknown Units Case Study SAP BI BO Unit/Currency Logic for Unknown Units Case Study Applies to: This solution is implemented for a combination of SAP BO XI 3.1 SP2 FP 2.1 and SAP NW BI 7.0 EHP1 SP6 For more information, visit

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

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

Performance Tuning in SAP BI 7.0

Performance Tuning in SAP BI 7.0 Applies to: SAP Net Weaver BW. For more information, visit the EDW homepage. Summary Detailed description of performance tuning at the back end level and front end level with example Author: Adlin Sundararaj

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

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

Errors while Sending Packages from OLTP to BI (One of Error at the Time of Data Loads through Process Chains)

Errors while Sending Packages from OLTP to BI (One of Error at the Time of Data Loads through Process Chains) Errors while Sending Packages from OLTP to BI (One of Error at the Time of Data Loads through Process Chains) Applies to: SAP NetWeaver Business Warehouse (Formerly BI), Will also work on SAP BI 3.5. For

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

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

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

ios Ad Hoc Provisioning Quick Guide

ios Ad Hoc Provisioning Quick Guide ios Ad Hoc Provisioning Quick Guide Applies to: Applications developed for all kinds of ios devices (iphone, ipad, ipod). For more information, visit the Mobile homepage. Summary This article is a quick

More information

How to Display Result Row in One Line While Reporting On Multiproviderer

How to Display Result Row in One Line While Reporting On Multiproviderer How to Display Result Row in One Line While Reporting On Multiproviderer Applies to: SAP BW 3.x, BI 7.0 developers and Reporting Users. For more information, visit the Business Intelligence home page Summary

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

How to Extend an Outbound IDoc

How to Extend an Outbound IDoc Applies to: Developing and configuring SAP Intermediate Documents (IDocs) for data transfer. Related till version ECC 6.0. For more information, visit the Idoc homepage and the ABAP homepage. Summary This

More information

Universal Worklist - Delta Pull Configuration

Universal Worklist - Delta Pull Configuration Universal Worklist - Delta Pull Configuration Applies to: This article applied to SAP Netweaver 7.01 SP06 Portal, SAP ECC 6.0 EHP4. For more information, visit the Portal and Collaboration homepage Summary

More information

Open Hub Destination - Make use of Navigational Attributes

Open Hub Destination - Make use of Navigational Attributes Open Hub Destination - Make use of Navigational Attributes Applies to: SAP BI 7.0. For more information visit the Enterprise Data Warehousing Summary This paper tells about usage of Open Hub Destination

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

Extraction of Hierarchy into Flat File from R/3 and Loading in BW System

Extraction of Hierarchy into Flat File from R/3 and Loading in BW System Extraction of Hierarchy into Flat File from R/3 and Loading in BW System Applies to: This article applies to SAP R/3 (any version) and SAP B/W (any version).for more information, visit the Business Intelligence

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

Comparison Terms and SPL Check Logic

Comparison Terms and SPL Check Logic Comparison Terms and SPL Check Logic Applies to: SAP Business Objects Global Trade Services 7.2 and above. For more information, visit the Governance, Risk, and Compliance homepage. Summary This document

More information

Creation of Key Figures with Higher Decimal Place Precision

Creation of Key Figures with Higher Decimal Place Precision Creation of Key Figures with Higher Decimal Place Precision Applies to: SAP Business Intelligence 7.0. Summary The objective of this Document is to explain how to Create Key figures with higher number

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

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

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

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

BW Reconciliation. Applies to: Summary. Author Bio

BW Reconciliation. Applies to: Summary. Author Bio Applies to: SAP Net Weaver Business Warehouse (Formerly BI) Business Intelligence homepage. For more information, visit the Business Intelligence homepage. For more information, visit the EDW homepage.

More information

Implying Security on Business Object XI 3.1 Universe having SAP BW as Source

Implying Security on Business Object XI 3.1 Universe having SAP BW as Source Implying Security on Business Object XI 3.1 Universe having SAP BW as Source Applies to: SAP Business Object XI 3.1. For more information, visit the Business Objects homepage. Summary This article describes

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

Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling

Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling Applies to: SAP ECC 6.00 and SAP BW 7.0 releases. For more information, visit the Business Intelligence homepage.

More information

Step by Step Guide for SCM Server Start and Stop Procedure with LiveCache and Optimizer.

Step by Step Guide for SCM Server Start and Stop Procedure with LiveCache and Optimizer. Step by Step Guide for SCM Server Start and Stop Procedure with LiveCache and Optimizer. Applies to: This document applies to SCM 5.0 (NW 7) and above with LiveCache 7.6 (LCAPPS 2005_700, LiveCache Applications

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

Creating, Configuring and Testing a Web Service Based on a Function Module

Creating, Configuring and Testing a Web Service Based on a Function Module Creating, Configuring and Testing a Web Service Based on a Function Module Applies to: SAP EC6 6.0/7.0. For more information, visit the Web Services homepage. Summary The article describes how to create

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

Server Connectivity and Data Load from Non SAP System to BW

Server Connectivity and Data Load from Non SAP System to BW Server Connectivity and Data Load from Non SAP System to BW Applies to: SAP NetWeaver 2004 and SAP NetWeaver 2004s. BW 3.5 & BI 7.0 For more information, visit the Business Intelligence homepage. Summary

More information

SAP Biller Direct Step by Step Configuration Guide

SAP Biller Direct Step by Step Configuration Guide SAP Biller Direct Step by Step Configuration Guide Applies to: NW2004s, For more information, visit the Application Management homepage. Summary This is a step by step configuration guide for SAP Biller

More information

Printer Landscape Made Easy!!

Printer Landscape Made Easy!! Applies to SAP NetWeaver 2004s / SAP_BASIS 7.00. For more information, visit the Landscape Design and Architecture homepage. Summary This article deals with the step by step procedure to be carried out

More information

Step By Step Procedure to Implement Soap to JDBC Scenario

Step By Step Procedure to Implement Soap to JDBC Scenario Step By Step Procedure to Implement Soap to JDBC Scenario Applies to This scenario is implemented in PI 7.0 server, service pack: 14. For more information, visit the SOA Management homepage. Summary This

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

Internationalization in WebDynpro ABAP Applications

Internationalization in WebDynpro ABAP Applications Internationalization in WebDynpro ABAP Applications Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary The article describes the concept and procedure of developing

More information

Data Flow During Different Update Mode in LO Cockpit

Data Flow During Different Update Mode in LO Cockpit Data Flow During Different Update Mode in LO Cockpit Applies to: SAP BW 3.x & SAP BI NetWeaver 2004s. For more information, visit the Business Intelligence homepage. Summary The objective of this Article

More information