Useful ABAP Programs and Function Modules in SAP BI

Get Details About an InfoObject:BAPI_IOBJ_GETDETAIL

                                                      RSD_IOBJ_GET

Get all variable of a query :RSDFPS_GET_QUERY_FULL

 

Useful ABAP Programs and Function Modules in SAP BI

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

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.
RSDDS_AGGREGATES_MAINTAIN
Handle change runs; same functionality as the function 'Tools -> Hierarchy/Attribute changes'
RSDDS_AGGREGATES_MAINTAIN
Handle change runs; same functionality as the function 'Tools -> Hierarchy/Attribute changes'

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

Function ModuleDescription (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 ModuleDescription
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_STATDescription
DELETE_VERSION_FROM_DB (Static Method)For deleting the transformation version from database, helpful if the transformation metadata are corrupted.
DELETE_RULE_FROM_DBFor deleting a given rule of transformation

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值