SAP PRICING_SELECT_RECORD Function Module for NOTRANSL: Selektion eines Konditionssatzes









PRICING_SELECT_RECORD is a standard pricing select record 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: Selektion eines Konditionssatzes 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 record FM, simply by entering the name PRICING_SELECT_RECORD into the relevant SAP transaction such as SE37 or SE38.

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



Function PRICING_SELECT_RECORD 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_RECORD'"NOTRANSL: Selektion eines Konditionssatzes
EXPORTING
I_KNUMH = "Condition Record Number
* I_KOPOS = "Sequential number of the condition
* I_WITH_LOEVM = ' ' "Take Deletion Indicator Into Account?
* I_ALLOW_ARCHIVE_ACCESS = 'X' "

IMPORTING
E_DB_SUBRC = "
E_ARCHIVE_SUBRC = "

TABLES
* ET_KONP = "Conditions (Item)
* ET_KONM = "Conditions (1-Dimensional Quantity Scale)
* ET_KONW = "Conditions (1-Dimensional Value Scale)
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLV61A_001
EXIT_SAPLV61A_002 Customer Exit : Pricing - Rounding Rule
EXIT_SAPLV61A_400 F&A Repricing controlling

IMPORTING Parameters details for PRICING_SELECT_RECORD

I_KNUMH - Condition Record Number

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

I_KOPOS - Sequential number of the condition

Data type: KOPOS
Optional: Yes
Call by Reference: Yes

I_WITH_LOEVM - Take Deletion Indicator Into Account?

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

I_ALLOW_ARCHIVE_ACCESS -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for PRICING_SELECT_RECORD

E_DB_SUBRC -

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

E_ARCHIVE_SUBRC -

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

TABLES Parameters details for PRICING_SELECT_RECORD

ET_KONP - Conditions (Item)

Data type: KONP
Optional: Yes
Call by Reference: Yes

ET_KONM - Conditions (1-Dimensional Quantity Scale)

Data type: KONM
Optional: Yes
Call by Reference: Yes

ET_KONW - Conditions (1-Dimensional Value Scale)

Data type: KONW
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for PRICING_SELECT_RECORD 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_et_konp  TYPE STANDARD TABLE OF KONP, "   
lv_i_knumh  TYPE KNUMH, "   
lv_e_db_subrc  TYPE SYSUBRC, "   
lt_et_konm  TYPE STANDARD TABLE OF KONM, "   
lv_i_kopos  TYPE KOPOS, "   
lv_e_archive_subrc  TYPE SYSUBRC, "   
lt_et_konw  TYPE STANDARD TABLE OF KONW, "   
lv_i_with_loevm  TYPE XFELD, "   ' '
lv_i_allow_archive_access  TYPE XFELD. "   'X'

  CALL FUNCTION 'PRICING_SELECT_RECORD'  "NOTRANSL: Selektion eines Konditionssatzes
    EXPORTING
         I_KNUMH = lv_i_knumh
         I_KOPOS = lv_i_kopos
         I_WITH_LOEVM = lv_i_with_loevm
         I_ALLOW_ARCHIVE_ACCESS = lv_i_allow_archive_access
    IMPORTING
         E_DB_SUBRC = lv_e_db_subrc
         E_ARCHIVE_SUBRC = lv_e_archive_subrc
    TABLES
         ET_KONP = lt_et_konp
         ET_KONM = lt_et_konm
         ET_KONW = lt_et_konw
. " PRICING_SELECT_RECORD




ABAP code using 7.40 inline data declarations to call FM PRICING_SELECT_RECORD

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.

 
 
 
 
 
 
 
DATA(ld_i_with_loevm) = ' '.
 
DATA(ld_i_allow_archive_access) = 'X'.
 


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!