<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FBL5N document attachments detection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952297#M1154689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the attached documents are archived then archive details are available in table TOA01. The attachement type can be of any type like PDF,BIN,HTM,FAX, etc.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srilakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2008 06:33:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-22T06:33:39Z</dc:date>
    <item>
      <title>FBL5N document attachments detection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952296#M1154688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all! i'm very new with SAP and i really need help on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im trying to create a custom program that will detect if sales documents found on transaction FBL5N contain attachments or not. the FB03 transaction has a display attachment option and i was wondering on what table it retrieves the information of what attachment it contains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried table SOOD but i could not find any relation with tables BSEG or BSIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any input would really go a long way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 08:25:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952296#M1154688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-19T08:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: FBL5N document attachments detection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952297#M1154689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the attached documents are archived then archive details are available in table TOA01. The attachement type can be of any type like PDF,BIN,HTM,FAX, etc.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srilakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 06:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952297#M1154689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T06:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: FBL5N document attachments detection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952298#M1154690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Welcome to SDN Forums&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must use the correct or most appropriate forum, so this thread will be moved from &lt;SPAN __jive_macro_name="forum" id="236"&gt;&lt;/SPAN&gt; to &lt;SPAN __jive_macro_name="forum" id="50"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The forum &lt;SPAN __jive_macro_name="forum" id="50"&gt;&lt;/SPAN&gt; is dedicated to: General questions about the ABAP language and language implementations. &lt;EM&gt;If in doubt, use this forum and do not cross-post&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules&lt;EM&gt;of&lt;/EM&gt;Engagement] before posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also read this thread &lt;SPAN __jive_macro_name="thread" id="250401"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcelo Ramos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 13:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952298#M1154690</guid>
      <dc:creator>marcelo_ramos1</dc:creator>
      <dc:date>2008-12-22T13:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: FBL5N document attachments detection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952299#M1154691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Srilakshmi! The documents however are not archived.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i found class CL_GOS_ATTACHMENT_QUERY, however i dont know how to use this. if i use the method COUNT_FOR_OBJECT, what should i use for IS_OBJECT? i tried entering the document number with an attachment but the result is 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've also read that you could use tables SOOD and SRGBTBREL but i cant find a field i could use to link the two. the GUID and INSTID_A was suggested but it did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finally, i've also tried fm BDS_ALL_CONNECTIONS_GET but the count is also 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any input would go a long way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 09:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952299#M1154691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T09:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: FBL5N document attachments detection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952300#M1154692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was also in search of the solution or some clue to find out the way for the problem you posted.&lt;/P&gt;&lt;P&gt;I used the table SRGBTBREL. I created two attachments for a financial document in fb02. My document&lt;/P&gt;&lt;P&gt;number was 1800000000 and company code was 1000 and fiscal year was  2006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I was using fb03 and click the attachment lists option, it showed my two documents. In the heading part, below the toolbar, it was showing AttachmentFor100018000000002006 . (combination of company code, document number, fiscal year).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I went to se16,and entered the table name you specified SRGBTBREL, in the selection screen, in the field INSTID_A , I entered the value 100018000000002006. It gave me two records, those are related to the attachments which I created in the previous step in FB02. I could find out that by using the value 'ATTA'  (attachment) in the field RELTYPE and TYPEID_A field value was 'BKPF' and CATID_A field value was 'BO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the counter = 2 using the method COUNT_FOR_OBJECT of class CL_GOS_ATTACHMENT_QUERY, since there are two attachments in my case. In the parameter ISOBJECT, I entered the value 100018000000002006 (combination of company code, document no, fiscal year) for INSTID parameter and value 'BKPF' for TYPEID parameter and value 'BO' for CA parameter. I found out which values should be entered in the reverse way by seeing the entries in the table SRGBTBREL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your post.&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sunny on Mar 9, 2009 11:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 03:32:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-document-attachments-detection/m-p/4952300#M1154692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T03:32:24Z</dc:date>
    </item>
  </channel>
</rss>

