<?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: attaching a document from program running in batch in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565797#M1432019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could try to copy the document to a server that can be accessed by both, the SAP application and the Windows application.&lt;/P&gt;&lt;P&gt;e.g. with an operation system command in you report -&amp;gt; SM49&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2010 16:37:01 GMT</pubDate>
    <dc:creator>former_member226519</dc:creator>
    <dc:date>2010-02-12T16:37:01Z</dc:date>
    <item>
      <title>attaching a document from program running in batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565796#M1432018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;i need to find a way, to attach a document (e. G. a CV) to an applicant via object services. Problem is, the document will be provided by a program, running in batch-mode without front-end access. I tried to debug the manual action, but unsuccessful.&lt;/P&gt;&lt;P&gt;My initial idea was, to find out what happens directly after uploading and then using the same function modules in my prog.&lt;/P&gt;&lt;P&gt;Shed your light on me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Jörg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 15:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565796#M1432018</guid>
      <dc:creator>jrg_wulf</dc:creator>
      <dc:date>2010-02-12T15:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: attaching a document from program running in batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565797#M1432019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could try to copy the document to a server that can be accessed by both, the SAP application and the Windows application.&lt;/P&gt;&lt;P&gt;e.g. with an operation system command in you report -&amp;gt; SM49&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 16:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565797#M1432019</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2010-02-12T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: attaching a document from program running in batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565798#M1432020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Volker,&lt;/P&gt;&lt;P&gt;thanks for your answer, but this is not the point. The document is provided from another location and accessible for my abap. I don't want to involve any manual action in this. The report runs in regular intervals, polling the document. Now the document shall be stored and linked to the applicant, without anyone having to upload it manually. The program runs in bg-job, so there's no way for frontend interaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Jörg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 19:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565798#M1432020</guid>
      <dc:creator>jrg_wulf</dc:creator>
      <dc:date>2010-02-12T19:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: attaching a document from program running in batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565799#M1432021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a way when the batch job runs it polls that document and you need to attach that doc to an applicant. Firstly , I don't know whether debugging can help. But normally I had almost the same situation wherein I needed to change something to the file that was being used by the batch job and I didn't know where the file was.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a T-Code 'FILE' that I had used which gives you the location of all the files from where the batch job or the program picks them whenever they get executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my case even this didn't help. Then I had to ask the respective guys as to where it was stored. Maybe you could try the above t-code or if you do have time, again check using de-bugging for any logical path mentioned in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this could help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565799#M1432021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-08T13:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: attaching a document from program running in batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565800#M1432022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramdas,&lt;/P&gt;&lt;P&gt;thanks for your input.&lt;/P&gt;&lt;P&gt;Transaction FILE leads to logical path and filenames. They won't help me whith this ince it is not the files that bother me, i fetch them at runtime. But the way documents are attached to an object is.&lt;/P&gt;&lt;P&gt;Usually this is done in dialog and the gui handles the storage and linking.&lt;/P&gt;&lt;P&gt;I have found a workaround that suits our request, but i'm still hoping that someone might give the crucial hint. I'm still curious as to how to do it, like the GUI does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we did basically, was using an archive repository and putting the document there using&lt;/P&gt;&lt;P&gt;FM SCMS_HTTP_CREATE_FILES&lt;/P&gt;&lt;P&gt;and then linking it to the applicant, using&lt;/P&gt;&lt;P&gt;FM&amp;nbsp; ARCHIV_CONNECTION_INSERT.&lt;/P&gt;&lt;P&gt;The mainload was with our repository guys. It works fine so far and noone complains.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-a-document-from-program-running-in-batch/m-p/6565800#M1432022</guid>
      <dc:creator>jrg_wulf</dc:creator>
      <dc:date>2014-10-08T13:50:08Z</dc:date>
    </item>
  </channel>
</rss>

