<?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_CONTRACT_CREATEFROMDATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250739#M776133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.. the language is EN.&lt;/P&gt;&lt;P&gt;Also i dint quiet get what exactly you were trying to explain in the above reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2008 15:10:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-09T15:10:33Z</dc:date>
    <item>
      <title>BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250730#M776124</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 using the BAPI :&lt;STRONG&gt;BAPI_CONTRACT_CREATEFROMDATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to create a Sales CONTRACT using this Bapi.It doesnt do so, when i debugged i came to know error which states 'Sales Document Type does not exist' for any of the contract type. How do i go about this?&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;Could any one please tell me what all data do i need to pass to this BAPI: BAPI_CONTRACT_CREATEFROMDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Riya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 10:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250730#M776124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T10:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250731#M776125</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;The sales doc type which you are passing in &lt;STRONG&gt;ORDER_HEADER_IN :  DOC_TYPE&lt;/STRONG&gt;      is not configured for that contract type.&lt;/P&gt;&lt;P&gt;Try with some other sales doc type or check the configuration settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 11:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250731#M776125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T11:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250732#M776126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As i mentioned it gives me this message for all types.&lt;/P&gt;&lt;P&gt;I have tried all the possible sales document types. Kindly help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Riya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 11:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250732#M776126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T11:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250733#M776127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Riya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure on this, but it looks like something wrong with configuration settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SPRO go to define sales doc type and check the contract part of it, there is a field &lt;STRONG&gt;Contract data allwd.&lt;/STRONG&gt; check if its X or not. You may get some help from there. Check F1 help for this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 11:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250733#M776127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T11:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250734#M776128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m using this BAPI in a migration report.&lt;/P&gt;&lt;P&gt;This is the minimum information I supply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill header data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear gs_ct_header.&lt;/P&gt;&lt;P&gt;  gs_ct_header-doc_type     = ls_record-auart.&lt;/P&gt;&lt;P&gt;  gs_ct_header-sales_org    = ls_record-vkorg.&lt;/P&gt;&lt;P&gt;  gs_ct_header-distr_chan   = p_vtweg.&lt;/P&gt;&lt;P&gt;  gs_ct_header-division       = p_spart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gs_ct_headerx-updateflag  = 'I'.&lt;/P&gt;&lt;P&gt;  gs_ct_headerx-doc_type    = gc_true.&lt;/P&gt;&lt;P&gt;  gs_ct_headerx-sales_org   = gc_true.&lt;/P&gt;&lt;P&gt;  gs_ct_headerx-distr_chan  = gc_true.&lt;/P&gt;&lt;P&gt;  gs_ct_headerx-division    = gc_true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill partner&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear: gs_partner, gt_partner[].&lt;/P&gt;&lt;P&gt;  gs_partner-partn_role                = 'AG'.&lt;/P&gt;&lt;P&gt;  l_kunnr                                    = ls_record-kunnr.&lt;/P&gt;&lt;P&gt;  gs_partner-partn_numb             = l_kunnr.&lt;/P&gt;&lt;P&gt;  append gs_partner to gt_partner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sales Document Type (AUART) has to be maintained in table TVAK.&lt;/P&gt;&lt;P&gt;Just as a test, try creating a contract manually (VA41) and check the contract types you can choose.&lt;/P&gt;&lt;P&gt;Also check the sales area data you supply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it still doesn´t work, please post the contents of the return table.&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;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 12:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250734#M776128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T12:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250735#M776129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael , thanx a lot ive solved that query but i still get an error message which is listed below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help and if could provide me with any mail or chat id since you are working on a similar thing on which i am working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now i am just running for demo with only 1 line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;233 SALES_HEADER_IN has been processed successfully	&lt;/P&gt;&lt;P&gt;384	Sales unit ****** is not defined for item 000010	&lt;/P&gt;&lt;P&gt;248	Error in SALES_ITEM_IN 000000	&lt;/P&gt;&lt;P&gt;555	The sales document is not yet complete: Edit data	&lt;/P&gt;&lt;P&gt;219	Sales document  was not changed	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 14:14:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250735#M776129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T14:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250736#M776130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it looks like you have a problem with your unit of measure...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start transaction MM03 and enter the material number you are experiencing problems with.&lt;/P&gt;&lt;P&gt;In additional data, check the units of measure that are maintained for this material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the unit you are using maintained?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 14:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250736#M776130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T14:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250737#M776131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is maintained but i guess it is alternate unit of measure.&lt;/P&gt;&lt;P&gt;Do i need change it? If yes.. how do i do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: riya riya on Jan 9, 2008 4:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 14:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250737#M776131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250738#M776132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you concern that the unit of measure is language dependent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I had that problem before... some other BAPI though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a conversion routine 'CUNIT' for converting the unit to target quantity unit of measure in ISO code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 15:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250738#M776132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T15:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250739#M776133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.. the language is EN.&lt;/P&gt;&lt;P&gt;Also i dint quiet get what exactly you were trying to explain in the above reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 15:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250739#M776133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T15:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250740#M776134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don´t have that much time....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error seems to be in the data of table CONTRACT_ITEMS_IN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the values you enter in this table (and CONTRACT_ITEMS_INX as well).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 15:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250740#M776134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250741#M776135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just one last thing after the document gets created, the Contract Start date and End date do not get populated.&lt;/P&gt;&lt;P&gt;I am passing these values in the fields:&lt;/P&gt;&lt;P&gt;CT_VALID_F &amp;amp; CT_VALID_T. Is this correct?&lt;/P&gt;&lt;P&gt;Or should i pass them to some other fields like QT_VALID_F &amp;amp; QT_VALID_T please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Riya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 05:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata/m-p/3250741#M776135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T05:38:42Z</dc:date>
    </item>
  </channel>
</rss>

