SAP Reports / Programs | Financial Accounting | Accounts Payable | Payment Transactions(FI-AP-AP-PT) SAP FI

RFFORIC5 SAP ABAP INCLUDE - Swiss Payment Medium Include: SADBAD (PTT) Domestic







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


Text pool values


Title: Swiss Payment Medium Include: SADBAD (PTT) Domestic


INCLUDES used within this REPORT RFFORIC5

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:

OPEN_FORM * CALL FUNCTION 'OPEN_FORM' * EXPORTING * form = t042e-wforn * device = 'PRINTER' * language = _spras * options = itcpo * dialog = flg_dialog * EXCEPTIONS * form = 1.

SPELL_AMOUNT * CALL FUNCTION 'SPELL_AMOUNT' * EXPORTING * language = space * currency = reguh-waers * amount = sad_tab_posten-total * filler = space * IMPORTING * in_words = spell.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * element = '575' * function = 'APPEND' * EXCEPTIONS * window = 1 * element = 2.

CLOSE_FORM * CALL FUNCTION 'CLOSE_FORM' * IMPORTING * RESULT = itcpp.

CONVERT_BANK_ACCOUNT_NUMBER CALL FUNCTION 'CONVERT_BANK_ACCOUNT_NUMBER' EXPORTING i_banks = reguh-zbnks i_bankk = reguh-zbnky i_bankn = reguh-zbnkn i_bkont = reguh-zbkon i_bkref = reguh-bkref i_bankl = reguh-zbnkl IMPORTING e_bankn_long = dtatchp-p710.

START_FORM CALL FUNCTION 'START_FORM' EXPORTING startpage = 'DTA'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'HEADER' element = hlp_element function = 'APPEND' EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'ADDRESS' element = '537' EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' element = hlp_element EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' element = '570' function = 'APPEND' EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'FOOTER' element = '580' function = 'APPEND' EXCEPTIONS window = 1 element = 2.

END_FORM CALL FUNCTION 'END_FORM'.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING language = space currency = reguh-waers amount = reguh-rwbtr filler = space IMPORTING in_words = spell.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING language = space currency = p_waers amount = p_betrag filler = space IMPORTING in_words = spell.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING form = t042e-wforn device = 'PRINTER' language = _spras options = itcpo dialog = flg_dialog EXCEPTIONS form = 1.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING language = space currency = reguh-waers amount = sad_tab_posten-total filler = space IMPORTING in_words = spell.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = '575' function = 'APPEND' EXCEPTIONS window = 1 element = 2.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = itcpp.

START_FORM





CALL FUNCTION 'START_FORM' EXPORTING startpage = 'DTA'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'HEADER' element = hlp_element function = 'APPEND' EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'ADDRESS' element = '537' EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' element = hlp_element EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' element = '570' function = 'APPEND' EXCEPTIONS window = 1 element = 2.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING ADDRESS_1 = gs_address ADDRESS_TYPE = '1' SENDER_COUNTRY = T001-LAND1 NUMBER_OF_LINES = 10 IMPORTING ADDRESS_PRINTFORM_TABLE = gt_address_lines.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING ADDRESS_1 = gs_address ADDRESS_TYPE = '1' SENDER_COUNTRY = T001-LAND1 NUMBER_OF_LINES = 10 IMPORTING ADDRESS_PRINTFORM_TABLE = gt_address_lines.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING IE_OUTPUTPARAMS = xs_outputparams EXCEPTIONS CANCEL = 1 USAGE_ERROR = 2 SYSTEM_ERROR = 3 INTERNAL_ERROR = 4 OTHERS = 5.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'FOOTER' element = '580' function = 'APPEND' EXCEPTIONS window = 1 element = 2.

END_FORM CALL FUNCTION 'END_FORM'.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' IMPORTING E_RESULT = ls_SFPJOBOUTPUT EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = iv_formname IMPORTING e_funcname = lv_fm_name.



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