Skip to Content
avatar image
Former Member

Issue With The Character '#' in File- IDoc to File Scenario in SAP PI

Hi All,

I have an IDoc- File scenario.

Our sender is an SRM system and receiver is SFTP server.

In the Item level segment ,there is a description field of 30 characters in which for the last position we are getting the character '#' from SRM.

But when we see the payload in moni PI we dont find the charater '#'.

Also the file  is generated with no '#' character and the fileds after the description filed are displayed in next line.

This issue is working fine in DEV and SIT but its failing in PRD.

Please find the below screenshots.

DEV:SRM IDoc Item Segment

PI Moni Payload:

File Generated in SFTP:

PRD:SRM IDoc Segment

  

PI Moni Payload:

File Generated in SFTP:

Kindly help me on the above isue.

Regards,

Sri.

Capture5.JPG (24.2 kB)
Capture3.JPG (29.4 kB)
Capture4.JPG (25.1 kB)
Capture3.JPG (26.7 kB)
Capture1.JPG (30.9 kB)
Capture2.JPG (28.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Feb 05, 2015 at 06:21 AM

    Hi Reddy

    Are there any differences for SM59 RFC configurations between DEV and PRD?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 05, 2015 at 10:24 AM

    Hi Sri,

    Can you able to see the '#' at the end of DESCR field in production IDoc from SRMS?

    I didnt see in your screen shot.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 06, 2015 at 07:12 AM

    Hi Sri,

    I think you are modifying your payload in the mapping. You are generating a file with all characters in UPPERCASE and later the characters are with the first in uppercase and the rest in lowercase. I think in that transformation, inside the mapping, you are using a java function which omits the # character.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 06, 2015 at 07:34 AM

    Hi Sri,

    Is your PI moni load from before mapping pipeline or after mapping pipeline?

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sri Reddy,

      May be there is new line character before #, so when it reach to PI the last character # is dropped because including new line character the length is 30 characters i think(because windows CRLF in linux LF only), that is why in the file also after the description field all the fields are displaying in a new line.

      Regards,

      Praveen.