<?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: How to debug non-z program? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491225#M1256596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aditya and Alejandro: Thanks for both your advise.Points awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our case is defined constants:            const_event_5060            LIKE tfkfbm-fbeve VALUE '5060',&lt;/P&gt;&lt;P&gt;tfkfbm is the table that maintains the constants and corresponding function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another function module used to get the value of function need to be called based on the value in tfkfbm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Apr 2009 16:13:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-13T16:13:52Z</dc:date>
    <item>
      <title>How to debug non-z program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491218#M1256589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, ABAP experts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to fix a ticket, I have been given following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This FI-CA business process&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The business process is to use T-Code FP03D to submit files to Collecton Agencies&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Two Events have been used: &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    1) Event 5060 to provide the collection agency&lt;/P&gt;&lt;P&gt;    2) Event 5069 to include additional items during submission to collection agency.&lt;/P&gt;&lt;P&gt;    Those events are tied to Function Modules:&lt;/P&gt;&lt;P&gt;    Z_FI_COLL_AGENCY_5060&lt;/P&gt;&lt;P&gt;    Z_FI_ADD_COLLA_5069&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I checked the FP03D is associated with standard program u201CRFKKCOL2u201D &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find the section that fectches data and write to the target file, since there are some missing fields in the output file. I am not familar with how events be used here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know ideas on how to debug this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and  Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 18:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491218#M1256589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T18:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug non-z program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491219#M1256590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since it appears the function modules are the ones which extract data from database and then generate the output file you could start by &lt;STRONG&gt;placing a break point in the function modules&lt;/STRONG&gt; Z_FI_COLL_AGENCY_5060 and Z_FI_ADD_COLLA_5069 (from transaction SE37) and then execute the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During processing as soon as the function modules are called, the control will stop in the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 19:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491219#M1256590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T19:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug non-z program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491220#M1256591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;P&gt;I have checked the code (not debug), it seems that I have not found the section that fetches data from  the tables. Do you know if there is other user-exit, how can I check to see if there other customiztion ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 20:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491220#M1256591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T20:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug non-z program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491221#M1256592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I need to search for a user exit I do the following, before you execute the SAP transaction - type "/h" in the command box (which switches on debugging) - then when you start the transaction put a break point on Statement - CALL CUSTOMER-FUNCTION . If any user exit has been called during the transaction, the program will stop at the above statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, (to check if any Badi was called), put a break point in the method GET_INSTANCE of class CL_EXITHANDLER. If any BAdi is called then the control will stop there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should clarify if any enhancement has been implemented in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 22:29:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491221#M1256592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T22:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug non-z program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491222#M1256593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those are probably BTE events, so the suggestions Aditya makes will not find them.&lt;/P&gt;&lt;P&gt;To find BTE function modules, you should put breakpoints in functions PC_FUNCTION_FIND and BF_FUNCTIONS_FIND which will give you the list of BTE implementations for the running program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from BTEs however, if you need to find out where a file is written, why don't you try for example putting breakpoints in statement OPEN DATASET? If the file is downloaded to frontend, it gets a bit trickier as there are many function modules which do the task, but I would start with GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alejandro Bindi on Apr 10, 2009 8:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 23:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491222#M1256593</guid>
      <dc:creator>alejandro_bindi</dc:creator>
      <dc:date>2009-04-10T23:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug non-z program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491223#M1256594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liang,&lt;/P&gt;&lt;P&gt;I suggest you should search for statements like "OPEN DATASET" "TRANSFER" and "CLOSE DATASET" or GUI_DOWNLOAD function call in the standard program RFKKCOL2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 23:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491223#M1256594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-10T23:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug non-z program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491224#M1256595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its the same way how you debug z program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan GUpta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2009 01:38:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491224#M1256595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-11T01:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug non-z program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491225#M1256596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aditya and Alejandro: Thanks for both your advise.Points awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our case is defined constants:            const_event_5060            LIKE tfkfbm-fbeve VALUE '5060',&lt;/P&gt;&lt;P&gt;tfkfbm is the table that maintains the constants and corresponding function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another function module used to get the value of function need to be called based on the value in tfkfbm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 16:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-non-z-program/m-p/5491225#M1256596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-13T16:13:52Z</dc:date>
    </item>
  </channel>
</rss>

