FRE_ORD_IN_INTERFACE4 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 FRE_ORD_IN_INTERFACE4 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FRE_ORDER_IN
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'FRE_ORD_IN_INTERFACE4' "Order Proposal Inbound Interface Function - F
* EXPORTING
* is_control = " fre_ord_in_ctrl Control Parameters for Order Inbound Interface
TABLES
op_header_if = " fre_op_hdr_if_in_52_sty Header Structure for Communication with F&R Release 5.1
op_item_if = " fre_op_itm_if_in_52_sty Position Structure for Communication with F&R Release 5.1
* CHANGING
* ct_item_processed = " fre_op_itm_key_tty Order Proposal Item Key Data
EXCEPTIONS
ERROR = 1 " Error
. " FRE_ORD_IN_INTERFACE4
The ABAP code below is a full code listing to execute function module FRE_ORD_IN_INTERFACE4 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_op_header_if | TYPE STANDARD TABLE OF FRE_OP_HDR_IF_IN_52_STY,"TABLES PARAM |
| wa_op_header_if | LIKE LINE OF it_op_header_if , |
| it_op_item_if | TYPE STANDARD TABLE OF FRE_OP_ITM_IF_IN_52_STY,"TABLES PARAM |
| wa_op_item_if | LIKE LINE OF it_op_item_if . |
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_item_processed | TYPE FRE_OP_ITM_KEY_TTY , |
| ld_is_control | TYPE FRE_ORD_IN_CTRL , |
| it_op_header_if | TYPE STANDARD TABLE OF FRE_OP_HDR_IF_IN_52_STY , |
| wa_op_header_if | LIKE LINE OF it_op_header_if, |
| it_op_item_if | TYPE STANDARD TABLE OF FRE_OP_ITM_IF_IN_52_STY , |
| wa_op_item_if | LIKE LINE OF it_op_item_if. |
This function module receives order proposal headers OP_HEADER_IF and
order proposal items OP_ITEM_IF and processes them in two different ways
...See here for full SAP fm documentation
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 FRE_ORD_IN_INTERFACE4 or its description.
FRE_ORD_IN_INTERFACE4 - Order Proposal Inbound Interface Function - F FRE_ORD_IN_INTERFACE3 - Order Proposal Inbound Interface Function - F FRE_ORD_IN_INTERFACE2 - Order Proposal Inbound Interface Function - F&R CON R/3 FRE_ORD_IN_INTERFACE - Order Proposal Inbound Interface Function - F&R CON R/3 FRE_ORD_IN_GENERIC_ARTICLE - Determine valid promotion FRE_ORD_IN_DOCTYPE_DETERMINE - Determine Order Document Type