SAP Reports / Programs

GM_RECONCILIATION_CO SAP ABAP Report - Reconciliation of Controlling Documents in GM







GM_RECONCILIATION_CO 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 GM_RECONCILIATION_CO 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

GM_RECON_CO - GM:Reconciliation of CO Documents


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 GM_RECONCILIATION_CO. "Basic submit
SUBMIT GM_RECONCILIATION_CO AND RETURN. "Return to original report after report execution complete
SUBMIT GM_RECONCILIATION_CO 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: S_GJAHR = D Fiscal Year
Selection Text: S_BUDAT = D Posting Date
Selection Text: S_BELNR = D Document Number
Selection Text: P_TEST = D Test Run
Selection Text: P_KOKRS = D Controlling Area
Selection Text: P_AVC = Check/Update assigned budget
Title: Reconciliation of Controlling Documents in GM
Text Symbol: 502 = Processing is successful
Text Symbol: 501 = No new documents will be created
Text Symbol: 500 = Error occurred during processing
Text Symbol: 240 = No documents exist
Text Symbol: 200 = Doc. does not exist in compnt to be subsquently pstd to
Text Symbol: 190 = Document exists in the component to be posted to
Text Symbol: 180 = Upd. Run
Text Symbol: 170 = Doc. not reversed
Text Symbol: 160 = Test run
Text Symbol: 150 = Remark
Text Symbol: 140 = Lines
Text Symbol: 130 = AcAsg
Text Symbol: 120 = Doc. no.
Text Symbol: 110 = CO area
Text Symbol: 100 = Document blocked by user:
Text Symbol: 090 = Doc. not subseq. postd
Text Symbol: 080 = Doc. Reconstructd
Text Symbol: 050 = Doc. Reversed
Text Symbol: 045 = Mode
Text Symbol: 040 = Processing Control
Text Symbol: 010 = Document selection
Text Symbol: 001 = Reconciliation of Controlling Documents in GM
001 CoCd Doc.no. AA No.lines Remarks


INCLUDES used within this REPORT GM_RECONCILIATION_CO

FMREQUAT,


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:

GM_GET_GRANT_NOT_RELEVANT CALL FUNCTION 'GM_GET_GRANT_NOT_RELEVANT' IMPORTING e_grant_not_relevant = g_grant_not_relevant.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = p_kokrs IMPORTING e_tka01 = l_f_tka01.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

GM_CONTROLLING_DOC_CHECK CALL FUNCTION 'GM_CONTROLLING_DOC_CHECK' TABLES i_cobk = g_t_cobk i_coep = g_t_coep.

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

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = l_t_mesg.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

GM_CONTROLLING_DOC_POST CALL FUNCTION 'GM_CONTROLLING_DOC_POST' TABLES i_cobk = g_t_cobk i_coep = g_t_coep.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = g_t_listheader.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = u_selfield-value IMPORTING output = l_f_gmia-refdocnr.

GM_DOCUMENT_DISPLAY CALL FUNCTION 'GM_DOCUMENT_DISPLAY' EXPORTING i_gmia = l_f_gmia EXCEPTIONS document_not_found = 1 OTHERS = 2.

G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' EXPORTING activity = gmrec_c_activity_rep EXCEPTIONS not_authorized = 04.



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