<?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 Pass parameters which is gotten from method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373694#M526114</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;&lt;/P&gt;&lt;P&gt;I would like to pass data gotten by the method&lt;/P&gt;&lt;P&gt; as the parameter to another method . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read_table(&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_value = zclass001=&amp;gt;get_value( `CON-TEXT01` )&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      e_out  = l_wrk ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I activate this method , error message is issued .&lt;/P&gt;&lt;P&gt;The massage is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ") IMPORTING e_Data "is not expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand why the error is issued . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apporogize for poor English , and asking rudimentary question .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP ECC 6.0&lt;/P&gt;&lt;P&gt;SAP_BASIS SAPKB70011&lt;/P&gt;&lt;P&gt;SAP_ABA	 SAPKA70011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Masao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2007 05:00:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-12T05:00:02Z</dc:date>
    <item>
      <title>Pass parameters which is gotten from method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373694#M526114</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;&lt;/P&gt;&lt;P&gt;I would like to pass data gotten by the method&lt;/P&gt;&lt;P&gt; as the parameter to another method . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read_table(&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_value = zclass001=&amp;gt;get_value( `CON-TEXT01` )&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      e_out  = l_wrk ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I activate this method , error message is issued .&lt;/P&gt;&lt;P&gt;The massage is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ") IMPORTING e_Data "is not expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand why the error is issued . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apporogize for poor English , and asking rudimentary question .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP ECC 6.0&lt;/P&gt;&lt;P&gt;SAP_BASIS SAPKB70011&lt;/P&gt;&lt;P&gt;SAP_ABA	 SAPKA70011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Masao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373694#M526114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T05:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters which is gotten from method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373695#M526115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Masao San,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use  the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_temp = zclass001=&amp;gt;get_value( `CON-TEXT01` ).&lt;/P&gt;&lt;P&gt;obj-&amp;gt;read_table( EXPORTING i_value = lv_temp                                   &lt;/P&gt;&lt;P&gt;                        IMPORTING e_out = l_wrk ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for this to work define get_value method as a functional method i.e. with RETURNING parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS-METHODS: get_value &lt;/P&gt;&lt;P&gt;                IMPORTING im_text          TYPE string&lt;/P&gt;&lt;P&gt;                RETURNING value(re_value)  TYPE i.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Award points if found useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Indrajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 06:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373695#M526115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T06:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters which is gotten from method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373696#M526116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;       for parameters (for the report) you can have simple import parameters but for select options you can use a table type like range (for example RSELOPTION) as importing parameter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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, 12 Jun 2007 06:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373696#M526116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T06:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters which is gotten from method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373697#M526117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answering .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry for my bad explanation .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I do not want to restore zclass001=&amp;gt;get_value( `CON-TEXT01` )&lt;/P&gt;&lt;P&gt;to the local work .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to pass "zclass001=&amp;gt;get_value( `CON-TEXT01` )"&lt;/P&gt;&lt;P&gt;to read_table directory .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I have to write a lot of parameters for the method "get_value" ,&lt;/P&gt;&lt;P&gt;and call method "read_table" many times .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And about the method "get_value" ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import parameter : I_ID type string &lt;/P&gt;&lt;P&gt;Export parameter : R_TEXT type string &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD get_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INCLUDE: zghri00002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN (i_id) TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  r_text = &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method is for calling text-synbols of zclass001 &lt;/P&gt;&lt;P&gt;and for calling constants of another ABAP include zghri00002 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So , I would like to call method like "get_value" ,&lt;/P&gt;&lt;P&gt;and pass value of the method "get_value" to another method .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 11:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-parameters-which-is-gotten-from-method/m-p/2373697#M526117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T11:17:08Z</dc:date>
    </item>
  </channel>
</rss>

