<?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: Problem with User-Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324020#M166396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First set breakpoint in program where it is calling exit 'EXIT_SAPLF050_003'. Check if its stop there. If it is not stopping then probably u r working on wrong exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 May 2006 21:02:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-17T21:02:38Z</dc:date>
    <item>
      <title>Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324016#M166392</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;My scenario is to create IDOC whenever they create Invoice using FB60. I found the user-exit corresponding to that.&lt;/P&gt;&lt;P&gt;I am using FIDCC1/FIDCCP02....&lt;/P&gt;&lt;P&gt;Enhancement:F050S003&lt;/P&gt;&lt;P&gt;Project: I created ZFIU002 and I am using User-Exit EXIT_SAPLF050_003...In that include(ZX050U03) writing custom program and I am using FM to create IDOC(MASTER_IDOC_DISTRIBUTE)inside that custom program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have activated my user-exit...and I configured(port, Partner Profile and RFC) all the necessary steps to send IDOC to XI system..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set the debugger at the include(ZX050U03) the cursor is not going inside when I try to create invoice using FB60 and also IDOC is not creating...&lt;/P&gt;&lt;P&gt;Can anyone please help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank-You,&lt;/P&gt;&lt;P&gt;Venky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 20:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324016#M166392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T20:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324017#M166393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you activated the project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 20:55:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324017#M166393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T20:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324018#M166394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you activate the project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 20:55:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324018#M166394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T20:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324019#M166395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes....I did that in cmod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 20:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324019#M166395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T20:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324020#M166396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First set breakpoint in program where it is calling exit 'EXIT_SAPLF050_003'. Check if its stop there. If it is not stopping then probably u r working on wrong exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 21:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324020#M166396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T21:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324021#M166397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is activate then it should go inside the Include.&lt;/P&gt;&lt;P&gt;put BREAK-POINT in the include and then execute business scenerio.&lt;/P&gt;&lt;P&gt;Swithc on the System DEBUGGING from inside the Debugger-&amp;gt; setting -&amp;gt;click on system debugging.&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;If it did't work then it might possible that you are looking a wrong user exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 21:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324021#M166397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T21:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324022#M166398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Main program is SAPLF050 and inside this program the user-exit is calling....When I create invoice using FB60, the cursor is going inside the user-exit. But my problem is how to restrict IDOC to create when they use only FB60 not any other t-codes...But Tcode value will be stored in BKPF table....&lt;/P&gt;&lt;P&gt;How to mention inside the user-exit...I have mentioned like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF fi_document_header-tcode = 'FB60'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt; but how to come out of the main program(SAPLF050) if the condition fails....&lt;/P&gt;&lt;P&gt;Can anyone please help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 22:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324022#M166398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T22:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324023#M166399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please help me out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 23:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324023#M166399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T23:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324024#M166400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Did you check the documentation on the enhancement??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; User exit 003 is called up twice during processing.                                                                                &lt;/P&gt;&lt;P&gt;1. The first call takes place during online processing in function       &lt;/P&gt;&lt;P&gt;   module FI_IDOC_PREPARE.                                                                                &lt;/P&gt;&lt;P&gt;2. The second call takes place at the time of the update.                                                                                &lt;/P&gt;&lt;P&gt;During the online processing, a copy of the complete FI document is      &lt;/P&gt;&lt;P&gt;transferred to the user exit (BKPF, BSEG).                               &lt;/P&gt;&lt;P&gt;This could also be a cross-company code document, in which case, for     &lt;/P&gt;&lt;P&gt;example, two documents are transferred.                                                                                &lt;/P&gt;&lt;P&gt;During online processing, the system checks whether ALE FI, message type &lt;/P&gt;&lt;P&gt;FIDCC2 is active for the document concerned. In addition, using the user &lt;/P&gt;&lt;P&gt;exit, you can also prevent the IDoc being sent.                          &lt;/P&gt;&lt;P&gt;If the system determines that an IDoc should be created for the FI       &lt;/P&gt;&lt;P&gt;document,  the system writes the clearing information in the FI document during online processing (BSEG-AUGBL = 'ALE external').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the time of the update, a copy of the complete FI document is        &lt;/P&gt;&lt;P&gt;transferred to user exit 003 (BKPF, BSEG, BSEC, BSET, ACCIT_WT for      &lt;/P&gt;&lt;P&gt;extended withholding tax).                                              &lt;/P&gt;&lt;P&gt;This could also be a cross-company code document (for example, two      &lt;/P&gt;&lt;P&gt;documents) from which one IDoc is created for each document.                                                                                &lt;/P&gt;&lt;P&gt;In the user exit, you can change the FI documents and send the changed  &lt;/P&gt;&lt;P&gt;documents as IDocs via ALE.                                             &lt;/P&gt;&lt;P&gt;In addition, an indicator NO_DISTRIBUTION = 'X' can be returned from the&lt;/P&gt;&lt;P&gt;user exit if this document is not to be distributed. If the indicator is&lt;/P&gt;&lt;P&gt;zero, that is, it is not changed, the document is sent as an IDoc as    &lt;/P&gt;&lt;P&gt;long as the appropriate settings have been made in ALE Customizing.                                                                                &lt;/P&gt;&lt;P&gt;In user exit 003 you can also change the company code in the FI document&lt;/P&gt;&lt;P&gt;(copy), as well as the other fields. The system checks the changed      &lt;/P&gt;&lt;P&gt;company code rather than the original company code to determine whether &lt;/P&gt;&lt;P&gt;it should be sent according to the ALE Customizing setting. The IDoc can&lt;/P&gt;&lt;P&gt;then be posted in a different receiving company code.                                                                                &lt;/P&gt;&lt;P&gt;Since the user exit only contains a copy of the FI document, changes to &lt;/P&gt;&lt;P&gt;the fields may not have any effect on the original FI document in the   &lt;/P&gt;&lt;P&gt;sender system. The original FI document is posted in the sender system,  &lt;/P&gt;&lt;P&gt;not the copy.                                                            &lt;/P&gt;&lt;P&gt;Any changes are only passed on and sent in the IDoc. It is only in the   &lt;/P&gt;&lt;P&gt;receiving system that an FI document with changed fields is posted from  &lt;/P&gt;&lt;P&gt;the IDoc.                                                                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As seen from the documentation.&lt;/P&gt;&lt;P&gt;1). Try to set a breakpoint in the FM FI_IDOC_PREPARE&lt;/P&gt;&lt;P&gt;as mentioned in point 1 above. See if it calls ur exit.&lt;/P&gt;&lt;P&gt;2). Did you check if the message type FIDCC2 is active for your document concerned??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 23:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324024#M166400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T23:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324025#M166401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your efforts...I am using Message type FIDCC1 and the FI_IDOC_PREPARE is calling my user-exit...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything do I need to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 23:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324025#M166401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T23:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324026#M166402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this. Take a peek into other include programs before your include program. Maybe there "check" statement which is throwing the control out of the loop or FM. If there is a check statement like check 1 = 2 in an include program before yours, your code will never get executed. Try putting your include program above all other custom includes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 01:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-exit/m-p/1324026#M166402</guid>
      <dc:creator>former_member125661</dc:creator>
      <dc:date>2006-05-18T01:37:48Z</dc:date>
    </item>
  </channel>
</rss>

