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

RAPERB2000F6 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT RAPERB2000F6

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:

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING arbgb = 'APERB' msgty = 'S' msgv1 = lw_butab-bukrs msgv2 = lw_butab-bucber msgv3 = lw_butab-gjahr msgv4 = lw_butab-ktogr txtnr = '009' zeile = ld_zeile.

APER_CREATE_AA_DOCUMENT CALL FUNCTION 'APER_CREATE_AA_DOCUMENT' EXPORTING is_rlambu = ls_rlambu is_acchd = ls_acchd IMPORTING es_acchd = ls_acchd TABLES it_anepi = lt_anepi et_accit = lt_accit et_acccr = lt_acccr et_accda = lt_accda EXCEPTIONS aa_creation_error = 1 OTHERS = 2.

AMBU_INSERT_DEPR_LINES CALL FUNCTION 'AMBU_INSERT_DEPR_LINES' EXPORTING i_rlambu = ls_rlambu i_acchd = ls_acchd IMPORTING e_lines = ld_accit_lines TABLES t_accit = lt_accit t_acccr = lt_acccr t_accda = lt_accda.

APER_CREATE_AA_DOCUMENT CALL FUNCTION 'APER_CREATE_AA_DOCUMENT' EXPORTING is_rlambu = ls_rlambu is_acchd = ls_acchd IMPORTING es_acchd = ls_acchd TABLES it_anepi = lt_anepi et_accit = lt_accit et_acccr = lt_acccr et_accda = lt_accda EXCEPTIONS OTHERS = 1.

AMBU_INSERT_DEPR_LINES CALL FUNCTION 'AMBU_INSERT_DEPR_LINES' EXPORTING i_rlambu = ls_rlambu i_acchd = ls_acchd TABLES t_accit = lt_accit t_acccr = lt_acccr t_accda = lt_accda.

AMBU_SORT_DEPR_LINES CALL FUNCTION 'AMBU_SORT_DEPR_LINES'.

AMBU_AC_TABLES_GET_FROM_BUFFER CALL FUNCTION 'AMBU_AC_TABLES_GET_FROM_BUFFER' TABLES t_rlambu = lt_rlambu t_accit = lt_accit t_acccr = lt_acccr t_acchd = lt_acchd.

AMBU_GLOBAL_TABLES_REFRESH CALL FUNCTION 'AMBU_GLOBAL_TABLES_REFRESH'.

AMSP_SET_LDGRP CALL FUNCTION 'AMSP_SET_LDGRP' "note 1806599 EXPORTING iv_bukrs = ls_rlambu-bukrs ib_newgl_active = gs_newgl_status-newgl_active ib_newgl_migration = gs_newgl_status-newgl_migration iv_ldgrp = -definition-ldgrp_gl iv_budat = lv_budat IMPORTING ev_ldgrp = ls_acchd-ldgrp.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING arbgb = 'APERB' msgty = 'S' msgv1 = ext_key-bukrs txtnr = '012' zeile = 'RWIN/00001'.

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' TABLES t_acchd = lt_acchd t_accit = lt_accit t_acccr = lt_acccr EXCEPTIONS error_message = 1.

MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' EXPORTING severity_from = 12 severity_to = 16 IMPORTING count = ld_count_after EXCEPTIONS OTHERS = 0.

DEQUEUE_EFBKPF CALL FUNCTION 'DEQUEUE_EFBKPF' EXPORTING mode_bkpf = 'E' mandt = sy-mandt bukrs = ls_aperb_prot-bukrs belnr = ls_aperb_prot-bel_ext gjahr = ls_aperb_prot-gjahr.

AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING i_awtyp = ls_acchd-awtyp i_awref = ls_acchd-awref i_aworg = ls_acchd-aworg i_awsys = ls_acchd-awsys EXCEPTIONS error_message = 1.

FI_DOCUMENT_NUMBER_INTERNAL CALL FUNCTION 'FI_DOCUMENT_NUMBER_INTERNAL' "#EC NO_INCOMP EXPORTING x_get = abap_true TABLES t_accdn = lt_accdn EXCEPTIONS OTHERS = 0.

AMUP_DOCNUMBER_DETERMINE CALL FUNCTION 'AMUP_DOCNUMBER_DETERMINE' EXPORTING i_bukrs = ld_bukrs i_gjahr = -gjahr i_aworg = ls_acchd-aworg i_awtyp = ls_acchd-awtyp i_awsys = ls_acchd-awsys IMPORTING e_belnr = ld_awref.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = ld_awref IMPORTING output = ld_awref.



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