cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is the way to creating accounting documents in SAP/ECC from SAP/TDF?

adriana_medeiros
Participant
0 Kudos
982

Hi experts! I need to create a accounting document in SAP/ECC, but my routine is being executed in SAP/TDF. My installation of the SAP/ECC is S4H. I knew about these objects: Accounting Posting - Post FI documents to SAP ERP. TMFFIPostingPostSyncIn /TMF/CL_TMFFIPOSTING_POST_SYNC Accounting Posting - Reverse the posting of FI documents in SAP ERP TMFFIReversalPostSyncIn /TMF/CL_TMFFIREVERSAL_POST_SYN But I didn't find anything about them in Developer´s Guide or others documents in the https://help.sap.com/viewer/product/SAP_TAX_DECLARATION_FRAMEWORK_FOR_BRAZIL/1.0. I would like to confirm the way with you. Thank you very much. Regards, Adriana Medeiros

View Entire Topic
julianobellini
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Adriana,

You can do that by using SOAP protocol.

You can check the documentation from all Web Services contained in TDF using this link:

https://help.sap.com/viewer/0a4833541f72447abbb923f3332ed049/1.0.11/en-US/80ab8d5296ea836ae10000000a...

Best Regards,

Juliano Bellini

adriana_medeiros
Participant
0 Kudos

Hi Juliano,

Thank you for your attention.

I checked the documentation and understoond that this customizing is necessary to prepare to use the class "/TMF/CL_TMFFIPOSTING_POST_SYNC" and "/TMF/CL_TMFFIREVERSAL_POST_SYN".

Am I correct?

Regards,

Adriana Medeiros

julianobellini
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Adriana,

Which customizing do you mean?

Best Regards,

Juliano Bellini

adriana_medeiros
Participant
0 Kudos

Hi Juliano,

You entry in the link that you sent me, and there you do this path:

Enterprise Services > Create FI Posting > Create FI Posting > Create FI Posting > Implementation Considerations.

I found the path for a customizing, "Tax Declaration Framework for Brazil Maintain External Systems Mapping".

Best Regards,

Adriana Medeiros

julianobellini
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Adriana,

Fine, that is where you say for a specific company which is the RFC used to reach ERP.

So answering you, yes it is necessary.

Best Regards,

Juliano Bellini

adriana_medeiros
Participant
0 Kudos

Hi Juliano,

Do I need to use the objects?

  • Accounting Posting - Post FI documents to SAP ERP.:

TMFFIPostingPostSyncIn - /TMF/CL_TMFFIPOSTING_POST_SYNC

  • Accounting Posting - Reverse the posting of FI documents in SAP ERP

TMFFIReversalPostSyncIn - /TMF/CL_TMFFIREVERSAL_POST_SYN

Best regards,

Adriana Medeiros

julianobellini
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Adriana,

The recommendation is to call these web services, instead of using the class directly:

  • TMFFIPostingPostSyncIn
  • TMFFIReversalPostSyncIn

Best Regards,

Juliano Bellini

adriana_medeiros
Participant

Hi Juliano,

Thank you very much!

Best regards,

Adriana Mederios