SAP K_PLAN_EXCEL_CONV_INPUT Function Module for
K_PLAN_EXCEL_CONV_INPUT is a standard k plan excel conv input 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 plan excel conv input FM, simply by entering the name K_PLAN_EXCEL_CONV_INPUT into the relevant SAP transaction such as SE37 or SE38.
Function Group: KPP7
Program Name: SAPLKPP7
Main Program: SAPLKPP7
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function K_PLAN_EXCEL_CONV_INPUT 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_PLAN_EXCEL_CONV_INPUT'".
EXPORTING
I_DATATYPE = "
* I_SCALE = 0 "
* I_DECAN_QUAN = 0 "
I_VALUE = "
I_INTTYPE = "
* I_RATIO = 'K' "
* I_CONVEXIT = ' ' "
I_LENG = "Length (Number of Characters)
I_INTLEN = "
I_OUTPUTLEN = "
* I_DB_DECIM = 0 "
* I_SCR_DECIM = 0 "
IMPORTING
E_VALUE = "
E_FLOAT_EX = "
EXCEPTIONS
WRONG_INPUT_IN_NUMBER_FIELD = 1 CONVERSION_FAILED = 2 CONTROL_ERROR_DEC_SEP = 3
IMPORTING Parameters details for K_PLAN_EXCEL_CONV_INPUT
I_DATATYPE -
Data type: KPP1L-DATATYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_SCALE -
Data type: KPP1L-SCALEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DECAN_QUAN -
Data type: KPP1L-DECAN_QUANOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VALUE -
Data type: KPP1L-VALUEOptional: No
Call by Reference: No ( called with pass by value option)
I_INTTYPE -
Data type: KPP1L-INTTYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_RATIO -
Data type: KPP1L-RATIODefault: 'K'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CONVEXIT -
Data type: KPP1L-CONVEXITDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LENG - Length (Number of Characters)
Data type: KPP1L-LENGOptional: No
Call by Reference: No ( called with pass by value option)
I_INTLEN -
Data type: KPP1L-INTLENOptional: No
Call by Reference: No ( called with pass by value option)
I_OUTPUTLEN -
Data type: KPP1L-OUTPUTLENOptional: No
Call by Reference: No ( called with pass by value option)
I_DB_DECIM -
Data type: KPP1L-DB_DECIMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SCR_DECIM -
Data type: KPP1L-SCR_DECIMOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for K_PLAN_EXCEL_CONV_INPUT
E_VALUE -
Data type: KPP1L-VALUEOptional: No
Call by Reference: No ( called with pass by value option)
E_FLOAT_EX -
Data type: FOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
WRONG_INPUT_IN_NUMBER_FIELD -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CONVERSION_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CONTROL_ERROR_DEC_SEP -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for K_PLAN_EXCEL_CONV_INPUT 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_e_value | TYPE KPP1L-VALUE, " | |||
| lv_i_datatype | TYPE KPP1L-DATATYPE, " | |||
| lv_wrong_input_in_number_field | TYPE KPP1L, " | |||
| lv_i_scale | TYPE KPP1L-SCALE, " 0 | |||
| lv_i_decan_quan | TYPE KPP1L-DECAN_QUAN, " 0 | |||
| lv_i_value | TYPE KPP1L-VALUE, " | |||
| lv_i_inttype | TYPE KPP1L-INTTYPE, " | |||
| lv_e_float_ex | TYPE F, " | |||
| lv_conversion_failed | TYPE F, " | |||
| lv_i_ratio | TYPE KPP1L-RATIO, " 'K' | |||
| lv_control_error_dec_sep | TYPE KPP1L, " | |||
| lv_i_convexit | TYPE KPP1L-CONVEXIT, " SPACE | |||
| lv_i_leng | TYPE KPP1L-LENG, " | |||
| lv_i_intlen | TYPE KPP1L-INTLEN, " | |||
| lv_i_outputlen | TYPE KPP1L-OUTPUTLEN, " | |||
| lv_i_db_decim | TYPE KPP1L-DB_DECIM, " 0 | |||
| lv_i_scr_decim | TYPE KPP1L-SCR_DECIM. " 0 |
|   CALL FUNCTION 'K_PLAN_EXCEL_CONV_INPUT' " |
| EXPORTING | ||
| I_DATATYPE | = lv_i_datatype | |
| I_SCALE | = lv_i_scale | |
| I_DECAN_QUAN | = lv_i_decan_quan | |
| I_VALUE | = lv_i_value | |
| I_INTTYPE | = lv_i_inttype | |
| I_RATIO | = lv_i_ratio | |
| I_CONVEXIT | = lv_i_convexit | |
| I_LENG | = lv_i_leng | |
| I_INTLEN | = lv_i_intlen | |
| I_OUTPUTLEN | = lv_i_outputlen | |
| I_DB_DECIM | = lv_i_db_decim | |
| I_SCR_DECIM | = lv_i_scr_decim | |
| IMPORTING | ||
| E_VALUE | = lv_e_value | |
| E_FLOAT_EX | = lv_e_float_ex | |
| EXCEPTIONS | ||
| WRONG_INPUT_IN_NUMBER_FIELD = 1 | ||
| CONVERSION_FAILED = 2 | ||
| CONTROL_ERROR_DEC_SEP = 3 | ||
| . " K_PLAN_EXCEL_CONV_INPUT | ||
ABAP code using 7.40 inline data declarations to call FM K_PLAN_EXCEL_CONV_INPUT
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 VALUE FROM KPP1L INTO @DATA(ld_e_value). | ||||
| "SELECT single DATATYPE FROM KPP1L INTO @DATA(ld_i_datatype). | ||||
| "SELECT single SCALE FROM KPP1L INTO @DATA(ld_i_scale). | ||||
| "SELECT single DECAN_QUAN FROM KPP1L INTO @DATA(ld_i_decan_quan). | ||||
| "SELECT single VALUE FROM KPP1L INTO @DATA(ld_i_value). | ||||
| "SELECT single INTTYPE FROM KPP1L INTO @DATA(ld_i_inttype). | ||||
| "SELECT single RATIO FROM KPP1L INTO @DATA(ld_i_ratio). | ||||
| DATA(ld_i_ratio) | = 'K'. | |||
| "SELECT single CONVEXIT FROM KPP1L INTO @DATA(ld_i_convexit). | ||||
| DATA(ld_i_convexit) | = ' '. | |||
| "SELECT single LENG FROM KPP1L INTO @DATA(ld_i_leng). | ||||
| "SELECT single INTLEN FROM KPP1L INTO @DATA(ld_i_intlen). | ||||
| "SELECT single OUTPUTLEN FROM KPP1L INTO @DATA(ld_i_outputlen). | ||||
| "SELECT single DB_DECIM FROM KPP1L INTO @DATA(ld_i_db_decim). | ||||
| "SELECT single SCR_DECIM FROM KPP1L INTO @DATA(ld_i_scr_decim). | ||||
Search for further information about these or an SAP related objects