Skip to Content
avatar image
Former Member

problem in file content conversion

hi experts,

My requirment is that I am to place a file to different ftp location based on the file name.

how to achieve this in configuration as in my interface there is no transformation so IR part is there.

Please help me out

Thanks

Jaideep

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 14, 2009 at 04:19 AM

    Hi

    Hope u r file strcuture would be same even though u have different name and placed in different folder.

    If so ---> IR --> One IM_Out - MM1 - IM_in

    If each filename has different structure then u have different IM_out2 -- MM2-- IM_in2

    Moreover u need to configure differfent FTP Adapter as the path for folder is different, and this sender has to in-coroperate differrnt file content conversion

    any more queries??

    rgds

    srini

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 14, 2009 at 05:19 AM

    Hi,

    Take one extra field in Target Structure and load the file name in that and in receiver determination use context routing.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 14, 2009 at 05:53 AM

    Hi,

    here I have assumed that u dont get the file name in the message payload.In the sender File adapter

    File Name: *.xml

    set the adapter specific message attributes---check this

    if the parameter FileName under this is checked the source File Name will be present in the header of the XI message .this name can then be acessed by a code written in the function and the value can be used according to the requirement(in ur case for determining the receivers).

    You can use an enhanced receiver determination to have a mapping program determine the receivers of the message dynamically at runtime.

    Detail description is given in this link:Link:[http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm]

    let me know to help u write the UDF.

    thanks and Regards,

    Kubra Fatima

    Add comment
    10|10000 characters needed characters exceeded