<?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 SAP function module (user details) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321889#M165616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is working good for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

call function 'SUSR_SHOW_USER_DETAILS'
     exporting
          bname      = sy-uname
          mandt      = sy-mandt
          no_display = space.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 May 2006 18:04:17 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-05-17T18:04:17Z</dc:date>
    <item>
      <title>Problem with SAP function module (user details)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321887#M165614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I'm using function module SUSR_SHOW_USER_DETAILS to correspond the current user's SY-UNAME(associate number in my case) with a table holding their information and expecting to receive back their real first name and last name.  I believe I need to be using a commit work but I'm not sure which one to use.  Any ideas would be helpful.  Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 17:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321887#M165614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T17:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAP function module (user details)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321888#M165615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to fetch details, you don't need a commit work. Try BAPI_USER_GET_DETAILS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers and close the thread if the issue is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 18:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321888#M165615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T18:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAP function module (user details)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321889#M165616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is working good for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

call function 'SUSR_SHOW_USER_DETAILS'
     exporting
          bname      = sy-uname
          mandt      = sy-mandt
          no_display = space.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 18:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321889#M165616</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-17T18:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAP function module (user details)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321890#M165617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try SUSR_USER_ADDRESS_READ instead.&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>Wed, 17 May 2006 18:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321890#M165617</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-05-17T18:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAP function module (user details)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321891#M165618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using SUSR_SHOW_USER_DETAILS, I need to return the first &amp;amp; last names by supplying the sy-uname, and then I plan to post their names into a smartforms form I have created.  After it processes through the function module, a subscreen pops up showing the associate ID and name information but then it causes a runtime error.  I do not need this subscreen to show, just bring the information back into working storage and I can continue processing from there, any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 18:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321891#M165618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T18:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAP function module (user details)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321892#M165619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the BAPI I have mentioned.&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, 17 May 2006 18:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321892#M165619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T18:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAP function module (user details)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321893#M165620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need put 'X' in parameter no_display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SUSR_SHOW_USER_DETAILS'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          bname      = sy-uname&lt;/P&gt;&lt;P&gt;          mandt      = sy-mandt&lt;/P&gt;&lt;P&gt;          no_display = 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 18:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321893#M165620</guid>
      <dc:creator>LucianoBentiveg</dc:creator>
      <dc:date>2006-05-17T18:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAP function module (user details)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321894#M165621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want the dialog, you can get the information back via the USR03 parameter of the function module,  make sure to swith the NO_DISPLAY parameter to "X".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.


data: xusr03 type usr03 .

call function 'SUSR_SHOW_USER_DETAILS'
     exporting
          bname      = sy-uname
          mandt      = sy-mandt
          no_display = 'X'
     changing
          user_usr03 = xusr03.

write:/ xusr03-name1.
write:/ xusr03-name2.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 18:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-sap-function-module-user-details/m-p/1321894#M165621</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-17T18:33:14Z</dc:date>
    </item>
  </channel>
</rss>

