<?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_PRODORDCONF_CREATE_TT CO11N CUSTOM FIELDS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810705#M41786</link>
    <description>&lt;P&gt;To my knowledge BAPI_PRODORDCONF_CREATE_TT doesn't support BAPI extensions concept.&lt;/P&gt;&lt;P&gt;You may try to enhance BAPI_PP_TIMETICKET structure with your custom fields, the same ones you have in AFRU. Then add transfer of those fields from TIMETICKETS table to tmp_afrud_tab table in BAPI_PRODORDCONF_CREATE_TT:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Rückmeldelohnscheine in interne Struktur AFRUD umsetzen
  LOOP AT timetickets.
    CLEAR tmp_afrud_tab.
    CALL FUNCTION 'MAP2I_PP_TIMETICKET_TO_AFRUD'
      EXPORTING
        bapi_pp_timeticket        = timetickets
      CHANGING
        afrud                     = tmp_afrud_tab
      EXCEPTIONS
        error_converting_iso_code = 1
        OTHERS                    = 2.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      CALL FUNCTION 'BALW_BAPIRETURN_GET1'
        EXPORTING
          type       = sy-msgty
          cl         = sy-msgid
          number     = sy-msgno
          par1       = sy-msgv1
          par2       = sy-msgv2
          par3       = sy-msgv3
          par4       = sy-msgv4
*         LOG_NO     = ' '
*         LOG_MSG_NO = ' '
        IMPORTING
          bapireturn = return.
      EXIT.
    ENDIF.

---&amp;gt; customs fields transfer here

    APPEND tmp_afrud_tab.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That should work although I've not tested that.&lt;/P&gt;&lt;P&gt;Let us know if it works for you.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczyński&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 16:34:05 GMT</pubDate>
    <dc:creator>Dominik_Tylczynski</dc:creator>
    <dc:date>2019-03-08T16:34:05Z</dc:date>
    <item>
      <title>BAPI_PRODORDCONF_CREATE_TT CO11N CUSTOM FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810704#M41785</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Dear Friends, &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;when I call BAPI_PRODORDCONF_CREATE_TT, How do I update the custom fields in table AFRU.&lt;/P&gt;
  &lt;P&gt;This custom fields I use in co11n.&lt;/P&gt;
  &lt;P&gt;Please guide me .&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810704#M41785</guid>
      <dc:creator>former_member617554</dc:creator>
      <dc:date>2019-03-08T10:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PRODORDCONF_CREATE_TT CO11N CUSTOM FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810705#M41786</link>
      <description>&lt;P&gt;To my knowledge BAPI_PRODORDCONF_CREATE_TT doesn't support BAPI extensions concept.&lt;/P&gt;&lt;P&gt;You may try to enhance BAPI_PP_TIMETICKET structure with your custom fields, the same ones you have in AFRU. Then add transfer of those fields from TIMETICKETS table to tmp_afrud_tab table in BAPI_PRODORDCONF_CREATE_TT:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Rückmeldelohnscheine in interne Struktur AFRUD umsetzen
  LOOP AT timetickets.
    CLEAR tmp_afrud_tab.
    CALL FUNCTION 'MAP2I_PP_TIMETICKET_TO_AFRUD'
      EXPORTING
        bapi_pp_timeticket        = timetickets
      CHANGING
        afrud                     = tmp_afrud_tab
      EXCEPTIONS
        error_converting_iso_code = 1
        OTHERS                    = 2.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      CALL FUNCTION 'BALW_BAPIRETURN_GET1'
        EXPORTING
          type       = sy-msgty
          cl         = sy-msgid
          number     = sy-msgno
          par1       = sy-msgv1
          par2       = sy-msgv2
          par3       = sy-msgv3
          par4       = sy-msgv4
*         LOG_NO     = ' '
*         LOG_MSG_NO = ' '
        IMPORTING
          bapireturn = return.
      EXIT.
    ENDIF.

---&amp;gt; customs fields transfer here

    APPEND tmp_afrud_tab.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That should work although I've not tested that.&lt;/P&gt;&lt;P&gt;Let us know if it works for you.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczyński&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 16:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810705#M41786</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2019-03-08T16:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PRODORDCONF_CREATE_TT CO11N CUSTOM FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810706#M41787</link>
      <description>&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;Do you mean I need to use Enhancement options in BAPI_PRODORDCONF_CREATE_TT?&lt;/P&gt;&lt;P&gt;Can you guide me? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2019 09:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810706#M41787</guid>
      <dc:creator>former_member617554</dc:creator>
      <dc:date>2019-03-09T09:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PRODORDCONF_CREATE_TT CO11N CUSTOM FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810707#M41788</link>
      <description>&lt;P&gt;Hi Michael, to answer directly your question - I wouldn't use enhancement here. Instead I'd just register a change and just insert custom fields mapping directly in the code where indicated above.&lt;/P&gt;&lt;P&gt;Before you go and change SAP standard code I'd advise some testing first:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use SE37 to test BAPI_PRODORDCONF_CREATE_TT and save a test data for the function without any custom fields for know. Make sure that BAPI_PRODORDCONF_CREATE_TT posts a confirmation correctly with your test data.&lt;/LI&gt;&lt;LI&gt;Use SE37 and run a test sequence of BAPI_PRODORDCONF_CREATE_TT with the test data saved previously and BAPI_TRANSACTION_COMMIT. Make sure that the confirmation posted in visible as you wish in standard SAP transactions and report.&lt;/LI&gt;&lt;LI&gt;Know put the break-point at line "APPEND tmp_afrud_tab." and run your test sequence. Once the execution stops fill in the custom fields in tmp_afrud_tab as required and let the test sequence run. Check if your custom fields show correctly wherever you use them.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Only after the above test proves the custom fields are transferred correctly (I'm 99% positive they will), go and add the custom fields transfer to tmp_afrud_tab with a simple change to SAP standard code. Make sure to have change assistant activated so your change can be easily tracked and reapplied on patching or upgrade.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Dominik Tylczyński&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 06:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prodordconf-create-tt-co11n-custom-fields/m-p/810707#M41788</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2019-03-13T06:40:42Z</dc:date>
    </item>
  </channel>
</rss>

