Invalidate questionnaires for SAP Document
To invalidate the questionnaires for a SAP document, you can use the method INVALIDATE_QUESTIONNAIRES from the public class /AEB/CL_CMP_PB_QUEST_BC. The template ID is optional and can be left empty, when all questionnaires of one SAP document should be invalidated.
DATA:
quest bc TYPE REF TO /aeb/cl_cmp_pb_quest_bc.
quest_bc = /aeb/cl_cmp_pb_quest_bc=>new_for( document_number ).
quest_bc->invalidate_questionnaires( questionnaire_template_id ).
Updated about 9 hours ago