<?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 issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563623#M857551</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;First once you have decided upon using a User exit, please check whether this particular Enhancement is getting triggered for the Transaction being used for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have ensured that, the User Exit is correct, then check in the "&lt;STRONG&gt;Import&lt;/STRONG&gt;" parameters, what values you were getting inside the Function Module Exit. ( this may to be use a particular value from the transaction input values, for your Business Logic ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, write your Business logic statement and retrieve data and then, you use some checking options for the the fields for the Validation purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check with the above and let me know how it worked for you now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishnu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2008 09:30:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-17T09:30:21Z</dc:date>
    <item>
      <title>User exit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563621#M857549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to make a correction to FBL5n so that when details are displayed the fields bkpf-xref1_hd and bkpf-xref2_hd are populated with values from vbrp for sales order no and delivery no (vbrp-aubel and vbrp-vgbel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this purpose I used exit_saplv60B_001 and include ZXVVF01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code is:&lt;/P&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;*&amp;amp;  Include           ZXVVFU01&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;data: XREF1_HD LIKE vbrp-aubel,&lt;/P&gt;&lt;P&gt;      XREF2_HD LIKE vbrp-vgbel,&lt;/P&gt;&lt;P&gt;      XBELNR LIKE XACCIT-BELNR,&lt;/P&gt;&lt;P&gt;      XAUBEL LIKE VBRP-AUBEL,&lt;/P&gt;&lt;P&gt;      vbeln like vbrk-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT AUBEL VGBEL FROM VBRP INTO (xREF1_HD , XREF2_HD) WHERE vbeln ne ' '.&lt;/P&gt;&lt;P&gt;  IF XREF1_HD ne ' '.&lt;/P&gt;&lt;P&gt;    MOVE xaubel TO XREF1_HD.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not completed the code as I was tesitng whether or not the data was populated in the first field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to know is 1) am I using the correct user exit and 2) does my code look alright?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for the help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2008 22:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563621#M857549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-15T22:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: User exit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563622#M857550</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;(1) am I using the correct user exit &lt;/P&gt;&lt;P&gt;**********************************************&lt;/P&gt;&lt;P&gt;I believe the exit used may not suit your purpose since the export/import /tables parameter does not directly map to the fields you require(just a guess)  but please do the following to confirm the same&lt;/P&gt;&lt;P&gt;(a) put a break point and see if the exit is triggered at the pbo after the transaction is called so that the select query can fetch data and pass it to the required fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) does my code look alright&lt;/P&gt;&lt;P&gt;***************************************&lt;/P&gt;&lt;P&gt;Please do the following&lt;/P&gt;&lt;P&gt;(a)Always try to pass the maximum key fields to the selecting table&lt;/P&gt;&lt;P&gt;(b)Avoid select---endselect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 05:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563622#M857550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-16T05:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: User exit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563623#M857551</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;First once you have decided upon using a User exit, please check whether this particular Enhancement is getting triggered for the Transaction being used for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have ensured that, the User Exit is correct, then check in the "&lt;STRONG&gt;Import&lt;/STRONG&gt;" parameters, what values you were getting inside the Function Module Exit. ( this may to be use a particular value from the transaction input values, for your Business Logic ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, write your Business logic statement and retrieve data and then, you use some checking options for the the fields for the Validation purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check with the above and let me know how it worked for you now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishnu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 09:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563623#M857551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-17T09:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: User exit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563624#M857552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Byju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value is being read from the user exit to the invoice but just not all invoice types. As I mentioned it works as supposed if I carry out a Z2 invoice but not when its a F2 invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not use select - endselect statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 08:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563624#M857552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T08:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: User exit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563625#M857553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; First once you have decided upon using a User exit, please check whether this particular Enhancement is getting triggered for the Transaction being used for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Vishnu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does one check for the transactions attached to the enhancements?&lt;/P&gt;&lt;P&gt;It works with VF01 but only if I create a Z2 invoice. If F2 then it does not work.&lt;/P&gt;&lt;P&gt;Via VF04 it creates F2 invoices and thus user exit is for some reason not performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 08:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563625#M857553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T08:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: User exit issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563626#M857554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 10:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-issue/m-p/3563626#M857554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T10:36:55Z</dc:date>
    </item>
  </channel>
</rss>

