cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the XML file size in the scenarios?

Former Member
0 Kudos

Hi All,

Recently i have attended an interview at a MNC.

They asked some realtime questions like

1.how to find the XML document size in a File-File scenario?

2.What is mass-assignment replication etc.....

Can anybody tell me the solution for these.

Best regards

Hari prasad

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hey

i guess it should be possible to know the File size by using Adapter specific mesage attributes.

have a look at Satish's reply in the following thread

https://forums.sdn.sap.com/click.jspa?searchID=4527705&messageID=3097583

Thanx

Aamir

henrique_pinto
Active Contributor
0 Kudos

Hey Aamir,

the file size ASMA for an input flat file will give you the file size of the flat file, not the size of the XML message.

Regards,

Henrique.

Answers (1)

Answers (1)

henrique_pinto
Active Contributor
0 Kudos

If the input is a flat file, there is no exact way to calculate the size of the generated XML file, since it depends on many factors (number of fields in the recordsets, size of the name of the fields, number of records, etc).

As a rule of thumb, generally ppl use XML file size = 2 x Flat file size, in order to do sizing calculations etc. But again, that is just an estimation, not a precise calculation.

Regards,

Henrique.