<?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 System Variable or Process code for Sales Order create/Change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019246#M960374</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;      I have a wriiten custom routine (routine no 901) for Pricing in VOFM.Now the thing is the code is written in such a way that, the routine will be called only for transaction VA01 and VA02.But If i want the routine(901) to be executed also through BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE ,then what system parameter i should check in my routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently the code is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form frm_kondi_wert_901.&lt;/P&gt;&lt;P&gt;Check sy-tocde = 'VA01'  or sy-tcode = 'VA02'.&lt;/P&gt;&lt;P&gt;*Process further'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate for the valuable input....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vigneswaran S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2008 22:56:50 GMT</pubDate>
    <dc:creator>former_member491305</dc:creator>
    <dc:date>2008-06-17T22:56:50Z</dc:date>
    <item>
      <title>System Variable or Process code for Sales Order create/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019246#M960374</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;      I have a wriiten custom routine (routine no 901) for Pricing in VOFM.Now the thing is the code is written in such a way that, the routine will be called only for transaction VA01 and VA02.But If i want the routine(901) to be executed also through BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE ,then what system parameter i should check in my routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently the code is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form frm_kondi_wert_901.&lt;/P&gt;&lt;P&gt;Check sy-tocde = 'VA01'  or sy-tcode = 'VA02'.&lt;/P&gt;&lt;P&gt;*Process further'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate for the valuable input....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vigneswaran S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 22:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019246#M960374</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2008-06-17T22:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable or Process code for Sales Order create/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019247#M960375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the strucutre T180.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF T180-TCODE EQ 'VA01' OR T180-TCODE EQ 'VA02'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudhir Atluru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 23:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019247#M960375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T23:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable or Process code for Sales Order create/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019248#M960376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhir,&lt;/P&gt;&lt;P&gt;      Thanks for your reply.The strucure T180 does not exist in my routine RV64A901 .I am writing a routine in the include RV64A901 which has a main program SAPLV61A.Please help if there is any other parameter can be used?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vigneswaran S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 23:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019248#M960376</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2008-06-17T23:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable or Process code for Sales Order create/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019249#M960377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try getting the T180 table from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign (SAPMV45A)T180 to a field symbol and access the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudhir Atluru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 23:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019249#M960377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-17T23:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable or Process code for Sales Order create/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019250#M960378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Can you explain in detail?.Is there any FM to read the value from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vigneswaran S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 23:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019250#M960378</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2008-06-17T23:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable or Process code for Sales Order create/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019251#M960379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write the following statements in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs&amp;gt;  TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : l_t180(15)  VALUE '(SAPMV45A)T180'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_t180   TYPE t180.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN (l_180)   TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_t180 = &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF it_t180-tcode EQ 'VA01' OR it_t180-tcode EQ 'VA02'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudhir Atluru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 00:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019251#M960379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T00:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable or Process code for Sales Order create/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019252#M960380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome stuff sudhir..It is really a great logic to use..Thanks for ur help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for future generation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One Note:The field symbol should be declared as &lt;STRONG&gt;type any&lt;/STRONG&gt; instead of "standard table".Because the T181 is used as global workarea(strucuture) in SAPMV45A program rather than internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you go the modified code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS:&amp;lt;fs_t180&amp;gt; &lt;STRONG&gt;TYPE any&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;  DATA:wa_t180 TYPE t180,&lt;/P&gt;&lt;P&gt;       c_t180(15) TYPE c VALUE '(SAPMV45A)T180'.&lt;/P&gt;&lt;P&gt;  ASSIGN (c_t180) to &amp;lt;fs_t180&amp;gt;.&lt;/P&gt;&lt;P&gt;   wa_t180 = &amp;lt;fs_t180&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If wa_t180-tcode = 'VA01' or  wa_t180-tcode = 'VA02'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vigneswaran S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 03:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-or-process-code-for-sales-order-create-change/m-p/4019252#M960380</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2008-06-18T03:25:55Z</dc:date>
    </item>
  </channel>
</rss>

