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

delivery - current output message in routine

was_wasssu
Participant
0 Likes
606

I have 5 output messages in delivery and a routine assigned to them. I want to know, when i'm in debug in the routine what is the current output message? In what table/structure is the ouput?

I want to add a test like this: if the current message is X do something

Thanks.

I have 5 output messages in delivery and a routine assigned to them. I want to know, when i'm in debug in the routine what is the current output message? In what table/structure is the ouput?

I want to add a test like this: if the current message is X do something

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
559

Use XKOMV-KSCHL

Read only

Former Member
0 Likes
559

Hi,

check wether below system variables et populated.. when any messages are triggered, this gets populated.

MSGID

MSGTY

MSGNO

MSGV1

MSGV2

MSGV3

MSGV4

Also, if you know the condition at which the message gets triggered, then why do you want to go for checking messages,... put a check for the condition and proceed from there..

Thanks

Sam

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
559

What exactly do you mean by "message"? The first reply is correct if you meant "output type". Otherwise please clarify.