cancel
Showing results for 
Search instead for 
Did you mean: 

How-to in Message Mapping?

Former Member
0 Kudos

Hi,

XI is getting data from SAP in IDOC's and sending this data to Database.

Now i want to capture(in XI) how many segments(records) XI has sent to database and map it to a field in database.And i want to send XI creation date&time to DB.

We not using BPM. Have to do it in message-mapping.

Any suggestion/help would be helpful

Thank you

Navin

I think I have to write user-defined function (just like we write to get Message-ID), if anybody can tell me how to write user-defined function for the above requirement it would be great.

Message was edited by: navin kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you can do it with abap mapping for example

add an abap mapping as a second mapping in your interface mapping and inside this abap mapping

check how many records does the message contain

and put it in a normal table (from abap mapping)

then the next message will just add the number

and so on...

later on you can get the number from the table using the abap mapping again

Regards,

michal