Skip to Content
0
Apr 29, 2014 at 01:28 AM

determination dumps with assertion_failed error

254 Views

Hi gurus,

I am enhancing a TM feature and my determination dumps with assertion_failed error. I check ST22 and the dump lies in method /BOBF/IF_FRW_CONFIGURATION~GET_CONTENT_KEY_MAPPING.

Below is my determination to set the read-only flag.

CREATE OBJECT lf_control

EXPORTING

IS_CONTEXT = IS_CTX " Context Information for Determinations

IO_MODIFY = IO_MODIFY. " Interface to Change Data

lf_control->SET_ATTRIBUTE_READ_ONLY(

EXPORTING

IV_ATTRIBUTE_NAME = /SCMTMS/IF_TCC_TRNSP_CHRG_C=>SC_NODE_ATTRIBUTE-ITEMCHARGEELEMENT-RATE_AMOUNT

IV_KEY = ls_chrg_el-key

IV_VALUE = ABAP_TRUE

Do you have any clues on this?

Thanks,

Clark