cancel
Showing results for 
Search instead for 
Did you mean: 

Physical PO and Contract deletion

matteo_montalto
Contributor
0 Kudos

Hi all gurus,

could anyone explain me why

BBP_PD_PO_DB_DELETE_MULTI and BBP_PD_PO_DB_DELETE function modules

seem not working whether the PO is a multi-version one (e.g., has more entries in CRMD_ORDERADM_H)?

I tried to run these two FM on a multiversion PO; no error is raised, but documents are already present in tables. Tried with every version guid, still unlucky :

The strange fact is that, in case of document with a single version , BBP_PD_PO_DB_DELETE works flawlessy.

Of course, the SAVE_ON_DB parameter is set to 'X'.

Could anyone explain me how can we delete physically a purchase order or a contract (even if multiversion)?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Documents are not physically deleted from the system . They are marked for deletion 'X'. You can check this in BBP_PD with correct bus object . Hope this helps .

Thanks,

Ashish

matteo_montalto
Contributor
0 Kudos

Hello Ashish,

the strange thing is that any mono-version document (just a single entry in CRMD_ORDERADM_H) is physically deleted instead.

As far as I can see, a call of BBP_PD_PO_DB_DELETE with IV_SAVE_ON_DB = 'X' on a single version PO deletes physically the entries in tables. ( I cannot find the document on CRMD_ORDERADM_H anymore).

Answers (0)