cancel
Showing results for 
Search instead for 
Did you mean: 

Parent Message ID

Former Member
0 Kudos

Hi,

inside my abap mapping (Idoc -> File), I get the message ID thanks to "param->get( if_mapping_param=>message_id )" and use it into function module "IDX_XML_TO_IDOC" in order to get all data of this idoc...

but in my case, I think it's not the good one: maybe a child. I need to know its parent message ID.

Do you know a function module or a DDIC table with the link ? <i>(not yet found)</i>

Regards.

Mickael

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Mickael,

I'm not sure but have you tried :

REF_TO_MESSAGE_ID

?

runtime constants:

http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm

Regards,

michal

Former Member
0 Kudos

No this parameter doesn't change something.

result of "IDX_XML_TO_IDOC" is still empty.

Maybe because of my configuration flow. In message monitoring I have several lines:

1/ Source business system --> Integration Process

2/ Integration Process --> <nothing, cf. message branched>

3/ Integration Process --> 1st target business system

4/ Integration Process --> 2nd target business system

But problem is in the 1st step, and my target ssytems receive an empty file. (source data are good).

I'll continue my search on Monday...

Good weekend.

Mickael

MichalKrawczyk
Active Contributor
0 Kudos

Hi Mickael,

if you're using BPM

then the only way to get oyu message id

is like this (from my weblog):

/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm

I don't think there's any other way with BPM

Regards,

michal