SAP AFO_TAFO_TRTM_CONVERT Function Module for Konvertierung der Finanzgeschäftsdaten für die Ableitung









AFO_TAFO_TRTM_CONVERT is a standard afo tafo trtm convert SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Konvertierung der Finanzgeschäftsdaten für die Ableitung 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 afo tafo trtm convert FM, simply by entering the name AFO_TAFO_TRTM_CONVERT into the relevant SAP transaction such as SE37 or SE38.

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



Function AFO_TAFO_TRTM_CONVERT 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 'AFO_TAFO_TRTM_CONVERT'"Konvertierung der Finanzgeschäftsdaten für die Ableitung
EXPORTING
I_TRANSACTION = "Finanzgeschäft
I_ACTIVITY = "Finanzgeschäftsvorgang

IMPORTING
E_MONEY_DERI = "Ableitungsstruktur Geldhandel
E_FX_DERI = "Ableitungsstruktur Devisen
E_DERIV_DERI = "Ableitungsstruktur Derivate
E_SECTRANS_DERI = "Ableitungsstruktur Wertpapiergeschäfte
.



IMPORTING Parameters details for AFO_TAFO_TRTM_CONVERT

I_TRANSACTION - Finanzgeschäft

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

I_ACTIVITY - Finanzgeschäftsvorgang

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

EXPORTING Parameters details for AFO_TAFO_TRTM_CONVERT

E_MONEY_DERI - Ableitungsstruktur Geldhandel

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

E_FX_DERI - Ableitungsstruktur Devisen

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

E_DERIV_DERI - Ableitungsstruktur Derivate

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

E_SECTRANS_DERI - Ableitungsstruktur Wertpapiergeschäfte

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

Copy and paste ABAP code example for AFO_TAFO_TRTM_CONVERT 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_money_deri  TYPE JBDMONEYDERI, "   
lv_i_transaction  TYPE VTBFHA, "   
lv_e_fx_deri  TYPE JBDFXDERI, "   
lv_i_activity  TYPE VTBFHAZU, "   
lv_e_deriv_deri  TYPE JBDDERIVDERI, "   
lv_e_sectrans_deri  TYPE JBDSECTRANSDERI. "   

  CALL FUNCTION 'AFO_TAFO_TRTM_CONVERT'  "Konvertierung der Finanzgeschäftsdaten für die Ableitung
    EXPORTING
         I_TRANSACTION = lv_i_transaction
         I_ACTIVITY = lv_i_activity
    IMPORTING
         E_MONEY_DERI = lv_e_money_deri
         E_FX_DERI = lv_e_fx_deri
         E_DERIV_DERI = lv_e_deriv_deri
         E_SECTRANS_DERI = lv_e_sectrans_deri
. " AFO_TAFO_TRTM_CONVERT




ABAP code using 7.40 inline data declarations to call FM AFO_TAFO_TRTM_CONVERT

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



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!