<?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 Getting values out of functionmodule in functionmodule in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605081#M2011303</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;
  &lt;P&gt;I have a functionmodule in which the functionmodule "BAPI_GOODSMVT_CREATE" is used. From this functionmodule I now want to use the table "lt_item". Is there a way to get the table without changing the other functionmodule? &lt;/P&gt;
  &lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 13:29:48 GMT</pubDate>
    <dc:creator>former_member656551</dc:creator>
    <dc:date>2022-10-27T13:29:48Z</dc:date>
    <item>
      <title>Getting values out of functionmodule in functionmodule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605081#M2011303</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
  &lt;P&gt;I have a functionmodule in which the functionmodule "BAPI_GOODSMVT_CREATE" is used. From this functionmodule I now want to use the table "lt_item". Is there a way to get the table without changing the other functionmodule? &lt;/P&gt;
  &lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 13:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605081#M2011303</guid>
      <dc:creator>former_member656551</dc:creator>
      <dc:date>2022-10-27T13:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting values out of functionmodule in functionmodule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605082#M2011304</link>
      <description>&lt;P&gt;Do you want to pass lt_item to the BAPI, which would be a basic abap question, or could you rephrase your requirement that I don't quite understand?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
" ...
  TABLES
    goodsmvt_item                 = lt_item
" ...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Oct 2022 13:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605082#M2011304</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2022-10-27T13:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting values out of functionmodule in functionmodule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605083#M2011305</link>
      <description>&lt;P&gt;As Raymond mentioned it is not 100% clear what you are asking for.&lt;/P&gt;&lt;P&gt;Each function module has his own import and export parameters defined.&lt;BR /&gt;In the BAPI named above your table structure is based on structure BAPI2017_GM_ITEM_CREATE.&lt;/P&gt;&lt;P&gt;Therefore you need to map the table you get from BAPI_GOODSMVT_CREATE to your own format in different ways:&lt;/P&gt;&lt;P&gt;1) MOVE-CORRESPONDING for structure or table (if your own table uses the field names and DDIC elements&lt;/P&gt;&lt;P&gt;2) LOOP lt_item assigning &amp;lt;ls_item&amp;gt;.&lt;/P&gt;&lt;P&gt;          ls_new-matnr = &amp;lt;ls_item&amp;gt;-material.&lt;BR /&gt;         ....&lt;BR /&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt;There is no automatic mapping between FMs.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 14:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605083#M2011305</guid>
      <dc:creator>AlexAdam</dc:creator>
      <dc:date>2022-10-27T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting values out of functionmodule in functionmodule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605084#M2011306</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;alexander.adam&lt;/SPAN&gt; , actually you can create a mapping FM between two structures (using the data element) look at transaction &lt;A href="https://help.sap.com/docs/search?q=BDBS%20BAPI&amp;amp;locale=en-US&amp;amp;format=standard,html,pdf,others"&gt;BDBS - Converting Between Int. and Ext. Data Formats and Structures (in SAP Library - BAPI Programming Guide Reference)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 11:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-out-of-functionmodule-in-functionmodule/m-p/12605084#M2011306</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2022-10-28T11:37:34Z</dc:date>
    </item>
  </channel>
</rss>

