/SAPPSSRM/OPTION_HANDLER 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 /SAPPSSRM/OPTION_HANDLER into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_CTRID = Contract Number
Selection Text: P_DAYS = D .
Title: Program /SAPPSSRM/OPTION_HANDLER updating Option Contracts
Text Symbol: 000 = Contract scheduled for update:
Text Symbol: 001 = Data of processed Contract:
Text Symbol: 002 = Contract Updated without Messages.
Text Symbol: 003 = Messages occurred during Contract update
Text Symbol: 004 = System error, Contract update failed.
Text Symbol: 006 = Contract Type
Text Symbol: 007 = Contract ID
Text Symbol: 008 = Contract GUI
Text Symbol: 009 = Messages issued at document update:
Text Symbol: 010 = Msg-ID
Text Symbol: 011 = Msg-No
Text Symbol: 012 = Msg-Type
Text Symbol: 013 = Message text
Text Symbol: 014 = Program Version:
Text Symbol: 015 = Program Date:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BBP_PD_CTR_GETLIST CALL FUNCTION 'BBP_PD_CTR_GETLIST' EXPORTING i_valid_until = lv_day i_process_type = lv_process_type i_object_id = p_ctrid TABLES e_pdlist = lt_ctr_pdlist e_messages = lt_messages.
BBP_PD_CTR_GETDETAIL CALL FUNCTION 'BBP_PD_CTR_GETDETAIL' EXPORTING i_guid = lv_guid i_with_itemdata = 'X' IMPORTING e_header = ls_ctr_header_d TABLES e_item = lt_ctr_item_d e_header_rel = lt_ctr_header_rel e_itmlim_rel = lt_ctr_itmlim_rel e_hcf = lt_ctr_hcf e_icf = lt_ctr_icf. "#EC ENHOK
BBP_PD_PO_GETDETAIL CALL FUNCTION 'BBP_PD_PO_GETDETAIL' EXPORTING i_guid = ls_ctr_header_rel-guid_b i_with_itemdata = 'X' TABLES e_item = lt_po_item_d.
BBP_PD_CTR_LOCK CALL FUNCTION 'BBP_PD_CTR_LOCK' EXPORTING i_header_guid =
.
BBP_PD_CTR_GETDETAIL CALL FUNCTION 'BBP_PD_CTR_GETDETAIL' EXPORTING i_guid =
IMPORTING e_header = ls_ctr_header_d TABLES e_item = lt_item e_hcf = lt_ctr_hcf.
BBP_PD_CTR_GETDETAIL CALL FUNCTION 'BBP_PD_CTR_GETDETAIL' EXPORTING i_guid =
- -header i_with_itemdata = space IMPORTING e_header = ls_ctr_header_d.
BBP_PD_CTR_STATUS_CHANGE CALL FUNCTION 'BBP_PD_CTR_STATUS_CHANGE' EXPORTING iv_item_guid =
- -guid i_activity = 'ITCH' "I1903 i_save_db = 'X' i_test_run = space TABLES e_messages = lt_messages CHANGING e_changed = lv_changed.
BBP_PD_CTR_STATUS_CHANGE CALL FUNCTION 'BBP_PD_CTR_STATUS_CHANGE' EXPORTING iv_item_guid =
-guid i_activity = 'ITAC' "I1143 i_save_db = 'X' i_test_run = space TABLES e_messages = lt_messages CHANGING e_changed = lv_changed.
BBP_PD_CTR_UPDATE CALL FUNCTION 'BBP_PD_CTR_UPDATE' EXPORTING i_header = ls_ctr_header_u i_save = 'X' iv_with_change_approval = ' ' IMPORTING es_header = ls_ctr_header_d TABLES i_item = lt_ctr_item_u i_hcf = lt_ctr_hcf_u e_messages = lt_messages EXCEPTIONS OTHERS = 0.
BBP_PD_CTR_UPDATE CALL FUNCTION 'BBP_PD_CTR_UPDATE' EXPORTING i_header = ls_ctr_header_u i_save = 'X' iv_with_change_approval = ' ' IMPORTING es_header = ls_ctr_header_d TABLES i_item = lt_ctr_item_u i_hcf = lt_ctr_hcf_u e_messages = lt_messages EXCEPTIONS OTHERS = 0.
BBP_PD_CTR_SAVE CALL FUNCTION 'BBP_PD_CTR_SAVE' EXPORTING iv_header_guid = ls_ctr_header_d-guid iv_create_hist_version = 'X'.
BBP_PD_CTR_UNLOCK CALL FUNCTION 'BBP_PD_CTR_UNLOCK' EXPORTING i_header_guid = ls_ctr_header_d-guid.
BBP_PD_CTR_GETDETAIL CALL FUNCTION 'BBP_PD_CTR_GETDETAIL' EXPORTING i_guid =
- -header i_with_itemdata = space IMPORTING e_header = ls_ctr_header_d.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPPSSRM/OPTION_HANDLER - Program /SAPPSSRM/OPTION_HANDLER updating Option Contracts /SAPPSSRM/OPTION_HANDLER - Program /SAPPSSRM/OPTION_HANDLER updating Option Contracts /SAPPSSRM/OPTION_EXERCISED - Program /SAPPSSRM/OPTION_EXERCISED /SAPPSSRM/OPTION_EXERCISED - Program /SAPPSSRM/OPTION_EXERCISED /SAPPSSRM/OPTION_CONSTANTS - Include /SAPPSSRM/OPTION_CONSTANTS /SAPPSSRM/OPTIONS_QUOT_01 - Include /SAPPSSRM/OPTIONS_QUOT_01