Quantcast
Channel: SCN : Popular Discussions - B2B Integration with SAP Process Orchestration
Viewing all 1788 articles
Browse latest View live

SAP B2B Add on - EDI Inbound

$
0
0

Hi All,

I have doubt in case of EDI inbound using EDISeparator (SAP B2B Add on). I gone through the document and as per my understanding, in inbound EDI there will be two interface

 

Interface 1) EDI (AS2 or File adapter) to EDI separator adapter (Receiver)

Interface 2) EDI separator adapter (Sender) to IDoc/ file/etc receiver (It may be something else also)

 

Q1. In case of interface (1) what should be the Outbound interface and Inbound interface. Since Interface (1) is used to separate mass EDI into individual EDI, so I am not sure about the interface use for mass EDI.

 

Q2. I believe there will be only single interface of type (1) for each EDI format (ANSI, EDIFACT, etc..) and there will be many interfaces of type (2) based on Partners and EDI transaction.

 

Please correct me if I am wrong in my understanding and provide your inputs to clear my queries.

 

- RM


Converter Module Issue

$
0
0

Hi Gurus,

 

Here are the details of my scenario

Source: INVOIC02 IDoc

Target: INVOIC96B EDIFACT

 

I am having trouble with segment counters and the control reference numbers. I am currently mapping the idoc number for the control reference numbers but it is being over-written by the Converter Module. Attached are the screen-shots from the 'After-mapping' payload and the final EDI output file.

 

AM.jpgEDI.jpg

 

Can you please let me know if this is the expected behavior? The errors I see on the EDI NotePad are:

 

     • The contained object count in interchange trailer is wrong. reported vs 1 real

     • The interchange's control numbers do not match. 14209 vs 1 (trailer)

     • The trailer reports 0 segments but there are really 53.

     • The transaction controls don't match: 53 vs 14209.

 

Any pointers would be highly appreciated.

 

Thanks in advance,

 

Regards,

Rakesh.

Outbound EDI PO Change stuck in SM58 with PI 7.31 Single Stack

$
0
0

Hello Everyone,

I have searched the posts and SAP notes for information on this, but have not found a solution.

 

This is our first use of the B2B package, and also first time with PI 7.31 single stack.

The scenario is:

outbound Purchase Order (EDI 850) IDOC message type ORDERS; basic type ORDERS05; + an Extension

outbound PO change        (EDI 860) IDOC message type ORDCHG; basic type ORDERS05: + same extension

 

Both interfaces are sent from the same SAP system;  In the integration builder, there are 2 configuration scenarios, but the following objects are shared by the 2 interfaces:

  -Business Systems (sender, receiver)

  -Sender IDOC channel

  -sending interface and metadata 'ORDERS.ORDERS05.ZORD05EXT'

  -Integrated Configuration Object

 

In the ICO 'receiver interfaces' tab we set the condition based on IDOC message type 'ORDERS' or 'ORDCHG' to determine the correct mapping operation.      

 

The outbound purchase order 850 works fine.

The outbound PO change 860 sticks in the SM58 of the sap system with the error

Commit fault: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.ad

.

 

Most of the information I found pointed to an interface not working at all.  Since the PO interface works, I have compared everything about the 2 interfaces looking for something that would cause the second to fail, all the way from partner profiles in SAP to ESB and IB setup, but do not see anything.

 

Any information you can share is greatly appreciated.

 

Robin Aufleger

Empty Payload after passing to PlainConverterModule

$
0
0

Hi Experts,

 

We have a scenario wherein an outbound IDoc is mapped to a flat file structure. To achieve this, we created a custom Plain Message in B2BIC, imported the XSD in ESR and did the mapping. The XML output is then passed to the File Adapter in FTP mode. During communication, the PlainConverterModule is called to transform the XML output to the flat file message the partner is expecting. Everything works good until the XML is passed to the module. After the module executes, the payload becomes empty hence the file uploaded to the server is an empty text file.

 

I traced the transaction in PIMON and the payload can be opened and the XML output is there. Just wondering if this is a bug in B2B Add-on. We are using SAP PI 7.31 Dual Stack and B2B Add-on 1.0 SP4.

 

Appreciate if someone has some inputs on this one. Been trying to figure it out with no luck.

 

Regards,

Rommel

SAP JMS JNDI Connection Factory issue when N/W hiccup occurs

$
0
0

Hi,

 

I am connecting to SAP PI v 7.3 JMS Broker using a JNDI Connection Factory. Everything is fine until the network goes down. The connection factory attempts to reconnect indefinitely until the network comes back up. However, after the network heals, I continue to find that SAP JMS Connection Factory is unable to dispense new connections claiming bad network. The following is the exception trace

 

Currently, the way to resolve is hard restart of the Java application which creates new JNDI context, connection factory etc. However, that is not acceptable solution. Ideally, I would like the connection factory to reissue proper connection when network heals.

 

Please let me know if this is a known issue or if there is work around for the same.

 

Thank you!

Ashwin

Caused by: com.sap.engine.services.rmi_p4.P4IOException: No alive connection. Check state of the server

                at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:824)

                at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:809)

                at com.sap.engine.services.rmi_p4.ClientConnection.sendRequest(ClientConnection.java:281)

                at com.sap.engine.services.rmi_p4.Call.sendSimpleRequest(Call.java:642)

                at com.sap.engine.services.rmi_p4.reflect.P4InvocationHandler.invokeInternal(P4InvocationHandler.java:125)

                ... 14 more

01:53:16,386 WARN  [DefaultJmsMessageListenerContainer] Could not refresh JMS Connection for destination 'Dev.Provista' - retrying in 5000 ms. Cause: Could not allocate JMS connection due to RMI error.; nested exception is com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception

javax.jms.JMSException: Could not allocate JMS connection due to RMI error.

                at com.sap.jms.client.rmi.RMIConnectionFactory.createConnection(RMIConnectionFactory.java:178)

                at com.sap.jms.client.rmi.RMIConnectionFactory.createConnection(RMIConnectionFactory.java:158)

                at com.sap.jms.client.rmi.RMIConnectionFactory.createConnection(RMIConnectionFactory.java:110)

                at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:184)

                at org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful(DefaultMessageListenerContainer.java:859)

                at org.springframework.jms.listener.DefaultMessageListenerContainer.recoverAfterListenerSetupFailure(DefaultMessageListenerContainer.java:838)

                at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:969)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                at java.lang.Thread.run(Thread.java:662)

01:53:21,474 WARN  [DefaultJmsMessageListenerContainer] Could not refresh JMS Connection for destination 'XXXX' - retrying in 5000 ms. Cause: Could not allocate JMS connection due to RMI error.; nested exception is com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception

javax.jms.JMSException: Could not allocate JMS connection due to RMI error.

                at com.sap.jms.client.rmi.RMIConnectionFactory.createConnection(RMIConnectionFactory.java:178)

                at com.sap.jms.client.rmi.RMIConnectionFactory.createConnection(RMIConnectionFactory.java:158)

                at com.sap.jms.client.rmi.RMIConnectionFactory.createConnection(RMIConnectionFactory.java:110)

                at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:184)

                at org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful(DefaultMessageListenerContainer.java:859)

                at org.springframework.jms.listener.DefaultMessageListenerContainer.recoverAfterListenerSetupFailure(DefaultMessageListenerContainer.java:838)

                at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:969)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                at java.lang.Thread.run(Thread.java:662)

Error in scenario EDI -> XML using PI B2B addon toolkit

$
0
0

All,

 

I'm struggling with my inbound EDI scenario.

 

I've a sender file adapter picking up an EDI file and a receiver EDISeparator channel receiving it. Dummy interfaces and no mapping involved.

No extra modules were used on both the sender and receiver adapter.

 

When I check the receiver EDISeparator channel, I get this error: no ruleset available (for my specific EDI message).

 

I also configured a sender EDISeparator channel:

 

error é.jpg

Within this sender adapter, I used module localejbs/EdifactConverterModule

 

What am I missing here?

 

Thanks a lot for the feedback.

Dimitri

EDI X12 Conversion Problem

$
0
0

Hi Experts,

 

My scenario converts an EDI xml to EDI file using the X12Conversion Module.

 

In the ISA segment of the xml, I am mapping blank spaces to Authorization and Security Information to comply with the minimum length of these fields. Same goes for D_I06 and D_I07 fields.

 

<S_ISA>

      <D_DATAELEMENTSEPARATOR>~</D_DATAELEMENTSEPARATOR>

      <D_I01>00</D_I01>

      <D_I02>          </D_I02>

      <D_I03>00</D_I03>

      <D_I04>          </D_I04>

      <D_I05>01</D_I05>

      <D_I06>114747764CP    </D_I06>

      <D_I05_2>ZZ</D_I05_2>

     <D_I07>AMXIBAP        </D_I07>

      <D_I08>150109</D_I08>

 

 

However when the message goes through the conversion module, the blank spaces are removed. This causes an issue on the receiving side.

 

ISA~00~~00~~01~114747764CP~ZZ~AMXIBAP~150109~0701~U~00401~000000014~0~T~\|

 

I have already added the following module parameters in the conversion module of the EDI Separator receiver channel but I am still getting above result. Does anyone know if there is anything I missed?

 

localejbs/TPMContentAccessModule

     enable.ediAckProfile = true

     enable.edisepUsage = true

 

 

localejbs/X12ConverterModule

     tpm.enable = true

     x12.checkOfValueMinLength = true

     x12.fillUpToMinlength = true

     x12.encoding = US-ASCII

 

 

I have also used the default encoding which is ISO-8859-1.

 

 

Any help would be very much appreciated

 

 

Regards,

 

Pao

Seeburger or Crossgate or B2B Addons?

$
0
0

Dear Experts,

 

We are in the process of migrating our Gentran EDI Interfaces to SAP PI. We have been using Seeburger AS2 adapter for an external non-EDI connection. But, to migrate all the EDI interfaces full fledge, which is the better choice - Seeburger (we still need to buy BIC module) or Crossgate or B2B Addons? We would like to implement/maintain these interfaces internally and not outsource it to SAP totally. So, please suggest the best option with the proper justification.

 

Thanks in advance.


SWIFT Format ( MT940 ) to XML

$
0
0

I need to convert SWIFT format  to XML using B2B Add on  . Can any one help me if there is any Std Module available in B2B Add-on for this conversion .

SAP new SFTP adapter functionality

$
0
0

Hi Experts,

 

We are testing SAP new SFTP adapter with SAP-PI7.3.

 

We figured out below 2 functionality missing in new SFTP adapter. Can you please guide do we have any alternative to achieve both or is SAP has any plans to add both functionality in future SFTP adapter releases.

 

Question Point 1: New SFTP adapter is not having option “Advanced Selection for Source File”, like it is there in File Adapter. So we cannot select multiple folders on same SFTP server with one SFTP adapter service, i.e. we have to implement SFTP adapter to poll each folder on same server.

 

Question Point 2: SAP-SFTP adapter does not support to poll folders with "\", it supports only "/".

Because during testing we figure out, by default SFTP sender adapter put “/” in front of any folder path given in “Directory” field of adapter.

 

Below is the screen short for reference.

 

For Q1)

New SFTP adapter:

img1.jpg

File Adapter:

img2.jpg

 

 

For Q2)

img3.jpg

img4.jpg

 

Regards

Custom structure for plain message format on B2B add-on

$
0
0

Hello All,

 

I am new to using B2B addon . We have SAP PI 7.1 and have B2B Add-On.

My requirement is to create a custom plain file.

 

Can anyone guide me how to go about with this ?

Also, how are the Plain tables used in this case ?

 

 

Thanks,

Pragya

B2B Integration Receiver Channel Error

$
0
0

Hello All, We recently installed B2B add on and trying to send benefit Idoc from ECC 6.0. I am using File adapter in receiver Communication channel with Module Name - localejbs/X12ConverterModule. But I am  I'm stuck with below error in Receiver channel. ' MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoSuchFieldError: SOLICITED; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoSuchFieldError: SOLICITED; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoSuchFieldError: SOLICITED; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoSuchFieldError: SOLICITED' We recently upgraded to latest SP's in PI 7.3.1 as part of B2B add on. Please advice. Regards, Ram

How to Import TPM UDF's in Integration Repository

$
0
0

Dear All..

 

Can anyone help me out in importing TPM related UDF's in IR,so that I can use in Graphical Mapping.

 

Regards,

Tibin Joseph

Trail Version of B2B Addon

$
0
0

Hi B2B Forum,

 

We would like to implement one use case on our PI 7.31 with B2B Add-on for EDI integration before we go for the actual licensing.We would like to check if there are any B2B Add-on trail versions available ? If so how to access...If not then how can we develop a POC with out buying the licence.Any inputs or thoughts !

 

Thank you,

B2B Add-on Adapter - Mappings

$
0
0

We are in the process of implementing B2B add-on adapter for EDI from SAP.   Software is installed.

 

PIB2BCONTENT00_0.zip   file is downloaded into a shared drive.  We found only XSD's for all the EDI types, transactions and versions in that download, but couldn't find the mappings.

 

Does SAP provide mappings for each EDI transaction like seeburger provided o1-1 mappings to start with?

 

Where do we download those mappings from?

 

Regards


TPM Configuration and Dynamic access of Data

$
0
0

Hi All,

 

If we enable  TPM configuration by selecting the check box "Read from Dynamic Headers"  in EDI Separator Receiver ,It is used for Acknowledgements if we enable the same in TPM through B2B Cockpit.I understood this process.But I need clarification on EDI Separator Sender.If we have maintained TPM configuration  for the partners.Is it  required to provide Sender ID,Receiver ID,Sender ID Qualifier,Receiver ID Qualifier separately or is there any possibility to directly taking it from TPM by  providing TPMContentAccessModule in channel. Please clarify on it as it is helpful for me proceed further.

 

 

 

 

Thanks.

Tibin

Exception caught by adapter framework: No configuration / default adapter specified for EDISeparator

$
0
0

Hello Experts,

 

I am configuring the scenario ( AS2 to EDISeparator and EDISeparator to IDOC ).

 

Can you please help me with the error below which is from the either the EDISeparator Receiver channel or the EDISeparator Sender channle.

 

09.06.2014 17:52:18.709InformationMessage is encrypted with 1.3.14.3.2.7 algorithm
09.06.2014 17:52:18.778InformationAS2 Message is signed with SHA1 (1.3.14.3.2.26) algorithm
09.06.2014 17:52:18.779InformationAS2 Message message signature is validated, signer ID is X509CertSelector: [ Serial Number: 1624063516 Issuer: CN=Mendelson AS2 TEST,OU=Integration,O=Mendelson,L=Berlin,ST=Unknown,C=GE matchAllSubjectAltNames flag: true ]
09.06.2014 17:52:18.784InformationAS2 document size is 350 Bytes
09.06.2014 17:52:18.784InformationPayload charset converted from ISO-8859-15 to ISO-8859-15
09.06.2014 17:52:18.785InformationB2B EdifactConverterModule : EDI format detected as EANCOM
09.06.2014 17:52:18.785InformationB2B EdifactConverterModule: Message will be read as ISO-8859-1.
09.06.2014 17:52:18.785InformationMP: processing local module localejbs/EdifactConverterModule
09.06.2014 17:52:18.785Information0}: The module-paramteter "eancom.subversion.prefix" is not set. Using default value "false"
09.06.2014 17:52:18.786Information0}: The module-paramteter "eancom..audit" is not set. Using default value "false"
09.06.2014 17:52:18.791InformationMP: processing local module localejbs/CallSapAdapter
09.06.2014 17:52:18.791InformationApplication attempting to send an XI message asynchronously using connection AS2_http://sap.com/xi/XI/AS2
09.06.2014 17:52:18.792InformationTrying to put the message into the send queue
09.06.2014 17:52:18.831InformationMessage successfully put into the queue
09.06.2014 17:52:18.831InformationThe application sent the message asynchronously using connection AS2_http://sap.com/xi/XI/AS2. Returning to application
09.06.2014 17:52:18.836InformationMIC (DeJYUIusqQj6aaYRASdHhAo+4J0=) is calculated using SHA1 algorithm.
09.06.2014 17:52:18.838InformationThe message was successfully retrieved from the send queue
09.06.2014 17:52:18.843InformationMessage status set to DLNG
09.06.2014 17:52:18.845InformationMDN is succcessfully signed with SHA1 (1.3.14.3.2.26) algorithm
09.06.2014 17:52:18.859InformationTrying to put the message into the send queue
09.06.2014 17:52:18.912InformationMessage successfully put into the queue
09.06.2014 17:52:18.913InformationThe message was successfully retrieved from the send queue
09.06.2014 17:52:18.918InformationMessage status set to DLNG
09.06.2014 17:52:18.961InformationTrying to put the message into the send queue
09.06.2014 17:52:19.001InformationMessage successfully put into the queue
09.06.2014 17:52:19.001InformationThe message was successfully retrieved from the send queue
09.06.2014 17:52:19.006ErrorMP: exception caught with message No configuration / default adapter specified for EDISeparator
09.06.2014 17:52:19.006InformationDelivering to channel: B2BSE00002_O2C_ORDERS_VANS_PO_WRITE_EDISeparator
09.06.2014 17:52:19.006InformationMessage status set to DLNG
09.06.2014 17:52:19.009ErrorException caught by adapter framework: No configuration / default adapter specified for EDISeparator
09.06.2014 17:52:19.010ErrorTransmitting the message to endpoint <local> using connection AS2_http://sap.com/xi/XI/AS2 failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: No configuration / default adapter specified for EDISeparator
09.06.2014 17:52:19.015InformationThe asynchronous message was successfully scheduled to be delivered at Mon Jun 09 17:57:19 CEST 2014
09.06.2014 17:52:19.015InformationMessage status set to WAIT

SWIFT Format ( MT940 ) to XML

$
0
0

I need to convert SWIFT format  to XML using B2B Add on  . Can any one help me if there is any Std Module available in B2B Add-on for this conversion .

SAP PI AS2 Sender Cannot Decrypt Message

$
0
0

Hi Experts,

 

After resolving our issue for Anonymous login, we are facing a different issue now. We cannot decrypt the message the customer is sending to us. We have configured the certificates correctly (uploaded both private and public key in NWA, used those for decrypting, etc.) in the Sender Comm Channel. To provide some more background, we have a GoDaddy CA Signed certificate which we use for SSL Client Authentication as well.

 

The Certificate has the following for the intended purposes:

 

1. Ensures the identity of a remote computer

2. Proves your identity to a remote computer

3. 2.16.840.1.114413.1.7.23.1

 

Key Usage is listed as follows: Digital Signature, Key Encipherment (a0)

 

Subject:

CN = SAP PI Quality Instance domainname

OU = Domain Control Validated

 

Here is the error we receive in B2B Log and Communication Channel Monitoring:

Error occured while decrypting the AS2-message: Cannot decrypt message: org.bouncycastle.cms.CMSException: key invalid in message

 

I have confirmed with the partner that they are indeed encrypting the message using the public certificate we provided (which again, used the same for SSL Authentication). I have seen some posts that mention that a new certificate must be generated specifically for data encryption and signature authentication.

 

We have B2B Add-on SP4 installed on a SAP PI 7.31 Dual Stack.

 

Any feedback will be appreciated. Do we need to configure something or is this a certificate mismatch?

 

Regards,

Rommel

Error in scenario EDI -> XML using PI B2B addon toolkit

$
0
0

All,

 

I'm struggling with my inbound EDI scenario.

 

I've a sender file adapter picking up an EDI file and a receiver EDISeparator channel receiving it. Dummy interfaces and no mapping involved.

No extra modules were used on both the sender and receiver adapter.

 

When I check the receiver EDISeparator channel, I get this error: no ruleset available (for my specific EDI message).

 

I also configured a sender EDISeparator channel:

 

error é.jpg

Within this sender adapter, I used module localejbs/EdifactConverterModule

 

What am I missing here?

 

Thanks a lot for the feedback.

Dimitri

Viewing all 1788 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>