SAP Reports / Programs | Financial Accounting | Asset Accounting | Basic Functions(FI-AA-AA) SAP FI

RAWFOB02 SAP ABAP Report - Program for Object Type AM_AI : AM_ABGANG_AV







RAWFOB02 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 RAWFOB02 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 RAWFOB02. "Basic submit
SUBMIT RAWFOB02 AND RETURN. "Return to original report after report execution complete
SUBMIT RAWFOB02 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 AM_AI : AM_ABGANG_AV
Text Symbol: 001 = Incorrect entries in WL &
Text Symbol: 101 = Process assets for cost center &


INCLUDES used within this REPORT RAWFOB02

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:

SWW_WI_CONTAINER_READ CALL FUNCTION 'SWW_WI_CONTAINER_READ' EXPORTING WI_ID = OBJECT-KEY-WORKITEMID TABLES WI_CONTAINER = AI_CONTAINER EXCEPTIONS CONTAINER_DOES_NOT_EXIST = 01.

AM_ASSETS_GET_FROM_AI CALL FUNCTION 'AM_ASSETS_GET_FROM_AI' EXPORTING WI_ID = OBJECT-KEY-WORKITEMID TABLES T_ASSETS = ASSET_LIST EXCEPTIONS WI_ID_NOT_FOUND = 01 FALSE_OBJECTS_IN_AI = 02.

AM_PROFIT_DISTRIBUTION CALL FUNCTION 'AM_PROFIT_DISTRIBUTION' EXPORTING I_BWASL = BWASL I_BZDAT = BZDAT I_BUDAT = BUDAT I_BLDAT = BLDAT I_ERBDM = ERLOES I_AI_ID = OBJECT-KEY-WORKITEMID I_VERKZ = VERKZ I_POSTING_AREAS = LS_LDGRP TABLES T_ABERL = XABERL.

SWW_WI_CONTAINER_MODIFY CALL FUNCTION 'SWW_WI_CONTAINER_MODIFY' EXPORTING WI_ID = OBJECT-KEY-WORKITEMID DO_COMMIT = 'X' TABLES WI_CONTAINER = AI_CONTAINER EXCEPTIONS OTHERS = 01.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING OBJTYPE = 'AM_AI' OBJKEY = ld_objectkey EVENT = 'EXECUTED' TAKE_WORKITEM_REQUESTER = 'X' EXCEPTIONS OBJTYPE_NOT_FOUND = 1 OTHERS = 2 .

SWZ_AI_INFO_READ CALL FUNCTION 'SWZ_AI_INFO_READ' EXPORTING WI_ID = AI_ID_OLD IMPORTING AI_HEAD = AI_HEAD * WI_DEADLINES = WI_DEADLINES TABLES AGENTS = AGENTS * DEADLINE_AGENTS = DEADLINE_AGENTS * NOTIFICATION_AGENTS = NOTIFICATION_AGENTS * EXCLUDED_AGENTS = EXCLUDED_AGENTS * ITEM_AGENTS = ITEM_AGENTS OBJECT_LIST = OL_ALL * SECONDARY_METHODS = SECONDARY_METHODS WI_CONTAINER = WI_CONTAINER * COMP_EVENTS = COMP_EVENTS.

SWO_QUERY_REQUESTER CALL FUNCTION 'SWO_QUERY_REQUESTER' TABLES REQUESTER = REQUESTER EXCEPTIONS NOT_FOUND = 01.

SWZ_AI_CREATE CALL FUNCTION 'SWZ_AI_CREATE' EXPORTING APPLICATION = AI_HEAD-APPL CREATOR = AI_HEAD-WI_CREATOR DEF_TASK = HLP_TASK RELEASED = CON_RELEASED TEXT = WI_TEXT OBJECT_TYPE = 'AM_AI' CREATE_EVENT = SPACE IMPORTING WI_ID = WI_ID_NEW TABLES AGENTS = AGENTS * changes wit rel. 4.7

SWZ_AI_MANIPULATE CALL FUNCTION 'SWZ_AI_MANIPULATE' EXPORTING ACTION = 'W' WI_ID = OBJECT-KEY-WORKITEMID EXCEPTIONS ACTION_NOT_VALID = 01 READ_FAILED = 02 CANCELLED = 03.

AM_AI_MEMORY CALL FUNCTION 'AM_AI_MEMORY' "< 1468385 EXPORTING I_G_WF_CALL = G_WF_CALL "< 1468385 I_G_WF_RET = G_WF_RET. "< 1468385

AM_AI_MEMORY CALL FUNCTION 'AM_AI_MEMORY' "< 1468385 IMPORTING E_G_WF_CALL = G_WF_CALL "< 1468385 E_G_WF_RET = G_WF_RET. "< 1468385

AM_AI_MEMORY CALL FUNCTION 'AM_AI_MEMORY' "< 1468385 EXPORTING I_FREE_MEMORY = 'X'. "< 1468385

AISCCC_FIND_ASSETS CALL FUNCTION 'AISCCC_FIND_ASSETS' EXPORTING I_KOKRS = LD_KOKRS I_KOSTL = LD_KOSTL I_DATBI = LD_DATBI I_DATAB = LD_DATAB TABLES T_CHANGED_FIELDS = LT_CF_UNSTRUCTURED T_ASSETS = LT_ASSETS exceptions error_message = 1 others = 2.

SWC_OBJECT_CREATE CALL FUNCTION 'SWC_OBJECT_CREATE' EXPORTING objtype = 'BUS1022' objkey = ld_objkey IMPORTING OBJECT = lt_assets_obj.

AM_AI_MEMORY CALL FUNCTION 'AM_AI_MEMORY' "< 1468385 EXPORTING I_G_WF_CALL = G_WF_CALL "< 1468385 I_G_WF_RET = G_WF_RET. "< 1468385

AM_AI_MEMORY CALL FUNCTION 'AM_AI_MEMORY' "< 1468385 IMPORTING E_G_WF_CALL = G_WF_CALL "< 1468385 E_G_WF_RET = G_WF_RET. "< 1468385

AM_AI_MEMORY CALL FUNCTION 'AM_AI_MEMORY' "< 1468385 EXPORTING I_FREE_MEMORY = 'X'. "< 1468385

SWW_WI_CONTAINER_READ CALL FUNCTION 'SWW_WI_CONTAINER_READ' EXPORTING WI_ID = OBJECT-KEY-WORKITEMID TABLES WI_CONTAINER = AI_CONTAINER EXCEPTIONS CONTAINER_DOES_NOT_EXIST = 01.

AM_IMPAIRMENT_DISTRIBUTION





CALL FUNCTION 'AM_IMPAIRMENT_DISTRIBUTION' EXPORTING I_DISTR_CALC = ls_distr_calc TABLES T_IMPBTR = LT_IMPBTR EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 2.

SWW_WI_CONTAINER_MODIFY CALL FUNCTION 'SWW_WI_CONTAINER_MODIFY' EXPORTING WI_ID = OBJECT-KEY-WORKITEMID DO_COMMIT = 'X' TABLES WI_CONTAINER = AI_CONTAINER 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 RAWFOB02 or its description.