<?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: Default file path on application server ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470167#M221078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FORM OPEN_DATASET USING P_DATASET.&lt;/P&gt;&lt;P&gt;  OPEN DATASET P_DATASET&lt;/P&gt;&lt;P&gt;               FOR INPUT IN TEXT MODE&lt;/P&gt;&lt;P&gt;               ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    WRITE: / TEXT-E00, SY-SUBRC.&lt;/P&gt;&lt;P&gt;    STOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Ashish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Aug 2006 22:48:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-07T22:48:45Z</dc:date>
    <item>
      <title>Default file path on application server ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470165#M221076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell me what is the file path of the file 'dataset' in the below code? I think it is stored in application server but not sure of the path. Is there any default path for such things?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report Z_test_BDC1&lt;/P&gt;&lt;P&gt;       no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: dataset(132) lower case.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;   DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  If it is nessesary to change the data section use the rules:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  1.) Each definition of a field exists of two lines&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  2.) The first line shows exactly the comment&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      '* data element: ' followed with the data element&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      which describes the field.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      If you don't have a data element use the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      comment without a data element name&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  3.) The second line shows the fieldname of the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      structure, the fieldname must consist of&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      a fieldname and optional the character '_' and&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      three numbers and the field length in brackets&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  4.) Each field must be type C.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Generated data section with specific formatting - DO NOT CHANGE  ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;data: begin of record,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: KUN16&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        KUNNR_001(016),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: KTOKD&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        KTOKD_002(004),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: NAME1_GP&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        NAME1_003(035),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: SORTL&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        SORTL_004(010),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: ORT01_GP&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        ORT01_005(035),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: LAND1_GP&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        LAND1_006(003),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: SPRAS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        SPRAS_007(002),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: PSTLZ&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        PSTLZ_008(010),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element: LZONE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        LZONE_009(010),&lt;/P&gt;&lt;P&gt;      end of record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;End generated data section ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform open_dataset using dataset.&lt;/P&gt;&lt;P&gt;perform open_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read dataset dataset into record.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0. exit. endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMF02D' '0107'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RF02D-KTOKD'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RF02D-KUNNR'&lt;/P&gt;&lt;P&gt;                              record-KUNNR_001.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RF02D-KTOKD'&lt;/P&gt;&lt;P&gt;                              record-KTOKD_002.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMF02D' '0110'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'KNA1-SORTL'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KNA1-NAME1'&lt;/P&gt;&lt;P&gt;                              record-NAME1_003.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KNA1-SORTL'&lt;/P&gt;&lt;P&gt;                              record-SORTL_004.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KNA1-ORT01'&lt;/P&gt;&lt;P&gt;                              record-ORT01_005.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KNA1-LAND1'&lt;/P&gt;&lt;P&gt;                              record-LAND1_006.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KNA1-SPRAS'&lt;/P&gt;&lt;P&gt;                              record-SPRAS_007.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KNA1-PSTLZ'&lt;/P&gt;&lt;P&gt;                              record-PSTLZ_008.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMF02D' '0120'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'KNA1-LZONE'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=UPDA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KNA1-LZONE'&lt;/P&gt;&lt;P&gt;                              record-LZONE_009.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'VD01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform close_group.&lt;/P&gt;&lt;P&gt;perform close_dataset using dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 22:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470165#M221076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T22:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Default file path on application server ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470166#M221077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is the code for &lt;/P&gt;&lt;P&gt;perform open_dataset using dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATASET is entered on selection screen. Does not look like Logical file is used here but it will be helpful if you place code of this perform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 22:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470166#M221077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T22:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Default file path on application server ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470167#M221078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FORM OPEN_DATASET USING P_DATASET.&lt;/P&gt;&lt;P&gt;  OPEN DATASET P_DATASET&lt;/P&gt;&lt;P&gt;               FOR INPUT IN TEXT MODE&lt;/P&gt;&lt;P&gt;               ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    WRITE: / TEXT-E00, SY-SUBRC.&lt;/P&gt;&lt;P&gt;    STOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Ashish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 22:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470167#M221078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T22:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Default file path on application server ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470168#M221079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code shows that DATASET value is entered on selection screen. It should be entered with the path and file name.&lt;/P&gt;&lt;P&gt;Hope this answers your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 22:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470168#M221079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T22:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Default file path on application server ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470169#M221080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it will be the value of the profile parameter DIR_HOME. Go to RZ11, enter DIR_HOME and do display. There you will see the full path of the home directory. That is where it should be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 22:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470169#M221080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T22:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Default file path on application server ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470170#M221081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also check the other DIR* profile parameters there and see which one it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 22:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-file-path-on-application-server/m-p/1470170#M221081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T22:52:25Z</dc:date>
    </item>
  </channel>
</rss>

