SAP PRICING_MANUAL_INPUT Function Module for Enter in Two-Line Entry









PRICING_MANUAL_INPUT is a standard pricing manual input SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Enter in Two-Line Entry processing and below is the pattern details for this FM, 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 pricing manual input FM, simply by entering the name PRICING_MANUAL_INPUT into the relevant SAP transaction such as SE37 or SE38.

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



Function PRICING_MANUAL_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 'PRICING_MANUAL_INPUT'"Enter in Two-Line Entry
EXPORTING
I_KOMK = "
I_KOMP = "
I_KSCHL = "
I_KBETR = "
I_WAERS = "
* I_KRECH = "Calculation Rule for Condition
* I_KPEIN = "Condition Pricing Unit
* I_KMEIN = "Condition Unit in the Document

IMPORTING
E_KOMK = "
E_KOMP = "
E_KSCHL = "Condition Type
E_KBETR = "Condition Rate or Percentage Rate
E_WAERS = "Currency Key

TABLES
TKOMV = "

EXCEPTIONS
FIELD_INITIAL = 1 LINE_NOT_UNIQUE = 2 CHECKS_FAILED = 3
.



IMPORTING Parameters details for PRICING_MANUAL_INPUT

I_KOMK -

Data type: KOMK
Optional: No
Call by Reference: Yes

I_KOMP -

Data type: KOMP
Optional: No
Call by Reference: Yes

I_KSCHL -

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

I_KBETR -

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

I_WAERS -

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

I_KRECH - Calculation Rule for Condition

Data type: KONV-KRECH
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KPEIN - Condition Pricing Unit

Data type: KONV-KPEIN
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KMEIN - Condition Unit in the Document

Data type: KONV-KMEIN
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for PRICING_MANUAL_INPUT

E_KOMK -

Data type: KOMK
Optional: No
Call by Reference: Yes

E_KOMP -

Data type: KOMP
Optional: No
Call by Reference: Yes

E_KSCHL - Condition Type

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

E_KBETR - Condition Rate or Percentage Rate

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

E_WAERS - Currency Key

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

TABLES Parameters details for PRICING_MANUAL_INPUT

TKOMV -

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

EXCEPTIONS details

FIELD_INITIAL -

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

LINE_NOT_UNIQUE -

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

CHECKS_FAILED -

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

Copy and paste ABAP code example for PRICING_MANUAL_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:
lt_tkomv  TYPE STANDARD TABLE OF KOMV, "   
lv_e_komk  TYPE KOMK, "   
lv_i_komk  TYPE KOMK, "   
lv_field_initial  TYPE KOMK, "   
lv_e_komp  TYPE KOMP, "   
lv_i_komp  TYPE KOMP, "   
lv_line_not_unique  TYPE KOMP, "   
lv_e_kschl  TYPE KONV-KSCHL, "   
lv_i_kschl  TYPE KONV-KSCHL, "   
lv_checks_failed  TYPE KONV, "   
lv_e_kbetr  TYPE KONV-KBETR, "   
lv_i_kbetr  TYPE KONV-KBETR, "   
lv_e_waers  TYPE KONV-WAERS, "   
lv_i_waers  TYPE KONV-WAERS, "   
lv_i_krech  TYPE KONV-KRECH, "   
lv_i_kpein  TYPE KONV-KPEIN, "   
lv_i_kmein  TYPE KONV-KMEIN. "   

  CALL FUNCTION 'PRICING_MANUAL_INPUT'  "Enter in Two-Line Entry
    EXPORTING
         I_KOMK = lv_i_komk
         I_KOMP = lv_i_komp
         I_KSCHL = lv_i_kschl
         I_KBETR = lv_i_kbetr
         I_WAERS = lv_i_waers
         I_KRECH = lv_i_krech
         I_KPEIN = lv_i_kpein
         I_KMEIN = lv_i_kmein
    IMPORTING
         E_KOMK = lv_e_komk
         E_KOMP = lv_e_komp
         E_KSCHL = lv_e_kschl
         E_KBETR = lv_e_kbetr
         E_WAERS = lv_e_waers
    TABLES
         TKOMV = lt_tkomv
    EXCEPTIONS
        FIELD_INITIAL = 1
        LINE_NOT_UNIQUE = 2
        CHECKS_FAILED = 3
. " PRICING_MANUAL_INPUT




ABAP code using 7.40 inline data declarations to call FM PRICING_MANUAL_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 KSCHL FROM KONV INTO @DATA(ld_e_kschl).
 
"SELECT single KSCHL FROM KONV INTO @DATA(ld_i_kschl).
 
 
"SELECT single KBETR FROM KONV INTO @DATA(ld_e_kbetr).
 
"SELECT single KBETR FROM KONV INTO @DATA(ld_i_kbetr).
 
"SELECT single WAERS FROM KONV INTO @DATA(ld_e_waers).
 
"SELECT single WAERS FROM KONV INTO @DATA(ld_i_waers).
 
"SELECT single KRECH FROM KONV INTO @DATA(ld_i_krech).
 
"SELECT single KPEIN FROM KONV INTO @DATA(ld_i_kpein).
 
"SELECT single KMEIN FROM KONV INTO @DATA(ld_i_kmein).
 


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!