<?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: BDC Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585364#M1273580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcin Pciak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your correct, but here the two push buttons are having different OK-CODE like u2018YESu2019 and u2018NOu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is small problem, like default value for this popup is u2018NOu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the default value for this screen, its working fine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreenu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2009 10:46:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-11T10:46:21Z</dc:date>
    <item>
      <title>BDC Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585359#M1273575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement, to delete the operation in CA02, I have done the program as per my requirement, but I stuck in one pointu2026.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CA02 transaction, after I deleting the records, I mean after pressing the delete button, one pop up screen is coming in that pop up two options are there, one for u2018YESu2019 and other for u2018NOu2019, in this pop up default is u2018NOu2019, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my BDC_OKCODE is u2018=YESu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It means, system taking as a u2018NOu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I want to press, u2018YESu2019 button in pop up screen, in recording I have pressed u2018YESu2019 button only, but still because of the default u2018NOu2019, system taking as u2018NOu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some suggestions to do thisu2026u2026u2026u2026u2026u2026u2026u2026.&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;Sreenu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 17:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585359#M1273575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-09T17:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585360#M1273576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreenu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that default setting has something to do here. In your case value '=YES' must not be a description of pushbutton, but a function code of it. To check if it really is go to SHDB, record your entry deletion and check value of BDC_OKCODE for that pop up screen. Use that value to trigger pressing YES button in your BDC program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note, that each operation which requires providing a function code (i.e BACK, pressing pushbutton etc) in BDC program must be introduced with program name and dynpro number:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: begin of it_bdc occurs 0.
   include structure bdcdata.
data end of it_bdc.

...
it_bdc-program = 'PROGRAM_NAME'.
it_bdc-dynpro = 'NUMBER_OF_POPUP_DYNPRO'.
it_bdc-fnam = 'BDC_OKCODE'.
it_bdc-fval = '=FUNCTION CODE OF PUSHBUTTON'.
append it_bdc.

"use same structure here if next function code triggered
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 21:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585360#M1273576</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-05-09T21:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585361#M1273577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcin Pciak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my BDC_OKCODE is u2018=YESu2019, but my problem is in SHDB recording, if I press POP UP yes or no, its giving BDC_OKCODE IS u2018=YESu2019 only. I want to press the yes in pop up screen, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I press the u2018=YESu2019 its taking as a POP UP no, because in the pop up window the default cursor is in no push button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I want to press yesu2026..&lt;/P&gt;&lt;P&gt;&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;Sreenu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2009 04:03:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585361#M1273577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-10T04:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585362#M1273578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try giving the BDC_OKCODE as '=NO' hope it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2009 06:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585362#M1273578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-10T06:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585363#M1273579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that &lt;EM&gt;fcode&lt;/EM&gt; is somehow wrong recognized or mixed for those two pushbuttons . Try this way:&lt;/P&gt;&lt;P&gt;- check the program name and screen for this pop up dialog&lt;/P&gt;&lt;P&gt;- go to se80 type this program and go to this screen&lt;/P&gt;&lt;P&gt;- in &lt;EM&gt;Layout&lt;/EM&gt; go to attributes and check fcode of these 'YES' and 'NO' pushbuttons (each of them separately)&lt;/P&gt;&lt;P&gt;- pass fcode of YES button to your BDC recording/program (check if it really is =YES and if NO button has different fcode assigned - it should)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be something wrong with the recording itself, that's why only default NO pushbutton is triggered, although you pass fcode (=YES).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2009 13:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585363#M1273579</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-05-10T13:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585364#M1273580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcin Pciak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your correct, but here the two push buttons are having different OK-CODE like u2018YESu2019 and u2018NOu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is small problem, like default value for this popup is u2018NOu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the default value for this screen, its working fine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreenu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 10:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585364#M1273580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T10:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585365#M1273581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sreenu,&lt;/P&gt;&lt;P&gt;                 I also suffered from the same problem...how did u change the default option as 'yes'...help me please........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 08:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585365#M1273581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T08:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585366#M1273582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi srinu,&lt;/P&gt;&lt;P&gt;               I am also facing the same problem .how to change th default value of the screen.Please its very imp to me.can you please helpme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 06:03:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-problem/m-p/5585366#M1273582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-16T06:03:51Z</dc:date>
    </item>
  </channel>
</rss>

