Skip to Content
avatar image
Former Member

File to PROXY

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 06, 2008 at 04:26 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Oct 06, 2008 at 05:03 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

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

      Regards

      Archanaa