<?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: Prob with &amp;quot;BAPI_USER_CREATE&amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451018#M1249476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;always use the same type as FM, so in this case for password use STRUCTURE BAPIPWD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF itab OCCURS 0 , 
             bname LIKE usr02-bname,
             password type BAPIPWD,
             class LIKE usr02-class,
         END OF itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Apr 3, 2009 1:38 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2009 11:38:30 GMT</pubDate>
    <dc:creator>Sm1tje</dc:creator>
    <dc:date>2009-04-03T11:38:30Z</dc:date>
    <item>
      <title>Prob with "BAPI_USER_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451015#M1249473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I'm am getting dump while calling FM BAPI_USER_CREATE in ECC 6.0. Parameter 'password' lenght is 8 charectors in itab &amp;amp; 40 char lenght in FM. Still getting dump If passing 8 char value parameter passing to 40 char parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     If i called same FM 4.6c then its working fine. In 4.6c, lenght of "password" parameter lenght is 8 char in FM &amp;amp; same length in my itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CALL FUNCTION 'BAPI_USER_CREATE'
      DESTINATION rfc
         EXPORTING
              username  = itab-bname
              logondata = wa_data
              password  = itab-password
              address   = wa_addr
         TABLES
              return    = itab2.
  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   
     " &amp;lt;Dump is&amp;gt;

Runtime Errors         CALL_FUNCTION_CONFLICT_LENG
Exception              CX_SY_DYN_CALL_ILLEGAL_TYPE
Date and Time          04/03/2009 02:18:34



 Short text
     Type conflict when calling a function module (field length).


 Error analysis
     An exception occurred that is explained in detail below.
     The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
      not caught in
     procedure "DATA_CREATION" "(FORM)", nor was it propagated by a RAISING clause.
     Since the caller of the procedure could not have anticipated that the
     exception would occur, the current program is terminated.
     The reason for the exception is:
     The call to the function module "BAPI_USER_CREATE" is incorrect:

     In the function module interface, you can specify only
     fields of a specific type and length under "PASSWORD".
     Although the currently specified field
     "itab-PASSWORD" is the correct type, its length is incorrect.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any problem with the fm in ecc 6.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help on this.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:22:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451015#M1249473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Prob with "BAPI_USER_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451016#M1249474</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;BAPI_USER_CREATE is Obsolete and its replacement is &lt;STRONG&gt;BAPI_USER_CREATE1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not the reason for dump. &lt;/P&gt;&lt;P&gt;Have you defined the parameters which you are passing same as BAPI reference parameter types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451016#M1249474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Prob with "BAPI_USER_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451017#M1249475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I have defined all parameter which i am passing to fm. as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF itab OCCURS 0 , 
             bname LIKE usr02-bname,
             password(8),
             class LIKE usr02-class,
         END OF itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451017#M1249475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Prob with "BAPI_USER_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451018#M1249476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;always use the same type as FM, so in this case for password use STRUCTURE BAPIPWD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF itab OCCURS 0 , 
             bname LIKE usr02-bname,
             password type BAPIPWD,
             class LIKE usr02-class,
         END OF itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Apr 3, 2009 1:38 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451018#M1249476</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-04-03T11:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Prob with "BAPI_USER_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451019#M1249477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this way&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF itab OCCURS 0 , 
             bname LIKE BAPIBNAME-BAPIBNAME,
             password like BAPIPWD,
             class LIKE BAPIUCLASS,
         END OF itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451019#M1249477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Prob with "BAPI_USER_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451020#M1249478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check again.&lt;/P&gt;&lt;P&gt;The password type should be declared as &lt;STRONG&gt;bapipwd.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And as I saw the length is of 8 char.&lt;/P&gt;&lt;P&gt;not of 40 char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF itab OCCURS 0 , &lt;/P&gt;&lt;P&gt;             bname LIKE BAPIBNAME-BAPIBNAME,&lt;/P&gt;&lt;P&gt;             password(8) like BAPIPWD,&lt;/P&gt;&lt;P&gt;             class LIKE usr02-class,&lt;/P&gt;&lt;P&gt;         END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 11:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451020#M1249478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Prob with "BAPI_USER_CREATE"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451021#M1249479</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;Please award points for the post which resolved your issue ,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 12:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/prob-with-quot-bapi-user-create-quot/m-p/5451021#M1249479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T12:04:27Z</dc:date>
    </item>
  </channel>
</rss>

