IDOC to AS2

Hi,
My senario is IDOC to AS2 ( Fixed lenghth Flat file)
I am doing the Scenarios as IDOCto Flat file Then Flat file(.txt) to As2 as MainDocument.
Weather AS2 accepts the Flatfile(.txt) file.
How to proceed the Scenario....
Thanks

is there any specific requirement for u to use AS2 adapter? mostly seeburger pack is used for B2B scenarios?
is ur business requireement is B2B?
U need to develop mapping program with BIC mapping tool which is seebuger provided which will conver XML to file and u need to deploye that program on XI server and call that in module tab of AS2 adapter.
chirag

Similar Messages

  • IDoc to AS2 scenario connection issue

    Hi Experts,
    IDoc to AS2 scenario.
    i am geeting below connection  error  while sending data from PI to Third Party Partner.Please help me on this issue i will appriciate you .
    MP: exception caught with cause javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: java.net.SocketException: Connection reset # , SEEBURGER AS2: java.net.SocketException: Connection reset #
    Thanks,
    Aadi

    Hi Srini,
    Thanks for your reply.
    after changing the timeout also i am getting same error
    Delivering the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: java.net.SocketException: Connection reset # , SEEBURGER AS2: java.net.SocketException: Connection reset # .
    Please help me on this issue.

  • Error is Receiver AS2 adaptor used for Idoc to AS2 scenario

    Hello Experts,
       I am doing Idoc to AS2 B2B scenario where I am getting below error message in runtime workbench comm channel monitoring.
    Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..
    Sending failed.
    Error type: COMPONENT_ERROR,NOT_TRANSMITTED >> Error date: 10/16/09 9:06 AM >> Description: AS2 Adapter failure Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.. com.seeburger.as2.AS2Plugin.execute(AS2Plugin.java:321)
    AS2 Adapter failure
    Processing task
    Sending called. 
    Message processing started
    Basis has already configured the AS2 Server with Certificates and provided me the below details for receiver agreement and those are put in Receiver agreement.
    AS2 sender Configuration:
    Authentication certificate à TRUSTEDAS2certAS2_datapool
    AS2 Receiver Configuration:
    Decryption Key à TRUSTEDAS2certXXXenterprise2008
    Signing Key à TRUSTEDAS2certXXXenterprise2008
    XXX is my receiver partner
    For the Receiver party XXX I have maintained the Identifier as given below
    *Agency----
    Scheme-------Name*
    http://sap.com/xi/XI--XIParty--
    XXX
    Seeburger----
    AS2ID----
    XXX_AS2ID
    There is no need for sender agreement for Sender IDoc but still I tried to created R3 as sender party and R3 Business system, used it for the scenario and created sender agreement for sender Idoc but received same error message in Runtime workbench.
    R2 system sender party is also set with identifier with AS2 ID.
    MDN mode is set to no MDN in the receiver AS2 communication channel.
    Please suggest me if something is missing or wrong in the configuration.
    Thanks in advance.
    Vinit

    Hi Larry,
       The solution was very simple.
    It was problem with the basic understanding of system and configuration.
    Idoc is send sent by R3 ERP system and target is Partner Party. As ERP system is Business system and not the party w.r.t XI/PI terminology, we are not supposed to use Sender party as Sender ERP system but just use Business system as sender without any sender party. So in this way PI system could recognize that the data is coming from R3 system which is nothing but PI Business system.
    Now question comes where to user the Serder Party which was defined with AS2 ID? So answer is in the receiver determination we have to mention the Sender party and sender service in the header mapping part (Also mention receiver party and service).    
    So in my case problem was with sernder party. I mentioned sender party in all receiver determination, Interface determination, Sender Agreement and receiver agreement where only sender service ie sender system was required. And as I configured my scenario without sender party it worked because PI could recognize the sender R3 system and AS2 ID was recognized form the Header mapping of Receiver Agreement.
    Kindly let me know if it works and if you require snap shots of my configuration then I can send you the same.
    Regards,
    Vinit

  • Send Idoc to AS2 System via HTTP using XI

    Hi,
    We need to send Invoice Idocs as XML files from SAP R/3 system to external AS2 system using XI. The communication will happen over HTTP using certificate. I tried using Plain HTTP adapter , but the message went into error 'ATTRIBUTE_CLIENT'. Why this error ?
    I came across some blogs saying about Seeburger AS2 adapter , but is this the only possible way ?
    Kindly guide.
    Thanks.
    Tushar

    Yes , AS2 adapter is the solution for it.
    Refer all the below threads for AS2 information and configuration which need to do for B2B integration:
    SEEBURGER EDI adapter
    Re: Pls.. Help Needed.. Seeburger Mapping Names..!!
    Re: Seeburger AS2 adapter...
    Re: AS2 Module tab.. Mapping Names for modified Standard Msg types ? ? BIC ??
    AS2 adpater-- Configuration details for both SND and RCV.
    AS2 Sender Adapter -- Need few details.

  • AS2- How to display Idoc number in ACK MDN

    Hi ,
    I have an requirement where I have to send the Idoc number in MDN which is sent as an acknowledgement after AS2 system has received an INVOIC Idoc .
    Scenario is like below:
    Part I: R/3(Invoic idoc)>PI>(Idoc xml)AS2 
    R/3 system will send an Idoc to PI. PI will do the mapping and sent to AS2 system with the Idoc number in AS2 subject. This is done by an udf. Part I is working fine. 
    Part II: AS2(MDN)>PI>R/3(ALEAUD Idoc)
    After receiving the idoc xml, AS2 system will send an MDN. This MDN does not contain idoc # which has been processed successfully in the part I. PI is receiving the MDN message like below
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <DtReport xmlns="http://uri.seeburger.com/dt/master/schema">
      <clientId>000</clientId>
      <correlationId>dbeb6ed9-2cbe-11e1-c7f1-000007ec0f66</correlationId>
      <category>DeliveryReport</category>
      <state>SUCCESS</state>
      <finalReport>true</finalReport>
    - <specificData>
      <key>messageID</key>
      <value><[email protected]></value>
      </specificData>
    - <specificData>
      <key>subject</key>
      <value>Message Disposition Notification</value>
      </specificData>
    - <specificData>
      <key>channelID</key>
      <value></value>
      </specificData>
    - <specificData>
      <key>channel</key>
      <value>CC_SND_AS2_MDN_XX_PKI</value>
      </specificData>
    - <specificData>
      <key>originalchannel</key>
      <value>CC_RCV_AS2_XXX_EDI_SEEBURGER_INVOIC_PKI</value>
      </specificData>
    - <specificData>
      <key>to</key>
      <value>PARTY_XX</value>
      </specificData>
    - <specificData>
      <key>from</key>
      <value>PARTY_YY</value>
      </specificData>
    - <reportAttachment refID="dffd66c0-2cbe-11e1-9654-af0c1a5b180a">
      <ns1:objectInfo charset="binary" creation="2011-12-22T17:03:31.116+00:00" location="MEMORY" size="3391" type="INLINE" xmlns:ns1="http://uri.seeburger.com/bisas/message/schema" />
      </reportAttachment>
      </DtReport>
    Can anyone please let me know how can I get the idoc number in received MDN from AS2? So that we can easily identify which has been received the MDN and processed successfully.
    Thanks,
    Arivarasu S

    Hi Prateek,
    This is my code:
    FUNCTION ZPI_PICK_IDOC_NUM .
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(IN_GUID) TYPE  SXMSMGUID
    *"  EXPORTING
    *"     VALUE(IDOC_NUM) TYPE  EDI_DOCNUM
    *"  EXCEPTIONS
    *"      KEYSTRING_EMPTY
    *"      RETURNFIELD_EMPTY
    *"      KEYFIELD_DOES_NOT_EXIST
    *"      INVALID_DATA
    TYPES: BEGIN OF ty_itab,
           GUID     type SXMSMGUID,
           IDOCNUMBER type  EDI_DOCNUM,
           END OF ty_itab.
    DATA:  it_itab TYPE TABLE OF ty_itab,
           wa_itab type ty_itab.
    SELECT GUID IDOCNUMBER FROM IDXSNDPOR INTO table it_ITAB
             WHERE GUID = IN_GUID.
      IF sy-subrc EQ 0.
        loop at it_itab into wa_itab.
         move wa_itab-IDOCNUMBER to IDOC_NUM.
         exit.
        endloop.
      ELSE.
        RAISE invalid_data.
      ENDIF.
    ENDFUNCTION.
    I guess this is giving one of the exception which I have added in exception tab.
    Thanks,
    Arivarasu

  • AS2 receiver error

    Hi Experts,
    Im getting this error in the AS2 receiver channel:
    Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. Sender configuration incomplete - perhaps AS2ID missing..
    IDOC to AS2 scenario
    I have already configured the sender and receiver party and put them in the determinations:
    sender party
    receiver party
    I did not put a sender party in the receiver agreement because I get a receiver agreement error
    Any ideas please?
    Thanks,
    Mike

    Hi Ajay,
      I guess these will help you...
    Seeburger AS2 Communication Channel Error
    Re: Asynchronous/sync mdn
    Regds,
    Pinangshuk.

  • AS2 Certificate Problem

    Hi,
    I'm doing one IDOC to AS2 Scenario. Where we are posting the IDOC successfully, but we are not able to receive the message.
    It is giving some certificate error. Definitely some connectivity issue.
    The exact error is :
    "Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found # , SEEBURGER AS2: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found # "
    Can someone please tell what exactly can be done to ensure the trusted certificate.
    FYI : The SSL certificate in the communication channel and the Encryption certificate and authentication certificate in receiver agreement are all same.
    Thanks,
    Vikas

    HI Vikas,
       Can you check the expiry date on the AS2 certificate?
    Regards,
    ravi

  • Seeburger AS2 Communication Channel Error

    Hello,
    when trying to send a test message to the AS2 receiver communication channel I get the following error in communication channel monitoring:
    javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: ResourceException caused by com.seeburger.xi.api.cci.SeeXIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DTREQUEST and DATABASE.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DTREQUEST and DATABASE.., ResourceException caused by com.seeburger.xi.api.cci.SeeXIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DTREQUEST and DATABASE.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DTREQUEST and DATABASE..
    Have you ever got a similar error? Seems to be a configuration error of the adapter installation itself rather than a problem with configuration objects or the receiver channel.
    Do you have any idea?

    Hi Florian,
    Please provide info if there is a need for any Sender agreement in case we select "Synchronous" mode for MDN and Handle Received MDn as "NoAction".
    I am also getting the below error for my scenario (IDOC --> XI --> AS2)
    Description: AS2 Adapter failure Outbound configuration error: Failed to get configuration from DTREQUEST and DATABASE.. com.seeburger.as2.AS2Plugin.execute
    Thanks and regards
    Ajay Garg

  • AS2 using HTTPS - Handshake failure # null

    Hello,
    I have scenario IDoc - PI - AS2 using HTTPS.
    when i am trying to send data it is giving me "Handshake Failure" error.
    I have check certificate and configuration properly.
    Parnter is saying "your client doesnu2019t sent the requested client certificate"
    following are traces:
       20120102 061927 011 SECS  I SES_INIT  (83903899) Netprof : NP_AS2_CERT_Sender_TEST selected [src_addr="---Hostname/port"] [dest_addr="hostname/port"]
       20120102 061927 013 SECS  I SES_INIT  (83903899) Server TLS Security Profile : TLS_AS2_SRV_CERT_Port selected
       20120102 061927 103 NET   I CONN_RESP (17809) incoming connection response     [resp_add=""]
       20120102 061929 030 SECS  I C_BUILD   (83903899) Server Certificate sent: Receiver_Partner
       20120102 061929 030 SECS  I C_BUILD   (83903899) Server Certificate sent: VeriSign Class 3 International
       20120102 061929 030 SECS  I C_BUILD   (83903899) Server Certificate sent: VeriSign Class 3 Public Primary
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 KRAFT Root Prod CA
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 KRAFT Root Test CA
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 KnorrPrandel (SIGN) New
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 KnorrPrandel (SSL) New
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 MarkantSyntradeRoot
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 ProcterGambleProd
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: D-TRUST Root Class 2 CA 2007
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: Entrust.net CA
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: EquifaxSecure(4Bacardi)
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: Sender RootCA (Sender)
      20120102 061929 053 NET   W TLSALSND  (17809) alert 40 sent (handshake failure)
                   20120102 061929 105 NET   I DISC_REQ  (17809) disconnection request            [reason="0"]
    Please suggest.
    //Manisha

    Hello,
    have u downloaded the certificate from the vendor url and uploaded in STRUST.
    have u restarted ICM through SMICM.  did connection test in SM 59 ? what is the response ???
    Regards,
    Phani

  • AS2 Connection error in PI

    Hi PI Experts,
    IDoc to AS2 (HTTPS) scenario.
    I am using AS2 Rece Channel  with HTTPS  Transport Protocol.
    PI Receiving the data from ECC and while sending the data from PI to Third Party Partner getting below error .Please help me on this issue.I will appriciate you .
    Error:
    Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: java.io.IOException: key inappropriate for algorithm., SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: java.io.IOException: key inappropriate for algorithm.
    Thanks,
    Aadi

    Hi Harikumar,
    Thanks for your reply, now i am getting different error,
    Could not deliver as2 message to partner: java.net.SocketException:
    Connection reset # null
    Please can you help me on this issue.
    Thanks,
    Aadi

  • AS2 Receiver Adapter

    Hi,
    My scenario is IDOC to AS2 ... AS2 Adapter  need to send a Fixed Length file as an attachment in AS2 Adapter.
    Kinldy let me know any one can help me.

    Hi,
    You need to change the *XI Message as 'Attachement' in the comms channel and then use the EJB in the module tab of the comms channel  to send the attachment.
    Regards,
    Vishal

  • Sending xml files via AS2 adapter

    Hi Experts,
    I have an interface which requires an IDOC to XML scenario.
    This is a simple pick and drop scenario with no mapping required.
    We just have to send the IDOC to the 3rd party via AS2 receiver in XML format.
    Currently, the 3rd party receiver receives the file in binary format with no extensions (i.e. 9876543210123)
    Although when opened via notepad, the content is in xml format
    Is it possible to have the file sent as a .xml file (i.e. PO IDOC.xml)?
    Please see current configuration below:
    Currently, 3rd party is still receiving the file with no filename extensions.
    Thanks,
    Mike

    Hi Luis,
    Thanks for your reply.
    However, I am a bit confused because the thread mentions that the module configuration is for the file and JMS adapters. Also, the scenario is an AS2 to FTP interface
    I want to do the filename change in the AS2 receiver channel of a IDOC to AS2 scenario.
    Where exactly do I define the filename that I want to output such as "test.xml" instead of the default filename with 13 numerals?
    Thanks,
    Mike

  • 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

  • Error in AS2 reciever Communication channel

    Hi all,
    We are working on Idoc to AS2 scenario using SAP PI 7.1. we have installed the certificates provided by the AS2 partner on the PI system and used them  in the Reciever agreement.  When trying to test this interface, we are getting the following error in AS2 communication channel:
    Message-Verarbeitung fehlgeschlagen. Grund: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ediint.edi.EDIMessageException: EDI message composing failed: signature generation failed: signature generation failed: java.security.NoSuchProviderException: provider BC not found., SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ediint.edi.EDIMessageException: EDI message composing failed: signature generation failed: signature generation failed: java.security.NoSuchProviderException: provider BC not found.
    Can anyone please help us in resolving this?
    Regards
    Jagruthi

    Hi Jagruti,
    I am also looking for the same scenarios with Receiver AS2 adapter on PI 7.1
    I have noticed that in my AS2 receiver adaper i am not getting AS2 server details instead the conf is different from previous AS2 adapter.
    I am getting below options
    channel attribute for RTP
    Scurity attribute for RTP etc.
    can u pls help me whether anything is missing in deployment why I am not getting other optins.
    can u also share any conf doc which u hav
    chirag

  • AS2 MDN Structure - Details

    Hi all,
    I have an scenario IDOC->PI->AS2. when we send to the Partner via AS2 they sent us back a Synchronous MDN, but we don't process it yet.
    I want to build an interface to process the MDN for bussiness to check if the Invoice they sent was received succesfully on partner side.
    My question is:
    Which information come into the MDN XML? i just identify the below fields in the message monitor of Seeburger:
    Type                           sync
    MDN Message ID        <xxxx@xxxx>
    Partner ID                    xxxxx
    Payload State             ok
    Payload State Details <empty>
    MDN Timestamp         09/01/2011 00:00:26
    MDN Sigend  
    Own ID                       XXXXX
    The MDN Message ID is not the same we use for the invoice, so we cant match the messages.
    I want to build something like this:
    Associate the Invoice# with the AS2 Message ID or PI Message ID in a table, then with the information received in the MDN complete the match, and give a "Received by partner" status to the invoice.
    Maybe the MDN contains more information to complete that match.
    Please help.
    Regards.

    Hi Israel Toledo,
    Just wanted to check with if you were able to figure out this?
    Regards,
    BRV.

Maybe you are looking for

  • Setting up eFax on HP Officejet Pro 3610

    From the forum regarding eFax I understood that "The sender sends the fax over a phone line to eFax® and then eFax® sends the fax to your printer using HP's ePrint service.". Also it was mentioned in the http://h30434.www3.hp.com/t5/ePrint-Print-Apps

  • ALV Reuse_alv_grid_display

    Hi , I am running a small report. Now i enter some values on the selection screen. And the results i am able to display in an ALV using the FM Reuse_alv_grid_display. I am trying to have a Push Button & i have added the following code in my program.

  • Does anybody has the code for developping multi-process program .thank you.

    I want to run two instance of the same program ,the motive is to access the same data-base at the same time. I set the database evironment with the flag of DB_INIT_TXN | DB_RECOVER | DB_INIT_LOCK,but the one instance can't see the modification as the

  • RMBP reaches 104C when using remote desktop.  Is this normal?

    I have a new rMBP that is reaching temps of 104C when using remote desktop or other moderately intensive applications.  Is this normal?

  • What happen when No Adobe Flash support for Jelly Bean and future ?

    i get shock when i see the message from this article : http://gadgets.ndtv.com/mobiles/news/no-adobe-flash-support-for-jelly-bean-new-installs-to -stop-on-august-15-237506 Will all apps created from flash builder cannot run in jelly bean since no fla