<?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: Opportunity creation report using one order Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/opportunity-creation-report-using-one-order-function-module/m-p/623545#M26045</link>
    <description>&lt;P&gt;This is really helpful information but my problem didn't solve.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Apr 2018 07:01:54 GMT</pubDate>
    <dc:creator>former_member557605</dc:creator>
    <dc:date>2018-04-19T07:01:54Z</dc:date>
    <item>
      <title>Opportunity creation report using one order Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opportunity-creation-report-using-one-order-function-module/m-p/623543#M26043</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I am trying to create a report for creating opportunity using one order framework function module (crm_order_read, crm_order_maintain, crm_order_save). When i execute this report then partner and partner function is not updating. Please, any one tell me which table is used for maintaning the prtner function and partner in opportunity.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I have attached may report which i have created. Please,&lt;A href="https://answers.sap.com/storage/attachments/129050-report.txt"&gt;report.txt&lt;/A&gt; find.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 07:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opportunity-creation-report-using-one-order-function-module/m-p/623543#M26043</guid>
      <dc:creator>former_member557605</dc:creator>
      <dc:date>2018-04-16T07:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Opportunity creation report using one order Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opportunity-creation-report-using-one-order-function-module/m-p/623544#M26044</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;you need to set also these fields:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;DATA: ls_logical_key TYPE crmt_partner_logic_partner_key.
...
ls_partner-ref_handle = ls_orderadm_h-handle.
...
ls_partner-ref_partner_handle = 1.   
ls_logical_key-ref_partner_handle = ls_partner-ref_partner_handle. " 0 = inital my be ignored!
...
ls_input_field-objectname  = 'PARTNER'.
ls_input_field-ref_handle  = ls_partner-ref_handle.
ls_input_field-logical_key = ls_logical_key.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;for a partner update you have to set as well:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;ls_logical_key-ref_partner_handle = ls_partner-ref_partner_handle.
ls_logical_key-ref_partner_no     = ls_partner-ref_partner_no.
ls_logical_key-ref_partner_fct    = ls_partner-ref_partner_fct.
ls_logical_key-ref_no_type        = ls_partner-ref_no_type.
ls_logical_key-ref_display_type   = ls_partner-ref_display_type.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;BTW - Use constants from INCLUDE crm_object_names_con. like:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;INCLUDE crm_object_names_con.
...
ls_input_field-objectname  = gc_object_name-partner.
...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Apr 2018 20:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opportunity-creation-report-using-one-order-function-module/m-p/623544#M26044</guid>
      <dc:creator>Domi</dc:creator>
      <dc:date>2018-04-16T20:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Opportunity creation report using one order Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opportunity-creation-report-using-one-order-function-module/m-p/623545#M26045</link>
      <description>&lt;P&gt;This is really helpful information but my problem didn't solve.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 07:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opportunity-creation-report-using-one-order-function-module/m-p/623545#M26045</guid>
      <dc:creator>former_member557605</dc:creator>
      <dc:date>2018-04-19T07:01:54Z</dc:date>
    </item>
  </channel>
</rss>

