Application Development and Automation 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: 

PDF document in a BDC recording/program

JaydeepSahu
Discoverer
0 Kudos
863

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?

5 REPLIES 5

RaymondGiuseppi
Active Contributor
0 Kudos
831

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

0 Kudos
817

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.

0 Kudos
801

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.

Sandra_Rossi
Active Contributor
0 Kudos
815

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.

Sandra_Rossi
Active Contributor
0 Kudos
795

BDC is an obsolete term. Batch Input has been the correct name for decades.