<?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: method in BOR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353795#M1399260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anand,&lt;/P&gt;&lt;P&gt;Thank you , I declare PINNUM as attribute in BOR . i dont know whether the attributes will treat as global or local paramaters.&lt;/P&gt;&lt;P&gt;i am passing values to PINNUM and calling the same in method2 of BOR. &lt;/P&gt;&lt;P&gt;i want to  pass data to attribute from method1 the and calling the same in method 2. do i need to do anything more.&lt;/P&gt;&lt;P&gt;im passing data like this....&lt;/P&gt;&lt;P&gt;  Swc_get_element container 'pinnum' pinnum.&lt;/P&gt;&lt;P&gt;  pinnum = object-key-projectdefinition.&lt;/P&gt;&lt;P&gt;  SWC_SET_ELEMENT CONTAINER 'pinnum' pinnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this correct way?&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Padma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Nov 2009 07:42:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-30T07:42:22Z</dc:date>
    <item>
      <title>method in BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353793#M1399258</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; I have requirement to call custom BAPI in Custom Busines object Repository. i did the same and it is called successfully. now i am creating one more method(method2). i want to pass some values from method1 to method2. i decalred attributes and i pass values to those attributes in method1 and called in method2 like this.( here i cannt call the BPAI again in method2)&lt;/P&gt;&lt;P&gt;inmethod-2 &lt;/P&gt;&lt;P&gt;sWC_GET_ELEMENT CONTAINER 'pinnum'   Pinnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am unable to pass values to method 2&lt;/P&gt;&lt;P&gt;do i need to do anything more.Please guide me inthis issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Padma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 05:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353793#M1399258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-30T05:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: method in BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353794#M1399259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Padma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if the Pinnum field is populated in debug mode and in the quotes "pinnum" mentioned the field as it is declared i.e. Pinnum or however it is decalred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check if you have defined the field Pinnum a sa global parameter of just local to the method 1 that you have created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you just wish to pass parameters (i.e. Pinnum) and if it is a global field it would be populated ...so please check in debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert if there are any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 06:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353794#M1399259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-30T06:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: method in BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353795#M1399260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anand,&lt;/P&gt;&lt;P&gt;Thank you , I declare PINNUM as attribute in BOR . i dont know whether the attributes will treat as global or local paramaters.&lt;/P&gt;&lt;P&gt;i am passing values to PINNUM and calling the same in method2 of BOR. &lt;/P&gt;&lt;P&gt;i want to  pass data to attribute from method1 the and calling the same in method 2. do i need to do anything more.&lt;/P&gt;&lt;P&gt;im passing data like this....&lt;/P&gt;&lt;P&gt;  Swc_get_element container 'pinnum' pinnum.&lt;/P&gt;&lt;P&gt;  pinnum = object-key-projectdefinition.&lt;/P&gt;&lt;P&gt;  SWC_SET_ELEMENT CONTAINER 'pinnum' pinnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this correct way?&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Padma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 07:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353795#M1399260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-30T07:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: method in BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353796#M1399261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Padma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the code sample sent by you, you have fetched the value of pinnum and overwritten that same value by another value and set that value as the final value for pinnum i.e.&lt;/P&gt;&lt;P&gt;Swc_get_element container 'pinnum' pinnum.  -&amp;gt; &lt;EM&gt;Fetched value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;pinnum = object-key-projectdefinition.              -&amp;gt; &lt;EM&gt;Over written the value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;SWC_SET_ELEMENT CONTAINER 'pinnum' pinnum.  -&amp;gt;&lt;EM&gt;Set the avlue to the overwritten value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this not working?Please let me know if you are facing any error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for calling the method u need to use swc_call_method, but i think you must have already used the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 09:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353796#M1399261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-30T09:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: method in BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353797#M1399262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ananad,&lt;/P&gt;&lt;P&gt;Im not getting error.&lt;/P&gt;&lt;P&gt;In the code &lt;/P&gt;&lt;P&gt;Swc_get_element container 'pinnum' pinnum. -&amp;gt; Fetched value&lt;/P&gt;&lt;P&gt;pinnum = object-key-projectdefinition. -&amp;gt; Over written the value&lt;/P&gt;&lt;P&gt;SWC_SET_ELEMENT CONTAINER 'pinnum' pinnum. -&amp;gt;Set the avlue to the overwritten value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above one i wrote in method1.&lt;/P&gt;&lt;P&gt;now i want to call same PINNUM in my method2. so called like this....&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Swc_get_element container 'pinnum' pinnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i debugg pinnum value is null in method2.&lt;/P&gt;&lt;P&gt;Please suggest me ,what i steps i have to take here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 09:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353797#M1399262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-30T09:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: method in BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353798#M1399263</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;try by changing the value in quotes to capital letters and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Swc_get_element container &lt;STRONG&gt;'PINNUM&lt;/STRONG&gt;' pinnum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 10:23:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353798#M1399263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-30T10:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: method in BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353799#M1399264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Padma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have defined Pinnum as PINNUM in the attributes then use SWC_SET_ELEMENT CONTAINER 'PINNUM' pinnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else if u hav used Pinnum try using SWC_SET_ELEMENT CONTAINER 'Pinnum' pinnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these do not work please check if the value is getting cleared within your method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally debug method 1 and see if the value of Pinnum was populated the first time when ur statement SWC_SET_ELEMENT CONTAINER 'pinnum' pinnum. was called in method 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 10:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353799#M1399264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-30T10:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: method in BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353800#M1399265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As u suggested i make it as Captial letter and i tried but im not able to succeeded in that.&lt;/P&gt;&lt;P&gt;it is not passing any value to method2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Padma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 11:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-in-bor/m-p/6353800#M1399265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-30T11:23:20Z</dc:date>
    </item>
  </channel>
</rss>

