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

RGMIDCPOST006 SAP ABAP INCLUDE - Include RGMIDCPOST006







RGMIDCPOST006 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 RGMIDCPOST006 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 RGMIDCPOST006. "Basic submit
SUBMIT RGMIDCPOST006 AND RETURN. "Return to original report after report execution complete
SUBMIT RGMIDCPOST006 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 RGMIDCPOST006


INCLUDES used within this REPORT RGMIDCPOST006

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 text = 'Posting IDC Document'(055) EXCEPTIONS OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Posting IDC Document - Test Mode'(056) EXCEPTIONS OTHERS = 0.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'I' msgv1 = lt_documents-belnr msgv2 = t_grant_info-grant_nbr msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = 862 zeile = space exception_if_not_active = space.

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

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' TABLES t_acchd = l_t_acchd t_accit = l_t_accit t_acccr = l_t_acccr EXCEPTIONS error_message = 1 OTHERS = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 arbgb = sy-msgid txtnr = sy-msgno zeile = space exception_if_not_active = space.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

AC_DOCUMENT_GENERATE CALL FUNCTION 'AC_DOCUMENT_GENERATE' IMPORTING e_awref = l_awref e_awtyp = l_awtyp e_aworg = l_aworg e_awsys = l_awsys TABLES t_acchd = l_t_acchd t_accit = l_t_accit t_acccr = l_t_acccr EXCEPTIONS error_message = 1 OTHERS = 2.

FI_DOCUMENT_NUMBER_INTERNAL CALL FUNCTION 'FI_DOCUMENT_NUMBER_INTERNAL' EXPORTING x_get_all = ls_boole TABLES t_accdn = ct_documents EXCEPTIONS local_document_not_put = 1 OTHERS = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = 'RGMIDCPOST/GMGRFUNDRECOVER' msgv2 = u_grant_nbr msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = '210' zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = 'RGMIDCPOST/GMGRIDCCAP' msgv2 = u_grant_nbr msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = '210' zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = 'RGMIDCPOST/GMGRIDCCAP2' msgv2 = u_grant_nbr msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = '210' zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = 'RGMIDCPOST/GMGRIDCCAP_O' msgv2 = u_grant_nbr msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = '210' zeile = space exception_if_not_active = space.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = 'E' msgv1 = 'RGMIDCPOST/GMGRIDCCAP2_O' msgv2 = u_grant_nbr msgv3 = space msgv4 = space arbgb = 'GRANTMGMT' txtnr = '210' zeile = space exception_if_not_active = space.

CJPN_EXTERN_TO_INTERN_CONV CALL FUNCTION 'CJPN_EXTERN_TO_INTERN_CONV' EXPORTING ext_num = t_idc_entries-wbs_element IMPORTING int_num = c_t_accit-ps_psp_pnr EXCEPTIONS not_found = 0 OTHERS = 0.

FM_FIPOS_GET_FROM_FIPEX CALL FUNCTION 'FM_FIPOS_GET_FROM_FIPEX' EXPORTING i_fipex = t_idc_entries-cmmt_item IMPORTING e_fipos = c_t_accit-fipos.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS a_message = 0 e_message = 0 i_message = 0 w_message = 0.

MESSAGES_GIVE





CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = l_t_smesg.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

FM_ACCOUNT_DERIVE CALL FUNCTION 'FM_ACCOUNT_DERIVE' EXPORTING i_check_date = c_accit-budat CHANGING c_cobl = l_cobl EXCEPTIONS derivation_failed = 1 OTHERS = 2.



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