INCLUDE mm_messages_mac. "useful macros for message handling
mmpur_business_obj_id ls_item-id. "确定错误消息显示到哪个行项目上 mmpur_message_forced '消息类型' '消息类' '编号' lv_message '' '' ''. "收集错误消息 CALL METHOD ls_po_item-item->invalidate( ). "将发生错误的行设置为无效行
"im_header->invalidate( ). ch_failed = 'X'.