Symptom
It was encountered a short dump while executing the program `/AIF/MESSAGE_DELETION`.
Dump:
Category ABAP programming error
Runtime Errors SYSTEM_DATA_ALREADY_FREE
ABAP Program /AIF/MESSAGE_DELETION
Application Component BC-SRV-AIF
--------------------------------------------------------------------------------------------------------------
Short Text
Accessing data that has already been released is not permitted.
-------------------------------------------------------------------------------------------------------------------------------------------------
What happened?
Error in the ABAP application program.
The current ABAP program "/AIF/MESSAGE_DELETION" had to be terminated because
it found a
statement that could not be executed.
-------------------------------------------------------------------------------------------------------------------------------------------------
Active Calls/Events
No. Ty. Program Include Line
Name
2 METHOD /AIF/MESSAGE_DELETION /AIF/MSG_DEL_CLS 1061
LCL_HELPER=>SELECT_INTERFACES
1 EVENT /AIF/MESSAGE_DELETION /AIF/MESSAGE_DELETION 91
START-OF-SELECTION
-------------------------------------------------------------------------------------------------------------------------------------------------
DELETE ADJACENT DUPLICATES FROM rt_result COMPARING ns ifname ifversion.
DELETE rt_result WHERE allow_deletion = abap_false.
DATA lr_result TYPE REF TO lty_finf_del_s.
LOOP AT rt_result REFERENCE INTO lr_result.
AUTHORITY-CHECK OBJECT /aif/if_globals=>gc_eh_auth_objs-id " '/AIF/ERR'
ID /aif/if_globals=>gc_eh_auth_flds-namespace FIELD lr_result->ns
ID /aif/if_globals=>gc_eh_auth_flds-interface FIELD lr_result->ifname
ID /aif/if_globals=>gc_eh_auth_flds-version FIELD lr_result->ifversion
ID /aif/if_globals=>gc_eh_auth_flds-std_actvt FIELD '24'.
IF sy-subrc <> 0. " authorization for this interfaces does not exists, so remove it
WRITE:/ |{ TEXT-009 } { lr_result->ns }/{ lr_result->ifname }/{ lr_result->ifversion
DELETE rt_result.
ENDIF.
lr_result->status = is_input-status.
lr_result->num_recs = is_input-num_recs.
ENDLOOP.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- Application Interface Framework for NetWeaver
- SAP BTP ABAP Environment
- SAP S/4HANA Cloud Public Edition
- SAP S/4HANA
Product
Keywords
AIF, Message Monitoring, Application Interface Framework, SYSTEM_DATA_ALREADY_FREE, /AIF/MESSAGE_DELETION, AUTHORITY-CHECK OBJECT, authorization, /AIF/ERR, dump , KBA , CA-GTF-AIF , Application Interface Framework , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview