<?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: Issue with identifying the t.code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002914#M956355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you creating delivery in ZVL10G?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you calling some BAPI/ BDC?&lt;/P&gt;&lt;P&gt;sy-cprog should store the calling program (can be the main program if started by main program).&lt;/P&gt;&lt;P&gt;If transaction is started from your z-program the sy-cprog has to be your Z-program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, if this doesn't work then we can try some flag usage in ABAP /SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2008 15:11:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-10T15:11:17Z</dc:date>
    <item>
      <title>Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002908#M956349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have t.code ZVL10G which is used to create deliveries.&lt;/P&gt;&lt;P&gt;I have put some custom logic in user exit - FORM USEREXIT_MOVE_FIELD_TO_LIPS as mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the thing is that the code needs to be triggered only when executed with transaction 'ZVL10G'. I have put the condition as shown below but, it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USEREXIT_MOVE_FIELD_TO_LIPS.&lt;/P&gt;&lt;P&gt; if sy-tcode eq 'ZVL10G'.&lt;/P&gt;&lt;P&gt;   **custom logic &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;Kindly suggest on this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 14:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002908#M956349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002909#M956350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;If   T180-tcode  eq  'ZVL10G'.
 your code.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 14:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002909#M956350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T14:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002910#M956351</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 are correct it should work, try to check it agian in debugg mode.&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, 10 Jun 2008 14:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002910#M956351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002911#M956352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In debug mode, T180-TCODE = 'VL01N' so, i can't use this info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur quick reply....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 14:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002911#M956352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T14:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002912#M956353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then I guess ZVL10G  must be calling VL01n internally.&lt;/P&gt;&lt;P&gt;You can try one more option..&lt;/P&gt;&lt;P&gt;sy-cprog stores the name of the program which starts the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try putting condition on SY-PROG . It must solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 14:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002912#M956353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T14:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002913#M956354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, ZVL10G it's created a delivery..so it is calling VL01N transaction. for my include MV50AFZ1 the main program is SAPMV50A. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,  SYST-CPROG = SAPMV50A..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 15:03:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002913#M956354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T15:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002914#M956355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you creating delivery in ZVL10G?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you calling some BAPI/ BDC?&lt;/P&gt;&lt;P&gt;sy-cprog should store the calling program (can be the main program if started by main program).&lt;/P&gt;&lt;P&gt;If transaction is started from your z-program the sy-cprog has to be your Z-program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, if this doesn't work then we can try some flag usage in ABAP /SAP memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 15:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002914#M956355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T15:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002915#M956356</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;How are you creating delivery in ZVL10G?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute the transaction ZVL10G, am getting all the filtered sales orders list. at the top I have push button 'Dialog' .&lt;/P&gt;&lt;P&gt;I need to select particular order and press 'Dialog' button, at this point of time our code in MV50AFZ1 is getting triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 15:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002915#M956356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T15:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with identifying the t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002916#M956357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I suggest is use some global flag in system(Export/import  or Shared Memory Object).&lt;/P&gt;&lt;P&gt;set its value to ZVL10G when u click dialog, and use its value in user exit.After using it don't forget to clear that memory. &lt;/P&gt;&lt;P&gt;Also don't forget to reward if found helpful  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 13:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-identifying-the-t-code/m-p/4002916#M956357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T13:48:49Z</dc:date>
    </item>
  </channel>
</rss>

