2023 Sep 18 1:37 AM
Dear all,
Is there any way to retrieve the attachment details in MM01/MM02 screen and make into a report format with Material Number? I've search several post and the best I can get is just the attachment title from table SOOD. I wanted to show the report details such as Material Number & Attachment Title.
Thanks,
Aik
2023 Sep 18 6:31 AM
Business object type of materials in MM02 must be BUS1001.
See for instance this API: https://github.com/keremkoseoglu/ABAP-Library/blob/master/document/zcl_bc_gos_toolkit.abap
2023 Sep 18 6:31 AM
You're talking about GOS attachments for material. All GOS attachments work the same, only the business object type and key are specific to material, the API is the same for reading or writing GOS attachments whatever the business object type is.
You have lots of questions/answers in the Web, so I won't repeat them.
2023 Sep 18 8:46 AM
If you ask about GOS attachment (FAQ), there are multiple threads on how to get the list.
Of course conversion into printable format heavily depends on file types (pdf, docx, jpg, html links, etc.)