2024 Jun 18 9:35 AM
I have a requirement in which I need to attach a PDF document into a BDC recording which would eventually upload that document in a standard transaction.
Could not find anything worthwhile on community.
Would appreciate if someone can throw some light on this whether it can be done and if yes, whats the best way?
2024 Jun 18 10:25 AM
BDC is a rather old/obsolete echnology, not compliant with enjoy/recent transactions which use GUI controls and tools.
Look for another tool for this requirement
2024 Jun 18 10:54 AM
Thanks Raymond.
I understand your point. However, I need to upload documents in F-22 and FB60 which are not enjoy transactions. Besides, I hardly have anyother options hence I am considering the BDC if it can help me achieve me my requirement.
2024 Jun 18 12:06 PM - edited 2024 Jun 18 12:13 PM
F-22 and FB60 are not Enjoy but GOS attachment is, and not allowed with BDC/Batch Input.
(Read the provided OSS notes)
Also you don't attach files/links to transaction but to FI Document. First step would be upload of those files to SAP server. Use search tool, already many threads/blogs available.
2024 Jun 18 10:59 AM
BDC is an obsolete term. Batch Input has been the correct name for decades.
You should not search answers for "Attach a PDF document", you should search answers for "Attach a document of any type" (it's not a problem to upload an image, a video or whatever, it's just a file).
If "attach a document" means you want to automate the upload a document from a user's laptop like the dialog user would do, then it's not possible with BATCH input because it's batch, not dialog.
You can "attach a document" via a batch program only if you place the file on a repository accessible by the SAP server.
If you are beginner in ABAP, you should indicate all the details of the exact requirement.
2024 Jun 18 12:42 PM
BDC is an obsolete term. Batch Input has been the correct name for decades.