title: Get Quality notification attachments
body: <p>So I'm working on a small program that will extract Quality Notification data from ECC. So far I've used the standard "<strong>BAPI_QUALNOT_GETDETAIL</strong>" to extract the textual data of a notification. What I want to do is to extract the attachments also which is related to the notification.</p>
  
  <p>For this purpose I've found "<strong>BAPI_DOCUMENT_GETDETAIL2</strong>" which I hope will cater my requirement. The problem that I have is where can I get the following information required to run the BAPI;</p>
  
  <ul>
  <li>DOC TYPE </li>
  <li>DOC NUMBER</li>
  <li>DOC PART</li>
  <li>DOC VERSION</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/8QdrE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8QdrE.png" alt="BAPI"></a></p>
  
  <p>The only information that I have is the data that I've extracted from the <strong>BAPI_QUALNOT_GETDETAIL</strong> in which so far I couldn't find any information related to any attachments that was uploaded against the notification.</p>
  
  <p>Following is a screenshot from the Document Flow in t-code IQS3 displaying 3 attachments related to the notification.</p>
  
  <p><a href="https://i.stack.imgur.com/BwJtU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BwJtU.png" alt="Document Flow"></a></p>