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: 

New syntax Message

ansari_mobbasher
Explorer
0 Kudos
514

Hello everyone,

Error is coming in below given code :

MESSAGE w000(yv01) with 'XYZ' wa_pl_lic_mntn 'Some Text'.

Error:

"WA_PL_LIC_MNTN" cannot be converted to a character-like value.

Can someone please suggest me the new syntax for above code without using any extra variable?

1 ACCEPTED SOLUTION

thkolz
Contributor
459

I guess WA_PL_LIC_MNTN is a structure.

You should just give a single field of that structure (e.g. WA_PL_LIC_MNTN-EXAMPLE).

2 REPLIES 2

thkolz
Contributor
460

I guess WA_PL_LIC_MNTN is a structure.

You should just give a single field of that structure (e.g. WA_PL_LIC_MNTN-EXAMPLE).

matt
Active Contributor
459

Without knowing the type of WA_PA_LIC-MNTN it's kind of hard to know.