OIJ_EL_DOCG_REVERSE_STO is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name OIJ_EL_DOCG_REVERSE_STO into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIJ_EL_DOCG
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'OIJ_EL_DOCG_REVERSE_STO' "Reverse Stock Transfer Order (STO)
EXPORTING
i_ticket_header = " oij_el_ticket_h Universal ticket table
i_ticket_item = " oij_el_ticket_i Universal ticket item table
i_oijnomh = " oijnomh OIL-TSW: Nomination header table
i_oijnomi = " oijnomi OIL-TSW: Nomination item
i_oijimport = " roij_el_import TSW: Parameter imported to CIP functions
i_oib_a04 = " oib_a04 Default values for quantity conversion
TABLES
t_err_log = " oij_el_error_log_str OIL-TSW: Error log for ticketing process
t_auom = " oij_el_ticket_uom_str Universal ticket additional units of measure structure
t_qci_result = " oij_el_qci_result TSW: additional units of measure calculated by QCI
t_reversal_docs = " roijrevdoc OIL-TSW: Structure for reversal tickets
t_tkt_i_o2 = " oij_el_tkt_i_o2 Appendix: TSW Ticket item - Additional Quantities
* CHANGING
* ct_ticket_header_evt = " oijte_t Ticket Events Table Type
* ct_ticket_header_evt_txt = " oij_txt TSW: table type to roij_txt
* ct_ticket_item_evt = " oijte_t Ticket Events Table Type
* ct_ticket_item_evt_txt = " oij_txt TSW: table type to roij_txt
* ct_ticket_header_evt_pv = " oijte_t Ticket Events Table Type
* ct_ticket_header_evt_txt_pv = " oij_txt TSW: table type to roij_txt
* ct_ticket_item_evt_pv = " oijte_t Ticket Events Table Type
* ct_ticket_item_evt_txt_pv = " oij_txt TSW: table type to roij_txt
EXCEPTIONS
NO_DOCUMENT_GENERATED = 1 "
. " OIJ_EL_DOCG_REVERSE_STO
The ABAP code below is a full code listing to execute function module OIJ_EL_DOCG_REVERSE_STO including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_t_err_log | TYPE STANDARD TABLE OF OIJ_EL_ERROR_LOG_STR,"TABLES PARAM |
| wa_t_err_log | LIKE LINE OF it_t_err_log , |
| it_t_auom | TYPE STANDARD TABLE OF OIJ_EL_TICKET_UOM_STR,"TABLES PARAM |
| wa_t_auom | LIKE LINE OF it_t_auom , |
| it_t_qci_result | TYPE STANDARD TABLE OF OIJ_EL_QCI_RESULT,"TABLES PARAM |
| wa_t_qci_result | LIKE LINE OF it_t_qci_result , |
| it_t_reversal_docs | TYPE STANDARD TABLE OF ROIJREVDOC,"TABLES PARAM |
| wa_t_reversal_docs | LIKE LINE OF it_t_reversal_docs , |
| it_t_tkt_i_o2 | TYPE STANDARD TABLE OF OIJ_EL_TKT_I_O2,"TABLES PARAM |
| wa_t_tkt_i_o2 | LIKE LINE OF it_t_tkt_i_o2 . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ct_ticket_header_evt | TYPE OIJTE_T , |
| ld_i_ticket_header | TYPE OIJ_EL_TICKET_H , |
| it_t_err_log | TYPE STANDARD TABLE OF OIJ_EL_ERROR_LOG_STR , |
| wa_t_err_log | LIKE LINE OF it_t_err_log, |
| ld_ct_ticket_header_evt_txt | TYPE OIJ_TXT , |
| ld_i_ticket_item | TYPE OIJ_EL_TICKET_I , |
| it_t_auom | TYPE STANDARD TABLE OF OIJ_EL_TICKET_UOM_STR , |
| wa_t_auom | LIKE LINE OF it_t_auom, |
| ld_ct_ticket_item_evt | TYPE OIJTE_T , |
| ld_i_oijnomh | TYPE OIJNOMH , |
| it_t_qci_result | TYPE STANDARD TABLE OF OIJ_EL_QCI_RESULT , |
| wa_t_qci_result | LIKE LINE OF it_t_qci_result, |
| ld_ct_ticket_item_evt_txt | TYPE OIJ_TXT , |
| ld_i_oijnomi | TYPE OIJNOMI , |
| it_t_reversal_docs | TYPE STANDARD TABLE OF ROIJREVDOC , |
| wa_t_reversal_docs | LIKE LINE OF it_t_reversal_docs, |
| ld_ct_ticket_header_evt_pv | TYPE OIJTE_T , |
| ld_i_oijimport | TYPE ROIJ_EL_IMPORT , |
| it_t_tkt_i_o2 | TYPE STANDARD TABLE OF OIJ_EL_TKT_I_O2 , |
| wa_t_tkt_i_o2 | LIKE LINE OF it_t_tkt_i_o2, |
| ld_ct_ticket_header_evt_txt_pv | TYPE OIJ_TXT , |
| ld_i_oib_a04 | TYPE OIB_A04 , |
| ld_ct_ticket_item_evt_pv | TYPE OIJTE_T , |
| ld_ct_ticket_item_evt_txt_pv | TYPE OIJ_TXT . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name OIJ_EL_DOCG_REVERSE_STO or its description.
OIJ_EL_DOCG_REVERSE_STO - Reverse Stock Transfer Order (STO) OIJ_EL_DOCG_REVERSE_SD_CALLOFF - Reverse SD Calloff OIJ_EL_DOCG_REVERSE_MM_INV - Cancel or reverse mm invoice OIJ_EL_DOCG_REVERSE_MM_CALLOFF - Reverse MM Calloff OIJ_EL_DOCG_REVERSE_MAT_TRANSF - Reverse material transfer OIJ_EL_DOCG_REVERSE_LOAD_CONF - Reverse load confirmation