<?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: ITS Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160211#M456871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Durairaj Athavan Raja ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes! My report will take input as PO Number and when executed it will open the PO Details in PDF format...&lt;/P&gt;&lt;P&gt;The logic i have written is creating the PDF file in the SAP Work dir and opening the created PDF file from the SAP Work Dir...will this effect any where????&lt;/P&gt;&lt;P&gt;As my report is working fine in GUI and NOT ITS what exactly do i need to chnage..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2007 09:17:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-02T09:17:20Z</dc:date>
    <item>
      <title>ITS Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160206#M456866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a report..this report when executed will give the o/p in a PDF format of PO details ...this report will take PO number as input ..this is working fine in GUI mode...when i placed this report in the ITS whenever i give a PO number to it it is going to dump...In dump i didnt find how to solve it...please help..&lt;/P&gt;&lt;P&gt;Dump shows as ::&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ShrtText&lt;/P&gt;&lt;P&gt;Access not possible using 'NULL' object reference.&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;Error in ABAP application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current ABAP program "CL_GUI_FRONTEND_SERVICES======CP" had to be&lt;/P&gt;&lt;P&gt;terminated because one of the&lt;/P&gt;&lt;P&gt;statements could not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;An exception occurred. This exception is dealt with in more detail below&lt;/P&gt;&lt;P&gt;. The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was&lt;/P&gt;&lt;P&gt;neither&lt;/P&gt;&lt;P&gt;caught nor passed along using a RAISING clause, in the procedure&lt;/P&gt;&lt;P&gt;"GET_SAPGUI_WORKDIR" "(METHOD)"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Since the caller of the procedure could not have expected this exception&lt;/P&gt;&lt;P&gt;to occur, the running program was terminated.&lt;/P&gt;&lt;P&gt;The reason for the exception is:&lt;/P&gt;&lt;P&gt;Attempt to access a component using 'NULL' object reference (points&lt;/P&gt;&lt;P&gt;to nothing).&lt;/P&gt;&lt;P&gt;An object reference must point to an object (an instance of a class)&lt;/P&gt;&lt;P&gt;before you can use it to access components (variable:&lt;/P&gt;&lt;P&gt;"CL_GUI_FRONTEND_SERVICES=&amp;gt;HANDLE").&lt;/P&gt;&lt;P&gt;Either the reference has not yet been set, or it has been reset to&lt;/P&gt;&lt;P&gt;'NULL' by a CLEAR statement.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to find a solution please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 07:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160206#M456866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T07:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: ITS Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160207#M456867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In the program you are accessing the method/event straight with the class like&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;HANDLE.&lt;/P&gt;&lt;P&gt;it is wrong&lt;/P&gt;&lt;P&gt;you have to create an object like&lt;/P&gt;&lt;P&gt;data: O_OBJ TYPE REF TO CL_GUI_FRONTEND_SERVICES&lt;/P&gt;&lt;P&gt;then you have to call the method/event with that object&lt;/P&gt;&lt;P&gt;O_OBJ=&amp;gt;HANDLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 07:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160207#M456867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T07:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: ITS Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160208#M456868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for u reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where exactly i need to call this method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any specific place..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 08:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160208#M456868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T08:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: ITS Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160209#M456869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the issue is your code is trying to access user SAP work dir (GET_SAPGUI_WORKDIR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITS is a webapplication which can be called from a machine which may ot may not have sapgui (which is responsilbe for creating sap work directory). thus when called from web cl_gui_front.... wont be able to execute that code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(are you putting the file in a temp directory and read it from there?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the more appropriate forum for this question is ITS forum at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_community" href="https://community.sap.com/" __jive_macro_name="community" modifiedtitle="true" __default_attr="2182"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 09:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160209#M456869</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-05-02T09:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: ITS Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160210#M456870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you might be passing cl_gui_frontend_services=&amp;gt;handle to some varible instead pass the object reference directly with out using this attribte. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    there is no problem with you call as this is static attirbute you can call it as you are calling it but its empty so its showing an errro message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       just in place of cl_gui_frontend_services=&amp;gt;handle replace with the object reference of the object which displays the pdf or what ever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  &lt;/P&gt;&lt;P&gt;raju N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 09:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160210#M456870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T09:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: ITS Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160211#M456871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Durairaj Athavan Raja ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes! My report will take input as PO Number and when executed it will open the PO Details in PDF format...&lt;/P&gt;&lt;P&gt;The logic i have written is creating the PDF file in the SAP Work dir and opening the created PDF file from the SAP Work Dir...will this effect any where????&lt;/P&gt;&lt;P&gt;As my report is working fine in GUI and NOT ITS what exactly do i need to chnage..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 09:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/its-issue/m-p/2160211#M456871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T09:17:20Z</dc:date>
    </item>
  </channel>
</rss>

