cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter to avoid a field in messageTransformBean

Former Member
0 Kudos

Hi Experts,

It's a file to Proxy sceanrio. Sender is SFTP channel. I'm using messageTransfromBean for the content coversion.
I want to avoid/skip/ignore a particular field(which is having some junk/unicode character) from the input payload itself. I don't want to bring that field into PI.  Is there any parameter in messageTransformBean to do like this? Thanks in advance!


Regards,
Senthil J

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Senthil,

I dont know any parameter to do such thing. If you use ESR development you can skip the field there, i think it is the easiest way. You can do a script to delete that field in the file but it seems to complicated for me.

I re-edit because in this thread https://scn.sap.com/thread/2023214 you can find a workaround to file content conversion i dont know if it will work with messagetransformbean, you can try it.

Regards.

Message was edited by: Iñaki Vila

Former Member
0 Kudos

Hi, Senthil

Since it's a sender file scenario, you don't have many options. If the field to avoid is at the end of the record, use lastFieldsOptional parameter. In other case,  i think  the only workaroud is write an  adapter module code

Regards,

Carme