You are on page 1of 8

Query Extracts using

RSCRM_BAPI: Generation,
Monitoring, Performance and
Restrictions

Applies to:
SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the Business Intelligence homepage..

Summary
This document will give the reader detailed information with regards to generation of query extracts using
RSCRM_BAPI. This will also help the reader understand how to monitor the extract generation along with
some tips of performance of extract generation.
Author:

Mayuri Sinha

Company: Infosys Technologies Limited


Created on: 23 August 2010

Author Bio
Mayuri Sinha is working with Infosys Technologies Limited.

SAP COMMUNITY NETWORK


2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com


1

Query Extracts using RSCRM_BAPI: Generation, Monitoring, Performance and Restrictions

Table of Contents
Step by Step approach of Query Extract Generation:..................................................................................... 3
Step 1:....................................................................................................................................................... 3
Step 2:....................................................................................................................................................... 3
Step 3:....................................................................................................................................................... 4
Step 4:....................................................................................................................................................... 4
Step 5:....................................................................................................................................................... 5
Step 6:....................................................................................................................................................... 5
Monitoring Query Extract Generation:............................................................................................................ 5
Option 1: ................................................................................................................................................... 5
Option 2: ................................................................................................................................................... 6
Option 3: ................................................................................................................................................... 6
Performance Tips and Restrictions for using RSCRM_BAPI: ......................................................................... 6
Related Content ............................................................................................................................................ 7
Disclaimer and Liability Notice ....................................................................................................................... 8

SAP COMMUNITY NETWORK


2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com


2

Query Extracts using RSCRM_BAPI: Generation, Monitoring, Performance and Restrictions

Step by Step approach of Query Extract Generation:


Step 1:
Open T-code RSCRM_BAPI and find the query of which you want to create the extract.

Step 2:
Before we start creating the extract click on the icon Execute Query. This will give you the output what you
will get when the extract will be generated.
While executing you will get output screen like below. Same can also be achieved by using the menu bar
Query--> Query Result.

SAP COMMUNITY NETWORK


2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com


3

Query Extracts using RSCRM_BAPI: Generation, Monitoring, Performance and Restrictions

Step 3:
Now click on the icon Extract , you will get the below screen for defining the extract properties.

Step 4:
In the above screen , we need to enter following details
A) Technical Name of Extract: We can enter any technical name of our choice.
B) We need to define the type of extract based on our requirement. By default Table Type is selected but if
we need the extract outout in CSV file ,we will have to select File (CSV).
If we select the File (CSV) , as soon as we select this extract type , File Parameters section becomes
editable. Please note that earlier this section was non editable.
Here we need to enter below three fields.
1: Name of the Extract Output file in File Name
2: Path where this output needs to be generated in Path Name.
3: Specify the File separator.

SAP COMMUNITY NETWORK


2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com


4

Query Extracts using RSCRM_BAPI: Generation, Monitoring, Performance and Restrictions

Step 5:
In the start condition enter the required start condition when this Query extract is suppose to get generated.
Depending on your requirement you can define the required start condition from the below screen.

Step 6:
Once the start condition is defined you will see the tick mark against Start Condition--> Selection Options.
This means all work is done now and Query extract can be generated. Click on the Generate Extract (F8).

Monitoring Query Extract Generation:


There are three ways using which Query Extract Generation can be monitored.
Option 1:
Click on the Batch Monitor from the below screen of Query Definition.

SAP COMMUNITY NETWORK


2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com


5

Query Extracts using RSCRM_BAPI: Generation, Monitoring, Performance and Restrictions

Option 2:
Using T-Code RSCRMMON and then take the required filter to monitor your extract generation.

Option 3:
Using Function Module : RSCRMBW_MON_STATUS_DISPLAY and then take the required filter to monitor
your extract generation.

Performance Tips and Restrictions for using RSCRM_BAPI:


Lots of good performance Tips and Restrictions are mentioned in the OSS notes 605213 and 605208.

SAP COMMUNITY NETWORK


2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com


6

Query Extracts using RSCRM_BAPI: Generation, Monitoring, Performance and Restrictions

Related Content
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=605213
https://websmp130.sapag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000605208&nlang=E
www.help.sap.com
For more information, visit the EDW homepage.

SAP COMMUNITY NETWORK


2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com


7

Query Extracts using RSCRM_BAPI: Generation, Monitoring, Performance and Restrictions

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 do cument,
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 conte nt of this
document.

SAP COMMUNITY NETWORK


2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com


8

You might also like