‎2013 Feb 25 5:57 AM
Hi,
When we do a 'client copy' from Production to Test, we also copy BDocs that may contain some sensitive information (e.g. date of birth).
I would like to write a program to update these DOB fields with an arbitrary date - say 1/1/1970.
Does anyone know a function module or method that you can use to change BDoc content? I notice that the BDoc data is stored in cluster tables, so direct updates are probably out of the question.
(Of course, these updates will only be done in non-Production clients).
thanks
Paul Bakker
‎2013 Feb 25 6:01 AM
I will look from technical perspective. Mean you would like to run program in test sever after client copy.
Can you please give info on BDOC? how to view/transaction or is it related to info type data?
‎2013 Feb 25 6:05 AM
Thats right - after a client copy, we will be running a program to remove sensitive data from tables, change documents, workflows and BDocs.
I've got all the other parts under control, I'm just not sure about how to change BDocs (if it's not possible, we might just delete them).
BDocs can be viewed (in CRM) via transaction SMW01.
cheers
Paul
‎2013 Feb 25 8:56 PM
The event DE_BALE gets called before customer master is posted. This is P/S event. please check the structure CT_BAPIMTCS and if it contains DOB, well and good. Let us know if this works.
‎2013 Feb 25 8:58 PM
If this does not work out, you can also check the event DE_AALE which gets called after customer posting and may be you can still update the DOB using the same.
‎2013 Feb 26 3:40 AM
Thanks, but we are not posting anything - we are doing a client copy. Ie, copying table entries.
After the copy is done, I want to edit the BDocs en masse.
Any ideas? Or should I just delete them all.
thanks
Paul