<?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: User ID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309386#M161213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the table USR05,USR02. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAY  BE  IT  IS  USEFUL  FOR  U....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 May 2006 10:36:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-03T10:36:28Z</dc:date>
    <item>
      <title>User ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309385#M161212</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;  Is there any way by which you can get the user id from the country code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried in SU01 but was unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide a method by which I could get the user id for a specific country code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gayathri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309385#M161212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: User ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309386#M161213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the table USR05,USR02. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAY  BE  IT  IS  USEFUL  FOR  U....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309386#M161213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: User ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309387#M161214</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 to use the BAPI BAPI_USER_GET_DETAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway the address data should be in ADRC table, you can find the ID address in USR21 table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA T_ID_ADDRESS LIKE STANDARD TABLE OF USR21 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T_ADRC LIKE STANDARD TABLE OF ADRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM USER21 INTO TABLE T_ID_ADDRESS.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  SELECT * FROM ADRC INTO TABLE T_ADRC&lt;/P&gt;&lt;P&gt;    FOR ALL ENTRIES IN T_ID_ADDRESS&lt;/P&gt;&lt;P&gt;            WHERE ADDRNUMBER = T_ID_ADDRESS-ADDRNUMBER&lt;/P&gt;&lt;P&gt;              AND COUNTRY    = &amp;lt;LAND&amp;gt;.&lt;/P&gt;&lt;P&gt;  LOOP AT T_ID_ADDRESS.&lt;/P&gt;&lt;P&gt;    READ TABLE T_ADRC TRANSPORTING NO FIELDS &lt;/P&gt;&lt;P&gt;           WITH KEY ADDRNUMBER = T_ID_ADDRESS-ADDRNUMBER.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      DELETE T_ID_ADDRESS.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      WRITE: / T_ID_ADDRESS-BNAME.  &lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309387#M161214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: User ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309388#M161215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USR03 where LAND1 is the country code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2006 10:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309388#M161215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: User ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309389#M161216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One country can have multiple user id's, how can you choose only one user id.&lt;/P&gt;&lt;P&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>Wed, 03 May 2006 10:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-id/m-p/1309389#M161216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-03T10:42:00Z</dc:date>
    </item>
  </channel>
</rss>

