cancel
Showing results for 
Search instead for 
Did you mean: 

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

sri_reddy10
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (4)

Answers (4)

xinjiang_li
Active Participant
0 Kudos

Hi Sri,

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

sri_reddy10
Explorer
0 Kudos

Hi Xinjang,

The PI moni payload is before mapping pipeline.

Regards,

Sri.


former_member182412
Active Contributor
0 Kudos

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.

iaki_vila
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

sri_reddy10
Explorer
0 Kudos

Hi Santhi,

Yes there is  character ' #' at the end  in the IDoc from SRM.

Regards,

Sri.

xinjiang_li
Active Participant
0 Kudos

Hi Reddy

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

sri_reddy10
Explorer
0 Kudos

Hi Xinjiang li,

I don't see any differences for sm59 RFC in Dev and PRD.

Regards,

Sri.

xinjiang_li
Active Participant
0 Kudos

Hi Sri,

Have you tried refreshing the idoc metedata in IDX2?