ABAP Dump when&n…

Today user submits a issue to our support team. There is ABAP Dump when save the delete operation to one SO, but other operation of SO can be saved correctly. The keywords as follows:    
"DYNPRO_MSG_IN_HELP" " "
"SAPMV45A" or "MV45AFZZ"
"USEREXIT_SAVE_DOCUMENT_PREPARE"
The program attempted to issue a " " message during "Exit Command" processing.

we find more than one thousands code in user-exit USEREXIT_SAVE_DOCUMENT_PREPARE, and there are several statement like MESSAGE ......TYPE 'E' . So, maybe it caused by these message type ERROR. But user says the Message display function works well for more than one year, and we are confused, why raise a dump ?
after debug the standard program of VA02, we find it will call a AT EXIT-COMMAND PAI module when save the delete operation.and in this module it will call USEREXIT_SAVE_DOCUMENT_PREPARE and trigger a Message type E , this is the point. it is forbidden to display an ERROR message in AT EXIT-COMMAND module, otherwise it will raise a dump like 'DYNPRO_MSG_IN_HELP The program attempted to issue a " " message during "Exit Command" processing.'
according to this analysis, we try to move the code related to user-exit USEREXIT_CHECK_VBAP, and it works.
as we know, it must not to display message type E in USEREXIT_SAVE_DOCUMENT , also, we have these remark:
1It is not recommended display message type E in USEREXIT_SAVE_DOCUMENT_PREPARE, the best location is routines for check, like USEREXIT_CHECK_VBAP, USEREXIT_CHECK_VBAK etc..
2we should test scenario as many as possible, exitt/enhancement especially 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值