Quantcast
Channel: All about SAP BI....
Viewing all articles
Browse latest Browse all 60

Useful ABAP Programs and Function Modules in SAP BI

$
0
0
Program name
RSCDS_NULLELIMDelete fact table rows where all Key Figure values are zero. See Note 619826.
RSDG_CUBE_ACTIVATEActivation of InfoCubes
RSDG_CUBE_COPYMake InfoCube Copies
RSDG_CUBE_DELETEDelete InfoCubes
RSDG_DODS_REPAIRActivation of all ODS Objects with Navigation Attributes
RSDG_ODSO_ACTIVATEActivation of all ODS Objects
RSDG_IOBJ_ACTIVATEActivation of all InfoObjects
RSDG_IOBJ_DELETEDeletion of InfoObjects
RSDG_IOBJ_REORGRepair InfoObjects
RSDG_IOBJ_REORG_TEXTSReorganization of Texts for InfoObjects
RSDG_MPRO_ACTIVATEActivating Multiproviders
RSDG_MPRO_COPYMake Multiprovider Copies
RSDG_MPRO_DELETEDeleting Multiproviders
RS_COMSTRU_ACTIVATE_ALLActivate all inactive Communication Structures
RS_TRANSTRU_ACTIVATE_ALLActivate Transfer Structure
RSAU_UPDR_REACTIVATE_ALLActivate Update Rules
RRHI_HIERARCHY_ACTIVATEActivate Hierarchies
SAP_AGGREGATES_ACTIVATE_FILLActivating and Filling the Aggregates of an InfoCube
SAP_AGGREGATES_DEACTIVATEDeactivating the Aggregates of an InfoCube
RS_PERS_ACTIVATEActivating Personalization in Bex(Inactive are highlighted)
RSSM_SET_REPAIR_FULL_FLAGConvert Full Requests to Repair Full Requests
SAP_INFOCUBE_DESIGNSPrint a List of Cubes in The System and Their Layouts
SAP_ANALYZE_ALL_INFOCUBESCreate DB Statstics for all InfoCubes
SAP_CREATE_E_FACTTABLESCreate Missing E-Fact Tables for InfoCubes and Aggregates
SAP_DROP_EMPTY_FPARTITIONSLocate/Remove Unused or Empty partitions of F-Fact Table
SAP_DROP_TMPTABLESRemove Temperory Database Objects
SAP_RSADMIN_MAINTAINAdd, change, delete RSADMIN table entries
CUBE_SAMPLE_CREATEA fast way to put some "sample" records in a InfoCube. No need to use Flatfiles,
just enter the value in a ALV-Grid or let fill the Cube with random value.
SAP_CONVERT_NORMAL_TRANSConvert BasisCube to Transactional Cube and the opposite way around.
Listed below are some of the frequently used Function Modules within BW.
Function Module Description (Function Group RRMX)
RRMX_WORKBOOK_DELETEDelete BW Workbooks permanently from Roles & Favourites
RRMX_WORKBOOK_LIST_GETGet list of all Workbooks
RRMX_WORKBOOK_QUERIES_GETGet list of queries in a workbook
RRMX_QUERY_WHERE_USED_GETLists where a query has been used 
RRMX_JUMP_TARGET_GETGet list of all Jump Targets
RRMX_JUMP_TARGET_DELETEDelete Jump Targets
Function Module Description
MONI_TIME_CONVERTUsed for Time Conversions.
CONVERT_TO_LOCAL_CURRENCYConvert Foreign Currency to Local Currecny.
CONVERT_TO_FOREIGN_CURRENCYConvert Local Currency to Foreign Currency.
TERM_TRANSLATE_TO_UPPER_CASEUsed to convert all texts to UPPERCASE
UNIT_CONVERSION_SIMPLEUsed to convert any unit to another unit. (Ref. table : T006)
TZ_GLOBAL_TO_LOCALUsed to convert timestamp to local time
FISCPER_FROM_CALMONTH_CALCConvert 0CALMONTH or 0CALDAY to Financial Year or Period
RSAX_BIW_GET_DATA_SIMPLEGeneric Extraction via Function Module
RSAU_READ_MASTER_DATAUsed in Data Transformations to read master data InfoObjects
RSDRI_INFOPROV_READ
RSDRI_INFOPROV_READ_DEMO 
RSDRI_INFOPROV_READ_RFC
Used to read Infocube or ODS data through RFC
DATE_COMPUTE_DAY 
DATE_TO_DAY
Returns a number what day of the week the date falls on.
DATE_GET_WEEKWill return a week that the day is in.
RP_CALC_DATE_IN_INTERVALAdd/Subtract Years/Months/Days from a Date.
RP_LAST_DAY_OF_THE_MONTHS 
SLS_MISC_GET_LAST_DAY_OF_MONTH
Determine Last Day of the Month.
RSARCH_DATE_CONVERTUsed for Date Converstions. We can use in Info Package routines.
RSPC_PROCESS_FINISH   To trigger an event in process chain
 DATE_CONVERT_TO_FACTORYDATEReturns factory calendar date for a date
 CONVERSION_EXIT_PDATE_OUTPUTConversion Exit for Domain GBDAT: YYYYMMDD  -> DD/MM/YYYY
 CONVERSION_EXIT_ALPHA_INPUTConversion exit ALPHA, external->internal
CONVERSION_EXIT_ALPHA_OUTPUTConversion exit ALPHA, internal->external
 RSPC_PROCESS_FINISHFinish a process (of a process chain)
RSAOS_METADATA_UPLOADUpload of meta data from R/3
RSDMD_DEL_MASTER_DATADeletion of master data
RSPC_CHAIN_ACTIVATE_REMOTETo activate a process chain after transport
                        
USEFUL ABAP-CLASS in NW 7 - BI to fix problems with Transformation
Class CL_RSTRAN_STAT Description
DELETE_VERSION_FROM_DB (Static Method) For deleting the transformation version from database, helpful if the transformation metadata are corrupted.
DELETE_RULE_FROM_DB For deleting a given rule of transformation

Viewing all articles
Browse latest Browse all 60

Trending Articles