SAP PRICES_PROPOSE Function Module for









PRICES_PROPOSE is a standard prices propose 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 prices propose FM, simply by entering the name PRICES_PROPOSE into the relevant SAP transaction such as SE37 or SE38.

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



Function PRICES_PROPOSE 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 'PRICES_PROPOSE'"
EXPORTING
ACTUAL_BDATJ = "
ACTUAL_POPER = "
BUKRS = "
* SUBS_DBT = "
* S_PRICE_PROP_CTRL = "Control Toolbar for the Module Prices_purpose

IMPORTING
PRICES_PROPOSED = "

TABLES
T_MATPR = "

EXCEPTIONS
DATA_ERROR = 1
.



IMPORTING Parameters details for PRICES_PROPOSE

ACTUAL_BDATJ -

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

ACTUAL_POPER -

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

BUKRS -

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

SUBS_DBT -

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

S_PRICE_PROP_CTRL - Control Toolbar for the Module Prices_purpose

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

EXPORTING Parameters details for PRICES_PROPOSE

PRICES_PROPOSED -

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

TABLES Parameters details for PRICES_PROPOSE

T_MATPR -

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

EXCEPTIONS details

DATA_ERROR -

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

Copy and paste ABAP code example for PRICES_PROPOSE 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_t_matpr  TYPE STANDARD TABLE OF CKMPR_MAT_PRICE, "   
lv_data_error  TYPE CKMPR_MAT_PRICE, "   
lv_actual_bdatj  TYPE CKMLPP-BDATJ, "   
lv_prices_proposed  TYPE BOOLE-BOOLE, "   
lv_actual_poper  TYPE CKMLPP-POPER, "   
lv_bukrs  TYPE T001-BUKRS, "   
lv_subs_dbt  TYPE BOOLE-BOOLE, "   
lv_s_price_prop_ctrl  TYPE PRICE_PROP_CTRL. "   

  CALL FUNCTION 'PRICES_PROPOSE'  "
    EXPORTING
         ACTUAL_BDATJ = lv_actual_bdatj
         ACTUAL_POPER = lv_actual_poper
         BUKRS = lv_bukrs
         SUBS_DBT = lv_subs_dbt
         S_PRICE_PROP_CTRL = lv_s_price_prop_ctrl
    IMPORTING
         PRICES_PROPOSED = lv_prices_proposed
    TABLES
         T_MATPR = lt_t_matpr
    EXCEPTIONS
        DATA_ERROR = 1
. " PRICES_PROPOSE




ABAP code using 7.40 inline data declarations to call FM PRICES_PROPOSE

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 BDATJ FROM CKMLPP INTO @DATA(ld_actual_bdatj).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_prices_proposed).
 
"SELECT single POPER FROM CKMLPP INTO @DATA(ld_actual_poper).
 
"SELECT single BUKRS FROM T001 INTO @DATA(ld_bukrs).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_subs_dbt).
 
 


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!