SAP PRICING_SELECT_LINE Function Module for NOTRANSL: Zeile auswählen zur Anzeige in der zweizeiligen Erfassung
PRICING_SELECT_LINE is a standard pricing select line SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Zeile auswählen zur Anzeige in der zweizeiligen Erfassung 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 select line FM, simply by entering the name PRICING_SELECT_LINE 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_SELECT_LINE 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_SELECT_LINE'"NOTRANSL: Zeile auswählen zur Anzeige in der zweizeiligen Erfassung.
EXPORTING
I_KOMK = "
I_KOMP = "
I_KSCHL = "
* I_KPOSN = "Condition Item Number
IMPORTING
E_KSCHL = "
E_KOMP = "Communication Item for Pricing
E_KBETR = "
E_WAERS = "
E_KRECH = "Calculation Rule for Condition
E_KPEIN = "Condition Pricing Unit
E_KMEIN = "Condition Unit in the Document
E_COND_RECORD_EXISTS = "Checkbox
E_EDIT = "Checkbox
E_KOMK = "Communication Header for Pricing
TABLES
TKOMV = "
IMPORTING Parameters details for PRICING_SELECT_LINE
I_KOMK -
Data type: KOMKOptional: No
Call by Reference: Yes
I_KOMP -
Data type: KOMPOptional: No
Call by Reference: Yes
I_KSCHL -
Data type: KONV-KSCHLOptional: No
Call by Reference: No ( called with pass by value option)
I_KPOSN - Condition Item Number
Data type: KPOSNOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PRICING_SELECT_LINE
E_KSCHL -
Data type: KONV-KSCHLOptional: No
Call by Reference: No ( called with pass by value option)
E_KOMP - Communication Item for Pricing
Data type: KOMPOptional: No
Call by Reference: Yes
E_KBETR -
Data type: KONV-KBETROptional: No
Call by Reference: No ( called with pass by value option)
E_WAERS -
Data type: KONV-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
E_KRECH - Calculation Rule for Condition
Data type: KONV-KRECHOptional: No
Call by Reference: No ( called with pass by value option)
E_KPEIN - Condition Pricing Unit
Data type: KONV-KPEINOptional: No
Call by Reference: No ( called with pass by value option)
E_KMEIN - Condition Unit in the Document
Data type: KONV-KMEINOptional: No
Call by Reference: No ( called with pass by value option)
E_COND_RECORD_EXISTS - Checkbox
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_EDIT - Checkbox
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_KOMK - Communication Header for Pricing
Data type: KOMKOptional: No
Call by Reference: Yes
TABLES Parameters details for PRICING_SELECT_LINE
TKOMV -
Data type: KOMVOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PRICING_SELECT_LINE 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_i_komk | TYPE KOMK, " | |||
| lv_e_kschl | TYPE KONV-KSCHL, " | |||
| lv_e_komp | TYPE KOMP, " | |||
| lv_i_komp | TYPE KOMP, " | |||
| lv_e_kbetr | TYPE KONV-KBETR, " | |||
| lv_e_waers | TYPE KONV-WAERS, " | |||
| lv_i_kschl | TYPE KONV-KSCHL, " | |||
| lv_e_krech | TYPE KONV-KRECH, " | |||
| lv_i_kposn | TYPE KPOSN, " | |||
| lv_e_kpein | TYPE KONV-KPEIN, " | |||
| lv_e_kmein | TYPE KONV-KMEIN, " | |||
| lv_e_cond_record_exists | TYPE XFELD, " | |||
| lv_e_edit | TYPE XFELD, " | |||
| lv_e_komk | TYPE KOMK. " |
|   CALL FUNCTION 'PRICING_SELECT_LINE' "NOTRANSL: Zeile auswählen zur Anzeige in der zweizeiligen Erfassung |
| EXPORTING | ||
| I_KOMK | = lv_i_komk | |
| I_KOMP | = lv_i_komp | |
| I_KSCHL | = lv_i_kschl | |
| I_KPOSN | = lv_i_kposn | |
| IMPORTING | ||
| E_KSCHL | = lv_e_kschl | |
| E_KOMP | = lv_e_komp | |
| E_KBETR | = lv_e_kbetr | |
| E_WAERS | = lv_e_waers | |
| E_KRECH | = lv_e_krech | |
| E_KPEIN | = lv_e_kpein | |
| E_KMEIN | = lv_e_kmein | |
| E_COND_RECORD_EXISTS | = lv_e_cond_record_exists | |
| E_EDIT | = lv_e_edit | |
| E_KOMK | = lv_e_komk | |
| TABLES | ||
| TKOMV | = lt_tkomv | |
| . " PRICING_SELECT_LINE | ||
ABAP code using 7.40 inline data declarations to call FM PRICING_SELECT_LINE
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 KBETR FROM KONV INTO @DATA(ld_e_kbetr). | ||||
| "SELECT single WAERS FROM KONV INTO @DATA(ld_e_waers). | ||||
| "SELECT single KSCHL FROM KONV INTO @DATA(ld_i_kschl). | ||||
| "SELECT single KRECH FROM KONV INTO @DATA(ld_e_krech). | ||||
| "SELECT single KPEIN FROM KONV INTO @DATA(ld_e_kpein). | ||||
| "SELECT single KMEIN FROM KONV INTO @DATA(ld_e_kmein). | ||||
Search for further information about these or an SAP related objects