on 02-23-2009 3:51 PM
Hi experts,
Someone mistakenly created 350 Business Partners without indicating an address (street, street #, zip code and country code are missing). I have been trying to solve that issue using the BAPI 'BAPI_BUPA_ADDRESS_ADD' without any success so far.
However I understood that others managed to get it over with using that same BAPI, so I figure I must be missing something; Even when I don't get any errors while executing the BAPI on a particular BP, no address is ever created ! I just get a GUID number as output data but absolutely no address.
Please any help would be highly appreciated,
Best regards,
C.K.
Hi Cedric,
Ideally speaking the Function Module "BAPI_BUPA_ADDRESS_ADD" should serve your purpose, this is written to add the address of the BP. Now, in your case, since it is not working try using the other FM "BAPI_BUPA_ADDRESS_CHANGE". If this also doesn't work, then i guess there are some issues in the BP's that you are mentioning and first priority should be to look into the root case of it.
Regards,
Harshit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For those that may read this in the future, here is the answer:
If the BAPI is returning a GUID then it is working correctly. The only reason that the address would not be there is if you forgot to run a BAPI_TRANSACTION_COMMIT afterwards.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with this FM : BAPI_BUPA_ADDRESS_CHANGE
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cedric,
Check if you are passing the required details as below:
DATA: IV_BP_NO TYPE BU_PARTNER,
ls_address_data TYPE bapibus1006_address,
lt_telephon_data TYPE STANDARD TABLE OF bapiadtel,
lt_fax_data TYPE STANDARD TABLE OF bapiadfax,
lt_email_data TYPE STANDARD TABLE OF bapiadsmtp.
CALL FUNCTION 'BAPI_BUPA_ADDRESS_ADD'
EXPORTING
businesspartner = iv_bp_no
addressdata = ls_address_data
TABLES
bapiadtel = lt_telephon_data
bapiadfax = lt_fax_data
bapiadsmtp = lt_email_data
return = lt_return
.
Regards,
Saumya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.