cancel
Showing results for 
Search instead for 
Did you mean: 

File to PROXY

Former Member
0 Kudos

Hi all,

Im handling a file to proxy scenario. In FCC, im reading record by record and splitting it into structures in ABAP mapping class.

The issue is when i have spaces at the beginning of the record its getting truncated in the mapping class.

In SXMB_MONI,under view source im able to see the spaces but inside the class when its parsing the spaces are missing.

I need these spaces to be passed on to Proxy.

Please help me with this issue.

Regards

Archanaa

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check in Proxy if the data type declared is compatible with XI data type.

Debug the proxy and see where this truncation is happening.

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

The truncating of spaces is happening in ABAP mapping class itself, so the spaces are not captured at this instance itself.

Regards

Archanaa

former_member240483
Contributor
0 Kudos

Check in the sender file adapter payload whether u can see that spaces...if not then u have to work at CC level.

normally in the class if u reading as string then it shows the spaces...

Regards

PT

Former Member
0 Kudos

Hi,

In the payload when i do view source im able to see but while debugging my ABAP mapping class the spaces are not captured.

Regards

Archanaa

Former Member
0 Kudos

Hi,

Check in XI, if you have decalred all the fields in you structure as String.

If possible give one example of space truncation. Is it happenig only for the space which is in the begining of string or from somewhere also?

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

In XI i have declared type as string only.

My message type has a structure like:

Documentname

data

row

So data is the recordset with filed row while collects the whole record as a string.

Regards

Archanaa