Skip to Content

Dynamic file name with out mapping

Hello,

I am sending IDOC to file, the file also contains same structure of IDOC, so no mapping is required, I want to use dynamic file name with the field in IDOC.

file name should be FIELD1_DDMMYYHHMMSS.xml

Here I don't have mapping, so with variable substitution can I get the "date and time stamp" after field?

any idea? how to get this? or else I need to use mapping mandatory?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 21, 2015 at 11:09 AM

    Hi Khaja,

    AFAIK variable substitution only permits to use variables with values in the payload or in the message header. Therefore you can use a OS command to append your filename the timestamp.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 21, 2015 at 11:03 AM

    Hi Khaja,

    Please check variable substitution under below link:

    Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integration - SCN Wiki

    regards,

    Roberto.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.