Dynamic Configuration is not called in End to end processing

Hi,
I am working on scenario Proxy to File. From the source side, they are sending the target file name in the proxy. So for that we are implementing the dynamic configuration.When the proxy is triggered from ECC, the dynamic conf is not called. I am not able to see the Dynamic configuration in SXMB_MONI. But when i send the same payload through RWB, i m able to see the Dynamic conf in SXMB_MIONI and the target file is getting generated.
Please suggest the solution for this.
Thanks,
Soumya.

Hi,
I feel the dynamic configuration should be accessed at the runtime and not generated.  We have had similar scenarios where we built the file name at runtime accessing the payload.
Try using the below UDF for a dummy field on target side and the field carrying file name on source side..
public String setDynamicFileName(String Key, String Value, Container container)throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
    u201Chttp://sap.com/xi/XI/System/Fileu201D,
    u201CFileNameu201D);
conf.put(key,value);
return("");
This should work as long as you are passing a value in source field.
Thanks
Amit

Similar Messages

  • Could not call batch from command line processing

    I am experiencing a strange scenario where I am able to run the FR report by scheduling a batch in HFM and that creates RecRecon successfully. I am trying to do this as a batch script by using the command line script ScheduleBatch.cmd <xml file> <server name> <user name> <pass word>.
    This fails to create the report and I see an error message as below
    "Problem encountered in 'EMERALD/Admin/RecReport01'
    Error executing query: The member user Point of view for Year doesn't exist in this application"
    Can any one of you help me recover this issue?

    answered by support

  • Dynamic configuration lost in BPM

    Hi,
    My scenario : File->BPM(with several transformation steps)->File.
    I would like to use the the dynamic configuration to have the sender Directory and FileName on the receiver side.
    The dynamic configuration segment in the SOAP Header is "lost" after the BPM.
    Do you know why?
    Thanks,
    Bela

    Hi Moorthy,
    "lost" => In the SXMB_MONI I can see the Dynamic Configuration segment in the SOAP Header before the message in transfered to the BPM. After the BPM the SOAP Header doesn't contain any Dynamic Configuration Segment.
    If there is no transformation step  executed inside the BPM the Dynamic Configuration is not lost.
    I'm asking myself if it is not related to the fact that the mappings  in the BPM are not executed on the same runtime, so the header is initilized again.
    Thanks,
    Bela

  • Issue in Dynamic configuration in SOAP receiver channel

    Hi All,
    My scenario is file to SOAP. At receiver side I want to generate URL dynamically.
    To proceed step by step, I started with passing a constant URL to Dynamic configuration UDF.
    mapping:
    Dynamic conf. UDF
    Channel Configuration:
    From testing, I found that channel always takes the url given in Target URL field and dynamic URL in TserverLocation is been ignored by the channel.
    That is dynamic configuration is not working completely.
    I went through a lot of blogs and also tried a lot of trial and error methods, but none helped. Every thing I configured looks perfect for me, but still not working. I don't understand where I went wrong. Please help me.

    Hi Experts,
    I am facing similar issue,
    URL --> UDF --> @dynamicvariable
    I have created a variable underparent node eg: DESADV-->dynamicvariable
    passed complete URL to UDF, below is the UDF
    & configured SOAP Receiver Channel as well. This is IDOC to IDOC scenario, using IDOC_AAE on sender side and SOAP on receiver in single stack.
    --> Checked ASMA
    --> Checked Variable Transport Binding and given "TServerLocation" without quotes in XHeaderName1
    --> Target URL: http://
    But when I am running this interface, nothing is coming in Dynamic configuration.
    Ref: Message Log:
    MM and OM is also perfect in ESR.
    Any suggestions? Please advice.
    Regards
    Singh

  • Dynamic Configuration for IDOC

    Hi,
    Whenever an IDOC is send from SAP R3 system to PI (SAP R3 -> SAP PI -> Target), we get an additional node of Dynamic Configuration under the SOAP Header in SXMB_MONI.
    Why is this happening? Does this happen for all the versions of SAP XI (PI)?
    This issue does not occur when the IDOC is send by SAP PI to SAP R3 system (Source --> SAP PI --> SAP R3)
    I am using SAP PI 7.1.1
    Thank you,
    Pankaj.

    Hi,
    Why this is an issue for you?
    I am trying to send IDOC from SAP System to PI system.
    Ideally there should be no DynamicConfiguration step under SOAP Header folder in SXMB_MONI (I tested a SOAP -> PI -> FILE and the Dynamic Configuration does not come); unless and until we make use of the ASMA properties (UDF/ Module). Is this understanding correct?
    For example, if I send an IDOC i get the below details in SXMB_MONI:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Response -->
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPOR">SAPPI</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRT">LS</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRN">SAPPISYSTEM</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPOR">SAPECC</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/Message/30" name="CALLER_CODEPAGE">4102</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRN">SAPECCSYSTEM</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="CIMTYP"/>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="IDOCTYP">Z_VALIDATION_ACK01</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="MESTYP">Z1VALIDATIONACK</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRT">LS</SAP:Record>
    </SAP:DynamicConfiguration>
    Is this behavior as expected?
    Thank you,
    Pankaj.

  • Dynamic configuration not fil in reused OM in NW BPM

    Hi,
    I'm having problem in operation mapping that i re-used in nw bpm.
    In my scenerio in the operation mapping, a UDF writes on "TServerLocation" and in the next step of BPM, i have receiver determination rule which read from "TServerLocation" variable.
    Below step calls OM which in PI.
    (UDF writes on TserverLocation)
    This next step, reads TserverLocation in receiver tab of Integration Conguration.
    Receiver rule
    So the problem is dynamic configuration doesn't write on TserverLocation or integration confiuration object removes in soap header somehow.
    This was a ccBPM integration and all esr objects, mapping,udfs working fine. No problem with that.
    I checked below blog but not get this work.
    Dynamic Configuration not working with Integrated Configuration
    Has anyone faced similar problem ?
    Thank you
    -Tahir

    HI,
    In general Correlation , concept, whatever we configured in Correlation editor , i mean in runtime which xml element should filled with which element of which interface ..as you said you have configured the local correlation to block, in block it is the first receive step, while receiving the first message which is relevent to first recieve step , i mean if it receives the one message which is related to first receive step inteface .. the respective element data will be filled in correlation id and it will assign on giud for processing , so while assign the runtime data to correlation element ( imean filling stage) check you said two elements in correlation does the first message contains these two elements ??
    if so ok , no then check , and try to use the IM before calling the IP to fill the payload.
    Regards
    Chilla
    Oh closed!!
    Message was edited by:
            Chandra Sekhar Chilla
    Message was edited by:
            Chandra Sekhar Chilla

  • Dynamic configuration not working in Java mapping

    Hi All,
    I have a scenario where i  am using java mapping. In this i am doing following
    1)Read file name from input message header
    2)set file name in output message Header
    3) set Directory name in output message Header
    i  have used following code .. but iit is not working... when i test end  to end...  in reciver communication channel it is failing stating " message failed as "Directory is not set in Header. Also i checked in SXMB_MONI  "dynamic configuration".It is not showing Directory.
    this is code.
    public void transform(TransformationInput transformationInput,TransformationOutput transformationOutput)
                   throws StreamTransformationException {
                   private Map para;
                   String Directory ;
                   String  inputFileName;
                   String var1 = "ABC";
                   para = transformationInput.getInputHeader().getAll();
                   DynamicConfiguration conf = (DynamicConfiguration) para
                             .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
                         inputFileName = conf.get(keyFileName1);
                   DynamicConfigurationKey keyFilename = DynamicConfigurationKey
                             .create("http://sap.com/xi/XI/System/File", "FileName");
                   DynamicConfigurationKey keyDirecory = DynamicConfigurationKey
                             .create("http://sap.com/xi/XI/System/File", "Directory");
                   Directory = "tmp/"+var1;
                   conf.put(keyFilename,inputFileName);
                   conf.put(keyDirecory, Directory);
    I am in PI 7.1 ,   and in eclipse its showing warning that Para is not used.
    Can anyone show some lights.
    Also is there any way to debug this?? like is there any function by which i can write the trace for each step to see those in MONI.

    Method name:   public void createDirectory(Resultlist result, Container container)throws StreamTransformationException
    //Use Simple UDF and do the following lines
    String Directory ;
    String  inputFileName;
    String var1 = "ABC";
    DynamicConfiguration conf = container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
      DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
      inputFileName = conf.get(keyFileName1);
    DynamicConfigurationKey keyFilename = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey keyDirecory = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "Directory");
    Directory = "tmp/"+var1;
    conf.put(keyFilename,inputFileName);
    conf.put(keyDirecory, Directory);
    and remove these 3 lines
    //private Map para;
    //para = transformationInput.getInputHeader().getAll();
    //DynamicConfiguration conf = (DynamicConfiguration) para.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION
    >>I am in PI 7.1 , and in eclipse its showing warning that Para is not used.Can anyone show some lights.
    You can simply remove declaring Map Para line... The eclipse gives warning because you dont assign values for it and you are trying to use...
    For using the same input file name in output side, you dont need coding ... you need only for the directory...
    Enable ASMA attributes in the channel.
    Edited by: Baskar Gopal on Feb 24, 2011 10:58 AM

  • BPM Correlation from Dynamic Configuration not being filled

    Hey guys,
    I'm having the following problem with BPM correlation.
    In my correlation definition, I have 2 fields: one which is filled with information from the message payload, and another one which is filled with a context object (which was created with adapter metadata and filled with dynamic configuration, as refered here: /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further).
    All instances of BPM are with error status. And when I go into the workflow log for these processes, if I check the correlation object, it is like this:
    <?xml version="1.0" encoding="utf-8" ?>
    <CorrelationKey Version="001">
    <Field1 />
    <Field2>123456789</Field2>
    </CorrelationKey>
    Field1 is the one read from context object, and is not being filled (thus I think the error comes from here). Field2 is from payload and is being normally filled.
    Any ideas on this matter?
    Maybe the problem is not from the correlation. If not, what else could be the case? The BPM crashes on the very first step (one more reason to think that the correlation is the issue).
    Thanks in advance,
    Henrique.

    HI,
    In general Correlation , concept, whatever we configured in Correlation editor , i mean in runtime which xml element should filled with which element of which interface ..as you said you have configured the local correlation to block, in block it is the first receive step, while receiving the first message which is relevent to first recieve step , i mean if it receives the one message which is related to first receive step inteface .. the respective element data will be filled in correlation id and it will assign on giud for processing , so while assign the runtime data to correlation element ( imean filling stage) check you said two elements in correlation does the first message contains these two elements ??
    if so ok , no then check , and try to use the IM before calling the IP to fill the payload.
    Regards
    Chilla
    Oh closed!!
    Message was edited by:
            Chandra Sekhar Chilla
    Message was edited by:
            Chandra Sekhar Chilla

  • ActionMethod in CommandLink is not called whenadding Components dynamically

    I want to create a customTable component in which paginator will be a sub tag.
    <custom:customTable value="#{testBean.data}" var="current1">
    <t:panelGrid binding="#{tableBean.paginator}"></t:panelGrid>
    <t:column>
              <h:outputText value="#{current1.name}"/>
    </t:column>
    <t:column>
              <h:outputText value="#{current1.id}"/>
    </t:column>
    </custom:customTable>
    In the encode method of custom renderer ,I am writing logic to render the paginator child component.
    In encode:
    List children = getChildren(uiComponent);
              for (int j = 0, size = getChildCount(uiComponent); j < size; j++) {
                   UIComponent child = (UIComponent) children.get(j);
                   if (child.isRendered()) {
                        boolean columnRendering = child instanceof HtmlPanelGrid;
                   if(columnRendering){
                        RendererUtils.renderChild(facesContext, child);     
    In <t:panelGrid binding="#{tableBean.paginator}"></t:panelGrid> ,getPaginator returns a PanelGrid which has dynamically created CommandLinks.CommandLink has action bind to a method in the managed bean.
    HtmlCommandLink htCommLink = (HtmlCommandLink) jsfUtil
                             .createComponent(HtmlCommandLink.COMPONENT_TYPE);
                   htCommLink.getAttributes().put(IISWebConstants.VALUE_ATTRIBUTE,
                             "A");
                   htCommLink.setAction(jsfUtil.createMethodBinding("#{tableBean.createData}"));
                   htCommLink.getAttributes()
                             .put(IISWebConstants.ON_CLICK, "submit()");                    
                        htCommLink.getAttributes().put(IISWebConstants.RENDERED,
                                  Boolean.TRUE);
                        htCommLink.getAttributes().put(IISWebConstants.STYLE_CLASS,
                                  "link");
    //hpg PanelGrid instance                                   hpg.getChildren().add(htCommLink);
    Problem:Paginator is rendering,Table is rendering but if I click on the commandLink ,action method is not calling.Can any body tell me how to resolve this issue

    i have found the reason!
    after click on this command link, a listener from a SelectOneMenu tag was invoked first. very interesting, but read further to know why!
    i didn't change anything in this input tag, but the problem is that the SelectOneMenu value was initalized with an empty string, but it's first SelectItem was initalized with SelectItem("x", ""). So there was an old value "" and a new value "x" and therefore it was invoked before the action method. this took me some hours to find that out.
    in this listener i made something like this at the end:
           UIViewRoot view = context.getApplication().getViewHandler().createView(context, viewPath);
           view.setViewId(viewPath);
           context.setViewRoot(view);
           context.renderResponse();so it's clear, why it didn't execute the action method.
    so as a global rule, check all your listeners (breakpoints!) when you have a similar problem!

  • Dynamic Configuration not working with Integrated Configuration

    Hi All,
    Dynamic Configuration works fine in PI 7.3 when Classical Configuration is used. However the same does not work using Integrated Configuration.
    Scenario :
    SOAP -->SOAP Synchronous scenario in PI 7.3 (Dual Stack).
    Trying to save a value from Request mapping using dynamic configuration and use the same in response mapping.
    UDF Code :
    Request Mapping :
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey Variable = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "Variable1");
    conf.put(Variable, a);
    Response Mapping :
    DynamicConfigurationKey Variable = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "Variable1" );
    string1 = conf.get(Variant);
    Note : Using Integrated Config(AAE Processing) - Response header does not have DynamicConfiguration header node , but Classical Configuration has that.
    Regards,
    Parimala
    Edited by: ParimalaE on Mar 1, 2012 1:33 PM

    For us this is what we had:
    This didn't work (getInputParameters is the newer stuff that doesn't work):
    DynamicConfiguration dc = (DynamicConfiguration)container.getInputParameters().getValue(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey dck = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","TServerLocation");
    dc.put(dck,"https://xyz.api-salesforce.com/services/Soap/c/26.0/0DFa00000008jis");
    return "";
    This works for us(we had to remove getInputParameters):
    DynamicConfiguration dc =  (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey dck = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","TServerLocation");
    dc.put(dck,"https://xyz.api-salesforce.com/services/Soap/c/26.0/00D3000000001X0");
    return "";

  • Dynamic Configuration of Mail-Sender does not work

    Hi,
    we use XI 3.0 SPS 19.
    In my szenario I have a mail sender and I have receiver determination with conditions depending on the mail subject.
    In the condition editor, I selected the context object "SHeaderSUBJECT" to build my condition.
    In the mail communication channel I turned on the Checkbox "adapter specific message attributes".
    But the condition doesn't work!!!
    I wrote a small UDF to get the dynamic configuration of my mail sender-message - but it's NULL.
    If I change my scenario from Mail-Sender to a file-sender, everything works fine (I can select the filename, etc.).
    Is there a problem with dynamic configuration of a mail sender?
    Thx all for your help!
    Regards
    Wolfgang Hummel

    Check also "Variable Transport Binding".
    You see in the SXMB_MONI whether the ASMA is available or not.
    Regards
    Stefan

  • Hi ... Suddenly I have this problem with my iPhone4 . Whenever I am dialling or receiving calls, I am not audible at the other end , but if I am putting phone on speaker then I am audible to other person .Not sure if any setting is changed or device issue

    Hi ... Suddenly I have this problem with my iPhone4 . Whenever I am dialling or receiving calls, I am not audible at the other end , but if I am putting phone on speaker then I am audible to other person .Not sure if any setting is changed or device issue. Please suggest or help.

    There's an Apple help page on the DNS problem - at http://support.apple.com/kb/TS3408
    The first thing to try is changing your DNS settings - and for that you need to open System Preferences, then the
    Network section.
    In Network - click  on Advanced - then the DNS tab
    under DNS servers - use the + button to enter two extra lines
    either these, from google dns
    8.8.8.8
    8.8.4.4
    or from OpenDNS
    208.67.222.222
    208.67.220.220
    then click OK & then 'Apply'
    You would need to do that seperately for the Cable (Ethernet) settings and Wireless (Airport)

  • I got "ApplicationAssociate ctor not called in same callstack as Configure"

    I got the following exception. Any clue? Thanks!
    javax.faces.FacesException: java.lang.IllegalStateException: ApplicationAssociate ctor not called in same callstack as ConfigureListener.contextInitialized()
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:336)
    Po-Ting

    I have the same problem. Please let me know if you have found out a solution already.
    Lubo

  • End To End Configuration

    Hi everybody,
    Can any one of you please provide me with some document/ Blog which describes the end to end configuration steps for various scenarios like simple XML to file scenario. I am aware of various teminologies but have never tried hands on a complete configuration.
    Thanks and best regards,
    Kulwant Singh

    Hi,
    Please find the links for various scenarios:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    /people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
    /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
    /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
    /people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
    /people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
    Regards,
    Nithiyanandam

  • Dynamic Configuration-File to File in scenario

    Hi Experts,
    As per the requirement needs to supress the numeric extensions of the files and transfer to the receiver.
    Example: file name is XXX123.txt , but after picking up by sender communication channel in XI that file needs to converts XXX.txt and transfer to the receiver. Finally in the receiver end the file name should be Mahesh.txt only.
    Please share the inputs how to do dynamic configuration in XI in File to File scenario.

    Hi,
    First you need to have a UDF as shown below. No need to put any arguments in the UDF.
    public String getFileName(Container container){
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    //get file name in string s
    String s = conf.get(key);
    //remove all numeric values
    int i,l;
    l=s.length();
    String a="";
    for(i=0;i<l;++i)
    if(s.charAt(i)>='0' && s.charAt(i)<='9')
    continue;
    a=a+s.charAt(i);
    s=a;
    conf.put(key, s);
    return s;
    Now you need to map this UDF to any root element or dummy element of the target XML structure.
    Ensure that
    1. Sender Comm Channel has ASMA and file name ticked
    2. Receiver Comm Channel  has ASMA and file name and "fail if ASMA missing" ticked
    3. in receiver communication channel -> File access parameters-> File name scheme -
    > put any value say "*". This step is not compulsory.
    Hope this solves your problem.
    regards
    Anupam

Maybe you are looking for