<?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: regd : passing values from calling program to called program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781502#M648324</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;i tried this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is not populating s_matnr-low the value to the standard screen which contains  p_matnr of type parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever i give range as 10       to  17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should give screen variant as 10  for matnr in called program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2007 10:06:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-13T10:06:01Z</dc:date>
    <item>
      <title>regd : passing values from calling program to called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781498#M648320</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;i have a requirement where in i need to pass values which is declared under selectoption in calling program screen to called program screen which is of type parameter in called program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has to accept range of values from calling program and populate one by one to  called program .As in called program that particular variable is of type parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u please help me in this..surely points will be rewarded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781498#M648320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: regd : passing values from calling program to called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781499#M648321</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;In you caller program write this coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT z_called_program&lt;/P&gt;&lt;P&gt;WITH s_called IN s_caller&lt;/P&gt;&lt;P&gt;p_called = p_caller&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781499#M648321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: regd : passing values from calling program to called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781500#M648322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinutha..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Calling program has a Select-option For Eg S_MATNR. &lt;/P&gt;&lt;P&gt;        Called program has a PARAMETER For Eg P_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;To Call the Report with Selection criteria.&lt;/P&gt;&lt;P&gt;In the Calling program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at S_MATNR.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;REPORT&amp;gt; &lt;/P&gt;&lt;P&gt;     WITH P_MATNR = S_MATNR-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781500#M648322</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-13T09:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: regd : passing values from calling program to called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781501#M648323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a number of ways to do this - do a F1 on Submit - but here is one approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly build your parameters/select-options:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  wa_params-selname = P_PARAM.
  wa_params-kind    = P_KIND.
  wa_params-sign    = P_SIGN.
  wa_params-option  = P_OPTION.
  wa_params-low     = P_LOW.
  wa_params-high    = P_HIGH.
  APPEND wa_params TO itab_params.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then call you program passing in your selection table:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;         SUBMIT [program name] AND RETURN 
                                        WITH SELECTION-TABLE itab_params
                                        VIA SELECTION-SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781501#M648323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: regd : passing values from calling program to called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781502#M648324</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;i tried this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is not populating s_matnr-low the value to the standard screen which contains  p_matnr of type parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever i give range as 10       to  17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should give screen variant as 10  for matnr in called program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 10:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781502#M648324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T10:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: regd : passing values from calling program to called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781503#M648325</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;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT z_called&lt;/P&gt;&lt;P&gt;WITH p_matnr = s_matnr-low&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 10:36:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781503#M648325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T10:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: regd : passing values from calling program to called program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781504#M648326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vinutha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the select-options in this calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to create a variant first for the calling program.&lt;/P&gt;&lt;P&gt;use the SUBMIT statement linking the called program and the variant used in this program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then validate the selection screen with the IF condition and a message class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a FUNCTION module, where we can give only multiple single value instead of ranges in the select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will give you the exact code by monday, since I am not in the desk now.&lt;/P&gt;&lt;P&gt;be in touch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2007 12:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-passing-values-from-calling-program-to-called-program/m-p/2781504#M648326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-15T12:11:24Z</dc:date>
    </item>
  </channel>
</rss>

