2009 Feb 03 1:38 PM
Hello all!
The question: Is there any simple method to modify address' validity (or even delete it) using BAPI (e.i. BAPI_BUPA_ADDRESS_CHANGE) when address is standard address - it has XXDEFAULT usage??
When modifying data in BP transaction one has to manually choose other proper address which can take "default" flag - when there is no such address system allows change. But from BAPI, when there is a lot of addresses with complex time dependencies this becomes quite a challenge. Any shortcut? Or "manual-find-other-address" way is the only solution?
Thank you in advance
best regards
Maciej
2009 Feb 03 1:56 PM
Hi,
createa new FM. In that FM with the help of BAPI_BUPA_ADDRESSES_GET get all the address GUID's. Then with the help of those GUID's take the address numbers related to those address numbers and update the details in ADRC table.
Regards,
Raj.
2009 Feb 03 2:15 PM
Maybe that would be a solution but:
1) I need to modify time dependent data. As far as I can see - columns date_from and date_to are not used (set to first and last date always) - where can I find it?
2) I also need to modify address' usages - that's the main point.
Besides I would prefer operating on proper BAPI buffers due to next operations which should be aware of changes made in address data in the same transaction, so db update makes it more difficult.
Any further suggestions would be appreciated.
regards
Maciej
2010 May 17 10:44 AM
I've solved it. Just standard BAPI and correct operation order makes it possible.
2014 Jun 27 12:05 PM
Hi Maciej,
Can you please let me know the steps you followed for changing the standard address?
Appreciate your help,
~Athreya