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: 

How to print list of attachments on the smartforms?

Former Member
0 Kudos

Hello experts,

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?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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.