Skip to Content
avatar image
Former Member

Idoc to file (channels to b selseted depending on a field-value in idoc)

Hi ,

I have a scenario (IDOC to FILE) where i need to send the file to different directory depending on the value in input idoc using same Message mapping.so i need different communication channels having different target paths but i need help in acheiving this.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Sep 25, 2008 at 12:08 PM

    Hi,

    You can use varible sustitution in your File Adapter. You set your folder from a specific field of your message.

    See this link, variable sustituion section:

    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

    Carlos

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 12:14 PM

    HI Satish,

    In the Receiver determination you can find the condition under the Configured Receivers.

    Here you can add the condition based on the value of the Idoc and give the receiver communicaiton channel based on condition.

    Based on the condition values it selects correct Receiver communication channel and places int he particular folder which is mention in the communication channel.

    Regards

    Sridhar Goli

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 12:15 PM

    Hey,

    you can create more then one business service and you can provide condition in your receiver determination based on which select the target business service.

    regards,

    Milan

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 25, 2008 at 12:52 PM

    There are 2 cases:

    1. If u want to send the same file to all the receivers, then u may use conditions in receiver determination as mentoined above.

    2. If u want files with different data based on various input, then u will have to use multi-mapping in the message mapping, and use enhanced interface determination.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded