Skip to Content
avatar image
Former Member

Dynamic File Name generation

Hi Experts,

My requirement is, I need to post a file from BW server through Open hub destination where the filename must be incremented on each time they get posted.

(Eg: My FIle name is G70000. When they are posted at first, the file name will be G70000. Next time when the file gets posted the filename must be G70001.) so they must be incrementing on each posting.

Could you please suggest me some ways to solve this issue.

My settings are:

Physical Path is /IMS/DV8_080/VTIMS/OUT/DATA/<FILENAME>

Logical File Name Definition, Cross-Client

Physical file: G70000.csv

Regards,

Ganapathi.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 05, 2011 at 08:20 AM

    Hi,

    Create one table in PI Abap stack ,and store intial value.then perfrom look up to retrive the intial value and increment by 1 and store update value in abap table once again.

    then use dynamic configuration UDF to genarate file name .

    Regards,

    Raja Sekhar

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 05, 2011 at 09:04 AM

    /people/shabarish.vijayakumar/blog/2009/10/05/pixi-maintaining-sequence-numbers-in-file-name-scheme this might give u some ideas

    Add comment
    10|10000 characters needed characters exceeded