SAP KKEK_PRICE_QUANTITY_MULTIPLY Function Module for









KKEK_PRICE_QUANTITY_MULTIPLY is a standard kkek price quantity multiply SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 kkek price quantity multiply FM, simply by entering the name KKEK_PRICE_QUANTITY_MULTIPLY into the relevant SAP transaction such as SE37 or SE38.

Function Group: KKE6
Program Name: SAPLKKE6
Main Program: SAPLKKE6
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function KKEK_PRICE_QUANTITY_MULTIPLY 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 'KKEK_PRICE_QUANTITY_MULTIPLY'"
EXPORTING
KHS1_IMP = "
PRICE_TC_F = "
PEINH_TC = "
QUANTITY = "
CONVERSION_FACTOR = "
* MESSAGE_ON_SCREEN = ' ' "
POSNR_IMP = "
PRICE_CC_T = "
PRICE_CC_F = "
PEINH_CC = "
PRICE_OC_T = "
PRICE_OC_F = "
PEINH_OC = "
PRICE_TC_T = "

IMPORTING
VALUE_CC_T = "
VALUE_CC_F = "
VALUE_OC_T = "
VALUE_OC_F = "
VALUE_TC_T = "
VALUE_TC_F = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for KKEK_PRICE_QUANTITY_MULTIPLY

KHS1_IMP -

Data type: KHS1
Optional: No
Call by Reference: No ( called with pass by value option)

PRICE_TC_F -

Data type: KIS1-TPREIFX
Optional: No
Call by Reference: No ( called with pass by value option)

PEINH_TC -

Data type: KIS1-PEINH_3
Optional: No
Call by Reference: No ( called with pass by value option)

QUANTITY -

Data type: KIS1-MENGE
Optional: No
Call by Reference: No ( called with pass by value option)

CONVERSION_FACTOR -

Data type: F
Optional: No
Call by Reference: No ( called with pass by value option)

MESSAGE_ON_SCREEN -

Data type: RK70EQ-CHAR1
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

POSNR_IMP -

Data type: KIS1-POSNR
Optional: No
Call by Reference: No ( called with pass by value option)

PRICE_CC_T -

Data type: KIS1-GPREIS
Optional: No
Call by Reference: No ( called with pass by value option)

PRICE_CC_F -

Data type: KIS1-FPREIS
Optional: No
Call by Reference: No ( called with pass by value option)

PEINH_CC -

Data type: KIS1-PEINH
Optional: No
Call by Reference: No ( called with pass by value option)

PRICE_OC_T -

Data type: KIS1-OPREIS
Optional: No
Call by Reference: No ( called with pass by value option)

PRICE_OC_F -

Data type: KIS1-OPREIFX
Optional: No
Call by Reference: No ( called with pass by value option)

PEINH_OC -

Data type: KIS1-PEINH_2
Optional: No
Call by Reference: No ( called with pass by value option)

PRICE_TC_T -

Data type: KIS1-TPREIS
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for KKEK_PRICE_QUANTITY_MULTIPLY

VALUE_CC_T -

Data type: KIS1-WERTB
Optional: No
Call by Reference: No ( called with pass by value option)

VALUE_CC_F -

Data type: KIS1-WRTFX
Optional: No
Call by Reference: No ( called with pass by value option)

VALUE_OC_T -

Data type: KIS1-WRTFW_KPF
Optional: No
Call by Reference: No ( called with pass by value option)

VALUE_OC_F -

Data type: KIS1-WRTFW_KFX
Optional: No
Call by Reference: No ( called with pass by value option)

VALUE_TC_T -

Data type: KIS1-WRTFW_POS
Optional: No
Call by Reference: No ( called with pass by value option)

VALUE_TC_F -

Data type: KIS1-WRTFW_PFX
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for KKEK_PRICE_QUANTITY_MULTIPLY 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:
lv_error  TYPE STRING, "   
lv_khs1_imp  TYPE KHS1, "   
lv_value_cc_t  TYPE KIS1-WERTB, "   
lv_price_tc_f  TYPE KIS1-TPREIFX, "   
lv_peinh_tc  TYPE KIS1-PEINH_3, "   
lv_quantity  TYPE KIS1-MENGE, "   
lv_conversion_factor  TYPE F, "   
lv_message_on_screen  TYPE RK70EQ-CHAR1, "   ' '
lv_posnr_imp  TYPE KIS1-POSNR, "   
lv_value_cc_f  TYPE KIS1-WRTFX, "   
lv_price_cc_t  TYPE KIS1-GPREIS, "   
lv_value_oc_t  TYPE KIS1-WRTFW_KPF, "   
lv_price_cc_f  TYPE KIS1-FPREIS, "   
lv_value_oc_f  TYPE KIS1-WRTFW_KFX, "   
lv_peinh_cc  TYPE KIS1-PEINH, "   
lv_value_tc_t  TYPE KIS1-WRTFW_POS, "   
lv_price_oc_t  TYPE KIS1-OPREIS, "   
lv_value_tc_f  TYPE KIS1-WRTFW_PFX, "   
lv_price_oc_f  TYPE KIS1-OPREIFX, "   
lv_peinh_oc  TYPE KIS1-PEINH_2, "   
lv_price_tc_t  TYPE KIS1-TPREIS. "   

  CALL FUNCTION 'KKEK_PRICE_QUANTITY_MULTIPLY'  "
    EXPORTING
         KHS1_IMP = lv_khs1_imp
         PRICE_TC_F = lv_price_tc_f
         PEINH_TC = lv_peinh_tc
         QUANTITY = lv_quantity
         CONVERSION_FACTOR = lv_conversion_factor
         MESSAGE_ON_SCREEN = lv_message_on_screen
         POSNR_IMP = lv_posnr_imp
         PRICE_CC_T = lv_price_cc_t
         PRICE_CC_F = lv_price_cc_f
         PEINH_CC = lv_peinh_cc
         PRICE_OC_T = lv_price_oc_t
         PRICE_OC_F = lv_price_oc_f
         PEINH_OC = lv_peinh_oc
         PRICE_TC_T = lv_price_tc_t
    IMPORTING
         VALUE_CC_T = lv_value_cc_t
         VALUE_CC_F = lv_value_cc_f
         VALUE_OC_T = lv_value_oc_t
         VALUE_OC_F = lv_value_oc_f
         VALUE_TC_T = lv_value_tc_t
         VALUE_TC_F = lv_value_tc_f
    EXCEPTIONS
        ERROR = 1
. " KKEK_PRICE_QUANTITY_MULTIPLY




ABAP code using 7.40 inline data declarations to call FM KKEK_PRICE_QUANTITY_MULTIPLY

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.

 
 
"SELECT single WERTB FROM KIS1 INTO @DATA(ld_value_cc_t).
 
"SELECT single TPREIFX FROM KIS1 INTO @DATA(ld_price_tc_f).
 
"SELECT single PEINH_3 FROM KIS1 INTO @DATA(ld_peinh_tc).
 
"SELECT single MENGE FROM KIS1 INTO @DATA(ld_quantity).
 
 
"SELECT single CHAR1 FROM RK70EQ INTO @DATA(ld_message_on_screen).
DATA(ld_message_on_screen) = ' '.
 
"SELECT single POSNR FROM KIS1 INTO @DATA(ld_posnr_imp).
 
"SELECT single WRTFX FROM KIS1 INTO @DATA(ld_value_cc_f).
 
"SELECT single GPREIS FROM KIS1 INTO @DATA(ld_price_cc_t).
 
"SELECT single WRTFW_KPF FROM KIS1 INTO @DATA(ld_value_oc_t).
 
"SELECT single FPREIS FROM KIS1 INTO @DATA(ld_price_cc_f).
 
"SELECT single WRTFW_KFX FROM KIS1 INTO @DATA(ld_value_oc_f).
 
"SELECT single PEINH FROM KIS1 INTO @DATA(ld_peinh_cc).
 
"SELECT single WRTFW_POS FROM KIS1 INTO @DATA(ld_value_tc_t).
 
"SELECT single OPREIS FROM KIS1 INTO @DATA(ld_price_oc_t).
 
"SELECT single WRTFW_PFX FROM KIS1 INTO @DATA(ld_value_tc_f).
 
"SELECT single OPREIFX FROM KIS1 INTO @DATA(ld_price_oc_f).
 
"SELECT single PEINH_2 FROM KIS1 INTO @DATA(ld_peinh_oc).
 
"SELECT single TPREIS FROM KIS1 INTO @DATA(ld_price_tc_t).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!