‎2008 Jun 10 11:28 AM
Hi All,
I am using BAPI_USER_CHANGE to update the details of Email-address?
Whm I run the program, I am getting success when I check the i_return table.
But When I go and view in SU01, email address is not been updated.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = sy-uname
tables
return = i_return
ADDSMTP = i_email_bapi
.
pls help me
‎2008 Jun 10 11:31 AM
Hi,
Call FM 'BAPI_TRANSACTION_COMMIT' after successful return.
Rgds,
Bujji
‎2008 Jun 10 11:56 AM
Hi
I user the same FM BAPI_Transaction_commit.
But it is going for short dump
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = '2'
IMPORTING
RETURN = i_return
.
‎2008 Jun 10 11:57 AM
Hi,
Just write the statement given below instead of the BAPI
" Commit Work ".
Thanks
Nayan
‎2008 Jul 04 1:21 AM
Can you tell what the short dump says? This will help us solve the issue.
Edited by: Romit Kewalramani on Jul 4, 2008 2:21 AM
‎2010 Nov 29 10:20 AM
Hi,
While using function module BAPI_TRANSACTION_COMMIT' the EXPORTING parameter WAIT should be having the value either 'X' or ' '. It s flag for wait and commit. You have passed value 2 that is why it is going for a short dump.
Thanks,
Thulasi Rajan M
‎2008 Jun 10 11:41 AM
Hi Praveen,
Try this:
data: w_address type BAPIADDR3,
w_addressx type BAPIADDR3X.
data: t_return type standard table of bapiret2,
w_return type bapiret2.
w_address-e_mail = Give some mail id here.
w_addressx-e_mail = 'X'.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
USERNAME = sy-uname
ADDRESS = w_address
ADDRESSX = w_addressx
TABLES
RETURN = t_return.
Dont forget to reward points if found useful.
Thanks,
Satyesh