How to print list of attachments on the smartforms?
I have problem with attachment list stored in bapibus20001_documents_dis structure.
This structure is used to create a table of attachments and then to print them on the smartform (table is passed by FM which run the smartforms).
The problem came when I want to print these attachments on my smartform, because the structure I use holds only information about GUIDs, when I need names.
Does anyone have any clue how to solve it?
I solve it using FM 'CRM_REPORT_ATTA_PROP_GET'.
To get the name of the attachment I passed object id and object class inside of is_attachment structure.
I had this data inside my bapibus20001_document_dis structure.