<?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: BAPI_USER_CREATE1 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090958#M1615410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wardell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Do you have the import parameter ADDRESS (TYPE BAPIADDR3) in the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try passing the mail address to the field E_MAIL in import parameter ADDRESS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajvansh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Jul 2011 04:41:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-24T04:41:13Z</dc:date>
    <item>
      <title>BAPI_USER_CREATE1 problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090957#M1615409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a user by executing BAPI_USER_CREATE1 via SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No matter what I do, I can't get the e-mail address to populate in the user when it's created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI uses a structure called "BAPIADSMTP" which has these components:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STD_NO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;E_MAIL&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EMAIL_SRCH&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STD_RECIP&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;R_3_USER&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENCODE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TNEF&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HOME_FLAG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CONSNUMBER&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ERRORFLAG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FLG_NOUSE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VALID_FROM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VALID_TO&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've populated most if not all of these fields, definitely the e_mail component.  The user adds fine.  It's just nothing in the e-mail address field when I look at the user via SU01.  Some developers have suggested a BAPI_COMMIT_WORK.  However I thought exiting the FM in SE 37 did a commit  and besides, the user is indeed being created!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2011 23:51:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090957#M1615409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-23T23:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_USER_CREATE1 problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090958#M1615410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wardell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Do you have the import parameter ADDRESS (TYPE BAPIADDR3) in the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try passing the mail address to the field E_MAIL in import parameter ADDRESS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajvansh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2011 04:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090958#M1615410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-24T04:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_USER_CREATE1 problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090959#M1615411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wardell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to use bap_transaction_commit. As Ravi told pass the parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2011 05:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090959#M1615411</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-07-24T05:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_USER_CREATE1 problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090960#M1615412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out by doing a SQL Trace on SU01 transaction and examining the parameters on the insert on table USR004. Turns out I needed to populate consnumber with '001' instead of '000' in the BAPI.   I have to admit, there should be a lot more documentation on how to use this BAPI than there apparently is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2011 11:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-create1-problem/m-p/8090960#M1615412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-24T11:50:15Z</dc:date>
    </item>
  </channel>
</rss>

