cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete record in SAP HTTP Content Server

Former Member
0 Kudos

Hi folks,

We have created a HTTP web content server to trasfer ISU Bill. For maintenance reasons we want to have the opportunity to delete bills. In this connection I created the following report:

report zzz_test_delete.

parameter: p_object like toav0-sap_object.

parameter: p_obj_id like toav0-object_id.

parameter: p_arc_id like toav0-archiv_id.

parameter: p_ard_id like toav0-arc_doc_id.

call method cl_alink_connection=>delete_by_key

exporting

sap_object = p_object

object_id = p_obj_id

archiv_id = p_arc_id

arc_doc_id = p_ard_id

exceptions

not_found = 1

others = 2.

....

Unfortunately delete_by_key method will only remove the link in the table TAO01! Can somebody tell me how can remove the document in the CS?

Thank you.

Michel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Michel,

Please use the FM ARCHIV_DELETE_META to delete the content from content server.

The parameter DELETE_FLAG controls the deletion of content or deletion of link alone or both the content as well as the link. Also, there is a possibility of not having enough authorization to do this activity. Please interpret the response table and then contact the Content server technical team for enabling this.

Please reward if the info resolves your problem.

With Regards

Vijay Gajavalli