Skip to Content

Remove date from Filename

Hi SCN ppl,

The requirement is to remove date from filename and send it to target .Filename is

abc_date.csv and need to send abc.csv to target.

I read few blogs on this and I think we need to create dummy objects(as it is a pass through) in ESR and create UDF and map to root node at target.

Are there any other ways to achieve ??...

Kindly give your valuable suggestions

Thanks

SARIKA

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 21, 2017 at 02:15 AM

    Hi,

    You need to use Java mapping for this.

    Simply create one DT with any structure you wish as this will not be used for mapping. In the OM, take the Outbound and Inbound SI and in MM use Java Mapping.

    Java mapping will be very simple. Just take input data through inputStream and out same data as it is using outputSteream as you don't want to do any modification in the data. In between set Dynamic Configuration as you have done in the UDF.

    Try it in your interface. Let me know if you need help in Java Mapping.

    Thanks,

    Apu

    Add comment
    10|10000 characters needed characters exceeded

  • May 19, 2017 at 02:00 PM

    Hi Sarika!

    Dummy objects are usually created in ID and no ESR objects are created if we really mean "pass-through".

    If you want to use UDF in message mapping you should create ESR objects according to your scenario.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded