SAP Reports / Programs | Financials | Financial Supply Chain Management | Transaction Manager(FIN-FSCM-TRM-TM) SAP FIN

RFTBJL02 SAP ABAP Report - OTC Options: Collective Processing







RFTBJL02 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 RFTBJL02 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

TI91 - Collective Processing OTC Options
TJ02 - Collective editing of options


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 RFTBJL02. "Basic submit
SUBMIT RFTBJL02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBJL02 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: S_AKTIV = D .
Selection Text: S_BUKRS = Company Code
Selection Text: S_CRUSES = User
Selection Text: S_DBLFZ = Start of Term
Selection Text: S_DCRDAT = Date
Selection Text: S_DEALER = Trader
Selection Text: S_DELFZ = Due Date
Selection Text: S_EXTREF = D .
Selection Text: S_KONTRH = Business Partner
Selection Text: P_VARI = Layout
Selection Text: S_MERKM = Characteristics
Selection Text: S_OPTTYP = Option Category
Selection Text: S_REFER = Internal Reference
Selection Text: S_RFHA = Transaction
Selection Text: S_RPORTB = Portfolio
Selection Text: S_SFHAAT = Transaction Type
Selection Text: S_SGSART = Product Type
Selection Text: S_VRFHA = D .
Selection Text: S_WGSCHF = D .
Selection Text: S_ZUOND = Assignment
Selection Text: S_ZUONR = Finance Project
Selection Text: XVERTR = Contract
Selection Text: XVERFALL = Expiration
Selection Text: XVERFABR = Expiration Settlement
Selection Text: XVERABR = Contract Settlement
Selection Text: XORDVER = Order Expiration
Selection Text: XORDER = Order
Selection Text: XKUEND = Termination
Selection Text: XKUEABR = Termination Settlement
Selection Text: XKNOOABR = Knock-Out Settlement
Selection Text: XKNOIABR = Knock-In Settlement
Selection Text: XKNOCKOU = Knock-Out
Selection Text: XKNOCKIN = Knock-In
Selection Text: XEUROP = European Option
Selection Text: XAUSUEB = Exercise
Selection Text: XAUSABR = Exercise Settlement
Selection Text: XAMERIK = American Option
Title: OTC Options: Collective Processing





Text Symbol: T07 = Barrier
Text Symbol: T06 = Name
Text Symbol: T05 = Option Cat
Text Symbol: T04 = Settlement
Text Symbol: T01 = Exercise Type
Text Symbol: T02 = Exerc. Type
Text Symbol: T03 = Exercise
Text Symbol: S23 = Text Ref.
Text Symbol: S22 = Exercise American
Text Symbol: S21 = Exercise European
Text Symbol: S14 = Knock-Out Settlement
Text Symbol: H04 = User:
Text Symbol: H03 = Time:
Text Symbol: H02 = Date:
Text Symbol: H01 = OTC Options: Collective Processing
Text Symbol: FLG = Processing Indicator
Text Symbol: 108 = Entered On / Last Changed
Text Symbol: 107 = Additional Fields
Text Symbol: 104 = General Selections
Text Symbol: 103 = Current Activity Cat.
Text Symbol: 102 = Exercise
Text Symbol: 101 = Position Assignment
Text Symbol: 100 = No Settlement Planned for Transaction
Text Symbol: 099 = Expiration of Option Not Possible
Text Symbol: 010 = Put
Text Symbol: 009 = Call
Text Symbol: 008 = Open
Text Symbol: 007 = Cash
Text Symbol: 006 = Phys.
Text Symbol: 005 = Americ.
Text Symbol: 004 = Europ.
Text Symbol: 003 = Trans. Type
Text Symbol: 002 = Prod. Type
Text Symbol: 001 = Company Code
Text Symbol: H05 = Layout:
Text Symbol: S13 = Knock-In Settlement
Text Symbol: S12 = Termination Settlem.
Text Symbol: S11 = Terminatn
Text Symbol: S10 = Expir. Settlement





Text Symbol: S09 = Expir.
Text Symbol: S08 = Exercise Settlement
Text Symbol: S07 = Exercise
Text Symbol: S06 = Knock-Out
Text Symbol: S05 = Knock-In
Text Symbol: S04 = Contract Settlem.
Text Symbol: S03 = Contrct
Text Symbol: S02 = Expired Order
Text Symbol: S01 = Order
Text Symbol: P03 = Premium in Paymt Crcy
Text Symbol: P02 = Premium in PaymtCrcy
Text Symbol: P01 = Premium PC
Text Symbol: LER = | | | | | | | | | |
Text Symbol: L02 = Log
Text Symbol: L01 = Log Details
Text Symbol: HL4 = | | | | | | | | |Barrier 2 |
Text Symbol: HL3 = | | | | | | |Portfolio |Option Category |Barrier 1 |
Text Symbol: HL2 = | | | | | | |Portfolio |Option Category |Barrier |
Text Symbol: HL1 = |Transaction |Counterparty |Type |Exercise|Due Date |Settl|Finance Proj.|Underlying |Strike |


INCLUDES used within this REPORT RFTBJL02

INCLUDE BJL02TOP.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.

TB_DEAL_BUKRS_CHECK CALL FUNCTION 'TB_DEAL_BUKRS_CHECK' EXPORTING i_x_no_adj_if_ok = xtrue TABLES i_tab_companycode = s_bukrs e_tab_companycode = r_bukrs EXCEPTIONS authority = 1 OTHERS = 2.

FTR_GDPDU_CHECK_DATES CALL FUNCTION 'FTR_GDPDU_CHECK_DATES' EXPORTING im_rng_company_code = s_bukrs[] IMPORTING ex_flg_tax_auditor = g_flg_tax_auditor CHANGING ch_rng_date = l_rng_date[] EXCEPTIONS no_authority = 1 wrong_input = 2 OTHERS = 3.

FTR_GDPDU_ACTIONLOG CALL FUNCTION 'FTR_GDPDU_ACTIONLOG'.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'SELECTION' EXCEPTIONS OTHERS = 0.

TRCA_COMPANYCODE_GETLIST CALL FUNCTION 'TRCA_COMPANYCODE_GETLIST' TABLES company_list = i_company_list EXCEPTIONS not_found = 1 OTHERS = 2.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'OUTPUT' EXCEPTIONS OTHERS = 0.

RS_LIST_SELECTION_TABLE * call function 'RS_LIST_SELECTION_TABLE' * exporting * report = wrk_repid * seltext = 'X' * DYN_RANGE = "/ dynamische Selektionsbed.

FTR_KONTRH_GET_TEXT



CALL FUNCTION 'FTR_KONTRH_GET_TEXT' EXPORTING pi_companycode = vtbfha-bukrs pi_kontrh_id = geschaefte-kontrh IMPORTING pe_kontrh_text = geschaefte-xkontrh.

TB_UL_FOREX_CONSTRUCT CALL FUNCTION 'TB_UL_FOREX_CONSTRUCT' EXPORTING i_fha = vtifha i_fhazu = vtifhazu IMPORTING e_forex = vti_ueber e_disp = h_i_ueber TABLES i_fhapo = ul_fhapo i_finko = ul_finko.

FTR_OTC_FOREX_PUT_CALL_DET CALL FUNCTION 'FTR_OTC_FOREX_PUT_CALL_DET' EXPORTING i_vtbfha = vtbfha i_vtifha = vtifha i_vtifhazu = vtifhazu IMPORTING e_txtputcalin = geschaefte-xsign e_wa_fhapo = l_wa_vtifhapo TABLES i_vtifhapo = ul_fhapo CHANGING c_vtiof = l_iof.

TB_UL_CAP_CONSTRUCT CALL FUNCTION 'TB_UL_CAP_CONSTRUCT' EXPORTING i_fha = vtifha i_fhazu = vtifhazu IMPORTING e_cap = vti_ueber TABLES i_fhapo = ul_fhapo i_finko = ul_finko.

TB_UL_SWAP_CONSTRUCT CALL FUNCTION 'TB_UL_SWAP_CONSTRUCT' EXPORTING i_fha = vtifha i_fhazu = vtifhazu IMPORTING e_swap = vti_ueber TABLES i_fhapo = ul_fhapo i_finko = ul_finko.

TB_UL_FRA_CONSTRUCT CALL FUNCTION 'TB_UL_FRA_CONSTRUCT' EXPORTING i_fha = vtifha i_fhazu = vtifhazu IMPORTING e_fra = vti_ueber TABLES i_fhapo = ul_fhapo i_finko = ul_finko.

TB_UL_WP_CONSTRUCT CALL FUNCTION 'TB_UL_WP_CONSTRUCT' EXPORTING i_fha = vtifha i_fhazu = vtifhazu IMPORTING e_wp = vti_ueber TABLES i_fhapo = ul_fhapo i_finko = ul_finko.

TB_UL_OTC_CONSTRUCT CALL FUNCTION 'TB_UL_OTC_CONSTRUCT' EXPORTING i_fha = vtifha i_fhazu = vtifhazu i_ufha = ul_vtifha i_ufhazu = ul_vtifhazu IMPORTING e_otc = vti_ueber TABLES i_fhapo = ul_fhapo * I_FINKO = i_ufhapo = ul_vtifhapo.

FTR_OTC_FOREX_PUT_CALL_DET CALL FUNCTION 'FTR_OTC_FOREX_PUT_CALL_DET' EXPORTING i_vtbfha = l_fha i_vtifha = ul_vtifha i_vtifhazu = ul_vtifhazu IMPORTING e_txtputcalin = geschaefte-xsign TABLES i_vtifhapo = ul_vtifhapo CHANGING c_vtiof = l_iof.

TB_REF_OBJECTS_GET CALL FUNCTION 'TB_REF_OBJECTS_GET' EXPORTING imp_objnr = vtbfha-objnr TABLES t_refon = dummy_refon EXCEPTIONS reftyp_unknown = 1 reference_not_found = 2 internal_error = 3 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = 'X' i_callback_program = g_repid i_callback_pf_status_set = 'STATUS_SET' i_callback_user_command = 'USER_COMMAND' * I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = is_layout = s_layout it_fieldcat = t_fieldcat * IT_EXCLUDING = it_special_groups = gt_sp_group it_sort = t_sort_tab * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = g_save is_variant = gx_variant it_events = t_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = geschaefte EXCEPTIONS program_error = 1 OTHERS = 2 .

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = save-bukrs e_rfha = save-rfha.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'REFRESH' EXCEPTIONS OTHERS = 0.

FTR_STAV_MAINTAIN_TRANSACTION CALL FUNCTION 'FTR_STAV_MAINTAIN_TRANSACTION' EXPORTING bukrs = geschaefte-bukrs rfha = geschaefte-rfha * DISPLAY = * IMPORTING * EXIT_CODE = .

FTR_PARTNER_DISPLAY CALL FUNCTION 'FTR_PARTNER_DISPLAY' EXPORTING PI_PARTNER_ID = GESCHAEFTE-KONTRH PI_COMPANYCODE = GESCHAEFTE-BUKRS.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = par_tcode EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr translate_to_upper = xtrue TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 04.

TB_AT10_VALUES CALL FUNCTION 'TB_AT10_VALUES' EXPORTING display = xfalse producttype = s_sgsart-low producttype_internal = h_sanlf IMPORTING selected_value = par_sfhart selected_producttype = hlp_sgsart.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 1.

BPAR_S_BPCENTRAL_PARTNER_PREP * call function 'BPAR_S_BPCENTRAL_PARTNER_PREP' * importing * partner_out = hlp_bp000 * exceptions * others = 4.

FTR_PARTNER_GET_VALUES CALL FUNCTION 'FTR_PARTNER_GET_VALUES' IMPORTING pe_partner = partnr.

TB_PRODUCTTYPE_VALUES CALL FUNCTION 'TB_PRODUCTTYPE_VALUES' IMPORTING selection = h_sgsart TABLES t_productcategories = t_sanlf EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'RFTBJL02' i_internal_tabname = 'GESCHAEFTE' * I_STRUCTURE_NAME = * I_CLIENT_NEVER_DISPLAY = 'X' i_inclname = 'BJL02TOP' CHANGING ct_fieldcat = t_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = p_t_events.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save * it_default_fieldcat = IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = listheader.

KCD_PROTOCOL_NUMBER_GET CALL FUNCTION 'KCD_PROTOCOL_NUMBER_GET' IMPORTING prot_number = l_number EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = l_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

FTR_DEAL_SETTLE CALL FUNCTION 'FTR_DEAL_SETTLE' EXPORTING iv_companycode = lwa_wrklist-bukrs iv_financialtransaction = lwa_wrklist-rfha iv_productcategory = lwa_wrklist-sanlf TABLES et_return = lt_error.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = ls_bapierr * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 OTHERS = 3 .

BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = l_s_display_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = i_t_log_handle = lt_log_handle * I_T_MSG_HANDLE = i_s_display_profile = l_s_display_profile * i_amodal = 'X' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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