SAP ABAP Function Module G_LOCAL_CURRENCY_GET (Currency translation to find local currency for the ledger)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       GBAS (Package) FI-SL Customizing / integration / Basis
Basic Data
Function Module G_LOCAL_CURRENCY_GET Currency translation to find local currency for the ledger  
Function Group GICV   Currency translations in FI-GLX  
Program Name SAPLGICV    
INCLUDE Name LGICVU01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting CURRENCY TYPE BKPF-HWAER Determined currency
Exporting VALUE TYPE GLU1-HSL Determined Amount
Importing BUKRS TYPE T001-BUKRS SPACE
Importing CONV_DATE TYPE SYST-DATUM
Importing HW1_CT TYPE BKPF-CURT2 '10' Currency type of local currency 1
Importing HW1_CURR TYPE BKPF-HWAER SPACE Currency of local currency 1
Importing HW1_VALUE TYPE SPACE Amount of local currency 1
Importing HW2_CT TYPE BKPF-CURT2 SPACE Currency type of local currency 2
Importing HW2_CURR TYPE BKPF-HWAER SPACE Currency of local currency 2
Importing HW2_VALUE TYPE SPACE Amount of local currency 2
Importing HW3_CT TYPE BKPF-CURT2 SPACE Currency type of local currency 3
Importing HW3_CURR TYPE BKPF-HWAER SPACE Currency of local currency 3
Importing HW3_VALUE TYPE SPACE Amount of local currency 3
Importing HW4_CT TYPE BKPF-CURT2 SPACE Currency type of local currency 3
Importing HW4_CURR TYPE BKPF-HWAER SPACE Currency of local currency 3
Importing HW4_VALUE TYPE SPACE Amount of local currency 3
Importing LEDGER_CT TYPE BKPF-CURT2 Currency type of ledger(desired CT)
Importing LEDGER_CURR TYPE BKPF-HWAER SPACE Currency of ledger(desired currency)
Importing POS_CURR TYPE BSEG-PSWSL SPACE Currency of item currency
Importing POS_VALUE TYPE SPACE Amount of item currency
Importing RCOMP TYPE T880-RCOMP SPACE
Importing RLDNR TYPE T881-RLDNR SPACE
Importing TW_CURR TYPE BKPF-WAERS Currency of transaction currency
Importing TW_VALUE TYPE Amount of transaction currency
Tables CURR TYPE  
Exception BUKRS_NOT_FOUND TYPE
Exception BUKRS_NOT_VALID TYPE
Exception CONVERSION_ERROR TYPE Error in currency translation
Exception CURRENCY_EMPTY TYPE
Exception KOKRS_NOT_VALID TYPE
Exception LAND_NOT_VALID TYPE
Exception NO_BUKRS_FOUND TYPE
Exception NO_CT_10_OR_60 TYPE None of local currencies has CT 10 or CT 60
Exception NO_KOKRS_FROM_BUKRS TYPE
Exception NO_LEDGER_CURR_FOUND TYPE Error in determining currency for that ledger
Exception NO_RCOMP_FOUND TYPE
Exception RCOMP_NOT_VALID TYPE
Exception RLDNR_MISSING TYPE
Exception RLDNR_NOT_VALID TYPE
Exception T000_NOT_VALID TYPE
Exception WRONG_CT TYPE
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19940828 
SAP Release Created in