<?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: BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491509#M1420377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should increment INST_ID, so you could overcome the duplicated key problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2010 15:29:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-05T15:29:00Z</dc:date>
    <item>
      <title>BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491508#M1420376</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;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI "BAPI_QUOTATION_CREATEFROMDATA2" to create quotation.I have one question on Configuration part.&lt;/P&gt;&lt;P&gt;I am able to update configuration but I need MULTIPLE line for the same CHARECTERISTICS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code.&lt;/P&gt;&lt;P&gt;Please notice the record of table " i_quotation_cfgs_value". I want to show TWO record for Char 'Z_COIL_THICKNESS' with value 0.2 and 0.3.Do I need to increment Instance ID or Confid ID or do I need fill table QUOTATION_CFGS_PART_OF.Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONSTANTS:
conf_id TYPE char6 VALUE '000010',
      inst_id TYPE char8 VALUE '00000001'.

w_quotation_schedules_in-req_qty = '5'.
w_quotation_schedules_in-itm_number = '000010'.
w_quotation_schedules_in-sched_line = 1.
APPEND w_quotation_schedules_in TO i_quotation_schedules_in.
CLEAR w_quotation_schedules_in.

w_quotation_cfgs_ref-posex = '000010'.
w_quotation_cfgs_ref-root_id = inst_id.
w_quotation_cfgs_ref-config_id = conf_id.
APPEND w_quotation_cfgs_ref TO i_quotation_cfgs_ref.

w_quotation_cfgs_refinst-posex = '000010'.
w_quotation_cfgs_refinst-config_id = conf_id.
w_quotation_cfgs_refinst-inst_id = inst_id.
APPEND w_quotation_cfgs_refinst TO i_quotation_cfgs_refinst.

w_quotation_cfgs_value-config_id = conf_id .
w_quotation_cfgs_value-inst_id = inst_id .
w_quotation_cfgs_value-charc = 'Z_COIL_THICKNESS'.
w_quotation_cfgs_value-value = '0.2'.
APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.
CLEAR w_quotation_cfgs_value.

w_quotation_cfgs_value-config_id = conf_id .
w_quotation_cfgs_value-inst_id = inst_id .
w_quotation_cfgs_value-charc = 'Z_COIL_THICKNESS'.
w_quotation_cfgs_value-value = '0.3'.
APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.
CLEAR w_quotation_cfgs_value.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 5, 2010 10:26 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 15:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491508#M1420376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491509#M1420377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should increment INST_ID, so you could overcome the duplicated key problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 15:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491509#M1420377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T15:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491510#M1420378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I have already checked with incrementing INST_ID in all the three table "i_quotation_cfgs_ref,i_quotation_cfgs_refinst&lt;/P&gt;&lt;P&gt;i_quotation_cfgs_value" .Its not working.Below is the code.Do I need pass table QUOTATION_CFGS_PART_OF or any other field in any other table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_schedules_in-req_qty = '5'.&lt;/P&gt;&lt;P&gt;w_quotation_schedules_in-itm_number = '000010'.&lt;/P&gt;&lt;P&gt;w_quotation_schedules_in-sched_line = 1.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_schedules_in TO i_quotation_schedules_in.&lt;/P&gt;&lt;P&gt;CLEAR w_quotation_schedules_in.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-posex = '000010'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-root_id = '00000001'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-config_id = conf_id.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_ref TO i_quotation_cfgs_ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-posex = '000010'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-root_id = '00000002'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-config_id = conf_id.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_ref TO i_quotation_cfgs_ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-posex = '000010'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-config_id = conf_id.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-inst_id = '00000001'.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_refinst TO i_quotation_cfgs_refinst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-posex = '000010'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-config_id = conf_id.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-inst_id = '00000002'.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_refinst TO i_quotation_cfgs_refinst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-config_id = conf_id .&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-inst_id = '00000001' .&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-charc = 'Z_COIL_THICKNESS'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-value = '0.2'.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.&lt;/P&gt;&lt;P&gt;CLEAR w_quotation_cfgs_value.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-config_id = conf_id .&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-inst_id = '00000002' .&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-charc = 'Z_COIL_THICKNESS'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-value = '0.3'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 05:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491510#M1420378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T05:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491511#M1420379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rk,&lt;/P&gt;&lt;P&gt; I am trying to create sales order quotation using bapi. I am able to create it . But our materials are configurable . i am to send the characteristics from bapi . By seeing this post i am asking you. i wrote a program using bapi_quotation_createfromdata2.  If you want to see i will keep my code  here.Can you share your ideas with me  on this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 09:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491511#M1420379</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2010-02-20T09:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491512#M1420380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass below four table.&lt;/P&gt;&lt;P&gt;i_quotation_cfgs_ref&lt;/P&gt;&lt;P&gt;i_quotation_cfgs_refinst&lt;/P&gt;&lt;P&gt;i_quotation_cfgs_inst&lt;/P&gt;&lt;P&gt;i_quotation_cfgs_value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"config_id" should be same as Item number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To define the connection between the sales order item and the configuration you must pass match this--&amp;gt;(ORDER_ITEMS_IN-PO_ITM_NO = ORDER_CFGS_REF-POSEX)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any other info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code :&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lc_conf_id TYPE char6 VALUE '000010',&lt;/P&gt;&lt;P&gt;lc_inst_id TYPE char8 VALUE '00000001',&lt;/P&gt;&lt;P&gt;lc_item_no TYPE cu_posex VALUE '000010',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-posex = lc_item_no. "'000010'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-root_id = lc_inst_id.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_ref-config_id = lc_conf_id.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_ref TO i_quotation_cfgs_ref.&lt;/P&gt;&lt;P&gt;CLEAR w_quotation_cfgs_ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-posex = lc_item_no. "'000010'.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-config_id = lc_conf_id.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_refinst-inst_id = lc_inst_id.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_refinst TO i_quotation_cfgs_refinst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_inst-inst_id = lc_inst_id.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_inst-config_id = lc_conf_id.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_inst-obj_type = 'MARA'. "wa_zrvs_mat_char_h-obtab&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_inst-class_type = 300. "wa_zrvs_mat_char_h-klart.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_inst-obj_key = "Material number"&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_inst-quantity = 1.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_inst TO i_quotation_cfgs_inst.&lt;/P&gt;&lt;P&gt;CLEAR w_quotation_cfgs_inst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-config_id = lc_conf_id .&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-inst_id = lc_inst_id .&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-charc = wa_zrva_tdccodes-zzcharcteristics.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-value = wa_zrva_tdccodes-zvalue.&lt;/P&gt;&lt;P&gt;w_quotation_cfgs_value-valcode = 1.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.&lt;/P&gt;&lt;P&gt;CLEAR w_quotation_cfgs_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_quotation_items_in-po_itm_no = lc_item_no. "'000010'."Imp for config&lt;/P&gt;&lt;P&gt;w_quotation_items_in-itm_number = lc_item_no. "'000010'.&lt;/P&gt;&lt;P&gt;APPEND w_quotation_items_in TO i_quotation_items_in.&lt;/P&gt;&lt;P&gt;CLEAR w_quotation_items_in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roshan&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 15:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491512#M1420380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T15:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491513#M1420381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you . A long back you helped me to use BAPI_QUOTATION_CREATEFROMDATA2. Here i have a small requirement . I want to create quotation and order using bapi . I am thinking to keep in va21 and va01 screens .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; At the time of creation of sales order and quotation  i want to enter the person name who created it from the external system . That value should come and sit in the screen Zfield .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have seen some extension parameters  in that bapi . can i use that  . I hope you will share your ideas with me . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 09:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491513#M1420381</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2010-04-09T09:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491514#M1420382</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 am trying to create quotation from &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;BAPI_QUOTATION_CREATEFROMDATA2 which contains some configuration. There are some configurations which are stored as an XML format. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;How could i pass the values to BAPI so that i could avoid xml file generation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Preetesh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 07:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-quotation-createfromdata2-multiple-line-for-same-characteristics/m-p/6491514#M1420382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T07:10:22Z</dc:date>
    </item>
  </channel>
</rss>

