<?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: application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950876#M695852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I feel you have to use open dataset for file manuplations on the application server.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File manuplations............................... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the application server level:&lt;/P&gt;&lt;P&gt;-&amp;gt;OPEN DATASET : open a file in the application server for reading or writing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;READ DATASET : used to read from a file on the application server that has been opened for reading&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; TRANSFER DATASET : writing data to a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; CLOSE DATASET : closes the file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; DELETE DATASET : delete file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward points if useful....&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vinod Samuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2007 07:14:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-22T07:14:49Z</dc:date>
    <item>
      <title>application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950875#M695851</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;I want to move file from one directory to another directory in applicatioin server with out using OPENDATASET. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Jana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 07:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950875#M695851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T07:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950876#M695852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I feel you have to use open dataset for file manuplations on the application server.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File manuplations............................... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the application server level:&lt;/P&gt;&lt;P&gt;-&amp;gt;OPEN DATASET : open a file in the application server for reading or writing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;READ DATASET : used to read from a file on the application server that has been opened for reading&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; TRANSFER DATASET : writing data to a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; CLOSE DATASET : closes the file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; DELETE DATASET : delete file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward points if useful....&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vinod Samuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 07:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950876#M695852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T07:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950877#M695853</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;Get all the files from application server directory using function module EPS_GET_DIRECTORY_LISTING  and process one by one.&lt;/P&gt;&lt;P&gt;For Each File:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Open, Read and Close current file using OPEN DATASET , READ DATASET, CLOSE DATASET&lt;/P&gt;&lt;P&gt;      Further, parse strings and move to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Populate the customer table for inspection data with the file data fetched in last step. This table contains characteristics like Corbon%, Sulphur%, Mn% etc. against External Batch Number, Date &amp;amp; Time. Perfomr a check for duplicate record on this table at this point of time and data is inserted at the end of the processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Determine the grade of the sample pig iron by comparing the charactersics with the grade master table ( a customer table with grade determination rules ). This table contains Material with its minimum and maximum values of relevant characteristics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4)Create Batch and populate characteristic values against that material and batch combination in SAP system.&lt;/P&gt;&lt;P&gt;      Standard SAP has provided APIs for this purpose. Function Modules are 'CALO_INIT_API', 'CACL_OBJECT_ALLOCATION_MAINT', CACL_OBJECT_VALIDATION_MAINT', 'CACL_CLASSIFICATION_SAVE','VB_CREATE_BATCH' , 'CARD_CLASS_READ_CHARACTS'&lt;/P&gt;&lt;P&gt;      Further, a customer function module 'Z_CREATE_BATCH_WITH_CHARCT' is developed using these FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;After finishing the processing for the current file move the file to archive directory. This is achieved by using FMs for copy 'PFL_COPY_OS_FILE' and delete 'EPS_DELETE_FILE'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Insert records in inspection data table. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 07:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950877#M695853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T07:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950878#M695854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, To download file from application server to desktop by T-Code: CG3Y&lt;/P&gt;&lt;P&gt;Then, upload file from desktop to application server by T-Code: CG3Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 07:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950878#M695854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T07:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950879#M695855</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;You can make use of the function module 'EPS_FTP_PUT' for this, only restriction is you have specify the RFC destination for the same. We have used this for transfering the file from one application to another application server. I hope you can make use of this even for the same system by giving the rfc destination of your application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'EPS_FTP_PUT'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                rfc_destination          = rfc_dest&lt;/P&gt;&lt;P&gt;                local_file               = loc_file&lt;/P&gt;&lt;P&gt;                local_directory          = loc_dir&lt;/P&gt;&lt;P&gt;                remote_file              = rem_file&lt;/P&gt;&lt;P&gt;                remote_directory         = rem_dir&lt;/P&gt;&lt;P&gt;                overwrite_mode           = 'F'&lt;/P&gt;&lt;P&gt;                text_mode                = 'X'&lt;/P&gt;&lt;P&gt;                transmission_monitor     = space&lt;/P&gt;&lt;P&gt;                object_name              = loc_file&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                open_input_file_failed   = 1&lt;/P&gt;&lt;P&gt;                open_output_file_failed  = 2&lt;/P&gt;&lt;P&gt;                read_block_failed        = 3&lt;/P&gt;&lt;P&gt;                write_block_failed       = 4&lt;/P&gt;&lt;P&gt;                close_output_file_failed = 5&lt;/P&gt;&lt;P&gt;                invalid_file_size        = 6&lt;/P&gt;&lt;P&gt;                stopped_by_user          = 7&lt;/P&gt;&lt;P&gt;                invalid_input_file_size  = 8&lt;/P&gt;&lt;P&gt;                restart_failed           = 9&lt;/P&gt;&lt;P&gt;                connection_failed        = 10&lt;/P&gt;&lt;P&gt;                invalid_version          = 11&lt;/P&gt;&lt;P&gt;                OTHERS                   = 12.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this is useful to you or not..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 07:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-server/m-p/2950879#M695855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T07:20:40Z</dc:date>
    </item>
  </channel>
</rss>

