Skip to Content
0
Former Member
Mar 25, 2009 at 01:45 PM

Update adress data of customers

48 Views

Hi there,

I created a dialog application for creating or changing customer data. The changes must be released by the head of the financial department. The data are stored in separate data tables. When a changed or new customer is released the dialog calls transaction FD01 or FD02 with the necessary dynpros using the saved data.

Unfortunately in Call-Transaction Mode there is no possibility to fill fields like mail adress and cell phone number.

I try to add the missing fields by using BAPI BAPI_ADDRESSORG_CHANGE. After the customer is created/changed I use BAPI BAPI_ADDRESSORG_GETDETAIL to get the existing adress data. Then I add the cell phone number and the mail adress.

Everything works fine when I run my application in Debugging-Mode. The customer is created and the mail adress and cell phone number are available as well. But when I run my application in "normal" Mode the customer is created but the additional fields were not updatet. At the moment I am running out of ideas what the reason could be. I added a call of BAPI_TRANSACTION_COMMIT after I used BAPI BAPI_ADDRESSORG_CHANGE but it didn´t solve my problems.

If anybody got an idea I would appreciate it.

Regards

Ben