<?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: diff b/w cl_gui_frontend_services=&amp;gt;gui_upload and call function gui_upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406715#M1047295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Gui_upload is written in Normal ABAP and cl_gui_frontend_services=&amp;gt;gui_upload is written in oop ABAP&lt;/P&gt;&lt;P&gt;its an updated version of gui_upload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2008 08:38:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-19T08:38:36Z</dc:date>
    <item>
      <title>diff b/w cl_gui_frontend_services=&gt;gui_upload and call function gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406712#M1047292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please tell me the difference between &lt;STRONG&gt;cl_gui_frontend_services=&amp;gt;gui_upload&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;            and &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;call function gui_upload.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before i have used &lt;STRONG&gt;call function gui_upload&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;now i want to change &lt;STRONG&gt;cl_gui_frontend_services=&amp;gt;gui_upload&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i dont know oop abap.&lt;/P&gt;&lt;P&gt;if if use &lt;STRONG&gt;cl_gui_frontend_services=&amp;gt;&lt;/STRONG&gt; any changes i have to do in my program ????.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks is Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406712#M1047292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w cl_gui_frontend_services=&gt;gui_upload and call function gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406713#M1047293</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;It is a way of represeinting the same funciton in procedural language using CALL FUCNTION and in classes (OOPS based) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION is a traditional approach, using the classes is a OO approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just call the class CL_GUI_FRONTEND_SERVICES in the Pattern button to call a class, in that ABAP Object Patterns specify the class name CL_GUI_FRONTEND_SERVICES, method name specify the GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this way we can call the Class. As this class is the STATIC class there is no need of creating a object for it. We can directly use this class in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just pass the apt variables, strcutures to the class etc as you were doing in the traditionl approach . Rest all is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cl_gui_frontend_services=&amp;gt;gui_upload(&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILENAME                = SPACE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILETYPE                = 'ASC'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HAS_FIELD_SEPARATOR     = SPACE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER_LENGTH           = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   READ_BY_LINE            = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DAT_MODE                = SPACE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CODEPAGE                = SPACE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IGNORE_CERR             = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   REPLACEMENT             = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   VIRUS_SCAN_PROFILE      = VIRUS_SCAN_PROFILE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILELENGTH              = FILELENGTH&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER                  = HEADER&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    data_tab                = data_tab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILE_OPEN_ERROR         = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILE_READ_ERROR         = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NO_BATCH                = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INVALID_TYPE            = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NO_AUTHORITY            = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   UNKNOWN_ERROR           = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   BAD_DATA_FORMAT         = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER_NOT_ALLOWED      = 9&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   SEPARATOR_NOT_ALLOWED   = 10&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER_TOO_LONG         = 11&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   UNKNOWN_DP_ERROR        = 12&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ACCESS_DENIED           = 13&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DP_OUT_OF_MEMORY        = 14&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DISK_FULL               = 15&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DP_TIMEOUT              = 16&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NOT_SUPPORTED_BY_GUI    = 17&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ERROR_NO_GUI            = 18&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We go for this OO as there are changes made to the SAP R/3 where most of the things are OO. The Operating system or Kernel of the SAP lastest veriosns support OO. For easy implementations and resuability we go for OO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lekha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:27:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406713#M1047293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w cl_gui_frontend_services=&gt;gui_upload and call function gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406714#M1047294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cl_gui_frontend_services=&amp;gt;gui_upload is OOPS method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406714#M1047294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w cl_gui_frontend_services=&gt;gui_upload and call function gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406715#M1047295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Gui_upload is written in Normal ABAP and cl_gui_frontend_services=&amp;gt;gui_upload is written in oop ABAP&lt;/P&gt;&lt;P&gt;its an updated version of gui_upload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406715#M1047295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w cl_gui_frontend_services=&gt;gui_upload and call function gui_upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406716#M1047296</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;Gui_upload : it is normal function module to upload the  File and XL Sheet Data  into Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function Gui_upload : this Functionality used in OOPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-cl-gui-frontend-services-gt-gui-upload-and-call-function-gui/m-p/4406716#M1047296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:40:18Z</dc:date>
    </item>
  </channel>
</rss>

