RKE_PRICING_INTERFACE 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 RKE_PRICING_INTERFACE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
KEAB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RKE_PRICING_INTERFACE' "
EXPORTING
* i_plikz = '0' " cest3-plikz
i_stichtag = " sy-datum
i_kappl = " t681a-kappl
i_kalsm = " t683-kalsm
i_mengenfeld = " dd03v-fieldname
* i_storno = SPACE " s007-shkzg
* i_dialog = SPACE " kedr_flag
i_bwfkt = " tkeva01-bwfkt
* i_kurst = 'M' " tkevs-kurst
* i_convert_indirect = SPACE " kedr_flag
i_tabname = " dd02v-tabname
* i_overwrite = SPACE " kedr_flag
is_copa_item_input = "
IMPORTING
es_copa_item_output = "
e_message_tab = " rkea1_t_message_tab
TABLES
dbtab = "
* wertkomp = " rkepr Table of value fields
* xt_item_bukrs = "
EXCEPTIONS
NO_QUANTITY_UNIT = 1 "
VALUATION_ERROR = 2 "
. " RKE_PRICING_INTERFACE
The ABAP code below is a full code listing to execute function module RKE_PRICING_INTERFACE 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).
| ld_es_copa_item_output | TYPE STRING , |
| ld_e_message_tab | TYPE RKEA1_T_MESSAGE_TAB , |
| it_dbtab | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_dbtab | LIKE LINE OF it_dbtab , |
| it_wertkomp | TYPE STANDARD TABLE OF RKEPR,"TABLES PARAM |
| wa_wertkomp | LIKE LINE OF it_wertkomp , |
| it_xt_item_bukrs | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_xt_item_bukrs | LIKE LINE OF it_xt_item_bukrs . |
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_es_copa_item_output | TYPE STRING , |
| ld_i_plikz | TYPE CEST3-PLIKZ , |
| it_dbtab | TYPE STANDARD TABLE OF STRING , |
| wa_dbtab | LIKE LINE OF it_dbtab, |
| ld_e_message_tab | TYPE RKEA1_T_MESSAGE_TAB , |
| ld_i_stichtag | TYPE SY-DATUM , |
| it_wertkomp | TYPE STANDARD TABLE OF RKEPR , |
| wa_wertkomp | LIKE LINE OF it_wertkomp, |
| ld_i_kappl | TYPE T681A-KAPPL , |
| it_xt_item_bukrs | TYPE STANDARD TABLE OF STRING , |
| wa_xt_item_bukrs | LIKE LINE OF it_xt_item_bukrs, |
| ld_i_kalsm | TYPE T683-KALSM , |
| ld_i_mengenfeld | TYPE DD03V-FIELDNAME , |
| ld_i_storno | TYPE S007-SHKZG , |
| ld_i_dialog | TYPE KEDR_FLAG , |
| ld_i_bwfkt | TYPE TKEVA01-BWFKT , |
| ld_i_kurst | TYPE TKEVS-KURST , |
| ld_i_convert_indirect | TYPE KEDR_FLAG , |
| ld_i_tabname | TYPE DD02V-TABNAME , |
| ld_i_overwrite | TYPE KEDR_FLAG , |
| ld_is_copa_item_input | TYPE STRING . |
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 RKE_PRICING_INTERFACE or its description.