Skip to Content
author's profile photo Former Member
Former Member

*****output File format

Hi all,

Instead of Time stamp in the out put file ,we require the out put file format as xyz_a.txt,xyz_b.txt.......

eg:file name sample.txt out put required is sample_a,sample_b,sample_c......

:

is it possible in Xi?

Thanks,

Srinivasa

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 07, 2009 at 08:53 AM

    Hi,

    Yes, you need to use variable substitution

    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6a316af5a23672e10000000a114a6b/frameset.htm

    Filename : sample_%var%.txt

    Keep the mode as Create

    The value of Var will be made a, b, or c in message mapping.

    also if you want to name the target file as the one which you have read you can make use of Dynamic configuration, as mentioned here (See adapter specific identifiers)

    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/69d7cfa4b633eae10000000a1553f6/content.htm

    Regards

    Suraj

    Edited by: S.R.Suraj on Oct 7, 2009 4:55 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2009 at 08:58 AM

    If the value a,b,c etc doesn't come in the output payload, then variable substitution won't work.

    YOu may consider Dynamic configuration in that case:

    /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

    Regards,

    Ravi

    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.