<?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: creating contract reference with Quotation - using bapi or fm in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830292#M1589943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath..&lt;/P&gt;&lt;P&gt;Thanks for your reply..currently I am using r/3 4.7.if I use reference document details in that BAPISDHD1.where I need to pass line item details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I am going to create a contract referenced with line item 10 in Quotation.Totally quotation have three line items 10,20 and 30.I should pick the values from Quote only referenced with line item 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So plz give me an idea..where I have to give the line item details..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2011 04:35:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-03T04:35:29Z</dc:date>
    <item>
      <title>creating contract reference with Quotation - using bapi or fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830290#M1589941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest the suitable bapi or function module.if you suggest some thing ..kindly let me know?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to create contract referenced with particular line item in the quotation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where I need to pass the referenced line items...if you need any inputs..will reply by tomorrow...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 18:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830290#M1589941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-02T18:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: creating contract reference with Quotation - using bapi or fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830291#M1589942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Please suggest the suitable bapi or function module.if you suggest some thing ..kindly let me know?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; how to create contract referenced with particular line item in the quotation.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; where I need to pass the referenced line items...if you need any inputs..will reply by tomorrow...&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; thanks&lt;/P&gt;&lt;P&gt;&amp;gt; Gowrishankar&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it really SD_SALEORDER_CREATE? if yes, which version are you in? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you thought about 'BAPI_CONTRACT_CREATEFROMDATA'. Documentation available for this bapi. &lt;/P&gt;&lt;P&gt;If not, just an FYI, REF_DOC field in (BAPISDHD1) -Contract_header_in structure can be used to pass the ref document and check for the type. You will also need to pass the type for this ref_doc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming you have the configuration in place already. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search forum for this BAPI to get the sample code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 22:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830291#M1589942</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2011-05-02T22:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: creating contract reference with Quotation - using bapi or fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830292#M1589943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath..&lt;/P&gt;&lt;P&gt;Thanks for your reply..currently I am using r/3 4.7.if I use reference document details in that BAPISDHD1.where I need to pass line item details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I am going to create a contract referenced with line item 10 in Quotation.Totally quotation have three line items 10,20 and 30.I should pick the values from Quote only referenced with line item 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So plz give me an idea..where I have to give the line item details..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 04:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830292#M1589943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T04:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: creating contract reference with Quotation - using bapi or fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830293#M1589944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, as far as i know, you cannot control the items from reference document. this is all or nothing. Experts correct me if i am wrong. At least, i have never come across.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 14:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830293#M1589944</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2011-05-03T14:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: creating contract reference with Quotation - using bapi or fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830294#M1589945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its ok if I create using SD_SALESDOCUMENT_CREATE, its showing quotation number in Contract document flow.But against quote its shows "Archieve" , if I checked the same quotation in VA23, its showing "Open status".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Totally I am confused.if I searched with quotation,I am not able to find entires in VBFA table.But I searched with contract its showing entries in VBFA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any field we need to pass to update the status of document flow part...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Friends..if anyone come acroos this kind of scenario..please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 15:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830294#M1589945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T15:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: creating contract reference with Quotation - using bapi or fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830295#M1589946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I dont know any kind of parameter you need to pass it to the FM. I doubt there is one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you check VBFA, you are checking in both the fields right? I mean, VBELV and VBELN for the quote. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you use this RFC where there is no documentation on it. there is documentation for the bapi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 16:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830295#M1589946</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2011-05-03T16:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: creating contract reference with Quotation - using bapi or fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830296#M1589947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Sampath I checked both the fields in VBFA.Actually we already creating contract using that RFC...so I am trying with that.&lt;/P&gt;&lt;P&gt;Inside BAPI also they used same RFC.so there is not much difference..But anyway tomorrow I will try with that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have any clue..reply to this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hello friend :-if anybody have solution..kindly send the details..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 18:37:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830296#M1589947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T18:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: creating contract reference with Quotation - using bapi or fm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830297#M1589948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;passed reference variable in line item level.Now its working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 14:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-contract-reference-with-quotation-using-bapi-or-fm/m-p/7830297#M1589948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-08T14:53:28Z</dc:date>
    </item>
  </channel>
</rss>

