Anda di halaman 1dari 3

Useful ABAP Programs & Function Modules

in SAP BI
Link to this Page Link Tiny Link Wiki Markup Close Move Page – ‘Use

Set Page Location Move OK Cancel Click to select the Search

Recently View ed There w ere no re Know n Location The specified pag Brow se Error reading the

You could try relo HTTP Status You must make a Failed to retrieve There w ere no pa Show ing <b>{0}<

Move failed. Ther You cannot move Useful ABAP Pro ABAP in BW BI

Business Intellige You cannot move Page Ordering Back Reorder Move

Unknow n user or Page Restrictions Editing restricted Cancel Close Save

36285

 Page restrictions apply


 Added by Guest, last edited by Arun Varadarajan on Mar 17, 2009  (view change)

view

Listed below are some of the frequently used ABAP Programs in SAP BI (NW 2004).

Program name  
Delete fact table rows where all Key Figure
RSCDS_NULLELIM
values are zero. See Note 619826.
RSDG_CUBE_ACTIVATE Activation of InfoCubes
RSDG_CUBE_COPY Make InfoCube Copies
RSDG_CUBE_DELETE Delete InfoCubes
Activation of all ODS Objects with Navigation
RSDG_DODS_REPAIR
Attributes
RSDG_ODSO_ACTIVATE Activation of all ODS Objects
RSDG_IOBJ_ACTIVATE Activation of all InfoObjects
RSDG_IOBJ_DELETE Deletion of InfoObjects
RSDG_IOBJ_REORG Repair InfoObjects
RSDG_IOBJ_REORG_TEXTS Reorganization of Texts for InfoObjects
RSDG_MPRO_ACTIVATE Activating Multiproviders
RSDG_MPRO_COPY Make Multiprovider Copies
RSDG_MPRO_DELETE Deleting Multiproviders
RS_COMSTRU_ACTIVATE_ALL Activate all inactive Communication Structures
RS_TRANSTRU_ACTIVATE_ALL Activate Transfer Structure
RSAU_UPDR_REACTIVATE_ALL Activate Update Rules
RRHI_HIERARCHY_ACTIVATE Activate Hierarchies
SAP_AGGREGATES_ACTIVATE_FILL Activating and Filling the Aggregates of an
InfoCube
SAP_AGGREGATES_DEACTIVATE Deactivating the Aggregates of an InfoCube
Activating Personalization in Bex(Inactive are
RS_PERS_ACTIVATE
highlighted)
RSSM_SET_REPAIR_FULL_FLAG Convert Full Requests to Repair Full Requests
Print a List of Cubes in The System and Their
SAP_INFOCUBE_DESIGNS
Layouts
SAP_ANALYZE_ALL_INFOCUBES Create DB Statstics for all InfoCubes
Create Missing E-Fact Tables for InfoCubes and
SAP_CREATE_E_FACTTABLES
Aggregates
Locate/Remove Unused or Empty partitions of F-
SAP_DROP_EMPTY_FPARTITIONS
Fact Table
SAP_DROP_TMPTABLES Remove Temperory Database Objects
SAP_RSADMIN_MAINTAIN Add, change, delete RSADMIN table entries
A fast way to put some "sample" records in a
InfoCube. No need to use Flatfiles,
CUBE_SAMPLE_CREATE
just enter the value in a ALV-Grid or let fill the
Cube with random value.
Convert BasisCube to Transactional Cube and the
SAP_CONVERT_NORMAL_TRANS
opposite way around.

Listed below are some of the frequently used Function Modules within BW.

Function Module Description (Function Group RRMX)


Delete BW Workbooks permanently from Roles
RRMX_WORKBOOK_DELETE
& Favourites
RRMX_WORKBOOK_LIST_GET Get list of all Workbooks
RRMX_WORKBOOK_QUERIES_GET Get list of queries in a workbook
RRMX_QUERY_WHERE_USED_GET Lists where a query has been used 
RRMX_JUMP_TARGET_GET Get list of all Jump Targets
RRMX_JUMP_TARGET_DELETE Delete Jump Targets
Function Module Description
MONI_TIME_CONVERT Used for Time Conversions.
CONVERT_TO_LOCAL_CURRENCY Convert Foreign Currency to Local Currecny.
CONVERT_TO_FOREIGN_CURRENCY Convert Local Currency to Foreign Currency.
TERM_TRANSLATE_TO_UPPER_CASE Used to convert all texts to UPPERCASE
Used to convert any unit to another unit. (Ref.
UNIT_CONVERSION_SIMPLE
table : T006)
TZ_GLOBAL_TO_LOCAL Used to convert timestamp to local time
Convert 0CALMONTH or 0CALDAY to
FISCPER_FROM_CALMONTH_CALC
Financial Year or Period
RSAX_BIW_GET_DATA_SIMPLE Generic Extraction via Function Module
RSAU_READ_MASTER_DATA Used in Data Transformations to read master
data InfoObjects
RSDRI_INFOPROV_READ
Used to read Infocube or ODS data through
RSDRI_INFOPROV_READ_DEMO 
RFC
RSDRI_INFOPROV_READ_RFC
DATE_COMPUTE_DAY  Returns a number what day of the week the date
DATE_TO_DAY falls on.
DATE_GET_WEEK Will return a week that the day is in.
RP_CALC_DATE_IN_INTERVAL Add/Subtract Years/Months/Days from a Date.
RP_LAST_DAY_OF_THE_MONTHS 
Determine Last Day of the Month.
SLS_MISC_GET_LAST_DAY_OF_MONTH
Used for Date Converstions. We can use in Info
RSARCH_DATE_CONVERT
Package routines.
RSPC_PROCESS_FINISH    To trigger an event in process chain
 DATE_CONVERT_TO_FACTORYDATE Returns factory calendar date for a date
Conversion Exit for Domain GBDAT:
 CONVERSION_EXIT_PDATE_OUTPUT
YYYYMMDD  -> DD/MM/YYYY
 CONVERSION_EXIT_ALPHA_INPUT Conversion exit ALPHA, external->internal
CONVERSION_EXIT_ALPHA_OUTPUT Conversion exit ALPHA, internal->external
 RSPC_PROCESS_FINISH Finish a process (of a process chain)
RSAOS_METADATA_UPLOAD Upload of meta data from R/3
RSDMD_DEL_MASTER_DATA Deletion of master data
RSPC_CHAIN_ACTIVATE_REMOTE To activate a process chain after transport

                        

USEFUL ABAP-CLASS in NW 7 - BI to fix problems with Transformation

Class CL_RSTRAN_STAT Description


For deleting a transformations rule version from
DELETE_VERSION_FROM_DB
database, helpful if the transformation metadata are
(Static Method)
corrupted.

Anda mungkin juga menyukai