SAP ISM_SE_MV45A_EXIT_NEW_PRICING Function Module for IS-M: Exit Discount Exit for New Pricing
ISM_SE_MV45A_EXIT_NEW_PRICING is a standard ism se mv45a exit new pricing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M: Exit Discount Exit for New Pricing 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 ism se mv45a exit new pricing FM, simply by entering the name ISM_SE_MV45A_EXIT_NEW_PRICING into the relevant SAP transaction such as SE37 or SE38.
Function Group: JKSESAPMV45A05
Program Name: SAPLJKSESAPMV45A05
Main Program: SAPLJKSESAPMV45A05
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_SE_MV45A_EXIT_NEW_PRICING 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 'ISM_SE_MV45A_EXIT_NEW_PRICING'"IS-M: Exit Discount Exit for New Pricing.
EXPORTING
* I_HEADER = "Single-Character Indicator
* I_POS = "Single-Character Indicator
* I_VBAK = "Sales Document: Header Data
* I_VBAP = "Sales Document: Item Data
* I_VBKD = "Sales Document: Business Data
* I_VBAP_OLD = "
* I_VBKD_OLD = "
CHANGING
C_PRICING = "Single-Character Indicator
IMPORTING Parameters details for ISM_SE_MV45A_EXIT_NEW_PRICING
I_HEADER - Single-Character Indicator
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_POS - Single-Character Indicator
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBAK - Sales Document: Header Data
Data type: VBAKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VBAP - Sales Document: Item Data
Data type: VBAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VBKD - Sales Document: Business Data
Data type: VBKDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VBAP_OLD -
Data type: VBAPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VBKD_OLD -
Data type: VBKDOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISM_SE_MV45A_EXIT_NEW_PRICING
C_PRICING - Single-Character Indicator
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_SE_MV45A_EXIT_NEW_PRICING 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_i_header | TYPE CHAR1, " | |||
| lv_c_pricing | TYPE CHAR1, " | |||
| lv_i_pos | TYPE CHAR1, " | |||
| lv_i_vbak | TYPE VBAK, " | |||
| lv_i_vbap | TYPE VBAP, " | |||
| lv_i_vbkd | TYPE VBKD, " | |||
| lv_i_vbap_old | TYPE VBAP, " | |||
| lv_i_vbkd_old | TYPE VBKD. " |
|   CALL FUNCTION 'ISM_SE_MV45A_EXIT_NEW_PRICING' "IS-M: Exit Discount Exit for New Pricing |
| EXPORTING | ||
| I_HEADER | = lv_i_header | |
| I_POS | = lv_i_pos | |
| I_VBAK | = lv_i_vbak | |
| I_VBAP | = lv_i_vbap | |
| I_VBKD | = lv_i_vbkd | |
| I_VBAP_OLD | = lv_i_vbap_old | |
| I_VBKD_OLD | = lv_i_vbkd_old | |
| CHANGING | ||
| C_PRICING | = lv_c_pricing | |
| . " ISM_SE_MV45A_EXIT_NEW_PRICING | ||
ABAP code using 7.40 inline data declarations to call FM ISM_SE_MV45A_EXIT_NEW_PRICING
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.Search for further information about these or an SAP related objects