CO_VA_ORDER_EXPLODE_TO_RTO 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 CO_VA_ORDER_EXPLODE_TO_RTO into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
COVA
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CO_VA_ORDER_EXPLODE_TO_RTO' "
EXPORTING
i_destination = " cif_dest-logsys Logical System
TABLES
it_apoorder = " caufvdb Document Table Structure of Order Header
it_caufv_bt = " caufvdb Document Table Structure of Order Header
it_afpo_bt = " afpob Document structure for order items
it_afpo_bt_old = " aafpo Change Document Structure: Generated by RSSCD000
it_afvg_bt = " afvgb Order: Operation structure for buffer table
it_afab_bt = " afabb Network: Document Table for Relationships
it_kbed_bt = " kbedb Order: KBED Structure for Document Table
it_resb_bt = " resbb Document Table for Order Components
it_resb_bt_old = " aresb Change Document Structure: Generated by RSSCD000
it_affl_bt = " afflb Order: Document table structure for AFFL
et_apoord = " cif_apoord Orders for APO in APO Format
et_apoopr = " cif_apoopr Operations for APO in APO Format, from Release 3.0
et_apoact = " cif_apoact Activities for APO in APO Format
et_aporeq = " cif_aporeq Capacity Requirements for APO in APO Format
et_apoinp = " cif_apoinp Material Input for APO in APO Format
et_apoout = " cif_apoout Material Output for APO in APO Format
et_aporel = " cif_aporel Relationships for APO in APO Format
et_ordcus = " cif_ordcus Customer Enhancement Structure for CIF_APOORD
et_oprcus = " cif_oprcus Customer Enhancement Structure for CIF_APOOPR
et_reqcus = " cif_reqcus Customer Enhancement Structure for CIF_APOREQ
et_actcus = " cif_actcus Customer Enhancement Structure for CIF_APOACT
et_inpcus = " cif_inpcus Customer Enhancement Structure for CIF_APOINP
et_outcus = " cif_outcus Customer Enhancement Structure for CIF_APOOUT
et_relcus = " cif_relcus Customer Enhancement Structure for CIF_APOREL
EXCEPTIONS
CIF_CONVERSION_FAILED = 1 "
. " CO_VA_ORDER_EXPLODE_TO_RTO
The ABAP code below is a full code listing to execute function module CO_VA_ORDER_EXPLODE_TO_RTO 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_it_apoorder | TYPE STANDARD TABLE OF CAUFVDB,"TABLES PARAM |
| wa_it_apoorder | LIKE LINE OF it_it_apoorder , |
| it_it_caufv_bt | TYPE STANDARD TABLE OF CAUFVDB,"TABLES PARAM |
| wa_it_caufv_bt | LIKE LINE OF it_it_caufv_bt , |
| it_it_afpo_bt | TYPE STANDARD TABLE OF AFPOB,"TABLES PARAM |
| wa_it_afpo_bt | LIKE LINE OF it_it_afpo_bt , |
| it_it_afpo_bt_old | TYPE STANDARD TABLE OF AAFPO,"TABLES PARAM |
| wa_it_afpo_bt_old | LIKE LINE OF it_it_afpo_bt_old , |
| it_it_afvg_bt | TYPE STANDARD TABLE OF AFVGB,"TABLES PARAM |
| wa_it_afvg_bt | LIKE LINE OF it_it_afvg_bt , |
| it_it_afab_bt | TYPE STANDARD TABLE OF AFABB,"TABLES PARAM |
| wa_it_afab_bt | LIKE LINE OF it_it_afab_bt , |
| it_it_kbed_bt | TYPE STANDARD TABLE OF KBEDB,"TABLES PARAM |
| wa_it_kbed_bt | LIKE LINE OF it_it_kbed_bt , |
| it_it_resb_bt | TYPE STANDARD TABLE OF RESBB,"TABLES PARAM |
| wa_it_resb_bt | LIKE LINE OF it_it_resb_bt , |
| it_it_resb_bt_old | TYPE STANDARD TABLE OF ARESB,"TABLES PARAM |
| wa_it_resb_bt_old | LIKE LINE OF it_it_resb_bt_old , |
| it_it_affl_bt | TYPE STANDARD TABLE OF AFFLB,"TABLES PARAM |
| wa_it_affl_bt | LIKE LINE OF it_it_affl_bt , |
| it_et_apoord | TYPE STANDARD TABLE OF CIF_APOORD,"TABLES PARAM |
| wa_et_apoord | LIKE LINE OF it_et_apoord , |
| it_et_apoopr | TYPE STANDARD TABLE OF CIF_APOOPR,"TABLES PARAM |
| wa_et_apoopr | LIKE LINE OF it_et_apoopr , |
| it_et_apoact | TYPE STANDARD TABLE OF CIF_APOACT,"TABLES PARAM |
| wa_et_apoact | LIKE LINE OF it_et_apoact , |
| it_et_aporeq | TYPE STANDARD TABLE OF CIF_APOREQ,"TABLES PARAM |
| wa_et_aporeq | LIKE LINE OF it_et_aporeq , |
| it_et_apoinp | TYPE STANDARD TABLE OF CIF_APOINP,"TABLES PARAM |
| wa_et_apoinp | LIKE LINE OF it_et_apoinp , |
| it_et_apoout | TYPE STANDARD TABLE OF CIF_APOOUT,"TABLES PARAM |
| wa_et_apoout | LIKE LINE OF it_et_apoout , |
| it_et_aporel | TYPE STANDARD TABLE OF CIF_APOREL,"TABLES PARAM |
| wa_et_aporel | LIKE LINE OF it_et_aporel , |
| it_et_ordcus | TYPE STANDARD TABLE OF CIF_ORDCUS,"TABLES PARAM |
| wa_et_ordcus | LIKE LINE OF it_et_ordcus , |
| it_et_oprcus | TYPE STANDARD TABLE OF CIF_OPRCUS,"TABLES PARAM |
| wa_et_oprcus | LIKE LINE OF it_et_oprcus , |
| it_et_reqcus | TYPE STANDARD TABLE OF CIF_REQCUS,"TABLES PARAM |
| wa_et_reqcus | LIKE LINE OF it_et_reqcus , |
| it_et_actcus | TYPE STANDARD TABLE OF CIF_ACTCUS,"TABLES PARAM |
| wa_et_actcus | LIKE LINE OF it_et_actcus , |
| it_et_inpcus | TYPE STANDARD TABLE OF CIF_INPCUS,"TABLES PARAM |
| wa_et_inpcus | LIKE LINE OF it_et_inpcus , |
| it_et_outcus | TYPE STANDARD TABLE OF CIF_OUTCUS,"TABLES PARAM |
| wa_et_outcus | LIKE LINE OF it_et_outcus , |
| it_et_relcus | TYPE STANDARD TABLE OF CIF_RELCUS,"TABLES PARAM |
| wa_et_relcus | LIKE LINE OF it_et_relcus . |
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_i_destination | TYPE CIF_DEST-LOGSYS , |
| it_it_apoorder | TYPE STANDARD TABLE OF CAUFVDB , |
| wa_it_apoorder | LIKE LINE OF it_it_apoorder, |
| it_it_caufv_bt | TYPE STANDARD TABLE OF CAUFVDB , |
| wa_it_caufv_bt | LIKE LINE OF it_it_caufv_bt, |
| it_it_afpo_bt | TYPE STANDARD TABLE OF AFPOB , |
| wa_it_afpo_bt | LIKE LINE OF it_it_afpo_bt, |
| it_it_afpo_bt_old | TYPE STANDARD TABLE OF AAFPO , |
| wa_it_afpo_bt_old | LIKE LINE OF it_it_afpo_bt_old, |
| it_it_afvg_bt | TYPE STANDARD TABLE OF AFVGB , |
| wa_it_afvg_bt | LIKE LINE OF it_it_afvg_bt, |
| it_it_afab_bt | TYPE STANDARD TABLE OF AFABB , |
| wa_it_afab_bt | LIKE LINE OF it_it_afab_bt, |
| it_it_kbed_bt | TYPE STANDARD TABLE OF KBEDB , |
| wa_it_kbed_bt | LIKE LINE OF it_it_kbed_bt, |
| it_it_resb_bt | TYPE STANDARD TABLE OF RESBB , |
| wa_it_resb_bt | LIKE LINE OF it_it_resb_bt, |
| it_it_resb_bt_old | TYPE STANDARD TABLE OF ARESB , |
| wa_it_resb_bt_old | LIKE LINE OF it_it_resb_bt_old, |
| it_it_affl_bt | TYPE STANDARD TABLE OF AFFLB , |
| wa_it_affl_bt | LIKE LINE OF it_it_affl_bt, |
| it_et_apoord | TYPE STANDARD TABLE OF CIF_APOORD , |
| wa_et_apoord | LIKE LINE OF it_et_apoord, |
| it_et_apoopr | TYPE STANDARD TABLE OF CIF_APOOPR , |
| wa_et_apoopr | LIKE LINE OF it_et_apoopr, |
| it_et_apoact | TYPE STANDARD TABLE OF CIF_APOACT , |
| wa_et_apoact | LIKE LINE OF it_et_apoact, |
| it_et_aporeq | TYPE STANDARD TABLE OF CIF_APOREQ , |
| wa_et_aporeq | LIKE LINE OF it_et_aporeq, |
| it_et_apoinp | TYPE STANDARD TABLE OF CIF_APOINP , |
| wa_et_apoinp | LIKE LINE OF it_et_apoinp, |
| it_et_apoout | TYPE STANDARD TABLE OF CIF_APOOUT , |
| wa_et_apoout | LIKE LINE OF it_et_apoout, |
| it_et_aporel | TYPE STANDARD TABLE OF CIF_APOREL , |
| wa_et_aporel | LIKE LINE OF it_et_aporel, |
| it_et_ordcus | TYPE STANDARD TABLE OF CIF_ORDCUS , |
| wa_et_ordcus | LIKE LINE OF it_et_ordcus, |
| it_et_oprcus | TYPE STANDARD TABLE OF CIF_OPRCUS , |
| wa_et_oprcus | LIKE LINE OF it_et_oprcus, |
| it_et_reqcus | TYPE STANDARD TABLE OF CIF_REQCUS , |
| wa_et_reqcus | LIKE LINE OF it_et_reqcus, |
| it_et_actcus | TYPE STANDARD TABLE OF CIF_ACTCUS , |
| wa_et_actcus | LIKE LINE OF it_et_actcus, |
| it_et_inpcus | TYPE STANDARD TABLE OF CIF_INPCUS , |
| wa_et_inpcus | LIKE LINE OF it_et_inpcus, |
| it_et_outcus | TYPE STANDARD TABLE OF CIF_OUTCUS , |
| wa_et_outcus | LIKE LINE OF it_et_outcus, |
| it_et_relcus | TYPE STANDARD TABLE OF CIF_RELCUS , |
| wa_et_relcus | LIKE LINE OF it_et_relcus. |
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 CO_VA_ORDER_EXPLODE_TO_RTO or its description.