on 01-03-2014 12:50 PM
Hi,
I am facing a unique issue. In the development system all the warning message for the Z- Message class are shown correctly but in the q-system , only the standard warning messages are shown . Not the Z message class messages. I debugged the issue. In the q system the Z message is processed correctly by the FM CRM_MESSAGES_COLLECT. I am not sure what is going wrong in the system. I am posting a picture of the debug mode in the Q-system for the Z- message class.
Step 1 - : Debug Mode for the handle_message_list class
Step 2 -: This step shows what my internal table error list contains . One standard warning and one z warning .
Step 3 -: Outcome of the CRM_MESSAGES_COLLECT function module . sy-subrc = 0
Even after this i just see the first standard warning message in the UI. Not the Z class. Is there any customizing by which the z messages are restricted or number of warning message are restricted. Everything works fine in the dev environment.
If any body has an ide please let me know ?
Thanks
Sanket
Sanket ,
If there is a Z message class being raised then possibly it is added through coding or else through customization using message replacement class is used.The message may be raised previously and is getting filtered because it was read once and then can be marked to be deleted for future use.
Which approach is being used in your case ?
Also as I see from the ABAP stack that this message is raised during Post Processing Framework so it may have to with Action Profile as well. You can check around that.
~Kavindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kavindra,
You are right that there is a Z coding condition check and the here the condition is checked. If it fails then, the proper message details are passed to the standard coding . As i explained in my post, everything comes fine till the CRM_MESSAGES_COLLECT function module. The outcome of this is sy-subrc = 0 which means the message is added to the message container, but while displaying the message is not displayed. So i am confused. I even checked for the standard filtering that happens in the class CL_BSP_WD_MESSAGE_SERVICE=>APPLY_USER_FILTER . But i can only see the standard warning messages.
Hi kavindra,
The messages are added through the table TSOCM_COND_MAPP checking on certain conditions which is done in Z function module. If the condition is not ok then a false return flag is sent back to the standard coding via an exit and then the standard coding picks up the message from the message table ( all standard coding ) . as you can see in step 3 image , the variables are coming correctly to the FM CRM_MESSAGES_COLLECT and also it gets executed correctly. So i expect it to show the message.
Sanket
Hi,
Where are you calling the messages?
Regards,
Devashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Anywhere you are using CRM_MESSAGE_DELETE FM with the Z message class?
Regards,
Deepika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.