<?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 help needed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625169#M279367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please check if any status profile is assigned to the order type you are using. You can check the same from table TVAK, field STSMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I guess the status profile is associated and using internal number range for the order type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In this case before the order is actually saved the object number is temporarily generated. To check the same, try creating an order online and before actualling saving the document. Use menupath: Goto-&amp;gt;Header-&amp;gt;Status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Click on the pushbutton "Object Status". Here you will find the object number filled with a temporary generated number which will be later replaced by the actual number with the combination of 'VB' and Order number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Note that for header the status profile is assigned to Order Type and for items it will assigned to Item Categories. In your case it might be either at Header Level or at Item Level or both. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Also please check in the user-exits if there are any manipulations for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope the above info can give you some ways to explore on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2006 02:25:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-25T02:25:53Z</dc:date>
    <item>
      <title>BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625163#M279361</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;A program I have created is required to create multiple contracts during a typical run. In our QA system this works perfectly. However, in our production system, it is able to create the first contract but every contract after that gets an abort message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"New object number is temporary"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a configuration change that needs to be made from QA to Production? If so, what do I need to do to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I have ten contracts numbered 1 through 10 and we process them, number 1 will be created. However, contracts 2 through 10 will be aborted with the same abort message. Again, this works perfectly in QA but not in Production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 00:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625163#M279361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T00:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625164#M279362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  As per the error message, with my analysis i guess it is related to STATUS management. Please check if everything is ok on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Am not sure but if possible please try by giving a wait for one or 2 secs after the COMMIT WORK for each document posted as another alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 03:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625164#M279362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T03:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625165#M279363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eswar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. Can you please clarify what you mean regarding STATUS management? What do you mean by this? How can I see if everything is ok? Unfortunately I am unfamiliar with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 16:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625165#M279363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625166#M279364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This problem is still occurring. Can anyone please clarify Eswars' feedback?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 18:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625166#M279364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T18:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625167#M279365</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;Which is the numeber and class of the message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 18:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625167#M279365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T18:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625168#M279366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the BAPI return structure and see the message no,class. Normally return structure will be information what exactly wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;Poorna&lt;/STRONG&gt;******&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 19:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625168#M279366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T19:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625169#M279367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please check if any status profile is assigned to the order type you are using. You can check the same from table TVAK, field STSMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I guess the status profile is associated and using internal number range for the order type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In this case before the order is actually saved the object number is temporarily generated. To check the same, try creating an order online and before actualling saving the document. Use menupath: Goto-&amp;gt;Header-&amp;gt;Status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Click on the pushbutton "Object Status". Here you will find the object number filled with a temporary generated number which will be later replaced by the actual number with the combination of 'VB' and Order number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Note that for header the status profile is assigned to Order Type and for items it will assigned to Item Categories. In your case it might be either at Header Level or at Item Level or both. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Also please check in the user-exits if there are any manipulations for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope the above info can give you some ways to explore on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 02:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625169#M279367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T02:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625170#M279368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TVAK-STSMA is blank on our systems -- DEV, QA and PRD. I am still looking into this issue but if anyone has any more suggestions, it would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 00:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625170#M279368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T00:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625171#M279369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding a couple of second wait in between processing of records didn't fix our problem. I attempted to debug and this is what we get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we process multiple records, the first one always goes through. The second record gets an Abort, and everything after that is also aborted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we were to print out all the records and their error messages it would look like this:&lt;/P&gt;&lt;P&gt;1. Success&lt;/P&gt;&lt;P&gt;2. Error determining posting period (info structure S008, variant MF, RC 3)&lt;/P&gt;&lt;P&gt;3. New object number is temporary&lt;/P&gt;&lt;P&gt;4. New object number is temporary&lt;/P&gt;&lt;P&gt;5. New object number is temporary ... and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE, any ideas or suggestions would be greatly appreciated! Many thanks in advance. Points will be awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 22:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-help-needed/m-p/1625171#M279369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T22:37:01Z</dc:date>
    </item>
  </channel>
</rss>

