<?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: Couldnt able to debug AMDP procedures. Debug configuration error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903359#M1962489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="72259" data-userid="802675" data-username="armin.beil.2" href="https://answers.sap.com/people/armin.beil.2" style="font-weight: bold; font-size: 10.8px; background: #ffffff; color: #8b8b8b;"&gt;Armin Beil&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input . i have ensured that the code where i kept break point is executed and "All procedures in the call stack " is active as well in debug configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using&amp;nbsp; &lt;SPAN style="color: #333333; font-size: 12px;"&gt;NetWeaver 7.4 so no option of 'AMDP&amp;nbsp; Debugger ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still the issue is same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinuta Hegde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Oct 2016 09:10:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-10-03T09:10:59Z</dc:date>
    <item>
      <title>Couldnt able to debug AMDP procedures. Debug configuration error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903356#M1962486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; have created AMDP procedure and ABAP class which calls the procedure. i kept the breakpoint&amp;nbsp; in procedures (HANA development perspective) .&lt;/P&gt;&lt;P&gt;i have created debug configuration as well. but configuration name is not reflecting in left side window. also when i executed from ABAP class debugger is not starting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have gone through videos and some threads ( &lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-51790"&gt;http://scn.sap.com/docs/DOC-51790&lt;/A&gt; also &lt;A href="https://www.youtube.com/watch?v=5OEuyl_s5ME" title="https://www.youtube.com/watch?v=5OEuyl_s5ME"&gt;How to debug an ABAP Managed Database Procedure (AMDP) - YouTube&lt;/A&gt; but couldnt&amp;nbsp; find the exact problem. i am not getting any error while configuring but i am not sure what are the pre requisite to follow before debugging procedure.&amp;nbsp; i have a abap developer id and HANA modeller ID . i am not sure about what are the previlages and authorization should be necessary for HANA user ID .&amp;nbsp; &lt;/P&gt;&lt;P&gt;If any specific Authorization must be granted to HANA user please guide me how to check and proceed further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below screen left corner window configuration name is not coming.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1041016" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinuta hegde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 07:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903356#M1962486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-22T07:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Couldnt able to debug AMDP procedures. Debug configuration error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903357#M1962487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First problem is not reflecting config name at left side window...that will resolve the below screen shot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1041936" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second problem.. regarding authorization that will help to solve below document link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-51790" title="http://scn.sap.com/docs/DOC-51790"&gt;http://scn.sap.com/docs/DOC-51790&lt;/A&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;-Amol Samte &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 07:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903357#M1962487</guid>
      <dc:creator>amol_samte</dc:creator>
      <dc:date>2016-09-23T07:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Couldnt able to debug AMDP procedures. Debug configuration error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903358#M1962488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vinuta Hegde,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case you are already using NetWeaver 7.50 or higher you might also use the "AMDP Debugger" which is part of ABAP in Eclipse (&lt;A __default_attr="132854" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="How to debug ABAP Managed Database Procedures using ADT - Basics" href="https://community.sap.com/"&gt;&lt;/A&gt;). Note that this is a different debugger implementation and you can access it by creating the breakpoint within the ABAP class (not within the generated procedure). ABAP user and ABAP debug authorization is sufficient for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your initial question: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you were able to create breakpoints means that you have at least the authorization for breakpoints, although - as far as I know - starting a debug session is protected by a different authorization. Therefore checking the authorization part that Amol mentioned is probably a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides authorizations there also can be other reasons why your process is not stopped at the breakpoint:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The procedure is not executed. Sounds unlikely but happens often -&amp;gt; Ensure that the code where you created your breakpoint is actually executed&lt;/P&gt;&lt;P&gt;- The procedure is called by another procedure and the calling procedure runs in optimized mode. This can cause that the procedure to be debugged is inlined during runtime and therefore cannot be debugged -&amp;gt; Open your debug configuration, choose tab "Advanced" and ensure that the setting "All procedures in the call stack" is active.&lt;/P&gt;&lt;P&gt;- Use the mentioned guides to ensure that you are using the right users for your debug configuration (&lt;SPAN style="font-size: 13.3333px;"&gt;I think "A&lt;/SPAN&gt;pplication User" should contain your ABAP user, not your HANA user)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 07:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903358#M1962488</guid>
      <dc:creator>Armin_Beil</dc:creator>
      <dc:date>2016-09-26T07:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Couldnt able to debug AMDP procedures. Debug configuration error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903359#M1962489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="72259" data-userid="802675" data-username="armin.beil.2" href="https://answers.sap.com/people/armin.beil.2" style="font-weight: bold; font-size: 10.8px; background: #ffffff; color: #8b8b8b;"&gt;Armin Beil&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input . i have ensured that the code where i kept break point is executed and "All procedures in the call stack " is active as well in debug configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using&amp;nbsp; &lt;SPAN style="color: #333333; font-size: 12px;"&gt;NetWeaver 7.4 so no option of 'AMDP&amp;nbsp; Debugger ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still the issue is same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinuta Hegde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 09:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903359#M1962489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-03T09:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Couldnt able to debug AMDP procedures. Debug configuration error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903360#M1962490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you said&amp;nbsp; first problem is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second problem is regarding authorization, i have checked with BASIS team , they confirmed that i have(HANA user) debugger access exist . but still issue is the same. debugger is not triggering. once configuration is set , i can see thread is runing as shown below.&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1047308" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 09:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903360#M1962490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-03T09:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Couldnt able to debug AMDP procedures. Debug configuration error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903361#M1962491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. Did you also verify that you have chosen "Debug an External Session" within your debug configuration and that you entered the &lt;STRONG&gt;ABAP user&lt;/STRONG&gt; that is triggering the call of the AMDP in the field Application User?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to debug the generated procedure directly? To try it you can &lt;SPAN style="font-size: 10pt;"&gt;open the context menu on the procedure in the objects tree, choose "Open SQL Console" and try to execute the call directly. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call "ZCL_SOEG_GET_LIST=&amp;gt;GET_DOK_LIST"( ?, ? );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can actually use "?" here for output parameters. Not sure if you can use "?" also for input but I think for input parameter real values have to be provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing you could try is to search for the stub procedure "ZCL_SOEG_GET_LIST=&amp;gt;GET_DOK_LIST#stb..." and try to create a breakpoint there. This should never be necessary but currently I have no more relevant ideas, so let's try this also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 06:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903361#M1962491</guid>
      <dc:creator>Armin_Beil</dc:creator>
      <dc:date>2016-10-04T06:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Couldnt able to debug AMDP procedures. Debug configuration error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903362#M1962492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Armin ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to execute in SQL console&amp;nbsp; by&amp;nbsp; &lt;SPAN style="color: #333333; font-size: 12px;"&gt;call "ZCL_SOEG_GET_LIST=&amp;gt;GET_DOK_LIST"( ?, ? );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;i am getting the error&amp;nbsp; as " SAP DBTech JDBC: [258]: insufficient privilege: Not authorized&amp;nbsp; " .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;so is it something not authorized to execute the procedure ?&amp;nbsp;&amp;nbsp; if i call this procedure in Normal custom Z class&amp;nbsp; i am getting the result&amp;nbsp; with some data .&amp;nbsp; so how&amp;nbsp; the authorization&amp;nbsp; will not check&amp;nbsp; when i consume the procedure in ABAP program/class ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinuta hegde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 09:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903362#M1962492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-04T09:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Couldnt able to debug AMDP procedures. Debug configuration error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903363#M1962493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vinuta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calling from ABAP and calling from console are two rather different scenarios. I just asked you to try the console call because I wanted to know whether it's possible to get the procedure debugger started at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference in the scenarios is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) AMDP / Calling from ABAP: The goal of the AMDP concept is to enable &lt;STRONG&gt;ABAP developers&lt;/STRONG&gt; to work with database procedures nearly like they would work with standard ABAP. This means an ABAP user with &lt;STRONG&gt;ABAP development authorization&lt;/STRONG&gt; is sufficient for creating and calling db procedures (AMDPs). Since your ABAP user has developer authorization you are able to successful call the procedure from ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically in this scenario there should be no need for a own HANA user at all (only for debugging with NW &amp;lt; 7.5; for &amp;gt;=7.5 you can do this also with ABAP user only). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the AMDP scenario the procedure is executed by the central SAP&amp;lt;SID&amp;gt; user (e.g. if system name is ABC -&amp;gt; central user name is SAPABC) &lt;SPAN style="font-size: 13.3333px;"&gt;during runtime on the DB layer&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore your debug configuration should be configured as "Debug an External Session" with &lt;EM&gt;&lt;STRONG&gt;HANA User&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt; = SAP&amp;lt;SID&amp;gt;&lt;/STRONG&gt; and &lt;EM&gt;Application User&lt;/EM&gt; = &amp;lt;your ABAP User&amp;gt; in this scenario. Please double check this configuration for your initial case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is also the reason why your own HANA user (that you use to work with HANA Studio) also needs authorization to debug sessions of user SAP&amp;lt;SID&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Calling a procedure directly within HANA Studio console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you try to execute the procedure directly with your HANA user that you used to logon to HANA Studio. The procedure will not run under SAP&amp;lt;SID&amp;gt; like in scenario 1). Of course your own HANA user then needs authorization to execute the procedure. But as said before this is not your initial / actual case but just a try to see if the debugger would work locally in your studio at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should first double check the configuration mentioned under 1) and if you want to try this local debugging your HANA user needs the authorization to execute the procedure &lt;STRONG&gt;and&lt;/STRONG&gt; you have to adjust your debug configuration for such a local debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: &lt;SPAN style="font-size: 13.3333px;"&gt;The number of "?" in the call does not need to be 2, it rather depends on the number of parameters of your procedure.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 11:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/couldnt-able-to-debug-amdp-procedures-debug-configuration-error/m-p/11903363#M1962493</guid>
      <dc:creator>Armin_Beil</dc:creator>
      <dc:date>2016-10-04T11:20:29Z</dc:date>
    </item>
  </channel>
</rss>

