cancel
Showing results for 
Search instead for 
Did you mean: 

Restore a document's version

matteo_montalto
Contributor
0 Kudos

Hi all gurus,

a simple question; dealing with SRM 7.0, is it possible at a given moment to restore a previous version of a document (contract or purchase order) ?

Consider, as example, the following scenario:

a contract has been distributed correctly. The active version is then closed with the correct (distributed) status.

Next step: a custom report made some modifications on the document, thus a change version is created.

After these mods, the document has been distributed, but distribution went wrong.

On this scenario, we should observe that the active, closed version has a wrong distribution status, while the previous, correctly distributed version has been archieved (historical version).

We can correctly see these versions (and the change one, too) under the Tracking tab.

Our question is: is it possible to RESTORE the correctly distributed version by making a new change version over the active ones? We have some documents that have been severely compromised by a custom activity and we'd like to revert back to the last, correctly distributed version. Is there any standard way to obtain this?

Thanks in advace.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can try the following. Go to BBP_PD, open the PO and then for the current active version document, set the 'VERSION TYPE' indicator in table BBP_PDHGP to 'H' and for the previous version which you wish to activate, set the 'VERSION TYPE' indicator in table BBP_PDHGP to ' ' (blank)

Test this is Dev first.

Regards,

Nikhil

matteo_montalto
Contributor
0 Kudos

Hi Nikhil,

tested: not working.

The fact is that historical versions are stored in different tables (e.g. : BBP_PDHAD_V, BBP_PDIAD_V) and restoring the VERSION_TYPE doesn't do the trick as what we have then is an incomplete document without versions.

Former Member
0 Kudos

Hi,

Can you check if this helps.

http://forums.sdn.sap.com/thread.jspa?messageID=10623027#10623027

Regards,

Nikhil

Answers (1)

Answers (1)

matteo_montalto
Contributor
0 Kudos

Seems there's actually no "clean" way to retrieve the desiderata... working on workarounds. Thank you all!

alejandro_jimenez2
Participant
0 Kudos

hey, could you share me the way like you achieve this action.

i have the same issue. i tried with /h and changes some values like version_type but without success.

thanks in advanced.