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

Issue with SFTP Connectivity on PI 7.3

$
0
0

I am working on communication setup with on of the bank's SFTP server using GXS.

 

I am able to successfully make a connection using WinSCP. The process that was followed was to login to the sftp server using the key on WinSCP, provide the Remote Directory as /DEFT-DEFT-A:/*BIN/ and log in ( which translates to CD DEFT-DEFT-A:/*BIN/ in Putty )

 

it takes me to a folder structure as

 

/<root>

   USERID

       DEFT-DEFT-A:

           *BIN

 

It seems *BIN is letting the server know that we are sending the file in binary format. I could not find an option for file format on SFTP Adapter.

 

Using WinSCP I am able to drop a file as well. But the problem is when I try using PI to drop to connect to the same server, the log on the communication channel is

 

 

27.09.2012 20:56:13.600InformationServer is <SFTP Server>
27.09.2012 20:56:13.620InformationHome directory is /<USERID>
27.09.2012 20:56:13.620InformationPath is  /<USERID>/DEFT-DEFT-A:/
27.09.2012 20:56:13.676ErrorMessage could not be forwarded to the JCA adapter. Reason: 4: Putting  /<USERID>/DEFT-DEFT-A:/TestACHFile.txt failed.
27.09.2012 20:56:13.677ErrorMP: exception caught with cause javax.resource.ResourceException: 4: Putting  /<USERID>/DEFT-DEFT-A:/TestACHFile.txt failed.
27.09.2012 20:56:13.679ErrorException caught by adapter framework: 4: Putting  /<USERID>/DEFT-DEFT-A:/TestACHFile.txt failed.

       

27.09.201220:56:13.679
Error
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to:  
com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: 4: Putting    /<USERID>/DEFT-
DEFT-A:/TestACHFile.txt failed.

 

I do not understand if the file transfer is failing or the login it self was unsuccessful. Can someone help me in understanding the issue or what am I doing wrong here.

 

Thanks & Best Regards,

Basha


SAP PI AS2 Adapter - Sender receiving 401 Message

$
0
0

Hi Experts,

 

We have configured AS2 from SAP B2B Add-on as part of our SAP PI 7.31 Dual Stack installation. I was able to successfully send AS2 messages to the partner by configuring the appropriate Receiver Channel.

 

We have a CA Signed certificate which is uploaded in a KeyStore View in NWA. The partner's public certificates are also uploaded on NWA TrustedCA Keystore and also the KeyStore where we store AS2 certificates (some partners use the same certificate, others have different certificates for SSL Handshake and Data Encryption/Signature Authentication).

 

However, after configuring the appropriate Sender Channel and the associated Configuration Scenario objects, when the partner sends data to us, they are receiving a 401 Unauthorized Error. I have instructed them to send the data to https://server:443/AS2/B2B. I have sent them our public certificate and everything is still failing on their end.

 

Any help will be appreciated.

 

Best Regards,

Rommel

ORDERS 93A EAN007 - EDIFACT vs EANCOM

$
0
0

Hi Experts,

 

We were using EDIFACT-to-XML for converting EANCOM files.

 

But when we uploaded EANCOM content to SAP PO Development server every EANCOM message is processed as EANCOM not EDIFACT.

 

I dont want to change the Integration Builder configuration for Production System and mappings too.

 

Is there anyway to process those files as EDIFACT message? Or remove EANCOM content from server?

 

I tried TPM agreement(Control Key = SAP(EDIFACT)) but it did not seem to work. Messages were processed as EANCOM again.

 

 

I would really appreciate your help.

 

Thanks,

 

Faruk.

EDISeparator "The message type can not be determined"

$
0
0

Scenario:

ANSI X12 -

 

Sender AS2 to IDOC

 

For testing purposes, I have been using Sender File to IDOC.

 

 

Configuration:

 

 

ICO 1:

Sender: EDI

Sender: Interface:XiPatternInterface1

NameSpace: http://sap.com/xi/XI/System/Patterns

 

 

Sender Adapter : File (FTP)

Receiver Adapter: EDISeparator

 

 

Receiver: EDI

 

Inbound Interface: Interface:XiPatternInterface1

NameSpace: http://sap.com/xi/XI/System/Patterns

No mapping

 

 

ICO 2:

Sender: EDI

Interface:OutboundInterface

NameSpace: http://sap.com/xi/XI/System/Patterns

Receiver : ECC

 

Sender Adapter : EDISeparator

Receiver Adapter: IDOC

Mapping: EDI 861 to IDOC

 

 

Issue:

The interface fails when a file is placed for the sender file Adapter of ICO1 to pick.

But the same configuration works perfectly, when the test tool (Send Test Message) is used. Idocs are created correctly.

 

 

Message Log for the failure.

 

 

1/24/2016 10:30:21.563 PM Information Application attempting to send an XI message asynchronously using connection AFW

1/24/2016 10:30:21.565 PM Information Trying to put the message into the send queue

1/24/2016 10:30:21.582 PM Information Message successfully put into the queue

1/24/2016 10:30:21.582 PM Information The application sent the message asynchronously using connection AFW. Returning to application

1/24/2016 10:30:21.584 PM Information The message was successfully retrieved from the send queue

1/24/2016 10:30:21.590 PM Information Message status set to DLNG

1/24/2016 10:30:21.592 PM Information Trying to put the message into the send queue

1/24/2016 10:30:21.612 PM Information Message successfully put into the queue

1/24/2016 10:30:21.613 PM Information The message was successfully retrieved from the send queue

1/24/2016 10:30:21.619 PM Information Message status set to DLNG

1/24/2016 10:30:21.621 PM Information Delivering to channel: 060EDISeparatorReceiver861

1/24/2016 10:30:21.621 PM Information MP: processing local module localejbs/ModuleProcessorExitBean

1/24/2016 10:30:21.621 PM Information Message entered AF MP exit bean and will now be passed to the JCA adapter

1/24/2016 10:30:21.623 PM Error MP: exception caught with cause javax.resource.ResourceException: The message type can not be determined

1/24/2016 10:30:21.623 PM Error Message could not be forwarded to the JCA adapter. Reason: The message type can not be determined

1/24/2016 10:30:21.626 PM Error Exception caught by adapter framework: The message type can not be determined

1/24/2016 10:30:21.627 PM Error Transmitting the message to endpoint <local> using connection AFW failed, due to:com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: The message type can not be determined

1/24/2016 10:30:21.629 PM Information The asynchronous message was successfully scheduled to be delivered at Sun Jan 24 22:35:21 EST 2016

1/24/2016 10:30:21.629 PM Information Message status set to WAIT

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

Cannot Find Conversion Rules for 824/004010

$
0
0

Hi Team ,

 

MY scenario is Inbound ANSI X12 message to  IDOC.

 

Scenario 1: File to EDI Sep

 

Scenario 2: EDI Sept to File ( Currently Write the IDOC -XML to file )

 

Facing issues at Secnario 1 : Error in Moni:

 

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException

 

Error in EDI Sep Sender Communciation channel for Scenario 2 : Cannot Find Conversion Rules for 824/004010

 

  I tested my data in b2bic , converted the ANSIX12 to XML and it worked well .

 

Not able to figure it out, Why is the throwing such error on conversion rules not found.

 


How to archive in comeing AS2 Messages

$
0
0

Hi Gurus,

 

I am new to B2B addon's .I have one requirement like i am picking the data(edi 850,810,860) from client using single sender AS2 adapter in sap pi.

In Sender AS2 channel i have one option like "archiving" using this option i can able to archiving incoming  all data in one folder,but here i would like to know how  to archive separate folders for all incoming  EDI messages like edi850,edi810,edi860.

 

 

 

Please provide the solutions.


Thanks

Kavitha S

B2B Toolkit AS2 Adapter Sender channel Error: Cannot parse AS2 MessageID

$
0
0

Hi Guys,

 

I'm configuring AS2 adapter sender channel from B2B Toolkit. I received below error:

 

Cannot process an HTTP request to servlet [AS2DispatcherServlet] in [AS2] web application.
[EXCEPTION]
javax.servlet.ServletException: AS2 adaper is not running: java.lang.RuntimeException: Cannot parse AS2 MessageID <HostName_DE0AF96A-5DAF-483A-8A39-EB57816D74E5>
at com.sap.aii.adapter.as2.servlet.AS2DispatcherServlet.doPost(AS2DispatcherServlet.java:174)
at...

 

When I tried using different AS2 client and the same sender channel works. The only difference I can spot is that AS2 message ID format.

 

Working AS2  message ID has to format of xxxxx@xxxxxx.

 

My question is whether the sender channel can only parse the AS2  message ID containing symbol @?

 

Looking at the sender channel configuration, I do notice you need to enter Expected MessageID left and Expected MessageID right fields. I use .*  for both fields at the moment.

 

Any ideas?


Walmart integration

$
0
0

Dear experts,

 

 

I need to understand EDI better.

Recently i got a document from Walmart.

We need to do implementation being a supplier to walmart.

Walmart will send us Purchase order and we need to create Sale order.

Further they have mentioned we need to obtain gem mailbox and

do as2 exchange of information.

On other side they have written sender pushes purchase order to reciever being walmart.

I am bowled out to understand if i need to connect to mailbox from my own to read purchase orders or is it

that i have to wait for purchase orders to come to my edi subsystem which may be SAP PI/PO

and do further handling with B2B addon or Seeburger something ?

Document has a dual information or somewhere i lack in concept.

Has anybody face this scenario.Kindly respond.

I will be glad if someone is already engaged in such business flow and explain here.

 

Regards.

Aditya Sharma

Step by step interface for IDOC ORDERS05 to EDI 850 using B2B add-on and getting Functional acknowledgement 997 back

$
0
0

Hi All,

 

I have to build  an interface using EDI 850 Outbound (B2B add-on)

The requirement is as follows :

SAP creates Purchase Order (PO) output using ORDERS05/ORDERS (ORDERS) IDoc’s as well as PI to translate those ORDERS’s IDoc’s into Electronic Data Interchange  (EDI) 850 messages and transmit those to an EDI Value Added Network (VAN).In addition suppliers provide “confirm receipt of the EDI 850 messages” by sending Functional Acknowledgments (EDI 997 messages).

 

 

Please guide me in building the interface: IDoc to EDI 850 and getting back the Functional acknowledgement 997.

Please explain me the flow and adapt backters to be used in the process.

How is it

IDOC sender to AS2   or IDOC sender to EDI separator and then AS2 ?

I am not clear about the interface for getting 997 acknowledgement. Are these two different interfaces from PI perspective?

 

Thanks for your help,

Pooja

Handshake Failure in As2 B2B

$
0
0

Hi All,

 

Hope all are doing well.

 

we are working on B2B  AS2 Receiver Adapter for one of the Bank interface.

 

We used Client Certificate and our certificates in Trusted_CAs and all certificates were in Valid but we are getting handshake failure error.

 

same setup and certificates are working in the PI environment but not working in the PO environment.

 

we are getting below error while trying to send message to BANK.

 

can you please check the error as attachment and guide us to resolve this .

 

Thanks

Madhu T

SFTP adapter File Name pattern

$
0
0

Hi Team,

 

Please help in forming regular expression for Filename in SFTP adapter.

I tried with [a-zA-Z0-9_], [a-zA-Z0-9_].*, [a-zA-Z0-9_].txt ...etc, which didn't worked.

 

The following are the different type of files available in same directory

CPT_PO_TEXT_%02-06-09%_%15-28-50%.txt

P20120927060000.xls

APZ_20120927_T05D.csv

AIMS_POL_151209_1741.TXT

 

The numeric values change day by day and have configured 4 sender comm channels.

Please let me know what pattern can be used to pick above mentioned files along with its extensions.

Receiver Determination Condition - not working for ISA Id

$
0
0

Hi Experts,

 

We are working on ANSI X12 and in inbound scenarios(810,852 etc) we want to split our incoming message(from customer) into PI and route it to different mapping.

 

Condition is based on the ISA ID we are giving in D_l06 field of the incoming message. Based on this field, we are giving 3 different maps and then routing it to the ECC system. This is failing and not reaching ECC system.

In ECC, we have maintained the customers based on there SOLD TO#.

 

Now, we did some analysis mentioned below -

1) When testing individual maps without giving any conditions, it is working fine and reaching ECC.

2) When giving condition for any other fields(apart from D_I06) say like DATE field etc, it is working fine and reaching ECC.

 

We are working in NWDS and specifically the IFlows.

 

Please suggest why is it not working as per our condition(D_I06).

 

Thanks,

Nidhi

Multiple 997 Messages

$
0
0

Hi Guys,

 

We send back a 997-Return receipt message for all the messages we received from one of our supplier over AS2.

But we send also 997 Messages out for return receipt messages from our Supplier when we sent them a message, means we send out a return receipt message to a return receipt message 997 from the supplier, which makes no Sense!

 

Could you please share or let me know your thoughts on how to overcome this issue?

 

Thanks in Advance.

how to determine the partner number in sender information in Control Record?

$
0
0

Dear friends,

 

     I am writing this topic to ask for your help regarding the partner number in sender information in control record.

 

     Background: Idoc<->Idoc transmission between subsidiaries in the same SAP system. We call it internal EDI transmission, it is not via XI/PI, just do some configuration to implement this.

     Message type is Invoice(outbound), the invoice message will be automatically sent to another subsidiary in the same SAP system. My question is: for some customer which is also internal subsidiaries, the partner number in sender information in control record is P85_850(for example), while for some customers, the sender partner number is Z85_850. why are the sender partner in sneder information in control record different even they are using the same SAP system? Both the sender type is LS. where is the partner number from?

     Some people say it is from the XD03 acct at customer. But I checked, it is not the correct answer i need.

     Does anyone know this? Thank you very much for your  help.

 

Lanson


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 .

Party,Business System & EDISeparator in B2B Scenarios

$
0
0

Hi Experts,

 

Started with my developments in ANSI X12 EDI Transactions.

There are few doubts mentioned below -

 

OUTBOUND

(Paty? or no Party)|ECC Business System --> PI --> Party|Business Component

 

We will have a party for the Landscape of our client. But, when I am giving the party with the business system, I am unable to trigger the IDoc from ECC system. Getting the below error -

 

mlmlmml.png

 

So, do we require a party or not? If yes, do we need to do some settings in ECC?

 

INBOUND

 

Business Component -->PI -->(Paty? or no Party)|(EDISeperator Common)Business Component(Dummy Flow, for all the inbound interface)

 

(Paty? or no Party)|(EDISeperator Common)Business Component -->PI --> ECC Business System


In this,

1) Do we need a business system or business component for EDISeparater adapter. Which is preferable and why?

2)Is party required or not? As flow will increase if we keep party.

 

Please suggest.

 

Thanks,
Nidhi

SFTP adapter File Name pattern

$
0
0

Hi Team,

 

Please help in forming regular expression for Filename in SFTP adapter.

I tried with [a-zA-Z0-9_], [a-zA-Z0-9_].*, [a-zA-Z0-9_].txt ...etc, which didn't worked.

 

The following are the different type of files available in same directory

CPT_PO_TEXT_%02-06-09%_%15-28-50%.txt

P20120927060000.xls

APZ_20120927_T05D.csv

AIMS_POL_151209_1741.TXT

 

The numeric values change day by day and have configured 4 sender comm channels.

Please let me know what pattern can be used to pick above mentioned files along with its extensions.

B2B Toolkit AS2 Adapter Sender channel Error: Cannot parse AS2 MessageID

$
0
0

Hi Guys,

 

I'm configuring AS2 adapter sender channel from B2B Toolkit. I received below error:

 

Cannot process an HTTP request to servlet [AS2DispatcherServlet] in [AS2] web application.
[EXCEPTION]
javax.servlet.ServletException: AS2 adaper is not running: java.lang.RuntimeException: Cannot parse AS2 MessageID <HostName_DE0AF96A-5DAF-483A-8A39-EB57816D74E5>
at com.sap.aii.adapter.as2.servlet.AS2DispatcherServlet.doPost(AS2DispatcherServlet.java:174)
at...

 

When I tried using different AS2 client and the same sender channel works. The only difference I can spot is that AS2 message ID format.

 

Working AS2  message ID has to format of xxxxx@xxxxxx.

 

My question is whether the sender channel can only parse the AS2  message ID containing symbol @?

 

Looking at the sender channel configuration, I do notice you need to enter Expected MessageID left and Expected MessageID right fields. I use .*  for both fields at the moment.

 

Any ideas?

Exception in B2B add-on receiver AS2 adapter with signature

$
0
0

Hi All,

 

I have created an iFlow of file to AS2 and to test it end to end, another iFlow of AS2 to file. From first interface I am routing the message to second one, via AS2 receiver. Its a straight forward configuration, with no MDN or encryption (plain HTTP). Current configuration is working fine.

When I tried to test the interface with digital signature, I am getting below error in AS2 receiver channel:

 

"Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed"

 

Please note that I have selected the public/private key pair and certificate of SAP PI system itself in both sender and receiver AS2 adapters.

Has anyone come across this issue earlier?

 

Regards,

Sanjeev.

Viewing all 1788 articles
Browse latest View live


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