<?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 batch problem with 'BAPI_PRODORDCONF_CREATE_TT' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-problem-with-bapi-prodordconf-create-tt/m-p/2278877#M495986</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;We are using function 'BAPI_PRODORDCONF_CREATE_TT' but not fully sucessfully.&lt;/P&gt;&lt;P&gt;We call this function to make a completion confirmation with a goods movement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now we are doing some test trying to get the same results that if we use COR6N.&lt;/P&gt;&lt;P&gt;We enter a proc order, then put a qty into yield, click Goods movement (the matr is batch managed) and then enter a batch (movement type 101 by default). Then save. Everything is ok and is I check in table MSEG there is an entry for the confirmation with the batch I used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when we try this with the bapi the qty is confirmed but in MSEG the batch that appears is different than the one we passed to the BAPI. This is how we are calling the funciton:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_TT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POST_WRONG_ENTRIES       = '0'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TESTRUN                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     return                   = wa_bapiret1&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;         timetickets              = i_timetickets[]&lt;/P&gt;&lt;P&gt;         goodsmovements           = i_goodsmovements[]&lt;/P&gt;&lt;P&gt;         link_conf_goodsmov       = i_link_conf_goodsmov[]&lt;/P&gt;&lt;P&gt;         detail_return            = li_detail_return[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     WAIT          = 'X'&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     RETURN        = li_ret&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_timeticket one entry with fields informed: orderid, phase, plant, yield, conf_acti_unit1 &lt;/P&gt;&lt;P&gt;i_goodsmovements one entry with material plant resource stg location, batch, mov type&lt;/P&gt;&lt;P&gt;(values as in COR6N)&lt;/P&gt;&lt;P&gt;i_link_conf_goodsmov[] two cases:&lt;/P&gt;&lt;P&gt;  1.if we place an entry such as&lt;/P&gt;&lt;P&gt;      i_link_conf_goodsmov-INDEX_CONFIRM = 1.&lt;/P&gt;&lt;P&gt;      i_link_conf_goodsmov-INDEX_GOODSMOV = 1.&lt;/P&gt;&lt;P&gt;    Then no entry appears in table MSEG, in COR3 delivered qty is not increase but in COR6N the already confirmed quantity IS increase&lt;/P&gt;&lt;P&gt;  1.if we place no entry then&lt;/P&gt;&lt;P&gt;    Then an entry appears in table MSEG but the batch is not the one in i_goodsmovements, in COR3 delivered qty is increase and in COR6N the already confirmed quantity also increases&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So our problem is that when we use i_link_conf_goodsmov to make the bapi use the batch we specify then it does not seem to work. success is returned from bapi in both cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate it anyone can shed some light in this. (points will be given of course!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2007 10:12:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-29T10:12:27Z</dc:date>
    <item>
      <title>batch problem with 'BAPI_PRODORDCONF_CREATE_TT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-problem-with-bapi-prodordconf-create-tt/m-p/2278877#M495986</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;We are using function 'BAPI_PRODORDCONF_CREATE_TT' but not fully sucessfully.&lt;/P&gt;&lt;P&gt;We call this function to make a completion confirmation with a goods movement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now we are doing some test trying to get the same results that if we use COR6N.&lt;/P&gt;&lt;P&gt;We enter a proc order, then put a qty into yield, click Goods movement (the matr is batch managed) and then enter a batch (movement type 101 by default). Then save. Everything is ok and is I check in table MSEG there is an entry for the confirmation with the batch I used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when we try this with the bapi the qty is confirmed but in MSEG the batch that appears is different than the one we passed to the BAPI. This is how we are calling the funciton:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_TT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POST_WRONG_ENTRIES       = '0'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TESTRUN                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     return                   = wa_bapiret1&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;         timetickets              = i_timetickets[]&lt;/P&gt;&lt;P&gt;         goodsmovements           = i_goodsmovements[]&lt;/P&gt;&lt;P&gt;         link_conf_goodsmov       = i_link_conf_goodsmov[]&lt;/P&gt;&lt;P&gt;         detail_return            = li_detail_return[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     WAIT          = 'X'&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     RETURN        = li_ret&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_timeticket one entry with fields informed: orderid, phase, plant, yield, conf_acti_unit1 &lt;/P&gt;&lt;P&gt;i_goodsmovements one entry with material plant resource stg location, batch, mov type&lt;/P&gt;&lt;P&gt;(values as in COR6N)&lt;/P&gt;&lt;P&gt;i_link_conf_goodsmov[] two cases:&lt;/P&gt;&lt;P&gt;  1.if we place an entry such as&lt;/P&gt;&lt;P&gt;      i_link_conf_goodsmov-INDEX_CONFIRM = 1.&lt;/P&gt;&lt;P&gt;      i_link_conf_goodsmov-INDEX_GOODSMOV = 1.&lt;/P&gt;&lt;P&gt;    Then no entry appears in table MSEG, in COR3 delivered qty is not increase but in COR6N the already confirmed quantity IS increase&lt;/P&gt;&lt;P&gt;  1.if we place no entry then&lt;/P&gt;&lt;P&gt;    Then an entry appears in table MSEG but the batch is not the one in i_goodsmovements, in COR3 delivered qty is increase and in COR6N the already confirmed quantity also increases&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So our problem is that when we use i_link_conf_goodsmov to make the bapi use the batch we specify then it does not seem to work. success is returned from bapi in both cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate it anyone can shed some light in this. (points will be given of course!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 10:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-problem-with-bapi-prodordconf-create-tt/m-p/2278877#M495986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T10:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: batch problem with 'BAPI_PRODORDCONF_CREATE_TT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-problem-with-bapi-prodordconf-create-tt/m-p/2278878#M495987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wilson , did you solve the problem? I'm in the same status...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 12:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-problem-with-bapi-prodordconf-create-tt/m-p/2278878#M495987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T12:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: batch problem with 'BAPI_PRODORDCONF_CREATE_TT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-problem-with-bapi-prodordconf-create-tt/m-p/2278879#M495988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While we are passing batch through BAPI it is considering running batch not considering inputed batch.&lt;/P&gt;&lt;P&gt;&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;Ram Mittal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 07:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-problem-with-bapi-prodordconf-create-tt/m-p/2278879#M495988</guid>
      <dc:creator>former_member816597</dc:creator>
      <dc:date>2014-10-09T07:48:59Z</dc:date>
    </item>
  </channel>
</rss>

