SAP Reports / Programs | Public Sector Management | Grants Management | Grants Management - Specific Postings(PSM-GM-GTE-GM) SAP PSM

GM_BILLING_IND SAP ABAP Report - Grants Management: Resource-Related Billing - Individual Processing







GM_BILLING_IND is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use this program to bill an individual grant...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 GM_BILLING_IND 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_RRB_IND - GM Billing (Single Processing)


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_BILLING_IND. "Basic submit
SUBMIT GM_BILLING_IND AND RETURN. "Return to original report after report execution complete
SUBMIT GM_BILLING_IND 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: P_BDOC = Create Bills Automatically
Selection Text: P_DATE = Posting Date To
Selection Text: P_DTFM = Posting Date From
Selection Text: P_GRANT = Grant
Selection Text: P_IDC = Include Indirect Costs
Selection Text: P_PI = Offset Program Income
Selection Text: P_PT = Include Passthrough Costs
Selection Text: SO_OGR = Outgoing Grants
Title: Grants Management: Resource-Related Billing - Individual Processing
Text Symbol: 010 = Select Grant
Text Symbol: 015 = Source Data
Text Symbol: 020 = Billing Process
Text Symbol: 060 = Passthrough Billing
Text Symbol: 070 = Exclude some Outgoing Grants
Text Symbol: 100 = Success
Text Symbol: 110 = Warning
Text Symbol: 120 = Error
Text Symbol: 130 = Fiscal year / Period from
Text Symbol: TIT = Grants Mgmt: Resource-Related Billing - Individual Processing


INCLUDES used within this REPORT GM_BILLING_IND

INCLUDE GMAUTHCONSTANTS.
INCLUDE IGMSTATUSCON.


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_GRANT_CHECK CALL FUNCTION 'GM_GRANT_CHECK' EXPORTING im_grant_nbr = p_grant.

GM_AUTH_CHECK_GRANT CALL FUNCTION 'GM_AUTH_CHECK_GRANT' EXPORTING grant_number = p_grant activity = c_gm_activity_billing EXCEPTIONS not_authorized = 1 wrong_activity = 2 grant_not_exist = 3 wrong_auth_group = 4 wrong_life_status = 5.

GM_GET_GRANT_SINGLE CALL FUNCTION 'GM_GET_GRANT_SINGLE' EXPORTING I_GRANT_NBR = p_grant IMPORTING E_GMGR = l_f_gmgr.

GM_GRANT_BILLINGRULE_GET CALL FUNCTION 'GM_GRANT_BILLINGRULE_GET' EXPORTING i_grant_nbr = p_grant IMPORTING o_f_gmbr = l_f_gmbr.

GM_GRANT_GET_FY_VARIANT CALL FUNCTION 'GM_GRANT_GET_FY_VARIANT' "#EC EXISTS EXPORTING i_grant_nbr = p_grant IMPORTING e_grant_company_code = l_ccode.

CCODE_GET_FISCAL_YEAR_VARIANT CALL FUNCTION 'CCODE_GET_FISCAL_YEAR_VARIANT' EXPORTING company_code = l_ccode IMPORTING fiscal_year_variant = l_fy_variant.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = p_dtfm i_periv = l_fy_variant IMPORTING e_buper = l_pdfm e_gjahr = l_yrfm.

ENQUEUE_EGRANT CALL FUNCTION 'ENQUEUE_EGRANT' EXPORTING grant_nbr = p_grant.

GM_RRB_PASSTHR_SET CALL FUNCTION 'GM_RRB_PASSTHR_SET' TABLES TR_GRANT_NBR = so_ogr.

GM_RRB_RUN CALL FUNCTION 'GM_RRB_RUN' EXPORTING i_grant_nbr = p_grant i_period_from = p_pdfm i_year_from = l_yrfm i_date_to = p_date i_flg_billingdoc = p_bdoc i_dialog = 'X' i_flg_idc = p_idc i_flg_pt = p_pt i_flg_pi = p_pi IMPORTING o_f_protocol = g_f_protocol TABLES o_t_messages = g_t_messages.

GM_APPLICATION_LOG_SPLIT CALL FUNCTION 'GM_APPLICATION_LOG_SPLIT' EXPORTING i_subobject = 'BILLING' TABLES t_message_list = lt_message_list.



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