FMCA_INVOICE_LIB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter FMCA_INVOICE_LIB into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: INTERNAL: Form Class Library
INCLUDE EMSG.
INCLUDE IEFGMAC3.
INCLUDE LFICA_MACROSDAT.
INCLUDE LFICA_MACROS001.
INCLUDE LFICA_MACROS002.
No SAP DATABASE tables are accessed within this REPORT code!
FMCA_INV_DWB_PARAM_GET call function 'FMCA_INV_DWB_PARAM_GET' importing e_fkkvk = g_fkkvk e_fkkvkp = g_fkkvkp e_but000 = g_but000 e_dfkkcoh = g_dfkkcoh e_dfmcainv = g_dfmcainv tables t_fkkcl = g_t_fkkcl t_dfmcainvpos = g_t_dfmcainvpos.
FKK_BUPA_READ_SINGLE call function 'FKK_BUPA_READ_SINGLE' exporting i_partner = g_dfkkcoh-gpart importing e_but000 = y_receiver exceptions partner_not_found = 1 partner_in_role_not_found = 2 internal_error = 3 others = 4.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = sy-datum foreign_amount = t_invoice-betrw foreign_currency = t_invoice-waers local_currency = 'EUR' * RATE = 0 * TYPE_OF_RATE = 'M' importing * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = yt_inv_euro-betrw exceptions no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = sy-datum foreign_amount = x_item-betrw foreign_currency = x_item-waers local_currency = 'EUR' * RATE = 0 * TYPE_OF_RATE = 'M' importing * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = yt_item_euro-betrh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = exceptions no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6.
FKK_BUPA_READ_SINGLE call function 'FKK_BUPA_READ_SINGLE' exporting i_partner = g_dfkkcoh-agpart importing e_but000 = y_sender exceptions partner_not_found = 1 partner_in_role_not_found = 2 internal_error = 3 others = 4.
BUA_ADDRESS_GET call function 'BUA_ADDRESS_GET' exporting i_partner = g_dfkkcoh-agpart i_addrnumber = g_dfkkcoh-aadrnr i_xmemory = 'X' importing e_address = y_sen_adress exceptions no_address_found = 1 internal_error = 2 wrong_parameters = 3 others = 4.
ADDR_GET call function 'ADDR_GET' exporting address_selection = h_addr_sel * ADDRESS_GROUP = * READ_SADR_ONLY = ' ' * READ_TEXTS = ' ' importing address_value = h_addr1_val * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = * SADR = * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = exceptions parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 others = 5.
BUA_ADDRESS_GET call function 'BUA_ADDRESS_GET' exporting i_partner = g_dfkkcoh-gpart * I_RLTYP = i_addrnumber = g_dfkkcoh-adrnr i_xmemory = 'X' * I_XWA = ' ' importing e_address = y_rec_adress exceptions no_address_found = 1 internal_error = 2 wrong_parameters = 3 others = 4.
FKK_SAMPLE_1321 if 1 = 2. call function 'FKK_SAMPLE_1321'. endif.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.