SAP Reports / Programs

CACS_MIGRATION_SUBCONTRACT04 SAP ABAP Report - Migration of settlement agreements







CACS_MIGRATION_SUBCONTRACT04 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 CACS_MIGRATION_SUBCONTRACT04 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 CACS_MIGRATION_SUBCONTRACT04. "Basic submit
SUBMIT CACS_MIGRATION_SUBCONTRACT04 AND RETURN. "Return to original report after report execution complete
SUBMIT CACS_MIGRATION_SUBCONTRACT04 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: SO_VERT = Contract
Selection Text: SO_STMTY = Settlement Type
Selection Text: PA_TEST = Simulation
Selection Text: PA_DATE = Key date
Selection Text: PA_APPL = Commission Application
Title: Migration of settlement agreements
Text Symbol: 014 = Contract/agreement could NOT be transferred:
Text Symbol: 013 = -- Unknown error
Text Symbol: 012 = -- No currency found
Text Symbol: 011 = -- No standard agreement found
Text Symbol: 010 = -- No authorization for mass processing
Text Symbol: 009 = -- Incorrect period rule entered
Text Symbol: 008 = --Incorrect currency entered (not contract currency)
Text Symbol: 007 = -- Period cannot be inserted in the journal table
Text Symbol: 006 = -- No settlement agreement found
Text Symbol: 005 = -- An entry already exists in the CACS_STMTJO journal table
Text Symbol: 004 = -- No period found for key date
Text Symbol: 003 = Upd. Run
Text Symbol: 002 = Test Run
Text Symbol: 001 = Contract/agreement was transferred:


INCLUDES used within this REPORT CACS_MIGRATION_SUBCONTRACT04

INCLUDE CACS_FISELPRT.


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:

CACS_GET_CONTRACT_MIGRATION CALL FUNCTION 'CACS_GET_CONTRACT_MIGRATION' EXPORTING i_appl = pa_appl i_ctrtbu_id = cacs_stmru-ctrtbu_id i_agr_typ = '09' i_date = lv_pa_date i_rule_id = cacs_stmru-stmru_id * I_PERIODRULE = i_check = pa_test * I_AMOUNT = * I_CURR = EXCEPTIONS select_error = 1 period_error = 2 period_exist_in_journal = 3 no_valid_rule = 4 insert_error = 5 wrong_currency = 6 warrenty_doc_exist = 7 unknown = 8 period_not_found = 9 no_authority = 10 no_std_agrement = 11 convert_currency_error = 12 OTHERS = 13 .



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