SAP /BA1/BAPI_F4_IRV_MODIFY Function Module for BAPI for Creating or Changing Interrest Rates Volatilities
/BA1/BAPI_F4_IRV_MODIFY is a standard /ba1/bapi f4 irv modify SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BAPI for Creating or Changing Interrest Rates Volatilities 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 /ba1/bapi f4 irv modify FM, simply by entering the name /BA1/BAPI_F4_IRV_MODIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: /BA1/F4_VOLA_BAPI
Program Name: /BA1/SAPLF4_VOLA_BAPI
Main Program: /BA1/SAPLF4_VOLA_BAPI
Appliation area:
Release date: 11-Oct-2004
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function /BA1/BAPI_F4_IRV_MODIFY 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 '/BA1/BAPI_F4_IRV_MODIFY'"BAPI for Creating or Changing Interrest Rates Volatilities.
EXPORTING
MDCODE = "Market Data Area
* CUSTOMIZINGSETTINGS = "Structure for Overriding Customizing Settings in Mass Correction
* PROCESSEXTENSION = "Indicator for Activating Execution of BAdI Methods
VOLTYPE = "Volatility Type
REFRATE = "Reference Interest Rate
* EXTNOOPTION = ' ' "External Number of Option
* EXTPRODTYPEOPTION = ' ' "External Template Category for Option
VALIDDATE = "Validity Date
* STATUS = ' ' "Status of Market Data
* TESTRUN = ' ' "Import Data as a Test Run
* CORRECTIONSERVERACTIV = '0' "Correction Activity for Automatic Corrections
TABLES
* VOLATILITYVALUES = "Volatilities (With Maturity for Option and Moneyness)
* RETURN = "Return Parameter
* EXTENSIONIN = "Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* EXTENSIONOUT = "Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
IMPORTING Parameters details for /BA1/BAPI_F4_IRV_MODIFY
MDCODE - Market Data Area
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-MDCODEOptional: No
Call by Reference: No ( called with pass by value option)
CUSTOMIZINGSETTINGS - Structure for Overriding Customizing Settings in Mass Correction
Data type: /BA1/BAPIF4_STR_CUST_SETTOptional: Yes
Call by Reference: No ( called with pass by value option)
PROCESSEXTENSION - Indicator for Activating Execution of BAdI Methods
Data type: /BA1/BAPIF4_STR_PROC_EXT-PROCESSEXTENSIONOptional: Yes
Call by Reference: No ( called with pass by value option)
VOLTYPE - Volatility Type
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-VOLTYPEOptional: No
Call by Reference: No ( called with pass by value option)
REFRATE - Reference Interest Rate
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-REFRATEOptional: No
Call by Reference: No ( called with pass by value option)
EXTNOOPTION - External Number of Option
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-EXTNOOPTTIONDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXTPRODTYPEOPTION - External Template Category for Option
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-EXTPRODTYPEOPTIONDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VALIDDATE - Validity Date
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-VALIDDATEOptional: No
Call by Reference: No ( called with pass by value option)
STATUS - Status of Market Data
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-STATUSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TESTRUN - Import Data as a Test Run
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-TESTRUNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CORRECTIONSERVERACTIV - Correction Activity for Automatic Corrections
Data type: /BA1/BAPIF4_STR_VO_MAPIPA-CORRECTIONSERVERACTIVDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for /BA1/BAPI_F4_IRV_MODIFY
VOLATILITYVALUES - Volatilities (With Maturity for Option and Moneyness)
Data type: /BA1/BAPIF4_STR_VO_MPR_P2Optional: Yes
Call by Reference: No ( called with pass by value option)
RETURN - Return Parameter
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
EXTENSIONIN - Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXTENSIONOUT - Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /BA1/BAPI_F4_IRV_MODIFY 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_mdcode | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-MDCODE, " | |||
| lt_volatilityvalues | TYPE STANDARD TABLE OF /BA1/BAPIF4_STR_VO_MPR_P2, " | |||
| lv_customizingsettings | TYPE /BA1/BAPIF4_STR_CUST_SETT, " | |||
| lv_processextension | TYPE /BA1/BAPIF4_STR_PROC_EXT-PROCESSEXTENSION, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_voltype | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-VOLTYPE, " | |||
| lv_refrate | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-REFRATE, " | |||
| lt_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lv_extnooption | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-EXTNOOPTTION, " SPACE | |||
| lt_extensionout | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lv_extprodtypeoption | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-EXTPRODTYPEOPTION, " SPACE | |||
| lv_validdate | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-VALIDDATE, " | |||
| lv_status | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-STATUS, " SPACE | |||
| lv_testrun | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-TESTRUN, " SPACE | |||
| lv_correctionserveractiv | TYPE /BA1/BAPIF4_STR_VO_MAPIPA-CORRECTIONSERVERACTIV. " '0' |
|   CALL FUNCTION '/BA1/BAPI_F4_IRV_MODIFY' "BAPI for Creating or Changing Interrest Rates Volatilities |
| EXPORTING | ||
| MDCODE | = lv_mdcode | |
| CUSTOMIZINGSETTINGS | = lv_customizingsettings | |
| PROCESSEXTENSION | = lv_processextension | |
| VOLTYPE | = lv_voltype | |
| REFRATE | = lv_refrate | |
| EXTNOOPTION | = lv_extnooption | |
| EXTPRODTYPEOPTION | = lv_extprodtypeoption | |
| VALIDDATE | = lv_validdate | |
| STATUS | = lv_status | |
| TESTRUN | = lv_testrun | |
| CORRECTIONSERVERACTIV | = lv_correctionserveractiv | |
| TABLES | ||
| VOLATILITYVALUES | = lt_volatilityvalues | |
| RETURN | = lt_return | |
| EXTENSIONIN | = lt_extensionin | |
| EXTENSIONOUT | = lt_extensionout | |
| . " /BA1/BAPI_F4_IRV_MODIFY | ||
ABAP code using 7.40 inline data declarations to call FM /BA1/BAPI_F4_IRV_MODIFY
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 MDCODE FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_mdcode). | ||||
| "SELECT single PROCESSEXTENSION FROM /BA1/BAPIF4_STR_PROC_EXT INTO @DATA(ld_processextension). | ||||
| "SELECT single VOLTYPE FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_voltype). | ||||
| "SELECT single REFRATE FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_refrate). | ||||
| "SELECT single EXTNOOPTTION FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_extnooption). | ||||
| DATA(ld_extnooption) | = ' '. | |||
| "SELECT single EXTPRODTYPEOPTION FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_extprodtypeoption). | ||||
| DATA(ld_extprodtypeoption) | = ' '. | |||
| "SELECT single VALIDDATE FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_validdate). | ||||
| "SELECT single STATUS FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_status). | ||||
| DATA(ld_status) | = ' '. | |||
| "SELECT single TESTRUN FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_testrun). | ||||
| DATA(ld_testrun) | = ' '. | |||
| "SELECT single CORRECTIONSERVERACTIV FROM /BA1/BAPIF4_STR_VO_MAPIPA INTO @DATA(ld_correctionserveractiv). | ||||
| DATA(ld_correctionserveractiv) | = '0'. | |||
Search for further information about these or an SAP related objects