Dynamic Diretory Configuration

HI Experts,
I have one requirement that i have to sen the Orders data from R/3 to File using Idoc adapter but at receiver side i need to create 3 different directories under one business system i.e
IF E1ADHDR/E1STATE/E1PRTOB/ZGPSUB/BULO = '01'
THEN create file /GPS/OrderErrorReport/Outgoing/Footwear/
ELSE IF E1ADHDR/E1STATE/E1PRTOB/ZGPSUB/BULO = '02'
THEN create file /GPS/OrderErrorReport/Outgoing/Apparel/
ELSE IF E1ADHDR/E1STATE/E1PRTOB/ZGPSUB/BULO = '03'
THEN create file /OrderErrorReport/Outgoing/Accessories_and_Gear/
For this wht changes need to be done in Mapping level any Multimapping required ?
pls Suggest for this  to complete my work
Thanks
Shoukath

Hi,
This is determining the Receivers based on the Payload and placing the condition in Interface determination
For this
1) Create DT and MT for target as per your's
2) Create One O/b MI for sender and 3 Inbound MI's for receiver
3) Create 1 mapping and create 3 interface mappings
In ID
1) No need of sender channel
2) Create 3 receiver CC's by specifying the 3 different directories locations
3) Create 1 Receiver Det
4) Create 3 Interface mappings by placing the conditions
5) Create 3 receiver agreements
6) No Sender agreement
REgards
Seshagiri

Similar Messages

  • Dynamic filename configuration via custom EJB

    Hi Experts,
                        We are doing a poc on whether we can do the dynamic filename configuration,i.e. set the file name dynamically in a custom EJB deployed on the server and called in the sender comm. channel of any J2EE based adapter.
    The requirement is for some interfaces, there is no mapping requirement other then setting the filename dynamically, which maybe based on a certain value of the input file or a specific portion of string in the payload.
    The custom EJB takes the namespace and attribute as input parameters along with other string manupulation parameters to determine the receiver file name. That is if we are using sender JMS adapter, we can have namespace = http://sap.com/xi/XI/System/JMS and attribute as DCJMSMessageProperty1. The bean would read the value and perform the manipulation based on certain other input parameters and set the file.
    There is one particular bean : AF_Modules/DynamicConfigurationBean but it does not allow us to manipulate the filename.
    Any help would be much appreciated.
    Regards,
    Shiladitya

    Hi,
    please refer to the following links for your reference
    Re: Reading Dynamic Configuration information in side adapter module.
    Re: Dynamic Filename in File adapter
    Regards,
    Bhanu

  • SOAP Receiver : Dynamic URL configuration vs. TAuthKey capability

    Hello all,
    I plan to use dynamic URL configuration of web service URL in SOAP Receiver CC. I got an idea, which is more or less described on SDN already. But one thing bothers me a lot.
    In my scenario we talk about 10 and more WebServices' URLs to be called dynamically. The WS call will include also authorization username:passwd and it is expectable, that each WS will have different uname:passwd definition to be authorized with.
    I made a capability analysis of SOAP Receiver CC - tab Advanced - Authetication keys and there are prepared only 10 possibilities to define password for authentication key (which I'll handle to CC via TAuthKey parameter).
    In the help page http://help.sap.com/saphelp_nw04s/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm there is a note regarding authentication key:
    If authentication is required for the receiver system, you can enter a password with confirmation for each key value. This means that you do not need to write passwords in the enhanced message header.
    So in other words there should be a way, how to send to CC even the password with other adapter-specific message attributes. (or maybe I miss the meaning of this comment, like the other way is to develope own module for CC and process additional attribs from enhanced message header)
    Does anyone have some experience with handling the authentication data in "enhanced message header" ?
    Thanx for you info in advance.
    Regards
    Tom

    Hi all,
    I got an idea that the solution could be to use "Enhanced receiver determination" and use a set of Services-CommChannels with special naming convention. With this (little bit complicated) scenarion I'll get a possibility to define more then one SOAP Receiver CC => I'll get more than 10 options to store the logon password.
    What do you think ?
    Points for ideas guaranteed.
    Tom

  • WLC DHCP Settings - Under Dynamic Interface configuration

    Hi Guys,
    If I have a dynamic interface that is connected to a subnet where the router interfaces have DHCP servers configured under the helper address commands, do I need to configure the DHCP fields under the dynamic interface configuration?
    I have helper address configured on the connected routers AND these fields configured with the same DHCP servers.
    Just wondering if I can take the IPs out of the WLC configuration?
    Many thx indeed,
    Ken

    Ken, the DHCP address under the dynamic interface, is the address the WLC will unicast the DHCP request to when a client tries to use that interface. Under normal operation this address is needed. There is a way to get the WLC to bridge the packet to the wire so that it is a broadcast instead of a unicast packet. CLI command is config dhcp proxy disable.
    But I do believe that even if you issue the CLI command, the software wants the DHCP address listed under the dynamic interface.
    HTH,
    Steve

  • Dynamic Converter Configuration page

    Where can i find " Dynamic Converter Configuration page"

    http://www.[yourdomain].com/web/idcplg?IdcService=GET_DC_CONFIG
    Found under Administration -> Dynamic Converter Admin -> Configuration Settings

  • WRVS4400N - Multiple Dynamic VPN Configurations?

    Hello,
    I am wondering if anyone knows whether or not the WRVS4400N supports more than one dynamic VPN configuration?
    I am trying to get the WRVS4400N to let more than one TheGreenBow client to connect to it.....
    Thank you,
    A Read

    Yes, you can configure multiple dynamic-to-static l2l on ASA. But for multiple connections using ezvpn will be much easier. Following links may help you
    http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a00805733df.shtml

  • Dynamic port configured for FILE adapter is not working

    Hi,
    I have a simple dynamic port in an orchestration that writes a file to a file location. Here is the configuration
    ================
    FilePort(Microsoft.XLANGs.BaseTypes.Address) = "FILE://c:\\TestFolder\\Out";
    FilePort(Microsoft.XLANGs.BaseTypes.TransportType) = "FILE";
    ================
    When I run this orchestration, the dynamic port does not write the file to the folder, however I does not show any error either. It is always in "Ready to Run" state where the message is "Queued Awaiting".
    I tried all sorts of combinations like FILE:// FILE:\\ File: file:// file:\\ etc... and also without the moniker, just c:\.... I get the same problem.
    when I use a static port(subscribed to the same message) it works fine. When I use a static port ALONGWITH this dynamic port then both works fine !!! I receive 2 files.
    but when I use only dynamic port it does not work!!
    Anybody knows how to solve it.
    THANKS IN AVANCE
    PLEASE HELP
    Surya

    It could be becasue you 're not passing in the file name, Try something like this..
    SndPort_Dynamic(Microsoft.XLANGs.BaseTypes.Address)=@"file://C:\Test\Try\Out\Test1.xml";
    But even when you don't pass the file name, i was expecting the erro to be like:
    The FILE send adapter cannot open file C:\TestFolder\Out\ for writing.
    Details: The system cannot find the path specified.
    But try with File Name and restart the host instance after the change.
    Or use somehting like this:
    FilePort(Microsoft.XLANGs.BaseTypes.Address)=@"file://C:\Test\Try\Out\\%MessageID%.xml";
    FilePort(Microsoft.XLANGs.BaseTypes.TransportType) = "File";
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

  • Dynamic alert configuration to include filename in alert category

    Hi Experts,
                           We have a requirement in one of our scenarios (File to Idoc) to generate Alerts for errors in IE and send mail to excepted recipient with the error description. The mail body in this case should contain the sender filename for which the error occurred.
    We are able to trigger mail with in case of error, but not able to include the sender filename or anysuch dynamic value in the mail body other than the standard alert variables provided by XI.
    Can we define our own container variables that can be populated at runtime (eg. message mapping) with the required information and then use this variable in the alert rule and if so how.
    Any help on this would be much appreciated.
    Regards,
    Shiladitya

    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1654537350DB01108978670417223937End?blog=/pub/wlg/1382
    refer that
    you can use the dynamic configuration to get the file name, populate it as part of the payload and then use the above blog to help u further

  • Dynamic URL Configuration using variable range - WAD

    Hi,
    I am trying to configure a URL dynamically using variable range values. There are two variables which I pass to the URL, Sales Document Number and Posting Date. Sales Document Number has a single value and Posting Date is a range variable. The single value for sales document is passed to the URL but the date range is not passed and hence the web template gets the blank value for the date and shows the variable screen as this is mandatory. The URL is as follows.
    CONCATENATE
    l_web_protocol
    l_portal_server
    Initial URL
    '/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE='
    l_web_template
    '&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE'
    '&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING'
    '&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='
    l_var_value  "variable value
    '&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE='
    l_var_name   "Variable for info object
    '&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR=INTERVAL_SELECTION'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_LOW_MEMBER-ATTRIBUTE_MEMBER_SELECTION-
    INFO_OBJECT=0PSTNG_DATE'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_LOW_MEMBER=MEMBERS_EXIT'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_LOW_MEMBER-MEMBERS_EXIT='
    l_range_var_name  "Customer Exit Variable
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_LOW_MEMBER-MEMBER_NAME='
    l_range-low     "Variable Value - Low
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_HIGH_MEMBER-ATTRIBUTE_MEMBER_SELECTION- INFO_OBJECT=0PSTNG_DATE'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_HIGH_MEMBER=MEMBERS_EXIT'
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_HIGH_MEMBER-MEMBERS_EXIT='
    l_range_var_name     "Customer Exit Variable
    '&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-INTERVAL_SELECTION-INTERVAL_SELECTION_HIGH_MEMBER-MEMBER_NAME='
    l_range-high      "Variable Value - High
    '&BI_COMMAND_2-RANGE_SELECTION_SIGN=INCLUDING'
    '&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST=DP_TAB'      "Tab in the Web Template
    into  l_url.
    Can someone tell me asto what's going wrong with this URL? I passed single value for Posting Date and it worked fine.
    Thanks and Regards,
    Arya

    Thanks for the reply. However I did not understand couple of things. Should I try the URL like below?
    BI_COMMAND=&
    BI_COMMAND-TARGET_DIALOG_REF=l_var_name&
    BI_COMMAND-BI_ADVANCED=DLG_VARIABLE_vsc_DropdownVariants& "Which value to be passed?
    BI_COMMAND-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&  "Which value to be passed?
    BI_COMMAND-PASSIVE_ID=DLG_VARIABLE_vsc_DropdownVariants_combobox& "Which value to be passed?
    BI_COMMAND-PASSIVE_VALUE=l_var_value&
    BI_COMMAND_1=&
    BI_COMMAND_1-TARGET_DIALOG_REF=l_range_var_name&
    BI_COMMAND_1-BI_ADVANCED=DLG_VARIABLE_vsc_CommonVariablesList_VAR_1_VARINPUT& "Which value to be passed?
    BI_COMMAND_1-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&
    BI_COMMAND_1-PASSIVE_ID=DLG_VARIABLE_vsc_CommonVariablesList_VAR_1_VARINPUT_inp& "Which value to be passed?
    BI_COMMAND_1-PASSIVE_VALUE=l_range_low-l_range_high&
    BI_COMMAND_2=&
    BI_COMMAND_2-TARGET_DIALOG_REF=l_range_var_name&
    BI_COMMAND_2-BI_COMMAND_TYPE=OK
    Thanks and Regars,
    Arya

  • Set/change dynamic header configuration from ABAP Proxies

    This question is with reference to Async ABAP Proxies.
    Is it possible to set or change dynamic configuration header of an outbound (client) proxy, from within an inbound (server) proxy ? If it is, how do I do it?
    Can someone please advise?
    Thanks,
    Badari

    I am sorry to have to say, that this is not possible.
    Regards
    Stefan

  • How to change destination table dynamically in configuration file in ssis?

    hello,
            i have a package i am having one data flow task.in data flow task i have one source and one destination.source and destination are different.i have created xml configuration file by configuring source and destination connection
    strings.
    now i want to change destination in the same server to different database with out opening the package.i want to directly change in the config file.we can change it by modifying configured value proerty and intial catalogue value.but if the table is not
    existed in the changed database.how we can create it dynamically.

    HI jiri Neoral,
                       thanks for reply,as you said above process by this we can do change only databasename.if in my destination database,the table which i used in package is not existed,can we create it dynamically
    using config file.later changing table name is possible?
    For that you need to have a step in SSIS package prior to data flow task to check if table exists and if not create it
    You can use  execute sql task with query like below
    IF OBJECT_ID('TableName') IS NULL
    CREATE TABLE TableName
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Mapping Exception during Dynamic file configuration

    Hello,
    I have to configure the file adapter such that the file name is configured dynamically.
    I wrote a UDF which gives the following error.
    <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_GSFt_AccountReconciliation_Format_: RuntimeException in Message-Mapping transformatio</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The code is :
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http//sap.com/xi/XI/System/File","FileName");
    String FileName  = conf.get(key);
    String newFN = FileName.substring (11,15) ;
    String FN = "<abc>+  newFN +  "_"  +    ".dat";
    conf.put(key,FN);
    return FN;
    Am I missing something here?
    I have also specified the variable substitution in Receiver Channel.
    Kindly help me out ppl.
    Regards,
    Sanjay

    Modify code as below...
    String FN="";
    try{
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http//sap.com/xi/XI/System/File","FileName");
    String FileName = conf.get(key);
    if(FileName != null && FileName !=""){
    String newFN = FileName.substring (11,15) ;  //make sure u do substring rite way... index 10 is 11th char of the string
    FN = "<abc>+ newFN + "_" + ".dat";
    conf.put(key,FN);
    }catch{
    return FN;

  • AirPort Express dynamic DNS configuration

    Hi,
    I just bought a 2nd gen AirPort Express and completed the setup successfully. Then I saw the option to configure a Dynamic Global Hostname, I assumed its for a DNS. But I can only complete username, password and host name. is that enough? I mean, does the AirPort automatically locates the provider? I want to use noip.com.
    Thank you very much.

    thank you.
    The only thing, the instructions in that post are for Mac, very close to the real deal for iOS 8, here are the corrections, I forgot to say that these configurations are unavailable in the AirPort Utility for PC.
    1. Open the AirPort Utility on iOS 8
    2. Click on your AirPort Device, then click "Edit".
    3. Select the "Internet Connection" tab.
    4. Now in the "Domain Name" section type "no-ip.ddns"
    5. Now click "Done" and go back and go to "Advanced" and then "Dynamic Global Hostname"
    6. Enable the sitch for "Global Hostname"
    7. In the "Hostname" section fill it with "yourhostname.ddns.net" or it could be "yourhostname.no-ip.com" or whatever other hostname No-IP.com may have assigned you.
    8. In the "User" & "Password" sections fill it with the username and password that you chose when creating your "No-IP.com" account.
    9. Now click "Done" until you see "Update" which will save the settings.
    Now, the only thing remaining is how to setup over WAN as I checked "Allow setup over WAN" in the AirPort Utility.....

  • JDBC dynamic receiver configuration

    hi experts,
    i have about 20 datasources (databases). all of them use the same XI scenario. it means that on all databases the same work is done.
    now there is a problem, i dont want to create 20 jdbc receiver channels for each database to handle my scenario,
    is there a way to configure the jdbc receiver dynamically?
    if yes, any how-to would really help me.
    thanks in advance
    chris

    Database connection paramter is the mandatory for CC channel creating an is dependent on each CC creation.
    So going with the standard would be easy and your question is more valid sending same structure to different DB.
    But no option  as u wished.
    Developing Adapter Module would be quite challening but Database ip should be produced from the Outbound Interface r any value mapping has to happen based upon some validation from Outbound Interface.
    But doing all work around depends on u r interest an need intstead go for CC creation
    SAP has give so i guess it would be very narrow in monitoring the CC individually in poiting out the error specific
    regards
    srini

  • Comcast dynamic DNS configuration

    I'm really inexperienced with this stuff, and I just got a letter from Comcast saying that I need to configure "my PC for dynamic DNS communication".
    I have Airport extreme directly connected to my Comcast modem, and one iMac is served wirelessly and the other wired to the Airport Express station.
    What do I need to do? Anybody? Everything seems to work here now and I hate to mess it up, but they keep sending me dire warnings!....
    edavid

    As per Frank i checked my settings...

Maybe you are looking for

  • Interface options to allow user to download attachments

    I am adding the capability to my web-based e-mail application to aloow users to get their attachments when the read their messages. I can find the attachments fine, I can save them to the local filesystem fine, I can also store them in my database (m

  • Work flow for Idoc

    Hi Experts,       I want to create a workflow for my program which reads data from flatfile and validates if the data is correct or wrong. I want to send an email by workflow when ever the data has error.      Can you please tell me the steps to crea

  • MRP list: collective requirements (MD06) in the background mode

    Hi Friends, We have requirement to run MRP list: collective requirements (MD06) in the background mode per MRP controller. Is there any way we can run MD06 in the background? Appreciate your response. Thanks, Srinivas

  • The text on my iMac, MacBook Pro and iPad are light grey and difficult to read

    I have the latest upgrades of OS X Yosemite 10.10.3 on my iMac, MacBook Pro and iPad Air 2. To my dismay, the text on all three computers is light grey and difficult to read. I tried to increase the contrast and also reduce the transparency, but to n

  • It´s possible init DataSource 0UC_INSTFACTS whitout data ?

    Hi Gurus ! At this moment I migrated old version (3.x) from DataSource 0UC_INSTFACTS to RSDS BW 7.4 HANA version, but unfortunately I identified a issue impact in initialization method of them. SAP have a workaround process to initiate this Datasourc