AS2 Sender Channel Dynamic Configuration

Hello All,
I have an AS2 to Proxy scenario.
For this I am using the following UDF and Modules in ESR and ID respectively :-
==========================================================================
UDF in ESR :-
public String AS2Name(Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration)
container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://seeburger.com/xi/AS2","dtSubject");
String ourSourceFileName = conf.get(key);
return  ourSourceFileName;
================================================================================
ID:
Module in AS2 Sender Channel :-
No.                Module Name                                                                  Type                                 Module Key
1     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     Plain2XML
2     localejbs/Seeburger/AttribMapper                          Local Enterprise Bean        AttribMapperEnterprise Bean
3     localejbs/CallSapAdapter                                                Local Enterprise Bean     exit
Module Key             Parameter Name                                            Parameter Value
AttribMapper          http://seeburger.com/xi/FileName                   @http://seeburger.com/xi/AS2/dtSubject
==============================================================================================
Could anyone please let me know asap if the above details will suffice the requirement?
Thanking you all in advance.
Neetish

Hi Aditya,
In the link its mentioned as
so, you can give any unique name. simple.
Hope this helps..
warm reg,
avinash M

Similar Messages

  • Configuration of AS2 sender channel

    Dear experts,
    I am getting lot of views like to read document /details/blogs ,though i could see few.
    I am not getting answers to doubts i am having.I am trying to configure sender channel.
    Scenario is : Partner sending a sale order file and i am going to decrypt using B2B addon AS2.
    Then decode information to create a purchase order on my system.
    What is my own AS2 name ?
    I conclude give anything i like.I do not get any F4 help either for same which means config doesnot happen in PO.
    I have no hint of what my AS2 name is.
    Expected Url:  I made my AS2 url public and gave this url
    Also I could generate CSR request but import CSR response gives an error.I beleive the file obtained has to be first made verisigned
    secure and then imported.Not sure about this too.Created private key and certificate.Is private key name called AS2 name?.But then will i tell same
    to my partner ?
    There is no end to end document for this.

    Hi Aditya,
    In the link its mentioned as
    so, you can give any unique name. simple.
    Hope this helps..
    warm reg,
    avinash M

  • Chain interfaces to set file name in sender channel dynamically

    Hi,
    I have a requirement to use the Seeburger SFTP adapter to import a file from an external server to an SAP ECC system.
    The adapter must be Seeburger as the protocol has to be SFTP, not FTPS as with the File adapter.
    Although I can set a wildcard selection, I really want to poll for specific filenames with predetermined naming criteria.
    The sender SFTP communication channel doesn't provide any options to specify dynamic attributes but I wonder if I can link several interfaces together, please can you confirm if the following process would work conceptually:
    1) SAP ECC program runs and determines the fixed filename that I wish to import (e.g. file_abc123.xml).
    2) SAP ECC program calls an outbound proxy with a mapping to set the relevant parameter in dynamic configuration ('http://seeburger.com/xi' is the namepsace, 'dtSubject' is the parameter name for the filename of the SFTP adapter).  Besides mapping I think the Seeburger attribute mapper module could also be used to set this value.
    3) The outbound proxy is configured on the receiver side to call an SFTP sender channel (with a dummy/blank payload as we're only calling the interface to allow settng of the filename to take place) which links to an inbound service interface on the SAP ECC receiver side. 
    I don't know whether chaining of service interfaces in this fashion (receiving interface also being a sender) is a viable approach or whether there are any alternatives.
    Thanks in advance,
    Alan

    Hi Alan,
    Are the specific file names that you are polling for going to be changing or will they be fixed?  Are each of the unique names going to be processed using the same interface?  If so then I would just create multiple SFTP sender channels that poll at different intervals but use the same mappings, etc.
    Regards,
    Ryan Crosby

  • Seeburger AS2 Sender : EOIO

    Hi All,
    Is it possible to achieve EOIO with Seeburger AS2 sender channel? I am not seeing any parameter for configuring the same (though it has EOIO mode for split mapping).
    The idea is to send all the messages received for a particular interface to be routed to a EOIO queue. Is this possible with AS2 sender channel?
    Regards
    Suraj

    Hi Prateek,
    >>SAP_AS2Adapter_en.pdf - Page 6 (in my version).
    I have checked seeburger manuals and found page six to be something different (may be different version document). From the document I found a particular section
    The following Qualities of Services are supported:
    u2022 Outbound (AS2 sends a message to an external partner)
    Best Effort
    Exactly Once
    Exactly Once in Order
    u2022 Inbound (AS2 adapter receives a message from external partner)
    Exactly Once
    This was in Section 2.5 under Overview. May be if you tell me the section I would try to read through it,
    I have tried your suggestion
    namespace: http://seeburger.com/xi/AS2
    parameter name "QoS" value "EOIO" and
    for name "QueueName" value "<your actual queue name>"
    but it didn't help. If I use with "write", there was no entry in MONI, and if I use it with "insert" the entries were created but it didn't go to the EOIO queue (as the SAP:QualityOfService is still ExactlyOnce in SoapHeader->ReliableMessaging)
    <SAP:Record namespace="http://seeburger.com/xi/AS2" name="QoS">EOIO</SAP:Record>
    <SAP:Record namespace="http://seeburger.com/xi/AS2" name="QueueName">INT014</SAP:Record>
    Anyway thanks for your inputs
    Regards
    Suraj

  • SOAP Sender Channel Failed to render XIMessage. Reason: java.io.IOException

    I am attemping to set up a sender channel using the SOAP adatper to process HTTP(S) posts containg a file that is being uploaded.
    The Sender channel is set up to use HTTPS With Client Authentication, and selected "Do Not Use SOAP Envelope" -- since the payload will not be SOAP.  I am simply trying to generate a message in PI from the HTTP post.
    I have posted the data but am getting the following error in the channel:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: Failed to render XIMessage. Reason: java.io.IOException: Missing mandatory element <sap:Main>sap:Receiver/sap:Service
    The trading partner I am workgin with only has the ability to use a generic POST (I believe he is usnig CURL or some some other tool the 'post' the data.

    Thank you for your reply.
    The solution I am seeking is not for XML payload. Its a flat-file that one of our trading partners is sending to us, both for flat files as well as EDI/X12 data.   I have the checkbox selected to not use the SOAP Envelope and am using the "nosoap=true" in the URL.
    This should be simple, as all we need to do is to pass the data as posted by the trading partner to a SFTP or FILE adapter on the receiver side.  Nothing more than we've already done using an AS2 Sender channel for, the trouble with in case case our trading partner does not support any encrypted transports except for HTTPS.
    -Gerry

  • Using dynamic configuration to modify parameter in sender channel?

    Hi,
    I would like to be able to set the filename in an SFTP sender communication channel (based upon a name determined at runtime, which is read from another file).
    My understanding is that parameters set in dynamic configuration can only be set as part of mapping therefore I cannot see how to set these before my sender communication channel is invoked.
    Please can someone confirm if there is a method of achieving this requirement.
    Thanks,
    Alan

    Hi,
    >>>My understanding is that parameters set in dynamic configuration can only be set as part of mapping therefore I cannot see how to set these before my sender communication channel is invoked.
    they can be set anywhere in the message flow - in adapter modules too for example
    >>>I would like to be able to set the filename in an SFTP sender communication channe
    you cannot set it before the adapter starts polling from anything else
    what you can do is to create a file -> java proxy (sftp) - anything flow
    read this another file first -> call SFTP from a java proxy in a sync way to fetch the second file using the name from the first one -> do anything else what you need
    you can also do the same with one adapter - axis (put the file fetching and sftp call inside one class)
    but it  requires some java knowledge - but it would work in one sender adapter in this case
    Regards,
    Michal Krawczyk

  • How to configure alerts for sender AS2 reports channel?

    Hi,
    We have configured sender AS2 reports channel to receive MDN back from our partner. Scenario is working fine and we are receiving MDN. How does "Enable alerts" option under Alerts Settings in Sender AS2  Reports channel work?
    I see following options, but dont know how to trigger an alert when we dont receive successful MDN back:
    Negative transmissionreport alert
    Negative delivery report alert
    Negative receipt report alert
    Has anyone trigger any kind of alrert and route them to an email for negative mdn?
    Regards,
    Riya Patil

    Hi Riya,
    I tried to use 'Enable alerts' option,but it didn't work.
    Please let me know if you get a success in this.
    Thanks.
    Regards,
    Shweta

  • SFTP to AS2(non-seeburger): How to get sender Filename to be used in AS2 Receiver Channel

    Hi Experts,
    I have this scenario,
    SFTP > Process Orchestration > AS2(non-seeburger)
    My interface is not using Message Mapping and I want to use the source Filename as my Receiver Filename.
    Sender
    orders_1234 - source filename
    Receiver
    orders_1234 - target filename
    How to do it in Process Orchestration without Seeburger.
    Thanks and Best Regards,
               Orlan

    Hi Orlan - So are you using SAP AS2 adapter?
    If you so i think you can make use of dynamic configuration bean.
    Unknown use case of DynamicConfigurationBean: Store file name to JMS header without mapping
    Enable adapter specific attributes in sender SFTP channel and in the receiver AS2 channel use the above module to swap the dynamic attributes.
    Dynamic attributes
    http://sap.com/xi/XI/System/SFTP ,FileName 
    http://sap.com/xi/XI/AS2/AS2:  AS2Filename

  • 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

  • AS2 sender communication channel

    Hi All,
    I have one As2 to proxy scenario, using AS2 sender adapter,PI will be receiving flat file from party and I am performing content conversion in sender As2 channel, there is no mapping involved, and PI is sending this data to SAP system via proxy using integrated configuration.
    I have used 2 parties, one sender and one receiver, used 2 business components corresponding to each and one SAP system BC.I have mentioned AS2 ids in both the parties, and did the header mapping for receiver in integrated configuration ->Outbound processing tab.
    Now when the file is pushed from AS2 server, there is no log in sender channel monitoring, means the file is not getting picked up from the AS2 server at all.
    Can anyone please provide inputs how can we debug this problem.
    Thanks,
    Ruchi

    Hi,
       If you are using Seeburger AS2 adapter, then:
    1. Check if the URL http://XXXXX:50000/SeeburgerAS2/AS2Server is up. It should show-"405 Method Not Allowed  "
    2. Check for AS2 messages in Seeburger workbench message-MessageIdStore Monitor
    Thanks
    Rajeev Gupta

  • Dynamic Configuration of Mail receiver Communication Channel

    Hi,
    like in /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping for http receiver CC, i am trying to do header customisation, with XHeaderName1 for mail header fields like content-type, content-disposition, but it doesn't works ...
    in my mapping i've added :
    > (...)
    > DynamicConfigurationKey cDisposition = DynamicConfigurationKey.create("http:/""/sap.com/xi/XI/System/Mail", "XHeaderName1");+
    > dynaConf.put(cDisposition, "attachment;filename=myFile.txt");
    in Communication Channel ASMA i've added variable header : XHeaderName1 --> Content-Disposition
    in monitoring i see that XHeaderName1 is filled with attachment;filename=myFile.txt
    but in the mail send like this, this configuration has no effect
    Someone can help me ?
    Edited by: MedAmine on Aug 19, 2009 3:20 PM

    Only one standard mail header field can be influenced: this is indeed "Content-Disposition".
    You have done halve way, the only thing you have missed is to set the additional parameter 'OMail.AddContentDisposition' to false within 'Advanced Mode'.
    Have a look at this WiKi:
    http://wiki.sdn.sap.com/wiki/display/ESOAInfrastructure/Dynamic+Email+Attachment+name+for+Received+Mails+with+ASMA+and+without+using+mail+package

  • 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

  • Java IDOC_AAE configuration issue in PI IDOC sender channel and in ECC SM58.

    Dear Experts,
    My configuration scenario is  outbound:   SAP (IDOC)-------->PI------->AS2 ThirdParty.
    SAP PI version: 7.31 dual stack.
    First time i have done IDOC_AAE settings done in ECC and PI NWA with the help of below links.
    http://scn.sap.com/docs/DOC-34155
    http://scn.sap.com/docs/DOC-31398
    While sending the DESADV.DELVRY05 standard idoc from ECC to PI i am getting below error in Sender IDoc channel.
    Could you please help me on this issue ,I will appriciate you .This is very urgent.
    Error in PI IDOC Sender channel : Processing error = Value with name ApplyCntlRecFromPayload not available
    and I are getting below error in SM58 ECC system.
    Error in  ECC SM58: Commit fault: ASJ.ejb.005043 (Failed in component:
    Thanks,
    Aadi

    Hi Aadi,
    Please check the below SAP notes
    1952406 - "Commit fault" error in SM58 transaction when sending IDOC from backend system to PI sender Java IDOC adapter
    1928302 - Possible NullPointerException with IDOC_AAE sender channels processing
    reference - Commit fault: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.ad) while sending to PI system
    also check the link - http://saphelp.me/commit-fault-asj-ejb-005043/
    regards,
    Harish

  • Dynamic configuration required in sender file - Adapter Module

    Hi Everybody,
    I am developing an Adapter Module in the file adapter (sender) using Adapter Specific Message Attributes.
    I am using Dynamic configuration inside the Module Process method in the adapter module.
    We are getting an error saying Dynamic Configuration cannot be resolved.
    Can anybody tell me the package to be used.
    Thanks,
    Zabiulla

    You can access the dynamic configuration in adapter module like this:
    Message msg = (Message) inputModuleData.getPrincipalData();
    String fileName = msg.getMessageProperty("http://sap.com/xi/XI/System/File", "FileName");
    You do not need any addition library besides the adapter module API.
    Hope that helps
    Stefan

  • Dynamic Configuration for two file adapters communication channels

    Hello Experts!!!!!!
         In one of the interface in my landscape, I am using two file adapters for creating two files with different names and at two different destination on F.T.P.
    However the receiver service for both the communication channel are same.
    In message mapping I am using multi mapping to create two files out a single message.
    Now i have a requirement of changing file path and file name using dynamic configuration for both the comm channel.
    When i doing dynamic coniguration for both the comm. channel. My interface is creating two files but with same name and on same destination which is set for second communication channel through dynamic configuration.
    Here, I guess the second dynamic configuration is over writing the first dynamic configuration and hence creating two files with same name and at same destination.    
    Please suggest, if separate dynamic configuration for separate communication channel of same receiver service can be done?
    Thanks & Regards,
    Amol

    Thanks for your prompt responses!!!!!
        Is there any way, By which in dynamic configuration I can find out the communication channel name and then change its parameter.
    I mean if iam using say comm. channel A and B.
    Then in dynamic configuration for A, I will first take communication channel A by calling it and then change its path/file name.
    and then do samething for comm. channel B in its dynamic conf.
    Regards,
    Amol

Maybe you are looking for

  • How to force refresh of data through browser or PDF?

    We have the dashboard set to refresh every minute.  We are pulling the data using XML from DB.  When we are in browser and clear the browser cache and then reload the .swf... the data is updated.  We haven't been able to figure out how to force the c

  • Read External List Field on Custom ECB action

    I tryed to show a Custom ECB action on an External List. The External List have a Field "LOGICAL_ID" with an IP address, but the GetAttributeFromItemTable works only with Standard List. How i read the External List Field and open some shell or browse

  • Connecting Korg Keyboard to Macbook Pro

    Hi there guys. I've recently bought a Macbook Pro and subsequently bought Logic Pro 9 with the intention of recording a variety of music. I may sound like a plonker - but would love to know what cable I would need to buy to connect my Korg X50 to the

  • Acrobat standard 9.0 error while enabling commets option using Java script object

    I'm using the below java script code in my VB 6.0 application for enabling commets options in the PDF file Dim oJSO As Object Set oJSO = mPDDoc.GetJSObject oJSO.Collab.showAnnotToolsWhenNoCollab = True It is working fine till Acrobat 8.0. Now I'm try

  • How to export entire pdf orginally created in Access to Word?

    I can "print" my Access report to Adobe and the resulting pdf looks great. But when I try to export that to a Word document, it only transfers the labels and fields with a single database column as content. It does not transfer fields with mixed text