<?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: Table for release code and role in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964965#M1490370</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;it is same indeed. get FRGGR and FRGCO from  T16FS.&lt;/P&gt;&lt;P&gt;Then go to T16FW with these values and get OBJID.&lt;/P&gt;&lt;P&gt;Go to AGR_USERS and get AGR_NAME by UNAME = OBJID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data lv_FRGGR(2) type c.
data lv_FRGCO(2) type c.
data lv_agr_name(30) type c.
data lv_objid(12) type c.

select FRGGR into  lv_FRGGR from T16FS where FRGC1 = 'smthing' and FRGC2 = 'smthing2'.
select FRGCO into  lv_FRGCO from T16FS where FRGC1 = 'smthing' and  FRGC2 = 'smthing2'.

select OBJID into lv_objid from T16FW where FRGGR = lv_FRGGR and FRGCO = lv_FRGCO.

select agr_name into lv_agr_name from AGR_USERS where uname = lv_objid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jun 2010 10:55:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-01T10:55:20Z</dc:date>
    <item>
      <title>Table for release code and role</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964961#M1490366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am looking for a relation between:&lt;/P&gt;&lt;P&gt;Release code - T16FS-FRGCO&lt;/P&gt;&lt;P&gt;and Role - AGR_USERS-AGR_NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for an ABAP report.&lt;/P&gt;&lt;P&gt;Please help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:11:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964961#M1490366</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2010-06-01T08:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table for release code and role</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964962#M1490367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check &lt;STRONG&gt;T16FW,T16FC&lt;/STRONG&gt; tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964962#M1490367</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2010-06-01T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table for release code and role</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964963#M1490368</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;i hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data lv_uname(12) type c.
data lv_agrname(30) type c.

select OBJID into lv_uname from T16FW where FRGGR = T16FS-FRGGR and FRGCO = T16FS-FRGCO.

select AGR_NAME into lv_agrname from AGR_USERS where uname = lv_uname.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: goktasor on Jun 1, 2010 10:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964963#M1490368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T08:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table for release code and role</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964964#M1490369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The role I am looking for is stored in Table AGR_USERS in field AGR_NAME.&lt;/P&gt;&lt;P&gt;So I want to determine which role is used for  the Release Code T16FS-FRGC1 .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 10:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964964#M1490369</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2010-06-01T10:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table for release code and role</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964965#M1490370</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;it is same indeed. get FRGGR and FRGCO from  T16FS.&lt;/P&gt;&lt;P&gt;Then go to T16FW with these values and get OBJID.&lt;/P&gt;&lt;P&gt;Go to AGR_USERS and get AGR_NAME by UNAME = OBJID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data lv_FRGGR(2) type c.
data lv_FRGCO(2) type c.
data lv_agr_name(30) type c.
data lv_objid(12) type c.

select FRGGR into  lv_FRGGR from T16FS where FRGC1 = 'smthing' and FRGC2 = 'smthing2'.
select FRGCO into  lv_FRGCO from T16FS where FRGC1 = 'smthing' and  FRGC2 = 'smthing2'.

select OBJID into lv_objid from T16FW where FRGGR = lv_FRGGR and FRGCO = lv_FRGCO.

select agr_name into lv_agr_name from AGR_USERS where uname = lv_objid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 10:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964965#M1490370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T10:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table for release code and role</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964966#M1490371</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;does your problem solved ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 13:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964966#M1490371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T13:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table for release code and role</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964967#M1490372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No My problem is not solved yet. I only have the release code with me.&lt;/P&gt;&lt;P&gt;This release code is stored in M_EINK_FRG auth obj field FRGCO.&lt;/P&gt;&lt;P&gt;The table is T16FS. Codes are stored in fields FRGC1, FRGC2....&lt;/P&gt;&lt;P&gt;For these release codes I need to know the authorization roles. &lt;/P&gt;&lt;P&gt;Table T16FW gives me user id in objid . But a user can have many roles. I am looking for role for a particular release code. &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 07:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-for-release-code-and-role/m-p/6964967#M1490372</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2010-06-03T07:50:12Z</dc:date>
    </item>
  </channel>
</rss>

