SAP Reports / Programs | Financial Services | Loans Management(FS-CML) SAP FS

/FSIH/R_AUTO_CANCELLATION SAP ABAP Report - Give Notice on Expired Insurance Policies







/FSIH/R_AUTO_CANCELLATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report during end-of-day processing to cancel insurance policies for which the contract end has been reached...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 /FSIH/R_AUTO_CANCELLATION 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 /FSIH/R_AUTO_CANCELLATION. "Basic submit
SUBMIT /FSIH/R_AUTO_CANCELLATION AND RETURN. "Return to original report after report execution complete
SUBMIT /FSIH/R_AUTO_CANCELLATION 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_FORCE = Give Notice on Inactive Policy
Selection Text: P_SIMUL = Simulation
Selection Text: P_STIDA = Notice on
Selection Text: S_CDATE = D .
Selection Text: S_POLNO = D .
Title: Give Notice on Expired Insurance Policies
Text Symbol: 001 = Error Reading Insurance Data
Text Symbol: 002 = Error Giving Notice
Text Symbol: 003 = OK


INCLUDES used within this REPORT /FSIH/R_AUTO_CANCELLATION

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:

CMS_MAP_INS_SRV_SEARCH CALL FUNCTION 'CMS_MAP_INS_SRV_SEARCH' DESTINATION l_rfc_dest EXPORTING i_max_rows = 999999999 i_obj_ref_sysid = l_account_system * I_TAB_POLICY_NUMBER_RNG = * I_TAB_BPID_RNG = * I_BPF = * I_TAB_POL_STATUS_RNG = i_tab_auto_cancel_date_rng = l_tab_date_rng * I_TAB_PORTFOLIO_RNG = IMPORTING e_tab_ins_guid = l_pol_guid_table EXCEPTIONS communication_failure = 1 system_failure = 2.

/FSIH/API_RETRIEVE_POL_DETAILS CALL FUNCTION '/FSIH/API_RETRIEVE_POL_DETAILS' EXPORTING i_ins_pol_key = l_pol_guid-ins_guid i_language = sy-langu IMPORTING e_pol_details = l_policy EXCEPTIONS ambiguous_key = 1 unspecified_key = 2 not_found = 3 failed = 4 OTHERS = 5.

/FSIH/OUT_CMS_GIVE_NOTICE_POL CALL FUNCTION '/FSIH/OUT_CMS_GIVE_NOTICE_POL' EXPORTING i_ins_pol_guid = l_pol_guid-ins_guid i_notice_date = p_stida i_inactivation_reason = 'NA' "Notive given (automatic) EXCEPTIONS policy_key_invalid = 1 operation_failed = 2 OTHERS = 3.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.



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 /FSIH/R_AUTO_CANCELLATION or its description.