Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delete Archived Document using ARCHIVOBJECT_DELETE or SCMS_AO_DELETE

0 Likes
2,908

I need to delete archived object whose ARC_DOC_ID I'm getting from Odata services, so ARCHIV_DELETE_META is not working the FM's ARCHIVOBJECT_DELETE or SCMS_AO_DELETE can work but when I'm trying to execute them even from SE37 I'm getting a error 'HTTP error: 404 (Not Found)' , but I can see the document is present in FM ARCHIVOBJECT_GET_URI and table TOA01.
Any solution or other process you can suggest of if I'm missing anything.

I'm passing ARCHIVE_ID and ARCHIVE_DOC_ID in the delete FM's.

Thanks

I need to delete archived object whose ARC_DOC_ID I'm getting from Odata services, so ARCHIV_DELETE_META is not working the FM's ARCHIVOBJECT_DELETE or SCMS_AO_DELETE can work but when I'm trying to execute them even from SE37 I'm getting a error 'HTTP error: 404 (Not Found)' , but I can see the document is present in FM ARCHIVOBJECT_GET_URI and table TOA01.
Any solution or other process you can suggest of if I'm missing anything.

I'm passing ARCHIVE_ID and ARCHIVE_DOC_ID in the delete FM's.

Thanks

2 REPLIES 2
Read only

former_member808116
Participant
2,646

I hope it help you.

Because

OBJECTTYPE	LIKE	TOAV0-SAP_OBJECT
OBJECT_ID	LIKE	TOAV0-OBJECT_ID
* But domain TOAV0-SAP_OBJECT AND TOAV0_OBJECT_ID NOT CHECKED CASE-SENSITIVE.

Read only

0 Likes
2,646

Hi,

Thanks for your reply.

The ARCHIVOBJECT_GET_URI is working fine, it's returning proper data, I tried this also, same data is returned by the FM.
I'm having problem in FM's ARCHIVOBJECT_DELETE or SCMS_AO_DELETE.

Thanks