SAP Knowledge Base Article - Preview

2490213 - TDF Add-on Troubleshooting Guide



Mapped issues during SP18 upgrade:

1 - Error at SPAM related to object /TMF/V_R1000_M: error message below at SPAM:

Retcode 1: error in DDL statement for /TMF/V_R1000_M        - repeat
Error 391-invalidated view: cannot create synonym for in when executing ADD-FIELD of
Error in DDL statement for when executing ADD-FIELD of
No DDL commands found for activation of /TMF/V_R1000_M

The instructions from RIN 3378393 regarding REINF objects /TMF/S_R_EVENT_HEADER (field IDE_ADIC_BENEF) and /TMF/D_R_EVENT (fields TP_ENT_LIG, CNPJ_LIG and IDE_ADIC_BENEF) were not followed. The fields added by SAP Note 3361479 were removed from the tables.

To correct this issue, use transaction SPDD to recreate the fields using the pre-implementation steps from SAP Note 3361479 as reference. Add the correction to a request and when upgrading your QAS and PRD systems, after SPAM's Import 1 phase, transport the request and start Import 2 phase.

In case these steps are not possible, revert back the development system to the moment before you have started the SP18 application, apply the SAP Note 3390711 in your development system and try to implement the SP 18 again.

2 - Error at SPAM of inactive views PRV_NF_IMPOSTO_RETIDO, PRV_IMPOSTO_RETIDO_MOMENTO_RET, PRV_PARTICIPANTE and other CTR views: lack of replication of tables tables T005U and T059P accordingly to RIN 3378393 instructions related to SLT replication. To correct this issue, replicate the tables, activate the views at HANA DB and run SPAM again.

3 - Error at SPAM of inactive table functions TABLE_FUNCTION_FAAT_MD and TABLE_FUNCTION_ACDOCA_ASSET: compatibility views ACDOCA and FAAT_MD are outdated. Run report /TMF/S4H_COMPATIBILITY and then run SPAM again. Another option is to use the Z report ZS4H_COMPATIBILITY delivered by SAP Note 3004166. This Z report is the last version of /TMF/S4H_COMPATIBILITY and can be used at any system at any given time.

4 - Error at SPAM related to object /TMF/V_TECH_VIEW: error message below at SPAM:

Error 391-invalidated view: cannot create synonym for in when executing ADD-FIELD of
Error in DDL statement for when executing ADD-FIELD of
No DDL commands found for activation of /TMF/V_TECH_VIEW

For this issue, review the activation of the HANA view which the ABAP view is pointing to, in this case, sap.glo.tmflocbr.ctr/VIEWS_STATUS. For more information on how to activate HANA views, please check SAP KBA 2564561. If after performing these steps the issue continues, follow the instructions from topic J5.


This SAP KBA aims to cover general topics related to all TDF solutions.

Although every effort is being made to provide a complete set of information in this Troubleshooting Guide, this document is not exhaustive. If additional topics arise, this SAP KBA will be updated to reflect the most recent and accurate information.

If your question is not answered here or any information does not seem to be up-to-date, open an case at SAP Support Portal under FIN-TMF-BR component for further clarification.

For more specific information about each TDF solution, refer to the following troubleshooting guides:

2924049 - TDF: EFD ICMS IPI Troubleshooting Guide
2924050 - TDF: ECD Troubleshooting Guide
2924063 - TDF: EFD Contribuições Troubleshooting Guide
2922987 - TDF: ECF Troubleshooting Guide
2562251 - TDF: CIAP Troubleshooting Guide
2922995 - TDF: EFD REINF Troubleshooting Guide
2922996 - TDF: eSocial Troubleshooting Guide
2917399 - TDF: e-Financeira Troubleshooting Guide
2917416 - TDF: Messaging Framework Troubleshooting Guide
3136024 - TDF: PIS/COFINS Credit Control Suite Troubleshooting Guide



SAP ERP all versions ; SAP Tax Declaration Framework for Brazil all versions


sped, efd, pco, ecd, ecf, tdf, tax declaration framework, tom, tax obligation manager, contribuições, ICMS, IPI, HANA, HANA Studio, register, registro, block, bloco, kba, reinf, esocial, overview, how-to scenarios ·         TABLE_FUNCTION_FAAT_MD , KBA , FIN-TMF-BR , Tax Management Framework Brazil , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.