cancel
Showing results for 
Search instead for 
Did you mean: 

where to see the size of the file in XI system

Former Member
0 Kudos

where to see the size of the file in XI system..i mean after sending it into XI....

Edited by: Harsha reddy on Jun 25, 2008 5:51 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can see the payloads both inbound and outbound in Moni. You can just copy the data from payload and measure it manually but thi will not give you better idea as it will contain all the XML tags also.

You can use comunication channel monitoring and see the size in adapters log. You can find something like File name, Size and location where the file is written in File adapter log.

Kulwinder

Reward if helpful

Answers (3)

Answers (3)

Former Member
0 Kudos

To get the file size when its picked by XI you can see in communication channel monitor.for XML file after the adapter engine it will be roughly 2 times the size of file in AE.

Thanx

Aamir

Former Member
0 Kudos

where is that in comminication channel aamir..? i am not able to trace it

Former Member
0 Kudos

hey

In communication channel monitoring,select the successful message(by clicking of the message ID) and then see the audit log,it will have entry something like "Send binary file "<fileName>" from FTP server "<FTP server name/source Directory", size 461 bytes with QoS EO

Thanx

Aamir

Former Member
0 Kudos

Hey,

I think thatz communication channel monitoring..

here is the URL for that..

http://<server>:<port>/mdt/channelmonitorservlet

Thanks,

Vijaya

Former Member
0 Kudos

Hi Harsha,

Check this thread..

Thanks,

Vijaya

Former Member
0 Kudos

Hi Lakshmi,

the link was usefull but....i need to find out the size of the payload i sent....i dont need to write the UDFs

what i should i do

Former Member
0 Kudos

While opening message in SXMB_MONI.

You can right click and click on "View Source" and save as XML file and check the size of file for payload size.

Gaurav Jain

Reward Points if answer is helpful

Former Member
0 Kudos

Hey Harsha,

Do you want to use this file size parameter in processing??I don't think you can get that directly with out an UDF....

You can do one more thing...while configuring your file adapter..in adapter specific attributes..you can mention the file size you are sending...

Thanks,

Vijaya.

Former Member
0 Kudos

Hi,

You can UDF like in Message Mapping to get the file size.

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","SourceFileSize");

fileSize = conf.get(key);

You have to mention adapter specific attribute for file size in file adapter.

Kulwinder

Reward if Helpful

Former Member
0 Kudos

go to sxmb_moni and have a look at the payload and other pipe line steps.am sure you should see in one of the steps there.

thanks

kiran