<?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 with BAPI_PRODORDCONF_CREATE_TT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/3535692#M850735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing the same issue. How did you fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 16:32:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-02-25T16:32:28Z</dc:date>
    <item>
      <title>Problem with BAPI_PRODORDCONF_CREATE_TT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/3535691#M850734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This BAPI is to "Enter Time Ticket Confirmation".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regularly we use transaction CO11N to do this. This standard transaction  creates just &lt;STRONG&gt;ONE&lt;/STRONG&gt; &lt;U&gt;Goods Movements&lt;/U&gt; for each order confirmation. And in table AFRU in the field WABLNR this transaction saves the "Number of Material Document".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I register the order confirmation with this BAPI, it creates &lt;STRONG&gt;TWO&lt;/STRONG&gt; &lt;U&gt;Goods Movements&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;The first for: "Goods receipt for order into warehouse".&lt;/P&gt;&lt;P&gt;And the secod: "GI for order" and "Receipt by-product"&lt;/P&gt;&lt;P&gt;This BAPI doesn't generates value for "Number of Material Document" in AFRU-WABLNR, this because there are two movements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the BAPI is working fine, although it is creating two movements. However I have an Infocube that is working with the value of AFRU-WABLNR. And I don't know if something else works with this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is the BAPI creates just one Material Document (not two). What do I have to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ABAP program I use this values of the structure &lt;STRONG&gt;BAPI_PP_TIMETICKET&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   wa_tickets-ORDERID             = p_ord.
   wa_tickets-OPERATION           = p_pos.
   wa_tickets-FIN_CONF            = p_fin.
   wa_tickets-POSTG_DATE          = p_postg.
   wa_tickets-CONF_TEXT           = p_conf.
   wa_tickets-PLANT               = p_plant.
   wa_tickets-WORK_CNTR           = p_work.
   wa_tickets-CONF_QUAN_UNIT      = p_confq.
   wa_tickets-YIELD               = p_yield.
   wa_tickets-CONF_ACTI_UNIT1     = p_unt1.
   wa_tickets-CONF_ACTI_UNIT1_ISO = p_unt1i.
   wa_tickets-CONF_ACTIVITY1      = p_act1.
   wa_tickets-CONF_ACTI_UNIT2     = p_unt2.
   wa_tickets-CONF_ACTI_UNIT2_ISO = p_unt2i.
   wa_tickets-CONF_ACTIVITY2      = p_act2.
   wa_tickets-CONF_ACTI_UNIT3     = p_unt3.
   wa_tickets-CONF_ACTI_UNIT3_ISO = p_unt3i.
   wa_tickets-CONF_ACTIVITY3      = p_act3.
   wa_tickets-CONF_ACTI_UNIT4     = p_unt4.
   wa_tickets-CONF_ACTI_UNIT4_ISO = p_unt4i.
   wa_tickets-CONF_ACTIVITY4      = p_act4.
   wa_tickets-EXEC_START_DATE     = p_stad.
   wa_tickets-EXEC_START_TIME     = p_stat.
   wa_tickets-EXEC_FIN_DATE       = p_find.
   wa_tickets-EXEC_FIN_TIME       = p_fint.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I asign the values I do:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
 EXPORTING
*   POST_WRONG_ENTRIES       = '0'
    TESTRUN                  = ''
  IMPORTING
    RETURN                   = itab_return
  TABLES
    TIMETICKETS              = itab_tickets
    GOODSMOVEMENTS           = itab_GOODSMOVEMENTS "Empty
    LINK_CONF_GOODSMOV       = itab_LINK_CONF_GOODSMOV "Empty
    DETAIL_RETURN            = itab_log.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end I have one order confirmation and two good movements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alejandro Picado Elizondo on Feb 27, 2008 9:35 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 15:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/3535691#M850734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T15:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_PRODORDCONF_CREATE_TT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/3535692#M850735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing the same issue. How did you fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 16:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/3535692#M850735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-25T16:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_PRODORDCONF_CREATE_TT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/3535693#M850736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Hi, &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;In order to create single material document number using BAPI_PRODORDDCONF_CREATE_TT&amp;nbsp; you need to link all goods movement for an order using table parameter LINK_CONF_GOODSMOV-INDEX_GM_DEPEND.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; text-decoration: underline; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;For example -&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order1 - 0001000001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 101 entries, LINK_CONF_GOODSMOV-INDEX_GM_DEPEND = ‘1’.&lt;/P&gt;&lt;P&gt;For 261 entries, LINK_CONF_GOODSMOV-INDEX_GM_DEPEND = ‘1’.&lt;/P&gt;&lt;P&gt;For 531 entries, LINK_CONF_GOODSMOV-INDEX_GM_DEPEND = ‘1’.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order2 - 0001000002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 101 entries, LINK_CONF_GOODSMOV-INDEX_GM_DEPEND = ‘2’.&lt;/P&gt;&lt;P&gt;For 261 entries, LINK_CONF_GOODSMOV-INDEX_GM_DEPEND = ‘2’.&lt;/P&gt;&lt;P&gt;For 531 entries, LINK_CONF_GOODSMOV-INDEX_GM_DEPEND = ‘2’.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rampreet Jaiswal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 09:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/3535693#M850736</guid>
      <dc:creator>former_member242092</dc:creator>
      <dc:date>2016-07-15T09:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with BAPI_PRODORDCONF_CREATE_TT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/14166373#M2042210</link>
      <description>&lt;P&gt;Hi Rampreet Jaiswal, I know this was 9 years ago but this saved me from my issue so thank you!&lt;/P&gt;&lt;P&gt;In my case, I was using BAPI_PROCORDCONF_GET_HDR_PROP to accurately populate&amp;nbsp;BAPI_PROCORDCONF_CREATE_HDR to replicate the confirmation behavior in CORK while linking the existing components to the new material document.&lt;/P&gt;&lt;P&gt;In&amp;nbsp;BAPI_PROCORDCONF_GET_HDR_PROP, INDEX_GM_DEPEND was listed as '0' so I didn't think to populate that with values so I kept getting a material document without the listed components. I wasn't able to find any more documentation, but I was able to come across your comment and tried it and it addressed the issue correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 05:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-prodordconf-create-tt/m-p/14166373#M2042210</guid>
      <dc:creator>sapnoob101</dc:creator>
      <dc:date>2025-07-30T05:13:47Z</dc:date>
    </item>
  </channel>
</rss>

