cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP error in deleting archived messages

dhagigeorgiou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello all,

We seem to be having a problem when deleting archived messages.

The archiving background jobs runs periodically (SAP_BC_XMB_ARCHIVE....).

The first part works fine ARV_BC_XMB_WRP...., and i can view the list of the message ids that have been archived in files.

The second bit ARV_BC_XMB_DEL... fails to due a runtime error "NO_DDIC_TYPE":

  • check for dictionary type

rel_name = me->get_relative_name( ).

if me->is_ddic_type( ) = ABAP_FALSE or rel_name is initial.

raise no_ddic_type.

endif.

Has anyone come across the above error?

Object BC_XMB has been activated, but i have unable to fill it.

Any input will much appreciated.

Thanks,

Dimitris

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Have you activated any infostructure? If yes which infostructure is active? SAP_BC_XMB or SAP_BC_XMB1?

If SAP_BC_XMB is active then deactivate it. Activate only SAP_BC_XMB1.

Cheers!

Samanjay

dhagigeorgiou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks Samanjay,

I did this. I still have the same problem. The deletion program raises an exception that no_ddic_type exists.

Unfortuantely i am not an ABAP expert.

Any input more than welcome.

Thanks,

Dimitris

Former Member
0 Kudos

Hi,

Can you tell me what are the field that you have included in the infostructure SAP_BC_XMB1 ?

Also let me know as to what are the key fields in the field catalog SAP_BC_XMB1 and if the value of field 'File in index' and 'Offset in index' is K

Cheers!

Samanjay

dhagigeorgiou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Samanay,

The fields included in the infostructure are Message Id , Pipeline Id, Message Version, Time Stamp.

Values for Offset processing is K and for File nema e processing is K.

Key fields are Message id, pipiline id, message version.

I apprciate the effort.

Dimitris

Former Member
0 Kudos

Hi Dimitris

refer this thread discuss the same

Thanks!!