<?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: Problem with Fn module.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380478#M185840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i'm passing. My both Roles are refering to the same filter 'COLLEGUE' . it returns always the first role.Is this a problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;SAPUSER100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Jun 2006 09:49:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-17T09:49:14Z</dc:date>
    <item>
      <title>Problem with Fn module..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380474#M185836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i debug the function module &amp;lt;b&amp;gt; HRHAP_DOC_ROLE_GET &amp;lt;/b&amp;gt; from my PHAP_CHANGE trnx i'm getting some values in Static_t_role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in the fn module....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STATICS: static_t_role TYPE TABLE OF s_role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE static_t_role INTO lw_role&lt;/P&gt;&lt;P&gt;                             WITH KEY template_id     = template_id&lt;/P&gt;&lt;P&gt;                                      s_object_base   = s_object_base&lt;/P&gt;&lt;P&gt;                                      s_object_target = s_object_target&lt;/P&gt;&lt;P&gt;                             BINARY SEARCH.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      role_id = lw_role-role_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's returing previous role_id not the current one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cud anyone tell me ..where i hav to find the data / how to fetch the prv record ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;SAPUSER100.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 11:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380474#M185836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T11:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Fn module..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380475#M185837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  This logic is to check if we have the target roles already available.&lt;/P&gt;&lt;P&gt;If we don't have the roles already there in the statics table, then we hit the databse to fetch the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the flow logic:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Flow Logic&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SPECIAL LOGIC for DUMMY ROLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;e.g. all objects of a special object type get the same role&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;10 check whether we have read the TARGET object roles already&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   -&amp;gt; YES -&amp;gt; give role back&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   -&amp;gt; NO  -&amp;gt; read roles from DB&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;20 read all allowed roles on VA&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;30 LOOP at roles and get corresponding objects&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;40 read the current role&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 11:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380475#M185837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T11:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Fn module..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380476#M185838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know where to change,I will expalin my senario..&lt;/P&gt;&lt;P&gt;I have two roles say 'Z1'(delg) and 'Z2' and(coacr).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my Part appraiser Pop up window if i enter delg name i am getting 'Z1' as expected . But if enter coacr name, instead of getting 'Z2' , i'm getting 'Z1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is both 'Z1' and 'Z2' follow the same org structure..'COLLEGUE' filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i want to implnt any BADI, how ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pts Assured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;SAPUSER100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 12:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380476#M185838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T12:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Fn module..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380477#M185839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you passing the parameter READ_NEW = 'X' in the function call?&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 13:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380477#M185839</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-06-16T13:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Fn module..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380478#M185840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i'm passing. My both Roles are refering to the same filter 'COLLEGUE' . it returns always the first role.Is this a problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;SAPUSER100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2006 09:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380478#M185840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-17T09:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Fn module..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380479#M185841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to find my object is of special object type ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPUSER100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2006 09:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fn-module/m-p/1380479#M185841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-17T09:51:07Z</dc:date>
    </item>
  </channel>
</rss>

