on 06-11-2009 6:18 PM
Hi expert ,
I need to display the particular records one by one in the message manager from table, while i am doing this one it will through the dump like the below,
Type conflict at call of a method.
what should i do for this one .
The below is my code
loop at lv_question into wa_question.
report message
call method l_message_manager->report_success
exporting
message_text = wa_question-qtext.
endloop.
Regards
Sankar.M
The message_text parameter of the report_success method accepts a type of CSEQUENCE. This should allow for STRINGS or Character based fields. What is the data type on wa_question-qtext? Assuming that this is actually the block of code triggering the dump, then this error would indicate that wa_question-qtext doesn't match the generic specifications of CSEQUENCE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No one questioned if that field was really CHAR255. I questioned if that is really the block of code producing the dump. One or other doesn't seem possible given the error message you provided.
That said, have you tried the suggested work around of moving the field to a string and passing the string into the method?
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.