<?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 business document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-document/m-p/2318862#M508806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When load photos with tx OAOR where are stored the Business documents and how can I configure this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to download all the attached photos to materials to a external directory with a background process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have SAP a FM or class to download a photo attached as BO to a directory?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 May 2007 03:02:40 GMT</pubDate>
    <dc:creator>pherrerom</dc:creator>
    <dc:date>2007-05-20T03:02:40Z</dc:date>
    <item>
      <title>business document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-document/m-p/2318862#M508806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When load photos with tx OAOR where are stored the Business documents and how can I configure this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to download all the attached photos to materials to a external directory with a background process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have SAP a FM or class to download a photo attached as BO to a directory?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 03:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-document/m-p/2318862#M508806</guid>
      <dc:creator>pherrerom</dc:creator>
      <dc:date>2007-05-20T03:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: business document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-document/m-p/2318863#M508807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the program : BDSFIND..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table : BDS_LOCL..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the table : BDS*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2007 03:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-document/m-p/2318863#M508807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-20T03:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: business document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-document/m-p/2318864#M508808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Obtain photos of Materials and save in a directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION z18sdwsget_material_photo.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Interfase local&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(PI_CLASSNAME) LIKE  BAPIBDS01-CLASSNAME&lt;/P&gt;&lt;P&gt;*"     VALUE(PI_CLASSTYPE) LIKE  BAPIBDS01-CLASSTYPE&lt;/P&gt;&lt;P&gt;*"     VALUE(PI_OBJECT_KEY) LIKE  BAPIBDS01-OBJKEY&lt;/P&gt;&lt;P&gt;*"     VALUE(PI_ALL) LIKE  BAPIBDS01-X DEFAULT 'X'&lt;/P&gt;&lt;P&gt;*"     VALUE(PI_DIRECTORY) LIKE  BAPIBDS01-X OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(PI_DIRECTORY) TYPE  SDOK_CHTRD OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(PI_ALIAS_NAME) TYPE  SDOK_FILNM OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*Constantes&lt;/P&gt;&lt;P&gt;  CONSTANTS: c_logobject LIKE  sdokrecl-re_class VALUE 'LOGOBJECT'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Varaibales locales&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: l_matnr     LIKE mara-matnr,&lt;/P&gt;&lt;P&gt;        l_classname LIKE bapibds01-classname,&lt;/P&gt;&lt;P&gt;        l_objkey    LIKE bapibds01-objkey.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Areas de trabajo&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: wa_connections         LIKE bapiconnec,&lt;/P&gt;&lt;P&gt;        wa_result              LIKE sdokrelist.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Tablas internas locales&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: i_infoobjects LIKE bapiinfobj OCCURS 1 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;        i_signature   LIKE bapisignat OCCURS 1 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;        i_components  LIKE sdokcomcho OCCURS 1 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;        i_sdokerrkey  LIKE sdokerrkey OCCURS 1 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH: i_signature,&lt;/P&gt;&lt;P&gt;           i_sdokerrkey,&lt;/P&gt;&lt;P&gt;           i_components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_classname = pi_classname.&lt;/P&gt;&lt;P&gt;  IF l_classname+0(7) = PI_CLASSNAME.           "'BUS1001'.&lt;/P&gt;&lt;P&gt;    l_matnr = pi_object_key.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        input  = l_matnr&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        output = l_matnr.&lt;/P&gt;&lt;P&gt;    l_objkey = l_matnr.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    l_objkey = pi_object_key.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BDS_PHIOS_GET_RIGHT'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; LOGICAL_SYSTEM        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     classname             = pi_classname&lt;/P&gt;&lt;P&gt;     classtype             = pi_classtype&lt;/P&gt;&lt;P&gt;     client                = sy-mandt&lt;/P&gt;&lt;P&gt;     object_key            = l_objkey&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ALL                   = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     check_state           = 'X'&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     infoobjects           = i_infoobjects&lt;/P&gt;&lt;P&gt;     signature             = i_signature&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     nothing_found         = 1&lt;/P&gt;&lt;P&gt;     parameter_error       = 2&lt;/P&gt;&lt;P&gt;     not_allowed           = 3&lt;/P&gt;&lt;P&gt;     error_kpro            = 4&lt;/P&gt;&lt;P&gt;     internal_error        = 5&lt;/P&gt;&lt;P&gt;     not_authorized        = 6&lt;/P&gt;&lt;P&gt;     OTHERS                = 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;  LOOP AT i_infoobjects.&lt;/P&gt;&lt;P&gt;    MOVE: i_infoobjects-ph_objid TO i_components-objid,&lt;/P&gt;&lt;P&gt;          i_infoobjects-ph_class TO i_components-class,&lt;/P&gt;&lt;P&gt;          PI_DIRECTORY        TO i_components-directory,&lt;/P&gt;&lt;P&gt;          PI_ALIAS                 TO i_components-alias.&lt;/P&gt;&lt;P&gt;    APPEND i_components.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SDOK_PHIOS_GET_COPY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      client      = sy-mandt&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      components  = i_components&lt;/P&gt;&lt;P&gt;      bad_objects = i_sdokerrkey.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 05:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-document/m-p/2318864#M508808</guid>
      <dc:creator>pherrerom</dc:creator>
      <dc:date>2007-05-29T05:23:18Z</dc:date>
    </item>
  </channel>
</rss>

