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

RAWORK01_NACC SAP ABAP Report - Display Worklist







RAWORK01_NACC 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 RAWORK01_NACC 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 RAWORK01_NACC. "Basic submit
SUBMIT RAWORK01_NACC AND RETURN. "Return to original report after report execution complete
SUBMIT RAWORK01_NACC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ANLAGE = ?...(ANLAGE)
Selection Text: BERDATUM = ?...(BERDATUM)
Selection Text: BEREICH1 = ?...(BEREICH1)
Selection Text: BEREICH2 = ?...(BEREICH2)
Selection Text: BEREICH3 = ?...(BEREICH3)
Selection Text: BUKRS = ?...(BUKRS)
Selection Text: PA_HITLI = Ranking list............ Top
Selection Text: PA_LSSEP = List Separation
Selection Text: PA_MIKRO = Print Microfiche Line
Selection Text: PA_SRTVR = Sort Version
Selection Text: PA_SRTW0 = No Sorting
Selection Text: PA_SRTW1 = Acquisition Value
Selection Text: PA_SRTW2 = Accumulated Depreciation
Selection Text: PA_SRTW3 = Book Value
Selection Text: PA_SUMMB = Summary Report
Selection Text: PA_TITEL = Additional Heading
Selection Text: SIMVAR = ?...(SIMVAR)
Selection Text: SO_AFASL = Depreciation Key
Selection Text: SO_AKTIV = Capitalization Date
Selection Text: SO_ANLKL = Asset Class
Selection Text: XUNTNR = ?...(XUNTNR)
Selection Text: XEINZEL = ?...(XEINZEL)
Selection Text: VERSN = ?...(VERSN)
Selection Text: UNTNR = ?...(UNTNR)
Selection Text: SUMMB = ?...(SUMMB)
Selection Text: SRTVR = ?...(SRTVR)
Selection Text: SPRACHE = ?...(SPRACHE)
Selection Text: SO_WERKS = Plant
Selection Text: SO_STORT = Location
Selection Text: SO_LIFNR = Account Number of the Vendor
Selection Text: SO_KUMAF = Accumulated Depreciation
Selection Text: SO_KTOGR = Account allocation key
Selection Text: SO_KTANW = Balance Sheet Account
Selection Text: SO_KOSTL = Cost Center
Selection Text: SO_KANSW = Acquisition Value
Selection Text: SO_GSBER = Business Area
Selection Text: SO_GEGST = Technical Asset Number
Selection Text: SO_BCHWR = Book Value





Selection Text: SO_ANLUE = ?...(SO ANLUE)
Title: Display Worklist
Text Symbol: W04 = Planned rev. ;
Text Symbol: W03 = Book val.
Text Symbol: W02 = Accum.dep.;
Text Symbol: W01 = Acq.value;
Text Symbol: AV2 = Which assets
Text Symbol: AV1 = Add to Worklist
Text Symbol: ANI = Add Asset
Text Symbol: AIB = Post.date TTY Rev. amt affil.co.;
Text Symbol: AIA = Rules for the mass change
Text Symbol: AI9 = Processing status ;
Text Symbol: AI8 = Task ;
Text Symbol: AI7 = Status
Text Symbol: AI6 = ShText
Text Symbol: AI5 = Worklist ;
Text Symbol: AI4 = Descript.
Text Symbol: AI3 = Val.
Text Symbol: AI2 = Name
Text Symbol: AI1 = Information specific to the work list
Text Symbol: A03 = Correct worklist
Text Symbol: A02 = the worklist completed?
Text Symbol: A01 = Is the correction to
Text Symbol: 024 = Generated Variant
Text Symbol: 004 = Name
Text Symbol: 003 = Cap. Date
Text Symbol: 002 = SNo.
Text Symbol: 001 = Main Number
Text Symbol: U02 = Creation Date:
Text Symbol: U01 = Report Date:
Text Symbol: SV2 = Do you want to save?
Text Symbol: SV1 = Data will be lost.
Text Symbol: SV0 = Refresh worklist
Text Symbol: MH1 = Company code &: Asset &/&
Text Symbol: LS2 = Do you really want to cancel?
Text Symbol: LS1 = Cancel processing of work list
Text Symbol: H02 = Top
Text Symbol: H01 = Ranking list
Text Symbol: F10 = Long text for error message ;





Text Symbol: F01 = Log of Assets with Errors
Text Symbol: ERT = Manual revenue distribution
Text Symbol: ER3 = revenue?
Text Symbol: ER2 = Do you want to adopt the changed
Text Symbol: ER1 = The revenue amount was changed.
Text Symbol: C03 = Add. Batch Run Specif.
Text Symbol: C02 = Additional Sorting by Value Field
Text Symbol: AV6 = All Assets
Text Symbol: AV5 = Selected Asset
Text Symbol: AV4 = to add to the worklist?
Text Symbol: AV3 = would you like


INCLUDES used within this REPORT RAWORK01_NACC

INCLUDE RASORT00.
INCLUDE RASORT04.
INCLUDE RASORT08.


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_HEADER_READ CALL FUNCTION 'SWW_WI_HEADER_READ' EXPORTING wi_id = pa_ai_id IMPORTING wi_header = wi_header EXCEPTIONS read_failed = 01.

SWZ_AI_HEADER_READ CALL FUNCTION 'SWZ_AI_HEADER_READ' EXPORTING wi_id = pa_ai_id IMPORTING ai_header = ai_header EXCEPTIONS read_failed = 01.

SWW_WI_CONTAINER_READ CALL FUNCTION 'SWW_WI_CONTAINER_READ' EXPORTING wi_id = pa_ai_id TABLES wi_container = ai_container EXCEPTIONS container_does_not_exist = 01.

G_SUBSTITUTION_GET_INFO CALL FUNCTION 'G_SUBSTITUTION_GET_INFO' EXPORTING substid = hlp_subsid read_text = 'X' IMPORTING description = hlp_substext EXCEPTIONS not_found = 1 OTHERS = 2.

SWW_WI_CONTAINER_MODIFY CALL FUNCTION 'SWW_WI_CONTAINER_MODIFY' "<<< insert 126352 EXPORTING "<<< insert 126352 wi_id = pa_ai_id "<<< insert 126352 do_commit = 'X' "<<< insert 126352 delete_old_container = 'X' "<<< insert 126352 TABLES "<<< insert 126352 wi_container = ai_container "<<< insert 126352 EXCEPTIONS "<<< insert 126352 OTHERS = 1. "<<< insert 126352

SWZ_AI_SHOW CALL FUNCTION 'SWZ_AI_SHOW' EXPORTING wi_id = pa_ai_id TABLES object_list = ai_lines EXCEPTIONS execution_failed = 01.

T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b EXCEPTIONS not_found = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = ddic_tabname lfieldname = ddic_fieldname IMPORTING dfies_wa = wa_dfies EXCEPTIONS OTHERS = 0.

SWZ_AI_RELEASE CALL FUNCTION 'SWZ_AI_RELEASE' EXPORTING wi_id = pa_ai_id EXCEPTIONS already_released = 1 execution_failed = 2 read_failed = 3 OTHERS = 4.

SAP_WAPI_EXECUTE_WORKITEM CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM' EXPORTING workitem_id = pa_ai_id.

SAP_WAPI_EXECUTE_WORKITEM CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM' IN BACKGROUND TASK EXPORTING workitem_id = pa_ai_id.

SWW_WI_EXECUTE_NEW



* CALL FUNCTION 'SWW_WI_EXECUTE_NEW' * IN BACKGROUND TASK * EXPORTING * WI_ID = PA_AI_ID.

MESSAGES_ACTIVE CALL FUNCTION 'MESSAGES_ACTIVE' EXCEPTIONS not_active = 1 OTHERS = 2.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'AC' msgty = 'S' msgv1 = l_msgtxt txtnr = '899' zeile = ld_zeile EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = l_arbgb msgty = l_msgty msgv1 = lt_swwloghist-variable1 msgv2 = lt_swwloghist-variable2 msgv3 = lt_swwloghist-variable3 msgv4 = lt_swwloghist-variable4 txtnr = l_msgno zeile = ld_zeile EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXCEPTIONS inconsistent_range = 1 no_messages = 2 OTHERS = 3.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING * DEFAULTOPTION = 'Y' diagnosetext1 = text-sv1 * DIAGNOSETEXT2 = ' ' * DIAGNOSETEXT3 = ' ' textline1 = text-sv2 * TEXTLINE2 = ' ' titel = text-sv0 IMPORTING answer = l_antwort EXCEPTIONS OTHERS = 1.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = l_report TABLES selection_table = l_xselects EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.

SWZ_AI_SHOW CALL FUNCTION 'SWZ_AI_SHOW' EXPORTING wi_id = pa_ai_id TABLES object_list = ai_lines EXCEPTIONS execution_failed = 01.

AM_ASSET_DELETE_FROM_AI CALL FUNCTION 'AM_ASSET_DELETE_FROM_AI' EXPORTING i_bukrs = xasset_stat-bukrs i_anln1 = xasset_stat-anln1 i_anln2 = xasset_stat-anln2 i_ai_id = pa_ai_id do_commit = 'X' EXCEPTIONS asset_not_deleted = 1 OTHERS = 2.

AM_ASSET_INSERT_INTO_AI CALL FUNCTION 'AM_ASSET_INSERT_INTO_AI' EXPORTING i_bukrs = xasset_stat-bukrs i_anln1 = xasset_stat-anln1 i_anln2 = xasset_stat-anln2 i_ai_id = pa_ai_id do_commit = 'X' EXCEPTIONS asset_not_inserted = 1 OTHERS = 2.

SWW_WI_CONTAINER_MODIFY CALL FUNCTION 'SWW_WI_CONTAINER_MODIFY' EXPORTING wi_id = pa_ai_id do_commit = 'X' delete_old_container = 'X' TABLES wi_container = ai_container EXCEPTIONS OTHERS = 1.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'ANLA' fieldname = 'ANLN2' searchhelp = 'AANL' callback_program = sy-repid callback_form = 'F4CALLBACK' TABLES return_tab = lt_return EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = anlav-anln1 IMPORTING output = anlav-anln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = anlav-anln2 IMPORTING output = anlav-anln2.

AWFL_CALL_MASS_CHANGE_DATA CALL FUNCTION 'AWFL_CALL_MASS_CHANGE_DATA' EXPORTING i_ai_id = pa_ai_id i_object = 'BUS1022' i_variant = ai_variant.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-ls2 * TEXTLINE2 = ' ' titel = text-ls1 IMPORTING answer = l_antwort EXCEPTIONS OTHERS = 1.

SWW_WI_BACK CALL FUNCTION 'SWW_WI_BACK' EXPORTING wi_id = pa_ai_id * DO_COMMIT = 'X' * IMPORTING * NEW_STATUS = EXCEPTIONS infeasible_state_transition = 1 invalid_type = 2 update_failed = 3 OTHERS = 4.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-a01 textline2 = text-a02 titel = text-a03 * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = l_answer.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = u_ld_report TABLES selection_table = u_xselects EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.

POPUP_TO_GET_AI_VALUES_TRANSF CALL FUNCTION 'POPUP_TO_GET_AI_VALUES_TRANSF' EXPORTING i_waers = t093b-waers IMPORTING abbruch_kz = returncode CHANGING f_trpara = l_trpara.

POPUP_TO_GET_AI_VALUES CALL FUNCTION 'POPUP_TO_GET_AI_VALUES' EXPORTING i_erlkz = flg_erl i_budat = l_budat i_bldat = l_bldat i_bwasl = l_bwasl i_erbdm = l_erbdm i_bzdat = l_bzdat i_verkz = l_verkz i_vbund = l_vbund i_sgtxt = l_sgtxt "<0575417 i_waers = t093b-waers i_posting_areas = ls_ldgrp "Ehp7 IMPORTING e_budat = l_budat e_bldat = l_bldat e_bwasl = l_bwasl e_erbdm = l_erbdm e_bzdat = l_bzdat abbruch_kz = returncode e_verkz = l_verkz e_vbund = l_vbund e_sgtxt = l_sgtxt "<0575417 e_posting_areas = ls_ldgrp. "Ehp7

AM_PROFIT_DISTRIBUTION CALL FUNCTION 'AM_PROFIT_DISTRIBUTION' EXPORTING i_bwasl = l_bwasl i_bzdat = l_bzdat i_budat = l_budat i_bldat = l_bldat i_erbdm = l_erbdm i_ai_id = pa_ai_id i_verkz = l_verkz i_posting_areas = ls_ldgrp TABLES t_aberl = xaberl EXCEPTIONS error_message = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE * call function 'POPUP_TO_CONFIRM_WITH_MESSAGE' * exporting * DEFAULTOPTION = 'Y' * diagnosetext1 = text-er1 * diagnosetext2 = ' ' * DIAGNOSETEXT3 = ' ' * textline1 = text-er2 * textline2 = text-er3 * titel = text-ert * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' * importing * answer = l_antwort * exceptions * others = 1.

PF_STATUS_SET CALL FUNCTION 'PF_STATUS_SET' EXPORTING i_status = ld_status i_summb = summb i_sofort = 'X' TABLES t_exclkey = exclkey.

SWW_WI_SELECT CALL FUNCTION 'SWW_WI_SELECT' EXPORTING user = u_bearb wi_id = pa_ai_id * DO_COMMIT = 'X' * IMPORTING * NEW_STATUS = EXCEPTIONS infeasible_state_transition = 1 invalid_type = 2 update_failed = 3 OTHERS = 4.



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 RAWORK01_NACC or its description.