<?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: create image in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781186#M648240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Conor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_UPLOAD can not be used for Background processing as it is for foreground processing only. For background processing OPEN DATASET should be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashvender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2007 14:26:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-05T14:26:43Z</dc:date>
    <item>
      <title>create image in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781184#M648238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create an Image (of a material) but I cant use GUI_UPLOAD in the background even if i use C13Z_FILE_UPLOAD_BINARY to place the file from c:\drive to the app server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I can use OPEN DATASET to open the file and READ it into an internal table within my program (looks to be in hex format) my question is then what do I do with data in the internal table to create the image - is there some FM that I can pass the internal table to for image creation - needs to be done in background - I can do this in foreground.  The end result is that image will be printed on a SAPscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Conor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 14:19:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781184#M648238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T14:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: create image in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781185#M648239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check my weblog &amp;lt;a href="/people/alvaro.tejadagalindo/blog/2007/04/15/tasting-the-mix-of-php-and-sap--volume-12 the mix of PHP and SAP - Volume 12&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use FM &amp;lt;b&amp;gt;SAPSCRIPT_CONVERT_BITMAP_BDS&amp;lt;/b&amp;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;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 14:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781185#M648239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T14:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: create image in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781186#M648240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Conor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_UPLOAD can not be used for Background processing as it is for foreground processing only. For background processing OPEN DATASET should be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashvender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 14:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781186#M648240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T14:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: create image in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781187#M648241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You ask a lot of questions... &lt;/P&gt;&lt;P&gt;(1) Upload a file using GUI_Upload&lt;/P&gt;&lt;P&gt;(2) Converting the picture&lt;/P&gt;&lt;P&gt;(3) Prining using SAP-Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to start with:&lt;/P&gt;&lt;P&gt;Printing out an image using SAP-Script, you need to have a BMP (Bitmap) image with specific colour depth. This image has to be located in the BDS before you start your SAP-Script. Furthermore, since you do upload the data from an external source, you more or less have to convert the image into the BMP-Format. Please check, if you have the IGS (Internet Graphic Server) up and running in your environment. This Server will provide you with a class called: CL_IGS_IMAGE_CONVERTER which you can use for convertion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun with that task....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 14:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781187#M648241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T14:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: create image in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781188#M648242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies Christian, I didnt explain proberly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) I can use GUI_UPLOAD to upload the image but this can not be used in background, it is only for foreground processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) I have already upload the image using and .tif file type, so no need to convert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) I have already printed the image (as a graphic) via SAPscript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and all of this can be done dynamically (in foreground) but if I want to do the same (i.e. create an image in SAP from a file on the app server and print it, but from a job that runs in background)  I can only use OPEN DATASET &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question was what do I do with the data when I have it in an internal table with in my Z program so that it create's the image in SAP and I can proceed with my SAPscript to print it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Conor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 15:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781188#M648242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T15:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: create image in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781189#M648243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont think SAPSCRIPT_CONVERT_BITMAP_BDS will work as I have already used this successfully (in forground), I got a reply from the form to use PERFORM import_bitmap_bds IN PROGRAM saplstxbitmaps  and SAPSCRIPT_CONVERT_BITMAP_BDS is used in this form - it works fine providing the program is running in foreground but not in backgrounfdi.e. when a function module is submitted in UPDATE TASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont think can be done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Anaway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 13:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781189#M648243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: create image in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781190#M648244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi have you the solutiokn for this issue????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 16:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-image-in-background/m-p/2781190#M648244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-14T16:46:52Z</dc:date>
    </item>
  </channel>
</rss>

