SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

RBUS1031 SAP ABAP Report - Program for Object Type BUS1031 : Activity Type







RBUS1031 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RBUS1031 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RBUS1031. "Basic submit
SUBMIT RBUS1031 AND RETURN. "Return to original report after report execution complete
SUBMIT RBUS1031 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program for Object Type BUS1031 : Activity Type


INCLUDES used within this REPORT RBUS1031

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

READ_ACTIVITY CALL FUNCTION 'READ_ACTIVITY' EXPORTING DATAB = SY-DATUM DATBI = SY-DATUM KOKRS = OBJECT-KEY-CONTROLLINGAREA LSTAR = OBJECT-KEY-ACTIVITYTYPE * NO_BUFFER = ' ' * IMPORTING * KZ_LEISTE = * TXT_FLAG = TABLES SEL_INT = LSTAR_TAB EXCEPTIONS CSLA_NOT_COMPLETE = 1 CSLA_NOT_FOUND = 2 OTHERS = 3.

READ_ACTIVITY_TEXT CALL FUNCTION 'READ_ACTIVITY_TEXT' EXPORTING DATUM = SY-DATUM KOKRS = OBJECT-KEY-CONTROLLINGAREA LSTAR = OBJECT-KEY-ACTIVITYTYPE SPRACHE = SY-LANGU IMPORTING * TEXT = TEXT_WA = I_CSLT EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

K_ACTIVITYTYPE_CREATE_DB_UPD CALL FUNCTION 'K_ACTIVITYTYPE_CREATE_DB_UPD' EXPORTING KOKRS = OBJECT-KEY-CONTROLLINGAREA IMPORTING CANCELED = LD_ACTION E_KOKRS = OBJECT-KEY-CONTROLLINGAREA LSTAR = OBJECT-KEY-ACTIVITYTYPE.

BAPI_ACTIVITYTYPE_GETLIST CALL FUNCTION 'BAPI_ACTIVITYTYPE_GETLIST' EXPORTING ALLOCATION_COSTELEMENT = ALLOCCOSTELEMENT ALLOCATION_COSTELEMENT_TO = ALLOCCOSTELEMENTTO ACTIVITYTYPE_CATEGORY = ACTTYPECATEGORY ACTIVITYTYPE_CATEGORY_TO = ACTTYPECATEGORYTO PRICE_INDICATOR = PRICEINDICATOR PRICE_INDICATOR_TO = PRICEINDICATORTO DATE = DATE CONTROLLINGAREA = CONTROLLINGAREA CONTROLLINGAREA_TO = CONTROLLINGAREATO ACTIVITYTYPE = ACTIVITYTYPE ACTIVITYTYPE_TO = ACTIVITYTYPETO ACTIVITYTYPE_UNIT_TO = ACTIVITYTYPEUNITTO ACTIVITYTYPE_UNIT = ACTIVITYTYPEUNIT SEARCHSTRING = SEARCHSTRING IMPORTING RETURN = RETURN TABLES ACTIVITYTYPE_LIST = ACTIVITYTYPELIST EXCEPTIONS OTHERS = 01.

BAPI_ACTIVITYTYPE_GETPRICES CALL FUNCTION 'BAPI_ACTIVITYTYPE_GETPRICES' EXPORTING DATE = DATE COSTCENTER_TO = COSTCENTERTO COSTCENTER = COSTCENTER IMPORTING RETURN = RETURN TABLES ACTIVITYTYPE_LIST = ACTIVITYTYPELIST PRICES = PRICES EXCEPTIONS OTHERS = 01.

BAPI_ACTTYPE_CREATEMULTIPLE CALL FUNCTION 'BAPI_ACTTYPE_CREATEMULTIPLE' EXPORTING COAREA = COAREA TESTRUN = TESTRUN TABLES ACTIVITYTYPELIST = ACTIVITYTYPELIST RETURN = RETURN EXCEPTIONS OTHERS = 01.

BAPI_ACTIVITYTYPE_GETDETAIL CALL FUNCTION 'BAPI_ACTIVITYTYPE_GETDETAIL' EXPORTING KEYDATE = KEYDATE ACTIVITYTYPE = OBJECT-KEY-ACTIVITYTYPE CONTROLLINGAREA = OBJECT-KEY-CONTROLLINGAREA IMPORTING ACTTYPEDETAIL = ACTTYPEDETAIL TABLES RETURN = RETURN EXCEPTIONS OTHERS = 01.

BAPI_ACTTYPE_CHANGEMULTIPLE CALL FUNCTION 'BAPI_ACTTYPE_CHANGEMULTIPLE' EXPORTING COAREA = COAREA TESTRUN = TESTRUN LANGUAGE = LANGUAGEKEY TABLES ACTIVITYTYPELIST = ACTIVITYTYPELIST RETURN = RETURN EXTENSIONIN = EXTENSIONIN EXCEPTIONS OTHERS = 01.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RBUS1031 or its description.