<?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: User-exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631336#M281745</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 guess there is no delivery block at item level. Maybe you can try using &amp;lt;b&amp;gt;Reason for Rejection&amp;lt;/b&amp;gt; at item level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you want to change the order then you can do that via BAPI: BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Alternatively, if you want this to be done wheneven the order the processed manually, you can do that via user-exits. Please look into MV45AFZZ - subroutine: &amp;lt;b&amp;gt;userexit_move_field_to_vbap&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Oct 2006 08:10:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-19T08:10:20Z</dc:date>
    <item>
      <title>User-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631333#M281742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;         I have a requirement where  I need to  process delivery for a sales order at item level based on certain conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Suppose I have a sales order 2566850 and it has  two items 10 and 20, I want to process delivery for item 10 only using tcode VL01N. &lt;/P&gt;&lt;P&gt;Are there any user-exits  in VL01N, which serve this purpose. Is there any possibility of setting delivery block for item 20, so that delivery will not be created for that particular item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Vishnu Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 07:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631333#M281742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631334#M281743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exits for VL01N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V02V0001  Sales area determination for stock transport order&lt;/P&gt;&lt;P&gt;V02V0002  User exit for storage location determination&lt;/P&gt;&lt;P&gt;V02V0003  User exit for gate + matl staging area determination (h&lt;/P&gt;&lt;P&gt;V02V0004  User Exit for Staging Area Determination (Item)&lt;/P&gt;&lt;P&gt;V50PSTAT  Delivery: Item Status Calculation&lt;/P&gt;&lt;P&gt;V50Q0001  Delivery Monitor: User Exits for Filling Display Fields&lt;/P&gt;&lt;P&gt;V50R0001  Collective processing for delivery creation&lt;/P&gt;&lt;P&gt;V50R0002  Collective processing for delivery creation&lt;/P&gt;&lt;P&gt;V50R0004  Calculation of Stock for POs for Shipping Due Date List&lt;/P&gt;&lt;P&gt;V50S0001  User Exits for Delivery Processing&lt;/P&gt;&lt;P&gt;V53C0001  Rough workload calculation in time per item&lt;/P&gt;&lt;P&gt;V53C0002  W&amp;amp;S: RWE enhancement - shipping material type/time slot&lt;/P&gt;&lt;P&gt;V53W0001  User exits for creating picking waves&lt;/P&gt;&lt;P&gt;VMDE0001  Shipping Interface: Error Handling - Inbound IDoc&lt;/P&gt;&lt;P&gt;VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)&lt;/P&gt;&lt;P&gt;VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)&lt;/P&gt;&lt;P&gt;VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 07:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631334#M281743</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-10-19T07:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631335#M281744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the sample code for finding the user exits for SAP transactions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Finding the user-exits of a SAP transaction code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Enter the transaction code in which you are looking for the user-exit&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;and it will list you the list of user-exits in the transaction code.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Also a drill down is possible which will help you to branch to SMOD.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YUSEREXIT                               .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.&lt;/P&gt;&lt;P&gt;         tables : tstct.&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;parameters : p_tcode like tstc-tcode obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tstc where tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;   select single * from tadir 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;   move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;      if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;         select single * from trdir where name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;         if trdir-subc eq 'F'.&lt;/P&gt;&lt;P&gt;            select single * from tfdir where pname = tstc-pgmna.&lt;/P&gt;&lt;P&gt;            select single * from enlfdir where funcname =&lt;/P&gt;&lt;P&gt;            tfdir-funcname.&lt;/P&gt;&lt;P&gt;            select single * from tadir where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;                               and object = 'FUGR'&lt;/P&gt;&lt;P&gt;                               and obj_name eq 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;       select * from tadir 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;        select single * from tstct where sprsl eq sy-langu and&lt;/P&gt;&lt;P&gt;                                         tcode eq p_tcode.&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;           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;           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;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;*---End of Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exits available for VL01N are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exit Name           Description                                                                                &lt;/P&gt;&lt;P&gt;V02V0001            Sales area determination for stock transport order              &lt;/P&gt;&lt;P&gt;V02V0002            User exit for storage location determination                    &lt;/P&gt;&lt;P&gt;V02V0003            User exit for gate + matl staging area determination (headr)    &lt;/P&gt;&lt;P&gt;V02V0004            User Exit for Staging Area Determination (Item)                 &lt;/P&gt;&lt;P&gt;V50PSTAT            Delivery: Item Status Calculation                               &lt;/P&gt;&lt;P&gt;V50Q0001            Delivery Monitor: User Exits for Filling Display Fields         &lt;/P&gt;&lt;P&gt;V50R0001            Collective processing for delivery creation                     &lt;/P&gt;&lt;P&gt;V50R0002            Collective processing for delivery creation                     &lt;/P&gt;&lt;P&gt;V50R0004            Calculation of Stock for POs for Shipping Due Date List         &lt;/P&gt;&lt;P&gt;V50S0001            User Exits for Delivery Processing                              &lt;/P&gt;&lt;P&gt;V53C0001            Rough workload calculation in time per item                     &lt;/P&gt;&lt;P&gt;V53C0002            W&amp;amp;S: RWE enhancement - shipping material type/time slot         &lt;/P&gt;&lt;P&gt;V53W0001            User exits for creating picking waves                           &lt;/P&gt;&lt;P&gt;VMDE0001            Shipping Interface: Error Handling - Inbound IDoc               &lt;/P&gt;&lt;P&gt;VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)          &lt;/P&gt;&lt;P&gt;VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)           &lt;/P&gt;&lt;P&gt;VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 07:56:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631335#M281744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: User-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631336#M281745</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 guess there is no delivery block at item level. Maybe you can try using &amp;lt;b&amp;gt;Reason for Rejection&amp;lt;/b&amp;gt; at item level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you want to change the order then you can do that via BAPI: BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Alternatively, if you want this to be done wheneven the order the processed manually, you can do that via user-exits. Please look into MV45AFZZ - subroutine: &amp;lt;b&amp;gt;userexit_move_field_to_vbap&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 08:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1631336#M281745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T08:10:20Z</dc:date>
    </item>
  </channel>
</rss>

