SAP K_CONF_GET_ORDER_VALUE Function Module for
K_CONF_GET_ORDER_VALUE is a standard k conf get order value 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 k conf get order value FM, simply by entering the name K_CONF_GET_ORDER_VALUE into the relevant SAP transaction such as SE37 or SE38.
Function Group: K_CONF_IFCO
Program Name: SAPLK_CONF_IFCO
Main Program: SAPLK_CONF_IFCO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function K_CONF_GET_ORDER_VALUE 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 'K_CONF_GET_ORDER_VALUE'".
EXPORTING
I_OBJNR = "
* I_KOKRS = "
* I_WERK = "
IMPORTING
E_OWERT_GESAMT = "
E_OWERT_FIX = "
E_OWAER = "
E_KWERT_GESAMT = "
E_KWERT_FIX = "
E_KWAER = "
E_MENGE = "
E_MEINH = "
EXCEPTIONS
NOT_QUALIFIED = 1 PLANT_NOT_FOUND = 2
IMPORTING Parameters details for K_CONF_GET_ORDER_VALUE
I_OBJNR -
Data type: CAUFVD-OBJNROptional: No
Call by Reference: Yes
I_KOKRS -
Data type: KOKRSOptional: Yes
Call by Reference: Yes
I_WERK -
Data type: WERKS_DOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for K_CONF_GET_ORDER_VALUE
E_OWERT_GESAMT -
Data type: COSPA-WOG001Optional: No
Call by Reference: No ( called with pass by value option)
E_OWERT_FIX -
Data type: COSPA-WOG001Optional: No
Call by Reference: No ( called with pass by value option)
E_OWAER -
Data type: OWAEROptional: No
Call by Reference: No ( called with pass by value option)
E_KWERT_GESAMT -
Data type: COSPA-WKG001Optional: No
Call by Reference: No ( called with pass by value option)
E_KWERT_FIX -
Data type: COSPA-WKF001Optional: No
Call by Reference: No ( called with pass by value option)
E_KWAER -
Data type: KWAEROptional: No
Call by Reference: No ( called with pass by value option)
E_MENGE -
Data type: COSLA-LST001Optional: No
Call by Reference: No ( called with pass by value option)
E_MEINH -
Data type: COSLA-MEINHOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_QUALIFIED -
Data type:Optional: No
Call by Reference: Yes
PLANT_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for K_CONF_GET_ORDER_VALUE 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_i_objnr | TYPE CAUFVD-OBJNR, " | |||
| lv_not_qualified | TYPE CAUFVD, " | |||
| lv_e_owert_gesamt | TYPE COSPA-WOG001, " | |||
| lv_i_kokrs | TYPE KOKRS, " | |||
| lv_e_owert_fix | TYPE COSPA-WOG001, " | |||
| lv_plant_not_found | TYPE COSPA, " | |||
| lv_i_werk | TYPE WERKS_D, " | |||
| lv_e_owaer | TYPE OWAER, " | |||
| lv_e_kwert_gesamt | TYPE COSPA-WKG001, " | |||
| lv_e_kwert_fix | TYPE COSPA-WKF001, " | |||
| lv_e_kwaer | TYPE KWAER, " | |||
| lv_e_menge | TYPE COSLA-LST001, " | |||
| lv_e_meinh | TYPE COSLA-MEINH. " |
|   CALL FUNCTION 'K_CONF_GET_ORDER_VALUE' " |
| EXPORTING | ||
| I_OBJNR | = lv_i_objnr | |
| I_KOKRS | = lv_i_kokrs | |
| I_WERK | = lv_i_werk | |
| IMPORTING | ||
| E_OWERT_GESAMT | = lv_e_owert_gesamt | |
| E_OWERT_FIX | = lv_e_owert_fix | |
| E_OWAER | = lv_e_owaer | |
| E_KWERT_GESAMT | = lv_e_kwert_gesamt | |
| E_KWERT_FIX | = lv_e_kwert_fix | |
| E_KWAER | = lv_e_kwaer | |
| E_MENGE | = lv_e_menge | |
| E_MEINH | = lv_e_meinh | |
| EXCEPTIONS | ||
| NOT_QUALIFIED = 1 | ||
| PLANT_NOT_FOUND = 2 | ||
| . " K_CONF_GET_ORDER_VALUE | ||
ABAP code using 7.40 inline data declarations to call FM K_CONF_GET_ORDER_VALUE
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 OBJNR FROM CAUFVD INTO @DATA(ld_i_objnr). | ||||
| "SELECT single WOG001 FROM COSPA INTO @DATA(ld_e_owert_gesamt). | ||||
| "SELECT single WOG001 FROM COSPA INTO @DATA(ld_e_owert_fix). | ||||
| "SELECT single WKG001 FROM COSPA INTO @DATA(ld_e_kwert_gesamt). | ||||
| "SELECT single WKF001 FROM COSPA INTO @DATA(ld_e_kwert_fix). | ||||
| "SELECT single LST001 FROM COSLA INTO @DATA(ld_e_menge). | ||||
| "SELECT single MEINH FROM COSLA INTO @DATA(ld_e_meinh). | ||||
Search for further information about these or an SAP related objects