There are many blog posts and questions/answers about attaching programmatically a file to a business object (material, sales order, etc.) instead of doing it manually via the adequate transaction code, a few ones provide a useful generic code where the object type and the object key vary according to the transaction code, but none of them explain how to determine them. Here, I quickly answer this question.
Read More Technology Blogs by Members articles
#abap