<?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: Transaction KKF2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-kkf2/m-p/8150901#M1621318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just went through the same issue with standard transaction vs calling a BAPI. After wasting one week of time, i came to know that it is the way SAP has designed and needs OSS notes on that. So i created an enhancement point at a right point which solved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Veer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 22:54:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-16T22:54:28Z</dc:date>
    <item>
      <title>Transaction KKF2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-kkf2/m-p/8150900#M1621317</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 have a problem with a process, want to change the system status of the order QM and this process dont modify the table "aufk" fields "PHAS2" , "IDAT2", just in the table "JEST"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction KKF2 until shows to end's tecnical the order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i do manual on the transaction KKF2 is modify the fields on the table "AUFK"&lt;/P&gt;&lt;P&gt;someone knows what i can do?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'KAUF_ORDER_READ'
 EXPORTING
*   I_ACTVT                      = '03'
   i_aufnr                      = p_aufnr
*   I_AUTYP_ERL                  = ' '
*   I_COAS                       = ' '
*   I_ENQUEUED                   = ' '
*   I_INDEX                      = 0
   i_afko                       = i_afko
   i_afpo                       = i_afpo
*   I_COSTS_EXIST                =
 IMPORTING
   e_afko                       = e_afko
   e_afpo                       = e_afpo
   e_coas                       = e_coas
   e_kauf                       = e_kauf
*   E_COAS_OLD                   =
 EXCEPTIONS
   auart_not_found              = 1
   foreign_lock                 = 2
   no_authority                 = 3
   order_not_found              = 4
   order_type_not_valid         = 5
   wrong_input                  = 6
   logsystem_inconsistent       = 7
   OTHERS                       = 8
          .
IF sy-subrc  0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
 
e_coas-aenam = sy-uname.
e_coas-aedat = sy-datlo.                                    "Note 93897
e_coas-aezeit = sy-uzeit.
 
IF e_coas-astnr NE e_kauf-old_astnr.
  e_coas-stdat = sy-datlo.
ENDIF.
IF ( e_coas-estnr IS INITIAL OR e_coas-astnr &amp;gt; e_coas-estnr ).
  e_coas-estnr = e_coas-astnr.
ENDIF.
 
e_coas-idat2 = sy-datlo.
e_coas-phas0 = ''.
e_coas-phas1 = ''.
e_coas-phas2 = 'X'.
e_coas-phas3 = ''.
e_coas-idat2 = sy-datlo.
 
CALL FUNCTION 'KAUF_ORDER_ACTIVITY'
  EXPORTING
    i_coas         = e_coas
    i_kauf         = e_kauf
    i_vrgng        = 'BTAB'
*    I_CHECK        = 'X'
*    I_DIALOG       = ' '
  IMPORTING
    e_coas         = e_coas
    e_kauf         = e_kauf.
 
CALL FUNCTION 'KAUF_ORDER_STORE'
  EXPORTING
    i_afko = e_afko
    i_afpo = e_afpo
    i_coas = e_coas
    i_kauf = e_kauf.
 
 
*CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 19:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-kkf2/m-p/8150900#M1621317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-16T19:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction KKF2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-kkf2/m-p/8150901#M1621318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just went through the same issue with standard transaction vs calling a BAPI. After wasting one week of time, i came to know that it is the way SAP has designed and needs OSS notes on that. So i created an enhancement point at a right point which solved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Veer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 22:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-kkf2/m-p/8150901#M1621318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-16T22:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction KKF2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-kkf2/m-p/8150902#M1621319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i solved the problem with function  ALE_INTERNALORDER_DB_CHANGE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 11:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transaction-kkf2/m-p/8150902#M1621319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-19T11:53:09Z</dc:date>
    </item>
  </channel>
</rss>

