Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CRM_MESSAGE_COLLECT function module

praveen_kumar194
Active Contributor
0 Likes
631

hi Experts,

i am using CRM_MESSAGE_COLLECT function module to display the error messages. i have defined a z message class and one custom message in it. as i need to show long message i have defined a long text for this message also. problem is what ever values i send, they are displaying in short message. if i click, details tab(on webui), long text has been shown as it is. variables are not replaced with the values.

Ex: item no 100 is having errors.(short message)

item no &1 is having errors(long text).

i have tried with different formats &1, &1&, &v1&. still variables are not replaced with the values. please help me.

3 REPLIES 3
Read only

Former Member
0 Likes
470

Hi Praveen,

Can you pass an example of your code where you are creating the messages?

Best reagrds,

Guus

Read only

0 Likes
470

hi thanks for your replay. i am creating messages in transaction se91 and those message nos i am sending to the function module CRM_MESSAGES_COLLECT in order to display them on web ui . this all logic and code is placed in an implementation of badi ORDER_SAVE. my problem is how to display any variable in long text of message class.

Read only

0 Likes
470

Take a look at this thread:

maybe this helps.

Best regards,

Guus

Edited by: Guus Jansen on Feb 14, 2011 2:09 PM