SAP /ACCGO/BR_OED_CHECK_FUT_TROP Function Module for OF Determination Fut. Del. / Triangular Scenarios
/ACCGO/BR_OED_CHECK_FUT_TROP is a standard /accgo/br oed check fut trop SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for OF Determination Fut. Del. / Triangular Scenarios processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for /accgo/br oed check fut trop FM, simply by entering the name /ACCGO/BR_OED_CHECK_FUT_TROP into the relevant SAP transaction such as SE37 or SE38.
Function Group: /ACCGO/BR_OE_EXECUTION
Program Name: /ACCGO/SAPLBR_OE_EXECUTION
Main Program: /ACCGO/SAPLBR_OE_EXECUTION
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function /ACCGO/BR_OED_CHECK_FUT_TROP pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION '/ACCGO/BR_OED_CHECK_FUT_TROP'"OF Determination Fut. Del. / Triangular Scenarios.
EXPORTING
I_TICKET_HEADER = "Universal ticket table
* I_INTER_INTRA = "Inter-Intra Company Relevant
I_TICKET_ITEM = "Universal ticket item table
I_OIJNOMH = "Nomination Header
I_OIJNOMI = "Nomination Item
I_OIJIMPORT = "TSW: Parameter imported to CIP functions
* I_OIB_A04 = "HPM: Import/Export for Quantity Conversion (OIB1, OIB_QCI)
I_TKT_I_O1 = "Appendix: TSW Ticket item - Conversion Parameters
* I_UIS_QTY = "Open Quantity
* I_MATNR = "Material Number
IMPORTING
E_TICKET_KEY = "OIL-TSW: Ticket key
E_DET_FAIL = "Checkbox
CHANGING
* CT_TICKET_HEADER_EVT = "Ticket Events Table Type
* CT_TICKET_HEADER_EVT_TXT = "TSW: Table Type to roij_txt
* CT_TICKET_ITEM_EVT = "Ticket Events Table Type
* CT_TICKET_ITEM_EVT_TXT = "TSW: Table Type to roij_txt
* CT_TICKET_HEADER_EVT_PV = "Ticket Events Table Type
* CT_TICKET_HEADER_EVT_TXT_PV = "TSW: Table Type to roij_txt
* CT_TICKET_ITEM_EVT_PV = "Ticket Events Table Type
* CT_TICKET_ITEM_EVT_TXT_PV = "TSW: Table Type to roij_txt
TABLES
T_ERR_LOG = "OIL-TSW: Structure for error log for ticketing process
* T_AUOM = "Universal ticket additional units of measure structure
* T_QCI_RESULT = "TSW: additional units of measure calculated by QCI
T_TKT_I_O2 = "Appendix: TSW Ticket item - Additional Quantities
* T_OIJNOMSUBITEMS = "Nomination Sub-Item
* T_ORIGINAL_DOCS = "OIL-TSW: Structure for reversal tickets
* T_ERR_LOG_SUB = "TSW: Error log for ticketing process at sub item
IMPORTING Parameters details for /ACCGO/BR_OED_CHECK_FUT_TROP
I_TICKET_HEADER - Universal ticket table
Data type: OIJ_EL_TICKET_HOptional: No
Call by Reference: Yes
I_INTER_INTRA - Inter-Intra Company Relevant
Data type: /ACCGO/E_INTER_INTRAOptional: Yes
Call by Reference: Yes
I_TICKET_ITEM - Universal ticket item table
Data type: OIJ_EL_TICKET_IOptional: No
Call by Reference: Yes
I_OIJNOMH - Nomination Header
Data type: OIJNOMHOptional: No
Call by Reference: Yes
I_OIJNOMI - Nomination Item
Data type: OIJNOMIOptional: No
Call by Reference: Yes
I_OIJIMPORT - TSW: Parameter imported to CIP functions
Data type: ROIJ_EL_IMPORTOptional: No
Call by Reference: Yes
I_OIB_A04 - HPM: Import/Export for Quantity Conversion (OIB1, OIB_QCI)
Data type: OIB_A04Optional: Yes
Call by Reference: Yes
I_TKT_I_O1 - Appendix: TSW Ticket item - Conversion Parameters
Data type: OIJ_EL_TKT_I_O1Optional: No
Call by Reference: Yes
I_UIS_QTY - Open Quantity
Data type: OBMNGOptional: Yes
Call by Reference: Yes
I_MATNR - Material Number
Data type: MATNROptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for /ACCGO/BR_OED_CHECK_FUT_TROP
E_TICKET_KEY - OIL-TSW: Ticket key
Data type: OIJ_EL_TKT_KEYOptional: No
Call by Reference: Yes
E_DET_FAIL - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
CHANGING Parameters details for /ACCGO/BR_OED_CHECK_FUT_TROP
CT_TICKET_HEADER_EVT - Ticket Events Table Type
Data type: OIJTE_TOptional: Yes
Call by Reference: Yes
CT_TICKET_HEADER_EVT_TXT - TSW: Table Type to roij_txt
Data type: OIJ_TXTOptional: Yes
Call by Reference: Yes
CT_TICKET_ITEM_EVT - Ticket Events Table Type
Data type: OIJTE_TOptional: Yes
Call by Reference: Yes
CT_TICKET_ITEM_EVT_TXT - TSW: Table Type to roij_txt
Data type: OIJ_TXTOptional: Yes
Call by Reference: Yes
CT_TICKET_HEADER_EVT_PV - Ticket Events Table Type
Data type: OIJTE_TOptional: Yes
Call by Reference: Yes
CT_TICKET_HEADER_EVT_TXT_PV - TSW: Table Type to roij_txt
Data type: OIJ_TXTOptional: Yes
Call by Reference: Yes
CT_TICKET_ITEM_EVT_PV - Ticket Events Table Type
Data type: OIJTE_TOptional: Yes
Call by Reference: Yes
CT_TICKET_ITEM_EVT_TXT_PV - TSW: Table Type to roij_txt
Data type: OIJ_TXTOptional: Yes
Call by Reference: Yes
TABLES Parameters details for /ACCGO/BR_OED_CHECK_FUT_TROP
T_ERR_LOG - OIL-TSW: Structure for error log for ticketing process
Data type: OIJ_EL_ERROR_LOG_STROptional: No
Call by Reference: Yes
T_AUOM - Universal ticket additional units of measure structure
Data type: OIJ_EL_TICKET_UOM_STROptional: Yes
Call by Reference: Yes
T_QCI_RESULT - TSW: additional units of measure calculated by QCI
Data type: OIJ_EL_QCI_RESULTOptional: Yes
Call by Reference: Yes
T_TKT_I_O2 - Appendix: TSW Ticket item - Additional Quantities
Data type: OIJ_EL_TKT_I_O2Optional: No
Call by Reference: Yes
T_OIJNOMSUBITEMS - Nomination Sub-Item
Data type: OIJNOMSUBITEMSOptional: Yes
Call by Reference: Yes
T_ORIGINAL_DOCS - OIL-TSW: Structure for reversal tickets
Data type: ROIJREVDOCOptional: Yes
Call by Reference: Yes
T_ERR_LOG_SUB - TSW: Error log for ticketing process at sub item
Data type: OIJ_EL_ELOG_SUBOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for /ACCGO/BR_OED_CHECK_FUT_TROP Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lt_t_err_log | TYPE STANDARD TABLE OF OIJ_EL_ERROR_LOG_STR, " | |||
lv_e_ticket_key | TYPE OIJ_EL_TKT_KEY, " | |||
lv_i_ticket_header | TYPE OIJ_EL_TICKET_H, " | |||
lv_ct_ticket_header_evt | TYPE OIJTE_T, " | |||
lv_i_inter_intra | TYPE /ACCGO/E_INTER_INTRA, " | |||
lt_t_auom | TYPE STANDARD TABLE OF OIJ_EL_TICKET_UOM_STR, " | |||
lv_e_det_fail | TYPE XFELD, " | |||
lv_i_ticket_item | TYPE OIJ_EL_TICKET_I, " | |||
lv_ct_ticket_header_evt_txt | TYPE OIJ_TXT, " | |||
lv_i_oijnomh | TYPE OIJNOMH, " | |||
lt_t_qci_result | TYPE STANDARD TABLE OF OIJ_EL_QCI_RESULT, " | |||
lv_ct_ticket_item_evt | TYPE OIJTE_T, " | |||
lv_i_oijnomi | TYPE OIJNOMI, " | |||
lt_t_tkt_i_o2 | TYPE STANDARD TABLE OF OIJ_EL_TKT_I_O2, " | |||
lv_ct_ticket_item_evt_txt | TYPE OIJ_TXT, " | |||
lv_i_oijimport | TYPE ROIJ_EL_IMPORT, " | |||
lt_t_oijnomsubitems | TYPE STANDARD TABLE OF OIJNOMSUBITEMS, " | |||
lv_ct_ticket_header_evt_pv | TYPE OIJTE_T, " | |||
lv_i_oib_a04 | TYPE OIB_A04, " | |||
lt_t_original_docs | TYPE STANDARD TABLE OF ROIJREVDOC, " | |||
lv_ct_ticket_header_evt_txt_pv | TYPE OIJ_TXT, " | |||
lv_i_tkt_i_o1 | TYPE OIJ_EL_TKT_I_O1, " | |||
lt_t_err_log_sub | TYPE STANDARD TABLE OF OIJ_EL_ELOG_SUB, " | |||
lv_ct_ticket_item_evt_pv | TYPE OIJTE_T, " | |||
lv_i_uis_qty | TYPE OBMNG, " | |||
lv_ct_ticket_item_evt_txt_pv | TYPE OIJ_TXT, " | |||
lv_i_matnr | TYPE MATNR. " |
  CALL FUNCTION '/ACCGO/BR_OED_CHECK_FUT_TROP' "OF Determination Fut. Del. / Triangular Scenarios |
EXPORTING | ||
I_TICKET_HEADER | = lv_i_ticket_header | |
I_INTER_INTRA | = lv_i_inter_intra | |
I_TICKET_ITEM | = lv_i_ticket_item | |
I_OIJNOMH | = lv_i_oijnomh | |
I_OIJNOMI | = lv_i_oijnomi | |
I_OIJIMPORT | = lv_i_oijimport | |
I_OIB_A04 | = lv_i_oib_a04 | |
I_TKT_I_O1 | = lv_i_tkt_i_o1 | |
I_UIS_QTY | = lv_i_uis_qty | |
I_MATNR | = lv_i_matnr | |
IMPORTING | ||
E_TICKET_KEY | = lv_e_ticket_key | |
E_DET_FAIL | = lv_e_det_fail | |
CHANGING | ||
CT_TICKET_HEADER_EVT | = lv_ct_ticket_header_evt | |
CT_TICKET_HEADER_EVT_TXT | = lv_ct_ticket_header_evt_txt | |
CT_TICKET_ITEM_EVT | = lv_ct_ticket_item_evt | |
CT_TICKET_ITEM_EVT_TXT | = lv_ct_ticket_item_evt_txt | |
CT_TICKET_HEADER_EVT_PV | = lv_ct_ticket_header_evt_pv | |
CT_TICKET_HEADER_EVT_TXT_PV | = lv_ct_ticket_header_evt_txt_pv | |
CT_TICKET_ITEM_EVT_PV | = lv_ct_ticket_item_evt_pv | |
CT_TICKET_ITEM_EVT_TXT_PV | = lv_ct_ticket_item_evt_txt_pv | |
TABLES | ||
T_ERR_LOG | = lt_t_err_log | |
T_AUOM | = lt_t_auom | |
T_QCI_RESULT | = lt_t_qci_result | |
T_TKT_I_O2 | = lt_t_tkt_i_o2 | |
T_OIJNOMSUBITEMS | = lt_t_oijnomsubitems | |
T_ORIGINAL_DOCS | = lt_t_original_docs | |
T_ERR_LOG_SUB | = lt_t_err_log_sub | |
. " /ACCGO/BR_OED_CHECK_FUT_TROP |
ABAP code using 7.40 inline data declarations to call FM /ACCGO/BR_OED_CHECK_FUT_TROP
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects