<?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: Call transaction from smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151745#M1977104</link>
    <description>&lt;P&gt;Hi Mateusz,&lt;/P&gt;&lt;P&gt;1.Changing of selection screen parameters is not possible because that is separate program so..&lt;/P&gt;&lt;P&gt;2.if am using "PERFORM 'procedure_name' IN PROGRAM 'program_name' " , how i will pass the values to fetch data..?&lt;/P&gt;&lt;P&gt;for example..&lt;/P&gt;&lt;P&gt;i need to pass the material number '000000000018003000' from Smartform to calling program as an input .. &lt;/P&gt;&lt;P&gt;how come i will pass these values.. &lt;/P&gt;&lt;P&gt;can u please explain with example in passing the value..&lt;/P&gt;&lt;P&gt;thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 10:28:39 GMT</pubDate>
    <dc:creator>deepa22_</dc:creator>
    <dc:date>2020-05-20T10:28:39Z</dc:date>
    <item>
      <title>Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151734#M1977093</link>
      <description>&lt;P&gt;I have an requirement to add field ' Lot no.' in smartforms.&lt;/P&gt;
  &lt;P&gt;for which i need take values from Transaction 'ZSDAH29' .&lt;/P&gt;
  &lt;P&gt;Is it possible? How to use call transaction in sap?&lt;/P&gt;
  &lt;P&gt;Can some one help with an example..&lt;/P&gt;
  &lt;P&gt;It is an urgent requirement!!.&lt;/P&gt;
  &lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 06:54:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151734#M1977093</guid>
      <dc:creator>deepa22_</dc:creator>
      <dc:date>2020-05-14T06:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151735#M1977094</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;deepa22_&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Sure, you can executed ABAP code in the Smartforms form, or better yet, call logic contained in some "external" (not contained in Smartform) class or program.&lt;/P&gt;&lt;P&gt;As to your requirement I see two solutions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You can execute the transaction and parse the results&lt;/LI&gt;&lt;LI&gt;or, better in my opinion, you can see what the report called in this transaction does and either copy the logic or execute the very logic that serves your purpose. Seeing as this is a Z* transaction, then analyzing it shouldn't be that hard.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 06:58:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151735#M1977094</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-05-14T06:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151736#M1977095</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;deepa22_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As Mateusz Adamus said coping the logic of z* program to smartform is best way of addressing the requirement. &lt;/P&gt;&lt;P&gt;If it's to be called then it's better write it in DP..&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abinath S&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 07:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151736#M1977095</guid>
      <dc:creator>Abinathsiva</dc:creator>
      <dc:date>2020-05-14T07:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151737#M1977096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we tried that way  writing similar logic in our smartforms... But there is prbm, only fews only will come in ZSDAH29 transaction with some barcoded thing, when we write the logic it will apply to all the materials which does not comes into ZSDAH29, so that only customer is asking to use the values from that transaction.&lt;/P&gt;&lt;P&gt;can u please share an example using the call transaction, or can u share any links for me to understand how to use the call transaction in another program..&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 07:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151737#M1977096</guid>
      <dc:creator>deepa22_</dc:creator>
      <dc:date>2020-05-14T07:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151738#M1977097</link>
      <description>&lt;P&gt;Hi Abi,&lt;/P&gt;&lt;P&gt;when they want from the ztransaction to avoid some other consequences..&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepa&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 07:52:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151738#M1977097</guid>
      <dc:creator>deepa22_</dc:creator>
      <dc:date>2020-05-14T07:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151739#M1977098</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;deepa22_&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Maybe there is a possibility to move part of the report's logic to a function and then call the same function from the report and smartform? That would be a good solution, too.&lt;/P&gt;&lt;P&gt;If not, if you really have to execute the transaction and parse the output, then what you're looking for is a &lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abapsubmit.htm"&gt;SUBMIT&lt;/A&gt; keyword. &lt;BR /&gt;There you must provide:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;report's name &lt;/LI&gt;&lt;LI&gt;selection screen parameters that should be used by report&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abapsubmit_list_options.htm#!ABAP_ADDITION_3@3@"&gt;EXPORTING LIST TO MEMORY&lt;/A&gt; parameter - it's crucial, otherwise the results won't be exported to the memory&lt;/LI&gt;&lt;LI&gt;AND RETURN parameter - required by the EXPORTING LIST TO MEMORY.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After this call you have to use function LIST_FROM_MEMORY to read the exported results from memory into an internal table of type ABAPLIST. Having that you're able to parse the results.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However&lt;/STRONG&gt;, I strongly advise on using some other solution (calling a procedure /FORM/ from the report or moving part/whole logic to a function) than parsing the results.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 08:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151739#M1977098</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-05-14T08:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151740#M1977099</link>
      <description>&lt;P&gt;Sorry but we can't help, ZSDAH29 is custom, you are the only one to know what it is about.&lt;/P&gt;&lt;P&gt;Please don't pollute with tags which are not related to your question: &lt;A href="https://answers.sap.com/tags/7e44126e-7b27-471d-a379-df205a12b1ff"&gt;ABAP RESTful Programming Model&lt;/A&gt; | &lt;A href="https://answers.sap.com/tags/266264953119842772207986043063520"&gt;ABAP Connectivity&lt;/A&gt; | &lt;A href="https://answers.sap.com/tags/338571334339306322581424656448659"&gt;ABAP Extensibility&lt;/A&gt; | &lt;A href="https://answers.sap.com/tags/181161894649260056016734803547327"&gt;NW ABAP Gateway (OData)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 10:57:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151740#M1977099</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-14T10:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151741#M1977100</link>
      <description>&lt;P&gt;Please ask a developer in your company.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 10:57:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151741#M1977100</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-14T10:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151742#M1977101</link>
      <description>&lt;P&gt;Is there any other possible way to move  the first program data into second program...?&lt;/P&gt;&lt;P&gt;But the parameters or select options gets value from second program..&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 14:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151742#M1977101</guid>
      <dc:creator>deepa22_</dc:creator>
      <dc:date>2020-05-19T14:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151743#M1977102</link>
      <description>&lt;P&gt;Hi Mateusz,&lt;/P&gt;&lt;P&gt;I tried using submit and return method in my smartforms .. Values are fetching properly..&lt;/P&gt;&lt;P&gt;But facing an problem.. i am getting the output screen of calling program, so that smartforms is not getting printed directly, everytime i am pressing back screen  to get the invoice document..?&lt;/P&gt;&lt;P&gt;Kindly help...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepa.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 14:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151743#M1977102</guid>
      <dc:creator>deepa22_</dc:creator>
      <dc:date>2020-05-19T14:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151744#M1977103</link>
      <description>&lt;P&gt;Hi Deepa&lt;/P&gt;&lt;P&gt;I see two possibilities here:&lt;/P&gt;&lt;P&gt;1. In Smartforms, call a procedure from the report, using PERFORM 'procedure_name' IN PROGRAM 'program_name' and this way get the results. This will work only if the logic of the report is contained in a procedure, of course.&lt;/P&gt;&lt;P&gt;2. Change the report, add selection screen parameter which when checked will make the report to not show any screens. &lt;/P&gt;&lt;P&gt;As mentioned before, moving the report's logic to a separate function is the best option here.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;Mateusz</description>
      <pubDate>Tue, 19 May 2020 15:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151744#M1977103</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-05-19T15:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151745#M1977104</link>
      <description>&lt;P&gt;Hi Mateusz,&lt;/P&gt;&lt;P&gt;1.Changing of selection screen parameters is not possible because that is separate program so..&lt;/P&gt;&lt;P&gt;2.if am using "PERFORM 'procedure_name' IN PROGRAM 'program_name' " , how i will pass the values to fetch data..?&lt;/P&gt;&lt;P&gt;for example..&lt;/P&gt;&lt;P&gt;i need to pass the material number '000000000018003000' from Smartform to calling program as an input .. &lt;/P&gt;&lt;P&gt;how come i will pass these values.. &lt;/P&gt;&lt;P&gt;can u please explain with example in passing the value..&lt;/P&gt;&lt;P&gt;thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 10:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151745#M1977104</guid>
      <dc:creator>deepa22_</dc:creator>
      <dc:date>2020-05-20T10:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151746#M1977105</link>
      <description>&lt;P&gt;Hi Deepa,&lt;/P&gt;&lt;P&gt;If you're calling a procedure using the PERFORM IN PROGRAM then you can pass to the procedure only what procedure's parameters allow. Nothing else. If the procedure has no parameters but uses global variables, then you either have to call the main report or some other procedure/function that sets the global variables.&lt;/P&gt;Regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 20 May 2020 10:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-from-smartforms/m-p/12151746#M1977105</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-05-20T10:32:14Z</dc:date>
    </item>
  </channel>
</rss>

