‎2008 May 28 9:51 AM
hey every friends,
I have a requirement about BDC process t-code BUG2.
The requirement is as following:
Update the value of the email address field reference to the bussiness partner in t-code BUG2.
The issule I meet is that:
1 Whatever dismode( N,E,A ) I use,it can not popup the first screen (select the bussiness partner),only popup at the first time.At the second time,it will not popup,only get the bussiness partner same as the first time.
2 It can not process the ok_code of click 'BACK' button in the top toolbar and can not display the save ok_code in A dismode.
3 I want to run the bdc with a internal table loop,but at the second time,it stops,not run continuely.
I ask for humble requst,from any expert has experience of process bdc in this t-code.
‎2008 May 28 10:07 AM
Hi,
Perhaps you could try to use the following Bapi : BAPI_BUPA_ADDRESS_CHANGE.
Regard.
David
‎2008 May 28 10:07 AM
Hi,
Perhaps you could try to use the following Bapi : BAPI_BUPA_ADDRESS_CHANGE.
Regard.
David
‎2008 May 29 10:22 AM
hey,
thank you for your reply.
but how to use that function you give me.
hope your answer.
thank you.
‎2008 May 29 10:50 AM
Hi,
Sorry but i have demo program for this Bapi.
But you can try to make a small to test it,
put business partner as parameter;
Then first call Bapi 'BAPI_BUPA_ADDRESS_GETDETAIL' that will retrieve all informations
Then after you can call 'BAPI_BUPA_ADDRESS_CHANGE' to change one field
if you look at the tables you BAPIADSMTP and BAPIADSMTX for email adresses,
BAPIADTEL and BAPIADTELX for phones ......
in BAPIADSMTP you fill the values, in BAPIADSMTPX you have a field called UPDATEFLAG (I for insert, U for update , D for deletion) and for other fields you flag it if you to take them into account.
If necessary (it's different depending on Bapi ) you must call Bapi 'BAPI_TRANSACTION_COMMIT' if the commit is not done in 'BAPI_BUPA_ADDRESS_CHANGE' .
I hope it will help you.
David
‎2008 Jun 03 1:48 AM