SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Basic Functions(FI-SL-SL) SAP FI

RGUREC10 SAP ABAP Report - Transfer Documents from Financial Accounting







RGUREC10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can find information about this program in the SAP Library, FI-SL Special Purpose Ledger under Data Transfer Programs...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OCN1 - FI-LC: Repost FI data
GCU1N - Data Transfer from FI
CXNM - Follow-up pstng FI-Doc. (Tot. table)
GCU1 - Data Transfer from FI
CXNW - Subseq.Posting of FI Docs->ConsPrep.
OKBA - Transfer FI Documents to CO
1KE8 - Post FI data


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 RGUREC10. "Basic submit
SUBMIT RGUREC10 AND RETURN. "Return to original report after report execution complete
SUBMIT RGUREC10 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: ACTIVITY = Transaction
Selection Text: AWTYP = Document origin
Selection Text: BUKRS = Company code
Selection Text: BWA = Read transaction type
Selection Text: COMMIT_C = Commit Counter
Selection Text: GJAHR = Fiscal year
Selection Text: LIST = List posted documents
Selection Text: MM_SD = Transfer MM, SD, and HR docs
Selection Text: PERIOD = Period
Selection Text: PRUEFEN = Check for Existing Records
Selection Text: P_BELNR = Check with BELNR
Selection Text: RBELNR = Document number
Selection Text: RBLART = Document type
Selection Text: RBLDAT = Document date
Selection Text: RBUDAT = Posting date
Selection Text: RCPUDT = Created on
Selection Text: STORNO = Reversal
Selection Text: SYSLOG = Write Batch Job Log
Selection Text: TEST = Test run
Selection Text: T_LEDGER = Target ledger
Selection Text: VBUND = Read from master data
Selection Text: SO_CONTP = D .
Selection Text: SO_DIMEN = D .
Selection Text: SO_ITCLG = D .
Selection Text: SO_RVERS = D .
Title: Transfer Documents from Financial Accounting
Text Symbol: 230 = Document can only be reposted from SD due to transfer prices; origin/document
Text Symbol: 220 = Document can only be reposted from MM due to transfer prices; origin/document
Text Symbol: 210 = Document resulted from transfer of funds
Text Symbol: 200 = Document reassigned
Text Symbol: 190 = Lines read during test run
Text Symbol: 180 = Document is in fiscal year change
Text Symbol: 175 = Document does not have lines
Text Symbol: 001 = Transfer documents from Financial Acctng
Text Symbol: 004 = Read:
Text Symbol: 005 = Posted
Text Symbol: 006 = Activity not in RWIN:
Text Symbol: 007 = This document was not posted to any ledger because of Customizing settings





Text Symbol: 008 = This document was not posted to the target ledger because of Customizing settings
Text Symbol: 010 = No. of transferred docmnts:
Text Symbol: 020 = Document already posted in ledger
Text Symbol: 022 = BELNR check not possible; BELNR is initial
Text Symbol: 030 = Document origin
Text Symbol: 031 = Activity
Text Symbol: 032 = Type
Text Symbol: 033 = Text
Text Symbol: 034 = Tr.
Text Symbol: 035 = Company Code
Text Symbol: 036 = CCDE
Text Symbol: 037 = Name
Text Symbol: 038 = City
Text Symbol: 039 = Ctry
Text Symbol: 040 = Crcy
Text Symbol: 050 = Document already exists
Text Symbol: 100 = Business Transaction
Text Symbol: 101 = Selection
Text Symbol: 102 = Data Stream Restriction
Text Symbol: 110 = Document
Text Symbol: 120 = Processing options
Text Symbol: 130 = Document has been reversed
Text Symbol: 140 = Activity not for FI subsequent postings
Text Symbol: 150 = Document can be subsequently posted in MM. Source/Doc.:
Text Symbol: 160 = Document can be subsequently posted in SD. Source/Doc.:
Text Symbol: 165 = Document can be posted subsequently via HR, Origin/Document:
Text Symbol: 170 = Document cannot be transferred because doc. status:
001 Document Number Number of Line Remarks


INCLUDES used within this REPORT RGUREC10

INCLUDE IS01AD00.


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:

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING TABLE = gs_800a-ntable FIELDNAME = 'BELNR' EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DD_TABL_GET CALL FUNCTION 'DD_TABL_GET' EXPORTING TABL_NAME = gf_real_table TABLES DD17V_TAB_N = gt_DD17V.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' "note 102634 EXPORTING "note 102634 popup_title = ' ' "note 102634 text_object = 'EC_PCA_GI_RGUREC10_MM_SD'. "note 102634

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = ' ' text_object = 'FI_GLX_GI_RGUREC10_MM_SD'.






POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = ' ' text_object = 'FI_GLX_GI_RGUREC_T_LEDGER'.

G_DISPLAY_LEDGERS_FOR_TABLE CALL FUNCTION 'G_DISPLAY_LEDGERS_FOR_TABLE' EXPORTING gappl = 'FI' gsubappl = 'SL' only_free_ledgers = 'X' IMPORTING picked_ledger = t_ledger EXCEPTIONS no_ledger_found = 1.

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING called_for_tab = 'RKEC1' called_for_field = 'STORNO'.

G_TRACE_START CALL FUNCTION 'G_TRACE_START' EXCEPTIONS TRACE_ALREADY_ON = 1 OTHERS = 2.

G_BEB_SET_CROSSCOMPANY CALL FUNCTION 'G_BEB_SET_CROSSCOMPANY' EXPORTING id_cross = tab_bkpf-bvorg.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

G_MESS_PRINT_PROTOCOL CALL FUNCTION 'G_MESS_PRINT_PROTOCOL' EXPORTING i_post_ok_list = h_list i_batch_protocol = syslog i_test = h_test i_precheck = h_precheck i_mm_sd_hr = h_mm_sd i_protocol_text = text-001 i_ledger = t_ledger TABLES i_gledger = t_mess_gld.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

FUNC_AREA_CONVERSION_OUTBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_OUTBOUND' EXPORTING I_FUNC_AREA_LONG = -fkber IMPORTING E_FUNC_AREA = ls_bseg-fkber E_FUNC_AREA_LONG = ls_bseg-fkber_long.

ME_EKPO_SINGLE_READ CALL FUNCTION 'ME_EKPO_SINGLE_READ' EXPORTING pi_ebeln = bseg-ebeln pi_ebelp = bseg-ebelp IMPORTING po_ekpo = ekpo EXCEPTIONS error_message = 1 OTHERS = 2.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = ' ' i_bkpf = bkpf i_text_line = h_work.

FI_DOC_TO_ACC_TRANSFORM CALL FUNCTION 'FI_DOC_TO_ACC_TRANSFORM' TABLES t_bkpf = it_bkpf t_bseg = it_bseg t_bsegz = it_bsegz t_acchd = it_acchd t_accit = it_accit t_acccr = it_acccr.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'GI' i_txtnr = '180'.

G_NACHBUCHEN_START CALL FUNCTION 'G_NACHBUCHEN_START'.

G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' TABLES iledger = gld.

G_SET_TARGET_LEDGER CALL FUNCTION 'G_SET_TARGET_LEDGER' EXPORTING t_ledger = target_ledgers.

G_RWIN_HEADER CALL FUNCTION 'G_RWIN_HEADER' TABLES t_acchd = tab_acchd t_accit = tab_accit t_acccr = tab_acccr.

G_GIVE_GLEDGER



CALL FUNCTION 'G_GIVE_GLEDGER' TABLES iledger = gld.

G_NACHBUCHEN_ENDE CALL FUNCTION 'G_NACHBUCHEN_ENDE'.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_text_line = text-007.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'GI' i_txtnr = '732' i_msgv1 = t_ledger.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf TABLES t_mesg = t_h_mesg.

COPCA_DOCUMENT_RECORD CALL FUNCTION 'COPCA_DOCUMENT_RECORD' EXPORTING i_awtyp = acchd-awtyp i_awref = acchd-awref i_aworg = acchd-aworg i_awsys = s_bkpf-awsys "502251 i_bukrs = s_bkpf-bukrs i_poper = l_poper TABLES t_documents = t_documents.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_text_line = text-050.

KE_TRANSACTION_DATA_DELETE * CALL FUNCTION 'KE_TRANSACTION_DATA_DELETE' * EXPORTING * RYEAR = S_BKPF-GJAHR * RBUKRS = S_BKPF-BUKRS * docnr = s_bkpf-belnr "del Note 84845 * DOCNR = ACCHD-AWREF "ins Note 84845 * DOCCT = 'W' * AWTYP = ACCHD * ACTIV = S_BKPF-GLVOR "ins Note 100491 * TEST_INDICATOR = TEST * LOG = SPACE * IMPORTING * DUPREC = DUPREC_STO.

KE_TRANSACTION_DATA_DELETE CALL FUNCTION 'KE_TRANSACTION_DATA_DELETE' EXPORTING poper = l_poper "

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = ' ' i_bkpf = it_bkpf i_text_line = text-130.

LC_DOCUMENT_RECORD * CALL FUNCTION 'LC_DOCUMENT_RECORD' "wms053295 * EXPORTING "wms053295 * i_awtyp = s_bkpf-awtyp "wms053295 * i_awref = acchd-awref "wms053295 * i_aworg = acchd-aworg "wms053295 * i_bukrs = s_bkpf-bukrs "wms053295 * i_budat = s_bkpf-budat "xrp110900 "wms053295 * TABLES "wms053295 * t_documents = t_documents. "wms053295

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'E' i_bkpf = it_bkpf i_text_line = text-050.

FC_DOCUMENT_EXISTENCE_CHECK CALL FUNCTION 'FC_DOCUMENT_EXISTENCE_CHECK' EXPORTING i_awtyp = s_bkpf-awtyp i_awref = acchd-awref i_aworg = acchd-aworg i_bukrs = s_bkpf-bukrs i_budat = s_bkpf-budat "wms078533 i_awsys = s_bkpf-awsys "xrp160103 IMPORTING e_flg_exist = ld_flg_exist TABLES "wms018697 i_t_ra_contp = so_contp[] "wms018697 i_t_ra_dimen = so_dimen[] "wms018697 i_t_ra_itclg = so_itclg[] "wms018697 i_t_ra_rvers = so_rvers[]. "wms018697

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'E' i_bkpf = it_bkpf i_text_line = text-050.

CO_DOCUMENT_RECORD CALL FUNCTION 'CO_DOCUMENT_RECORD' EXPORTING i_awtyp = s_bkpf-awtyp i_awref = acchd-awref i_aworg = acchd-aworg i_awsys = s_bkpf-awsys i_bukrs = s_bkpf-bukrs TABLES t_documents = t_documents.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'E' i_bkpf = it_bkpf i_text_line = text-050.

RK_KOKRS_FIND CALL FUNCTION 'RK_KOKRS_FIND' EXPORTING bukrs = i_bukrs IMPORTING kokrs = ld_kokrs EXCEPTIONS OTHERS = 8.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = msg_identification IMPORTING e_identification = msg_identification.

FI_SL_FLAG_SET CALL FUNCTION 'FI_SL_FLAG_SET' "Keine Verprobung externe Belegnummer EXPORTING i_nochk = 'X'.

K_COIN_SUBSEQUENT_POSTING_SET CALL FUNCTION 'K_COIN_SUBSEQUENT_POSTING_SET' EXCEPTIONS OTHERS = 1.

CO_DOCUMENT_CHECK CALL FUNCTION 'CO_DOCUMENT_CHECK' TABLES t_acccr = it_acccr t_acchd = it_acchd t_accit = it_accit * Alle Fehler ignorieren!! EXCEPTIONS error_message = 2 OTHERS = 1.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = msg_identification IMPORTING e_identification = msg_identification.

COPCA_ACCIT_HOART_SET CALL FUNCTION 'COPCA_ACCIT_HOART_SET' EXPORTING i_acchd = it_acchd i_accit = * I_NACHB = ' ' IMPORTING e_accit_hoart = -hoart.

FI_OFFSET_ACCOUNT_DETERMINE CALL FUNCTION 'FI_OFFSET_ACCOUNT_DETERMINE' TABLES t_accit = it_accit t_acccr = it_acccr.

FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' IMPORTING e_glflex_active = lb_active EXCEPTIONS OTHERS = 1.

FAGL_SPL_ACCIT_GET CALL FUNCTION 'FAGL_SPL_ACCIT_GET' EXPORTING * ID_POSNR_MAX = IB_BAL_ITEMS = ABAP_TRUE CHANGING CT_ACCHD = it_acchd[] CT_ACCIT = lt_accit_spl[] CT_ACCCR = lt_acccr_spl[].

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' "GM EXPORTING "GM i_comp = space "GM i_comp_check = space "GM TABLES "GM t_acchd = it_acchd "GM t_accit = it_accit "GM t_acccr = it_acccr "GM t_ausz3 = gt_ausz_clr "GM t_ausz4 = gt_ausz_clr_asgmt "GM t_accit_spl = lt_accit_spl "GM t_acccr_spl = lt_acccr_spl "GM EXCEPTIONS "GM error_message = 8. "GM

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' EXPORTING i_comp = application i_comp_check = application TABLES t_acchd = it_acchd t_accit = it_accit t_acccr = it_acccr t_ausz3 = gt_ausz_clr t_ausz4 = gt_ausz_clr_asgmt t_accit_spl = lt_accit_spl t_acccr_spl = lt_acccr_spl EXCEPTIONS error_message = 8.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = sy-msgty i_arbgb = sy-msgid i_txtnr = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.

FI_SL_FLAG_SET CALL FUNCTION 'FI_SL_FLAG_SET' "Keine Verprobung externe Belegnummer EXPORTING i_nochk = ' '.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS s_message = 1 "Note 682746 i_message = 1 w_message = 2 e_message = 3 a_message = 4 OTHERS = 8.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = it_mesg.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf TABLES t_mesg = it_mesg.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = msg_identification IMPORTING e_identification = msg_identification.

G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' EXPORTING no_refresh = 'X' TABLES iledger = lt_ledger.

AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING * P30K086284 : statt s_bkpf-awtyp it_accit-awtyp i_awtyp = it_acchd-awtyp i_awref = it_acchd-awref i_aworg = it_acchd-aworg i_awsys = it_acchd-awsys i_comp = application.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = ' ' i_bkpf = it_bkpf.

G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' EXPORTING activity = '13' "Daten├╝bernahme EXCEPTIONS not_authorized = 04.

G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' "Grants Management EXPORTING "Grants Management activity = '13' "Daten├╝bernahme "Grants Management EXCEPTIONS "Grants Management not_authorized = 04. "Grants Management

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = bkpf i_text_line = h_work.

COPCA_RW_REPOSTING_START CALL FUNCTION 'COPCA_RW_REPOSTING_START'.

FC_SUBSEQUENT_POSTING_INIT CALL FUNCTION 'FC_SUBSEQUENT_POSTING_INIT' "wms172409 TABLES "wms018697 i_t_ra_contp = so_contp[] "wms018697 i_t_ra_dimen = so_dimen[] "wms018697 i_t_ra_itclg = so_itclg[] "wms018697 i_t_ra_rvers = so_rvers[]. "wms018697

G_NACHBUCHEN_START CALL FUNCTION 'G_NACHBUCHEN_START'.

G_SET_TARGET_LEDGER CALL FUNCTION 'G_SET_TARGET_LEDGER' EXPORTING t_ledger = target_ledgers.

COPCA_RW_REPOSTING_END CALL FUNCTION 'COPCA_RW_REPOSTING_END'.

G_NACHBUCHEN_ENDE CALL FUNCTION 'G_NACHBUCHEN_ENDE'.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '165' i_msgv1 = it_accit-bukrs.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '507' i_msgv1 = it_accit-hkont i_msgv2 = save_ktopl.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '814' i_msgv1 = it_accit-blart.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '165' i_msgv1 = it_accit-bukrs.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '507' i_msgv1 = it_accit-hkont i_msgv2 = save_ktopl.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '507' i_msgv1 = it_accit-hkont i_msgv2 = save_ktopl.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '814' i_msgv1 = it_accit-blart.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' "wms116630 EXPORTING "wms116630 i_error = 'X' "wms116630 i_bkpf = it_bkpf "wms116630 i_msgty = 'E' "wms116630 i_arbgb = 'F5' "wms116630 i_txtnr = '583'. "wms116630

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '583'.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = i_bukrs IMPORTING e_t001 = e_t001.

G_MESS_APPEND_OBJECT CALL FUNCTION 'G_MESS_APPEND_OBJECT' EXPORTING i_error = 'X' i_bkpf = it_bkpf i_msgty = 'E' i_arbgb = 'F5' i_txtnr = '080' i_msgv1 = it_accit-vbund i_msgv2 = x_vbund.

RK_KOKRS_FIND CALL FUNCTION 'RK_KOKRS_FIND' EXPORTING bukrs = p_bkpf_bukrs IMPORTING kokrs = kokrs.

COPCA_ACTIVE_ACT CALL FUNCTION 'COPCA_ACTIVE_ACT' EXPORTING gjahr = p_bkpf_gjahr kokrs = kokrs pcrch = '2' IMPORTING pca_valu = pca_valu.

FC_T000K_READ * CALL FUNCTION 'FC_T000K_READ' "xrp130803 * IMPORTING * E_INDMC = L_INDMC ** E_PERIV = ** E_GSNK = L_GSNK "wes078211 ** E_INDDP_1 = * E_INDRU_1 = L_INDRU_1 * E_INDPE_1 = L_INDPE_1 ** E_GSBK = L_GSBK "wes078211 ** E_GSB_COBLCK = ** E_INDDP_2 = * E_INDRU_2 = L_INDRU_2 * E_INDPE_2 = L_INDPE_2 * E_INDCO_CS = L_INDCO_CS "wes078211 * E_INDBA_CS = L_INDBA_CS "wes078211 ** E_PCK = * EXCEPTIONS * OTHERS = 1.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING CURR_REPORT = sy-repid TABLES SELECTION_TABLE = lt_rsparams.

G_UPDATE_T800HIST CALL FUNCTION 'G_UPDATE_T800HIST' EXPORTING I_OBJNAME = sy-repid TABLES T_RSPARAMS = lt_rsparams.



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