<?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: Problem on using BAPI_SALESORDER_CREATEFROMDAT2 with VC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-on-using-bapi-salesorder-createfromdat2-with-vc/m-p/3816901#M918047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difficult to create sale order with VC using this BAPI. instead use BDC. for getting material characterstics use following FM&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  First get material class number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;BAPI_OBJCL_GETCLASSES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Get all the characterstics from material class number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    call function 'CARD_CLASS_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope u will able to create sale order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2008 04:13:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-20T04:13:52Z</dc:date>
    <item>
      <title>Problem on using BAPI_SALESORDER_CREATEFROMDAT2 with VC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-on-using-bapi-salesorder-createfromdat2-with-vc/m-p/3816900#M918046</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 had created a program of using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order with variant configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the case only contain the material with correct VC setting, it is okay. However i would like to test some case about breaking the consistence of VC. And I found that the BAPI could show me there are some inconsistence or incomplete in SO. But the information is too little for me. I would like to get more information to tell the user what inconsistence they had made. Now the result is shown as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;S
SALES_HEADER_IN has been processed successfully
S
SALES_ITEM_IN has been processed successfully
A
Internal error: 20, 000020, CFG_IS_INCONSISTENT_OR_INCOMPLETE,
E
Error in SALES_ITEM_IN 000000
W
The sales document is not yet complete: Edit data&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not easy for me to show what problem of inconsistence, any way could help me show the detail to user?&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, 20 May 2008 02:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-on-using-bapi-salesorder-createfromdat2-with-vc/m-p/3816900#M918046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T02:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on using BAPI_SALESORDER_CREATEFROMDAT2 with VC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-on-using-bapi-salesorder-createfromdat2-with-vc/m-p/3816901#M918047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difficult to create sale order with VC using this BAPI. instead use BDC. for getting material characterstics use following FM&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  First get material class number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;BAPI_OBJCL_GETCLASSES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Get all the characterstics from material class number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    call function 'CARD_CLASS_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope u will able to create sale order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 04:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-on-using-bapi-salesorder-createfromdat2-with-vc/m-p/3816901#M918047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T04:13:52Z</dc:date>
    </item>
  </channel>
</rss>

