<?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: BADI or function module for updating open purchase orders in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469813#M1417045</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;to find the user exits &amp;amp; Badi's for the T-code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to table TSTC&lt;DEL&gt;&amp;gt;enter T-code and execute&lt;/DEL&gt;&amp;gt; get the Program for the t-code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and go to-se38--&amp;gt;get the package attached to the t-code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next go to t-code Se15&lt;DEL&gt;&amp;gt;expand the enhacement tab&lt;/DEL&gt;&amp;gt;enter package under userexit and &lt;/P&gt;&lt;P&gt;                                                     execute you will get the list of exits &lt;/P&gt;&lt;P&gt;                                                     available...&lt;/P&gt;&lt;P&gt;                                                  --&amp;gt;enter package under Badi's tab and &lt;/P&gt;&lt;P&gt;                                                     execute you will get the list of Badi's &lt;/P&gt;&lt;P&gt;                                                     available...  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the User exits are stored in Table MODSAP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2010 11:35:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-11T11:35:45Z</dc:date>
    <item>
      <title>BADI or function module for updating open purchase orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469811#M1417043</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;Does anyone know of a BADI or function module which can be used for updating item prices in open purchase orders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All helpful answers are highly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 11:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469811#M1417043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T11:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: BADI or function module for updating open purchase orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469812#M1417044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need a BADI &amp;gt;&lt;/P&gt;&lt;P&gt;If its a function module you can use &lt;STRONG&gt;BAPI_PO_CHANGE&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 11:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469812#M1417044</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-11T11:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: BADI or function module for updating open purchase orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469813#M1417045</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;to find the user exits &amp;amp; Badi's for the T-code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to table TSTC&lt;DEL&gt;&amp;gt;enter T-code and execute&lt;/DEL&gt;&amp;gt; get the Program for the t-code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and go to-se38--&amp;gt;get the package attached to the t-code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next go to t-code Se15&lt;DEL&gt;&amp;gt;expand the enhacement tab&lt;/DEL&gt;&amp;gt;enter package under userexit and &lt;/P&gt;&lt;P&gt;                                                     execute you will get the list of exits &lt;/P&gt;&lt;P&gt;                                                     available...&lt;/P&gt;&lt;P&gt;                                                  --&amp;gt;enter package under Badi's tab and &lt;/P&gt;&lt;P&gt;                                                     execute you will get the list of Badi's &lt;/P&gt;&lt;P&gt;                                                     available...  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the User exits are stored in Table MODSAP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 11:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469813#M1417045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T11:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: BADI or function module for updating open purchase orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469814#M1417046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 ) execute this program  in se38 .enter the input as transaction code  for which you want list of User&lt;/P&gt;&lt;P&gt;Exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT z_find_userexit NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;  Enter the transaction code that you want to search through in order&lt;/P&gt;&lt;P&gt;*&amp;amp;  to find which Standard SAP® User Exits exists.&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp; Tables&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TABLES : tstc,     "SAP® Transaction Codes&lt;/P&gt;&lt;P&gt;         tadir,    "Directory of Repository Objects&lt;/P&gt;&lt;P&gt;         modsapt,  "SAP® Enhancements - Short Texts&lt;/P&gt;&lt;P&gt;         modact,   "Modifications&lt;/P&gt;&lt;P&gt;         trdir,    "System table TRDIR&lt;/P&gt;&lt;P&gt;         tfdir,    "Function Module&lt;/P&gt;&lt;P&gt;         enlfdir,  "Additional Attributes for Function Modules&lt;/P&gt;&lt;P&gt;         tstct.    "Transaction Code Texts&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp; Variables&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : field1(30).&lt;/P&gt;&lt;P&gt;DATA : v_devclass LIKE tadir-devclass.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp; Selection Screen Parameters&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK a01.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp; Start of main program&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validate Transaction Code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE * FROM tstc&lt;/P&gt;&lt;P&gt;    WHERE tcode EQ p_tcode.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Find Repository Objects for transaction code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM tadir&lt;/P&gt;&lt;P&gt;       WHERE pgmid    = 'R3TR'&lt;/P&gt;&lt;P&gt;         AND object   = 'PROG'&lt;/P&gt;&lt;P&gt;         AND obj_name = tstc-pgmna.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    MOVE : tadir-devclass TO v_devclass.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      SELECT SINGLE * FROM trdir&lt;/P&gt;&lt;P&gt;         WHERE name = tstc-pgmna.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      IF trdir-subc EQ 'F'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM tfdir&lt;/P&gt;&lt;P&gt;          WHERE pname = tstc-pgmna.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM enlfdir&lt;/P&gt;&lt;P&gt;          WHERE funcname = tfdir-funcname.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM tadir&lt;/P&gt;&lt;P&gt;          WHERE pgmid    = 'R3TR'&lt;/P&gt;&lt;P&gt;            AND object   = 'FUGR'&lt;/P&gt;&lt;P&gt;            AND obj_name = enlfdir-area.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        MOVE : tadir-devclass TO v_devclass.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Find SAP® Modifications&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT * FROM tadir&lt;/P&gt;&lt;P&gt;      INTO TABLE jtab&lt;/P&gt;&lt;P&gt;      WHERE pgmid    = 'R3TR'&lt;/P&gt;&lt;P&gt;        AND object   = 'SMOD'&lt;/P&gt;&lt;P&gt;        AND devclass = v_devclass.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM tstct&lt;/P&gt;&lt;P&gt;      WHERE sprsl EQ sy-langu&lt;/P&gt;&lt;P&gt;        AND tcode EQ p_tcode.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.&lt;/P&gt;&lt;P&gt;    WRITE:/(19) 'Transaction Code - ',&lt;/P&gt;&lt;P&gt;    20(20) p_tcode,&lt;/P&gt;&lt;P&gt;    45(50) tstct-ttext.&lt;/P&gt;&lt;P&gt;    SKIP.&lt;/P&gt;&lt;P&gt;    IF NOT jtab[] IS INITIAL.&lt;/P&gt;&lt;P&gt;      WRITE:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;      FORMAT COLOR COL_HEADING INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;      WRITE:/1 sy-vline,&lt;/P&gt;&lt;P&gt;      2 'Exit Name',&lt;/P&gt;&lt;P&gt;      21 sy-vline ,&lt;/P&gt;&lt;P&gt;      22 'Description',&lt;/P&gt;&lt;P&gt;      95 sy-vline.&lt;/P&gt;&lt;P&gt;      WRITE:/(95) sy-uline.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      LOOP AT jtab.&lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM modsapt&lt;/P&gt;&lt;P&gt;        WHERE sprsl = sy-langu AND&lt;/P&gt;&lt;P&gt;        name = jtab-obj_name.&lt;/P&gt;&lt;P&gt;        FORMAT COLOR COL_NORMAL INTENSIFIED OFF.&lt;/P&gt;&lt;P&gt;        WRITE:/1 sy-vline,&lt;/P&gt;&lt;P&gt;        2 jtab-obj_name HOTSPOT ON,&lt;/P&gt;&lt;P&gt;        21 sy-vline ,&lt;/P&gt;&lt;P&gt;        22 modsapt-modtext,&lt;/P&gt;&lt;P&gt;        95 sy-vline.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      WRITE:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;      DESCRIBE TABLE jtab.&lt;/P&gt;&lt;P&gt;      SKIP.&lt;/P&gt;&lt;P&gt;      FORMAT COLOR COL_TOTAL INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;      WRITE:/ 'No of Exits:' , sy-tfill.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;      WRITE:/(95) 'No User Exit exists'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;    WRITE:/(95) 'Transaction Code Does Not Exist'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Take the user to SMOD for the Exit that was selected.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD field1.&lt;/P&gt;&lt;P&gt;  CHECK field1(4) EQ 'JTAB'.&lt;/P&gt;&lt;P&gt;  SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Second way is to go to transaction code SE93 .enter transaction code click on display.&lt;/P&gt;&lt;P&gt;There you will see the package. Copy that package name.&lt;/P&gt;&lt;P&gt;Go to transaction code se84&lt;/P&gt;&lt;P&gt;Enhancements &lt;DEL&gt;-customer exits&lt;/DEL&gt;-enhancementsu2014enter package there and execute.&lt;/P&gt;&lt;P&gt;You will get list of exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) BAPI for PO change is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_PO_CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 10:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469814#M1417046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T10:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: BADI or function module for updating open purchase orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469815#M1417047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all, I used function module BAPI_PO_CHANGE to update the purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 11:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-or-function-module-for-updating-open-purchase-orders/m-p/6469815#M1417047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T11:23:42Z</dc:date>
    </item>
  </channel>
</rss>

