cancel
Showing results for 
Search instead for 
Did you mean: 

Time Capture of XI when it enters to R3

Former Member
0 Kudos

Hi Experts,

I need to capture the timestamp for when the data entered XI. This timestamp should be mapped to each:

for eg.,

Book

ram

raju

ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use ASMA.

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Write UDF and which gives the timestamp from file adapter and assign that to target element.

chirag

Edited by: Chirag Gohil on Apr 10, 2008 3:39 PM

Former Member
0 Kudos

Hi Chirag,

I will explain you in detail...and thanks for your response

Scenario : JMS to RFC using XSLT Mapping

Client wants a timestamp for when the data entered XI. This timestamp should be mapped to each:

for eg.,

BOOK Element 1...unbounded

Ramu Attribute required

Ravi Element 1

Raju Element 0 ...1

XI receives xml-files in the interface which are mapped to SAP.

Client wants to be able to report on the time it takes for the data to enter XI until it is created in SAP.

Therefore we need to create a timestamp in XI. Let's say that a file enters XI 14:15:03 today. the file is then processed and mapped to SAP 15 minutes later, let's say 14:30:45. On each BOOK mapped to SAP should then the timestamp 14:15:03 be attached.

How to do this ...

Is this possible??

Regards,

Jeevan.

Former Member
0 Kudos

Hi,

What I understand is u need end to end processing time for the scenario.

U can get it from either SXMB_MONI start of execution and end of execution time.

chirag

Former Member
0 Kudos

Thanks Chirag..

But, i need to capture the time only when it enters to XI and i need to send it to R3.

How can i capture that if it's from SXMB_MONI.

Regards,

Jeevan

Former Member
0 Kudos

hi ,

you mention that your scenerion is JMS to rfc ok

u can write a simple udf for that in java,to get the

timestamp. in java timestamp class is there.

something like following .

TimeStamp t = gettime();

booktime = "filemane" + t.

pass this booktime varible into rfc through adapter.

regards .

Former Member
0 Kudos

Hi,

that is the time for end to end processing.

chirag