Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

In 'BAPI_USER_CHANGE' country is not updating

Hi All,

I am using 'BAPI_USER_CHANGE' to change user data. Everything gets change accept country in Maintain telephone numbers. Following is my code

WA_ADDRESS-COUNTRY = 'ZW'  .
WA_ADDRESS-TEL1_NUMBR = '8888'.
WA_ADDRESS-TEL1_EXT = '88'  .

WA_ADDRESSX-COUNTRY = 'X' .
WA_ADDRESSX-TEL1_NUMBR = 'X'.
WA_ADDRESSX-TEL1_EXT= 'X'.

CALL FUNCTION 'BAPI_USER_CHANGE'
  EXPORTING
    USERNAME              = W_USERNAME
    ADDRESS                = WA_ADDRESS
    ADDRESSX               = WA_ADDRESSX
 TABLES
    RETURN                  = IT_RETURN[]

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
 EXPORTING
   WAIT          = '2'

Edited by: Swarup basagare on Sep 2, 2008 7:42 AM

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question