SAP MAP2E_SECURITY_TO_BUS1076 Function Module for Transform Security Structures to Financial Product Structures
MAP2E_SECURITY_TO_BUS1076 is a standard map2e security to bus1076 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transform Security Structures to Financial Product Structures 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 map2e security to bus1076 FM, simply by entering the name MAP2E_SECURITY_TO_BUS1076 into the relevant SAP transaction such as SE37 or SE38.
Function Group: 1076_MAPPING
Program Name: SAPL1076_MAPPING
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MAP2E_SECURITY_TO_BUS1076 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 'MAP2E_SECURITY_TO_BUS1076'"Transform Security Structures to Financial Product Structures.
EXPORTING
I_VWPANLA = "
I_VWPAKTI = "
I_VWPANLE = "
I_VWPTERM = "
I_VTIDERI = "
IMPORTING
E_BOND = "
E_INVESTMENT = "
E_SUBSCRIPTIONRIGHT = "
E_CONVERTIBLEBOND = "
E_WARRANTBOND = "
E_BONDWARRANT = "
E_CURRENCYWARRANT = "
E_EQUITYWARRANT = "
E_INDEXWARRANT = "
E_STOCK = "
E_SHAREHOLDING = "
IMPORTING Parameters details for MAP2E_SECURITY_TO_BUS1076
I_VWPANLA -
Data type: VWPANLAOptional: No
Call by Reference: No ( called with pass by value option)
I_VWPAKTI -
Data type: VWPAKTIOptional: No
Call by Reference: No ( called with pass by value option)
I_VWPANLE -
Data type: VWPANLEOptional: No
Call by Reference: No ( called with pass by value option)
I_VWPTERM -
Data type: VWPTERMOptional: No
Call by Reference: No ( called with pass by value option)
I_VTIDERI -
Data type: VTIDERIOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MAP2E_SECURITY_TO_BUS1076
E_BOND -
Data type: BAPI1076_BONDOptional: No
Call by Reference: No ( called with pass by value option)
E_INVESTMENT -
Data type: BAPI1076_INVESTMENTOptional: No
Call by Reference: No ( called with pass by value option)
E_SUBSCRIPTIONRIGHT -
Data type: BAPI1076_SUBSCRIPTIONRIGHTOptional: No
Call by Reference: No ( called with pass by value option)
E_CONVERTIBLEBOND -
Data type: BAPI1076_CONVERTIBLEBONDOptional: No
Call by Reference: No ( called with pass by value option)
E_WARRANTBOND -
Data type: BAPI1076_WARRANTBONDOptional: No
Call by Reference: No ( called with pass by value option)
E_BONDWARRANT -
Data type: BAPI1076_BONDWARRANTOptional: No
Call by Reference: No ( called with pass by value option)
E_CURRENCYWARRANT -
Data type: BAPI1076_CURRENCYWARRANTOptional: No
Call by Reference: No ( called with pass by value option)
E_EQUITYWARRANT -
Data type: BAPI1076_EQUITYWARRANTOptional: No
Call by Reference: No ( called with pass by value option)
E_INDEXWARRANT -
Data type: BAPI1076_INDEXWARRANTOptional: No
Call by Reference: No ( called with pass by value option)
E_STOCK -
Data type: BAPI1076_STOCKOptional: No
Call by Reference: No ( called with pass by value option)
E_SHAREHOLDING -
Data type: BAPI1076_SHAREHOLDINGOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MAP2E_SECURITY_TO_BUS1076 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_e_bond | TYPE BAPI1076_BOND, " | |||
| lv_i_vwpanla | TYPE VWPANLA, " | |||
| lv_e_investment | TYPE BAPI1076_INVESTMENT, " | |||
| lv_e_subscriptionright | TYPE BAPI1076_SUBSCRIPTIONRIGHT, " | |||
| lv_i_vwpakti | TYPE VWPAKTI, " | |||
| lv_e_convertiblebond | TYPE BAPI1076_CONVERTIBLEBOND, " | |||
| lv_i_vwpanle | TYPE VWPANLE, " | |||
| lv_e_warrantbond | TYPE BAPI1076_WARRANTBOND, " | |||
| lv_i_vwpterm | TYPE VWPTERM, " | |||
| lv_e_bondwarrant | TYPE BAPI1076_BONDWARRANT, " | |||
| lv_i_vtideri | TYPE VTIDERI, " | |||
| lv_e_currencywarrant | TYPE BAPI1076_CURRENCYWARRANT, " | |||
| lv_e_equitywarrant | TYPE BAPI1076_EQUITYWARRANT, " | |||
| lv_e_indexwarrant | TYPE BAPI1076_INDEXWARRANT, " | |||
| lv_e_stock | TYPE BAPI1076_STOCK, " | |||
| lv_e_shareholding | TYPE BAPI1076_SHAREHOLDING. " |
|   CALL FUNCTION 'MAP2E_SECURITY_TO_BUS1076' "Transform Security Structures to Financial Product Structures |
| EXPORTING | ||
| I_VWPANLA | = lv_i_vwpanla | |
| I_VWPAKTI | = lv_i_vwpakti | |
| I_VWPANLE | = lv_i_vwpanle | |
| I_VWPTERM | = lv_i_vwpterm | |
| I_VTIDERI | = lv_i_vtideri | |
| IMPORTING | ||
| E_BOND | = lv_e_bond | |
| E_INVESTMENT | = lv_e_investment | |
| E_SUBSCRIPTIONRIGHT | = lv_e_subscriptionright | |
| E_CONVERTIBLEBOND | = lv_e_convertiblebond | |
| E_WARRANTBOND | = lv_e_warrantbond | |
| E_BONDWARRANT | = lv_e_bondwarrant | |
| E_CURRENCYWARRANT | = lv_e_currencywarrant | |
| E_EQUITYWARRANT | = lv_e_equitywarrant | |
| E_INDEXWARRANT | = lv_e_indexwarrant | |
| E_STOCK | = lv_e_stock | |
| E_SHAREHOLDING | = lv_e_shareholding | |
| . " MAP2E_SECURITY_TO_BUS1076 | ||
ABAP code using 7.40 inline data declarations to call FM MAP2E_SECURITY_TO_BUS1076
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