SAP Reports / Programs | Public Sector Management | Grants Management | Actual Update and Commitment Update(PSM-GM-GTE-UP) SAP PSM

RGMIDCPOST004 SAP ABAP INCLUDE - Include RGMIDCPOST004







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


Text pool values


Title: Include RGMIDCPOST004


INCLUDES used within this REPORT RGMIDCPOST004

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 25 text = 'Reading Related Grant information'(051) EXCEPTIONS OTHERS = 0.

GM_GET_FUNDS_USED_BY_GRANT CALL FUNCTION 'GM_GET_FUNDS_USED_BY_GRANT' EXPORTING i_grant_nbr = t_grant_info-grant_nbr i_language = sy-langu TABLES t_gmfundattributes = l_t_funds.

FI_CHART_OF_ACCOUNT_DETERMINE CALL FUNCTION 'FI_CHART_OF_ACCOUNT_DETERMINE' EXPORTING i_bukrs = t_grant_info-company_code IMPORTING e_ktopl = t_grant_info-chrt_accts EXCEPTIONS error_message = 1 OTHERS = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = space msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 855 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = t_grant_info-grant_type msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 856 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = space msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 857 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = t_grant_info-idc_rule msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 858 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = space msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 859 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = t_idcrules-idc_rule msgv3 = t_gmindirectcost-percentage msgv4 = space arbgb = 'GRANTMGMT' txtnr = 878 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'W' msgv1 = t_grant_info-grant_nbr msgv2 = space msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 859 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = t_idcrules-idc_rule msgv3 = t_gmindirectcost_o-percentage msgv4 = space arbgb = 'GRANTMGMT' txtnr = 878 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = space msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 860 zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = space msgv3 = space msgv4 = space arbgb = 'GMMASTERDATA' txtnr = 162 zeile = space exception_if_not_active = space.

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

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = t_grant_info-grant_nbr msgv2 = space msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 861 zeile = space exception_if_not_active = space.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 50 text = 'Reading previously posted IDC document'(052) EXCEPTIONS OTHERS = 0.

G_BEB_ACCOUNT_DETERMINATION CALL FUNCTION 'G_BEB_ACCOUNT_DETERMINATION' EXPORTING i_linetype = cd_linetype i_acc_det_key = l_t8g30a-accdetkey i_company_code = i_bukrs IMPORTING e_account = gs_zero_bal-hkont EXCEPTIONS OTHERS = 1.

GM_CONVERT_FROM_GRANT_CURRENCY CALL FUNCTION 'GM_CONVERT_FROM_GRANT_CURRENCY' EXPORTING i_grant_nbr = u_t_grant_info-grant_nbr i_from_amount = u_t_delta_idc-tsl i_flg_use_local_currency = 'X' IMPORTING e_to_amount = t_delta_idc-hsl EXCEPTIONS no_grant_found = 1 invalid_currency = 2 no_rate_found = 3 OTHERS = 4.

GM_CONVERT_FROM_GRANT_CURRENCY





CALL FUNCTION 'GM_CONVERT_FROM_GRANT_CURRENCY' EXPORTING i_grant_nbr = t_calculated_idc-rgrant_nbr i_from_amount = t_calculated_idc-tsl i_flg_use_local_currency = 'X' IMPORTING e_to_amount = t_calculated_idc-hsl EXCEPTIONS no_grant_found = 1 invalid_currency = 2 no_rate_found = 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 RGMIDCPOST004 or its description.