0% found this document useful (0 votes)
219 views5 pages

Useful ABAP Programs and Function Modules in SAP BI - SAP NetWeaver Business Warehouse - SCN Wiki

ABAP Program

Uploaded by

Smith Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
219 views5 pages

Useful ABAP Programs and Function Modules in SAP BI - SAP NetWeaver Business Warehouse - SCN Wiki

ABAP Program

Uploaded by

Smith Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

4/3/2016

UsefulABAPProgramsandFunctionModulesinSAPBISAPNetWeaverBusinessWarehouseSCNWiki

GettingStarted Newsletters

Welcome,Guest

Login

Register

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Store

SAPNetWeaverBusinessWarehouse / / ABAPinBW

UsefulABAPProgramsandFunctionModulesinSAPBI
CreatedbyGuest,lastmodifiedbyMartinGrobonOct16,2013

Appliesto3.x/7.x
ListedbelowaresomeofthefrequentlyusedABAPProgramsinSAPBW.
Programname

RSCDS_NULLELIM

DeletefacttablerowswhereallKeyFigurevaluesarezero.SeeNote619826.

RSDG_CUBE_ACTIVATE

ActivationofInfoCubes

RSDG_CUBE_COPY

MakeInfoCubeCopies

RSDG_CUBE_DELETE

DeleteInfoCubes

RSDG_DODS_REPAIR

ActivationofallODSObjectswithNavigationAttributes

RSDG_ODSO_ACTIVATE

ActivationofallODSObjects

RSDG_IOBJ_ACTIVATE

ActivationofallInfoObjects

RSDG_IOBJ_DELETE

DeletionofInfoObjects

RSDG_IOBJ_REORG

RepairInfoObjects

RSDG_IOBJ_REORG_TEXTS

ReorganizationofTextsforInfoObjects

RSDG_MPRO_ACTIVATE

ActivatingMultiproviders

RSDG_MPRO_COPY

MakeMultiproviderCopies

RSDG_MPRO_DELETE

DeletingMultiproviders

RS_COMSTRU_ACTIVATE_ALL

ActivateallinactiveCommunicationStructures

RS_TRANSTRU_ACTIVATE_ALL

ActivateTransferStructure

RSAU_UPDR_REACTIVATE_ALL

ActivateUpdateRules

RRHI_HIERARCHY_ACTIVATE

ActivateHierarchies

SAP_AGGREGATES_ACTIVATE_FILL

ActivatingandFillingtheAggregatesofanInfoCube

SAP_AGGREGATES_DEACTIVATE

DeactivatingtheAggregatesofanInfoCube

RS_PERS_ACTIVATE

ActivatingPersonalizationinBex(Inactivearehighlighted)

RSSM_SET_REPAIR_FULL_FLAG

ConvertFullRequeststoRepairFullRequests

SAP_INFOCUBE_DESIGNS

PrintaListofCubesinTheSystemandTheirLayouts

SAP_ANALYZE_ALL_INFOCUBES

CreateDBStatsticsforallInfoCubes

SAP_CREATE_E_FACTTABLES

CreateMissingEFactTablesforInfoCubesandAggregates

SAP_DROP_EMPTY_FPARTITIONS

Locate/RemoveUnusedorEmptypartitionsofFFactTable

SAP_DROP_TMPTABLES

RemoveTemperoryDatabaseObjects

SAP_RSADMIN_MAINTAIN

Add,change,deleteRSADMINtableentries

CUBE_SAMPLE_CREATE

Afastwaytoputsome"sample"recordsinaInfoCube.NoneedtouseFlatfiles,
justenterthevalueinaALVGridorletfilltheCubewithrandomvalue.

https://wiki.scn.sap.com/wiki/display/BI/Useful+ABAP+Programs+and+Function+Modules+in+SAP+BI

1/5

4/3/2016

UsefulABAPProgramsandFunctionModulesinSAPBISAPNetWeaverBusinessWarehouseSCNWiki

SAP_CONVERT_NORMAL_TRANS

ConvertBasisCubetoTransactionalCubeandtheoppositewayaround.

RSDDS_AGGREGATES_MAINTAIN

Handlechangerunssamefunctionalityasthefunction'Tools>Hierarchy/Attributechanges'

RSDDS_AGGREGATES_MAINTAIN

Handlechangerunssamefunctionalityasthefunction'Tools>Hierarchy/Attributechanges'

RSDS_DATASOURCE_ACTIVATE_ALL

ActivatesDataSources

RSDG_TRFN_ACTIVATE

ActivateTransformationandDTP

RSSM_OLTP_INIT_DELTA_UPDATE

Initdeltasettingswrittenfromrssdlinit/seltoOLTP

RSBKDTPREPAIR

RepairDTP

ListedbelowaresomeofthefrequentlyusedFunctionModuleswithinBW.
FunctionModule

Description(FunctionGroupRRMX)

RRMX_WORKBOOK_DELETE

DeleteBWWorkbookspermanentlyfromRoles&Favourites

RRMX_WORKBOOK_LIST_GET

GetlistofallWorkbooks

RRMX_WORKBOOK_QUERIES_GET

Getlistofqueriesinaworkbook

RRMX_QUERY_WHERE_USED_GET

Listswhereaqueryhasbeenused

RRMX_JUMP_TARGETS_GET

GetlistofallJumpTargets

RRMX_JUMP_TARGET_DELETE

DeleteJumpTargets

FunctionModule

Description

MONI_TIME_CONVERT

UsedforTimeConversions.

CONVERT_TO_LOCAL_CURRENCY

ConvertForeignCurrencytoLocalCurrecny.

CONVERT_TO_FOREIGN_CURRENCY

ConvertLocalCurrencytoForeignCurrency.

TERM_TRANSLATE_TO_UPPER_CASE

UsedtoconvertalltextstoUPPERCASE

UNIT_CONVERSION_SIMPLE

Usedtoconvertanyunittoanotherunit.(Ref.table:T006)

TZ_GLOBAL_TO_LOCAL

Usedtoconverttimestamptolocaltime

FISCPER_FROM_CALMONTH_CALC

Convert0CALMONTHor0CALDAYtoFinancialYearorPeriod

RSAX_BIW_GET_DATA_SIMPLE

GenericExtractionviaFunctionModule

RSAU_READ_MASTER_DATA

UsedinDataTransformationstoreadmasterdataInfoObjects

RSDRI_INFOPROV_READ

UsedtoreadInfocubeorODSdatathroughRFC

DATE_COMPUTE_DAY

Returnsanumberwhatdayoftheweekthedatefallson.

DATE_GET_WEEK

Willreturnaweekthatthedayisin.

SLS_MISC_GET_LAST_DAY_OF_MONTH

DetermineLastDayoftheMonth.

RSARCH_DATE_CONVERT

UsedforDateConverstions.WecanuseinInfoPackageroutines.

RSPC_PROCESS_FINISH

Totriggeraneventinprocesschain

DATE_CONVERT_TO_FACTORYDATE

Returnsfactorycalendardateforadate

CONVERSION_EXIT_PDATE_OUTPUT

ConversionExitforDomainGBDAT:YYYYMMDD>DD/MM/YYYY

CONVERSION_EXIT_ALPHA_INPUT

ConversionexitALPHA,external>internal

RSAOS_METADATA_UPLOAD

UploadofmetadatafromR/3

RSDMD_DEL_MASTER_DATA

Deletionofmasterdata

RSPC_CHAIN_ACTIVATE_REMOTE

Toactivateaprocesschainaftertransport

ARCHIVFILE_CLIENT_TO_SERVER

TransferaFilefromanapplicatioservertoaclient

RSPC_API_CHAIN_START

ApisandBapisforProcessChains

FACTORYDATE_CONVERT_TO_DATE

Calendarfunction:Returnsdateforafactorycalendardate

https://wiki.scn.sap.com/wiki/display/BI/Useful+ABAP+Programs+and+Function+Modules+in+SAP+BI

2/5

4/3/2016

UsefulABAPProgramsandFunctionModulesinSAPBISAPNetWeaverBusinessWarehouseSCNWiki

HOLIDAY_CHECK_AND_GET_INFO

Publicholidaycheckwithinformation

USEFULABAPCLASSinNW7BItofixproblemswithTransformation
ClassCL_RSTRAN_STAT

Description

DELETE_VERSION_FROM_DB(StaticMethod)

Fordeletingthetransformationversionfromdatabase,helpfulifthetransformationmetadataarecorrupted.

DELETE_RULE_FROM_DB

Fordeletingagivenruleoftransformation

important

sap

bw

bi

function_module

fm

se38

report

abap

47ChildPages

FunctionModuleDATE_COMPUTE_DAYReturnsweekdayforadate
FunctionModuleCONVERSION_EXIT_PDATE_OUTPUTConversionExitforDomain
FunctionModuleCONVERT_TO_FOREIGN_CURRENCYTranslatelocalcurrencyamounttoforeigncurrency
FunctionModuleCONVERT_TO_LOCAL_CURRENCYTranslateforeigncurrencyamounttolocalcurrency
FunctionModuleDATE_CONVERT_TO_FACTORYDATECalendarfunction:Returnsfactorycalendardateforadate
FunctionModuleDATE_GET_WEEKCalendarfunction:Returnsweekforadate
FunctionModuleFISCPER_FROM_CALMONTH_CALCConvert0CALMONTHtoFinancialYearorPeriod
FunctionModuleMONI_TIME_CONVERTTimeConversion
FunctionModuleRRMX_JUMP_TARGET_DELETEDeleteJumpTargetglobalID
FunctionModuleRRMX_JUMP_TARGETS_GETGetlistofviewsthatarerelatedtoagivenworkbookobject
FunctionModuleRRMX_QUERY_WHERE_USED_GETListswhereaqueryhasbeenused
FunctionModuleRRMX_WORKBOOK_LIST_GETGetcompletelistofExcelworkbooks
FunctionModuleRRMX_WORKBOOK_QUERIES_GETGetallqueriesinaworkbook
FunctionModuleRSAOS_METADATA_UPLOADMetadatauploadfromECC
FunctionModuleRSARCH_DATE_CONVERTCalendarfunction:Returnsvariousdates
FunctionModuleRSAX_BIW_GET_DATA_SIMPLETemplateFMtotransfertransactionaldata
FunctionModuleRSDMD_DEL_MASTER_DATAToolformaintainingmasterdata
FunctionModuleRSPC_CHAIN_ACTIVATE_REMOTERemoteactivationofaprocesschain
FunctionModuleTERM_TRANSLATE_TO_UPPER_CASELanguagedependentconversiontouppercase
FunctionModuleTZ_GLOBAL_TO_LOCALUsedtoconverttimestamptolocaltime
ReportCUBE_SAMPLE_CREATECreatesamplerecords
ReportRRHI_HIERARCHY_ACTIVATEActivationofahierarchy
ReportRSCDS_NULLELIMDeletefacttablerowswhereallKeyFigurevaluesarezero
ReportRSDDS_AGGREGATES_MAINTAINExecuteHierarchyAttributeChanges
ReportRSDG_CUBE_COPYMakeInfoCubeCopies
ReportRSDG_CUBE_DELETEDeletingInfoCubes
ReportRSDG_DODS_REPAIRActivationofAllODSObjectswithNavigationAttributes
ReportRSDG_IOBJ_DELETEDeletingInfoObjects
ReportRSDG_IOBJ_REORG_TEXTSReorganizationofTextsforInfoObjects
ReportRSDG_IOBJ_REORGRepairInfoObjects
ReportRSDG_MPRO_DELETEDeleteMultiProviders
ReportRSSM_SET_REPAIR_FULL_FLAGSetRepairIndicatorforFullRequests
ReportSAP_ANALYZE_ALL_INFOCUBESCreateDBStatisticsforallInfocubes
ReportSAP_CONVERT_NORMAL_TRANSConversion:Normal<>TransactionalInfoCube
ReportSAP_CREATE_E_FACTTABLESCreatesmissingEfacttablesforInfoCubesandaggregates
ReportSAP_INFOCUBE_DESIGNSCubesinthesystemandtheirlayout
ReportSAP_RSADMIN_MAINTAINRSADMINAdministration
FunctionModuleSLS_MISC_GET_LAST_DAY_OF_MONTHFMcalculatingthelastdayofamonth
ReportANALYZE_RSZ_TABLESCheckReportANALYZE_RSZ_TABLES
FunctionModuleRSPC_API_CHAIN_STARTStartProcessChain
FunctionModuleARCHIVFILE_CLIENT_TO_SERVERTransferFilefromApplicationservertoclient
FunctionModuleARCHIVFILE_SERVER_TO_CLIENTTransferFilefromApplicationclienttoserver
FunctionModuleFACTORYDATE_CONVERT_TO_DATECalendarfunction:Returnsfactorycalendardateforadate
FunctionModuleHOLIDAY_CHECK_AND_GET_INFOPublicholidaycheckwithinformation
FunctionModuleLAST_FACTORYDATE_GETReturnlastfactorydateforafactorycalendar
FunctionModuleWEEK_GET_FIRST_DAYReturnfirstdayforaweek
ReportRSBKDTPREPAIRDTPRepair

15Comments
https://wiki.scn.sap.com/wiki/display/BI/Useful+ABAP+Programs+and+Function+Modules+in+SAP+BI

3/5

4/3/2016

UsefulABAPProgramsandFunctionModulesinSAPBISAPNetWeaverBusinessWarehouseSCNWiki

Guest
Big10xs.HowaboutNW2004s...

Guest
Goodresource.

Guest
IjustwantedtoaddtoJame'scommentabove.
Thisisanexcellentresource!Ifindmyselfperiodicallyusingtheprograms/functionmodulestoreactivatetransferrulesordatasources.However,Idon'tperformthoseactionsenoughto
committheprogram/fmnamestomemory.Thiswikidefinitelyhelpthoseofuswhooccasionallyusetheseveryusefulprograms.

YogeshPatil
Definitely,thisisgoodsourceofinformation.Greatwork..!
OnefindingisthattheFMRP_CALC_DATE_IN_INTERVALisnotexistinBI7.0.Doyouknowanyprogram/FMequivalenttothisFM?

Guest
IjustwantedtoaddtoJame'sabove.
ExcellentResource

GauravPatwari
Dearteam,
DoagreewiththeMartin,Jameabouttheresourceishelpfull.....
Regards,
GauravPatwari

Guest
ThisistheinformationIwastryingtoconsolidateforlatehours.Thiscomprehensivelistofprogramsandfunctionmoduleshasreallysavedmytime.
Thanks&Regards
Paramesh

Guest
alotofusefuldatemethodsinclass"CL_RSAR_FUNCTION",useSE24totestandplayaround
CALLMETHODCL_RSAR_FUNCTION=>DATE_FISCPER(
EXPORTINGI_DATE=l_calday
I_PER='K4'
IMPORTINGE_FISCPER=l_fiscper).

AnjaliSKumar
JustwantedtoaddtothecontentanotherFunctionModule
ARCHIVFILE_CLIENT_TO_SERVERTouploadfilefrompresentationservertoapplicationserver.
Regards,
Anjali

Guest
Thanksalot!

HarshilJoshi
RSBM_GUI_CHANGE_USTATE:manuallychangethestatusoftheoldrequesttoredorgreenbyusingthisfunctionmodule

formore
ChangeStatusofDTPRequest

AleksanderBezugly

Thankyouverymuch!

https://wiki.scn.sap.com/wiki/display/BI/Useful+ABAP+Programs+and+Function+Modules+in+SAP+BI

4/5

4/3/2016

UsefulABAPProgramsandFunctionModulesinSAPBISAPNetWeaverBusinessWarehouseSCNWiki

RamakrishnaGattikoppula
Veryusefuldocument..
Thanks,
Rk

KunalShukla
Verygoodandusefulcollection.
Thankyou.
Kunal

FrankRhle
Greatcollection.Thanks.

ContactUs
Privacy

SAPHelpPortal
TermsofUse

LegalDisclosure

Copyright

https://wiki.scn.sap.com/wiki/display/BI/Useful+ABAP+Programs+and+Function+Modules+in+SAP+BI

FollowSCN

5/5

You might also like