<?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 Debugging call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420147#M1244128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to run program in debug mode ,while in debugging i have to change MODE 'N' to "A".&lt;/P&gt;&lt;P&gt;is it possible for this transaction,it one is hardcoded... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       CALL TRANSACTION 'F-04' USING I_BDCDATA&lt;/P&gt;&lt;P&gt;                                MODE 'N'&lt;/P&gt;&lt;P&gt;                                UPDATE 'S'&lt;/P&gt;&lt;P&gt;                                MESSAGES INTO I_MSGTAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more thing i am selecting some fields into one internal table,after selecting i found that there is no data in the internal table.there is no work area for this internal table.while debugging i can add entries for this internal table after the select statment( in Debugging Mode only )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2009 08:45:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-24T08:45:57Z</dc:date>
    <item>
      <title>Debugging call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420147#M1244128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to run program in debug mode ,while in debugging i have to change MODE 'N' to "A".&lt;/P&gt;&lt;P&gt;is it possible for this transaction,it one is hardcoded... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       CALL TRANSACTION 'F-04' USING I_BDCDATA&lt;/P&gt;&lt;P&gt;                                MODE 'N'&lt;/P&gt;&lt;P&gt;                                UPDATE 'S'&lt;/P&gt;&lt;P&gt;                                MESSAGES INTO I_MSGTAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more thing i am selecting some fields into one internal table,after selecting i found that there is no data in the internal table.there is no work area for this internal table.while debugging i can add entries for this internal table after the select statment( in Debugging Mode only )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 08:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420147#M1244128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T08:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420148#M1244129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using update 'S' ( synchronous update ).&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA02' USING bdcdata MODE mod&lt;/P&gt;&lt;P&gt;MESSAGES INTO messtab update 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Try this way..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;opt-dismode = 'N'. &lt;/P&gt;&lt;P&gt;opt-defsize = 'X'. &lt;/P&gt;&lt;P&gt;opt-racommit = 'X'.&lt;/P&gt;&lt;P&gt;opt-updmode ='S'.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA02' USING bdcdata OPTIONS FROM opt&lt;/P&gt;&lt;P&gt;MESSAGES INTO itab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 08:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420148#M1244129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T08:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420149#M1244130</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;since the value of MODE in call transaction is hard coded, it cannot be changed.&lt;/P&gt;&lt;P&gt;it can be changed when you pass the value into some variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : gs_ctu_params TYPE ctu_param.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter string for runtime of CALL TRANSACTION USING...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR gs_ctu_params.&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;gs_ctu_params-dismode = 'A'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  gs_ctu_params-updmode = 'S'.&lt;/P&gt;&lt;P&gt;  gs_ctu_params-defsize = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION c_ca01 USING gt_bdcdata&lt;/P&gt;&lt;P&gt;                        OPTIONS FROM &lt;STRONG&gt;gs_ctu_params&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                       MESSAGES INTO gt_messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now if u want to change the value of gs_ctu_params-dismode in debug mode we can change it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding adding entries, we can add in debug mode....&lt;/P&gt;&lt;P&gt;in debug mode, u ill see a select Table (push button on top), enter the table name, then u ill see a push button called '&lt;STRONG&gt;APPEND&lt;/STRONG&gt;', click on it and pass the values to each field of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it's clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 08:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420149#M1244130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T08:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420150#M1244131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if this is hardcoaded in your program then you cant chage the mode in debuging. You need to change the program accordingly and take the mode via a variable so that you can chage the value of variable during the debuging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 08:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420150#M1244131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T08:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420151#M1244132</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;Declare a constant variable which is of type c and value is of 'N' or 'A'. We can change the constant value in debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: w_constant type c value 'N'.

call transaction '  &amp;lt;Transaction-name&amp;gt; ' using bdcdata mode w_constant messages  into it_messages.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 09:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420151#M1244132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T09:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420152#M1244133</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;Change mode from N to A. &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;Pranaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 09:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-call-transaction/m-p/5420152#M1244133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T09:10:06Z</dc:date>
    </item>
  </channel>
</rss>

