Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFC ARCHIV_CONNECTION_INSERT not attaching document

Former Member
0 Kudos

Hi Gurus,

I have a program that calls ARCHIV_CONNECTION_INSERT. It is working if we base our accounting document from table BKPF, but when we base our accounting document number to RBKP, it is not working.

Please help me.

Thanks a lot!

Best Regards,

Benedict

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Attaching of document using ARCHIV_CONNECTION_INSERT depends on which sap_object you will use. Values of SAP_OBJECT are maintained on table TOAOM ( SAP ArchiveLink: Meta table for links ).

If sap_object = BKPF, you are attaching files on tcode FB03. But if you are refering to table RBKP which is an invoice, you must use sap_object = BUS2081.

2 REPLIES 2

Former Member
0 Kudos

Anyone who can give a light on this?

Thanks a lot!

Benedict

Former Member
0 Kudos

Attaching of document using ARCHIV_CONNECTION_INSERT depends on which sap_object you will use. Values of SAP_OBJECT are maintained on table TOAOM ( SAP ArchiveLink: Meta table for links ).

If sap_object = BKPF, you are attaching files on tcode FB03. But if you are refering to table RBKP which is an invoice, you must use sap_object = BUS2081.