<?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: Dynamic Perform not calling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575179#M1938385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Solen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it on my end and it's working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT y_main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM trigger.&lt;/P&gt;&lt;P&gt;breakpoint.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;REPORT y_caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_form_name TYPE tnapr-ronam VALUE 'TRIGGER',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_prog_name TYPE tnapr-pgnam VALUE 'Y_MAIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM (lv_form_name) IN PROGRAM (lv_prog_name) IF FOUND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2016 07:25:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-04-05T07:25:24Z</dc:date>
    <item>
      <title>Dynamic Perform not calling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575177#M1938383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is something interesting i like to share with you all and get your ideas!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is about calling a perform dynmaically, its used very wide in SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a common form of use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets&amp;nbsp; say we have two reports: y_main and another report y_caller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside y_main there is a form &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;report y_main.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;form trigger.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;break-point.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endform.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and inside the y_caller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;report y_caller.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;**Standard use!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform trigger in program y_main if found.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will work for sure!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what we want is dynamic call!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: lv_form_name type tnapr-ronam value 'TRIGGER',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_prog_name type tnapr-pgnam value 'Y_MAIN'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform (lv_form_name) in PROGRAM lv_prog_name IF FOUND.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this code above will not work very interestingly!!! &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the code below works&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: ls_tnapr type tnapr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ls_tnapr-ronam = lv_form_name.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ls_tnapr-pgnam = lv_prog_name.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform(ls_tnapr-ronam) IN PROGRAM (ls_tnapr-pgnam) IF FOUND.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how come??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you call with type of a structure the dynamic call works otherwise it wont!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone see this before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 06:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575177#M1938383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-05T06:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Perform not calling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575178#M1938384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Solen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;DATA: lv_form_name type tnapr-ronam value 'TRIGGER',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_prog_name type tnapr-pgnam value 'Y_MAIN'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;perform (lv_form_name) in PROGRAM (lv_prog_name) IF FOUND.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;i think , It will work now.&amp;nbsp; if same thing you will do with routine it won't work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Deeps&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 07:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575178#M1938384</guid>
      <dc:creator>deependra_shekhawat3</dc:creator>
      <dc:date>2016-04-05T07:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Perform not calling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575179#M1938385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Solen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it on my end and it's working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT y_main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM trigger.&lt;/P&gt;&lt;P&gt;breakpoint.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;REPORT y_caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_form_name TYPE tnapr-ronam VALUE 'TRIGGER',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_prog_name TYPE tnapr-pgnam VALUE 'Y_MAIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM (lv_form_name) IN PROGRAM (lv_prog_name) IF FOUND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 07:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575179#M1938385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-05T07:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Perform not calling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575180#M1938386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;trixa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your example&lt;/P&gt;&lt;P&gt;you have tried in your own report &lt;/P&gt;&lt;P&gt;please try it on calling a form in another report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In mine it does not work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not think it will work on yours too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575180#M1938386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-05T13:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Perform not calling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575181#M1938387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solen,&lt;/P&gt;&lt;P&gt;Deependra and Trixa are right : when you use &lt;CODE&gt;perform (lv_form_name) in PROGRAM lv_prog_name IF FOUND.&lt;/CODE&gt;, SAP tries to call the standard program LV_PROG_NAME (if you start SE38, and display the program LV_PROG_NAME, you'll see it doesn't exist); it won't call the program whose name is in the variable lv_prog_name. That's a frequent error I do. Note that you added IF FOUND, which prevents a runtime error; if you remove IF FOUND, you'll see in the short dump that it says clearly "program LV_PROG_NAME does not exist".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 18:55:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575181#M1938387</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-04-05T18:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Perform not calling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575182#M1938388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting that i did not notice that !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try that now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it makes good sense to me:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ı was so sure that i did not miss anything&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 12:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-perform-not-calling/m-p/11575182#M1938388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-06T12:42:15Z</dc:date>
    </item>
  </channel>
</rss>

