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

Error in EDI Separator Receiver: EDIFACT message fails: null object loaded from local variable 'cDescr'

$
0
0

Hello Folks,

 

after updating from B2B Addon SP3 to B2B Addon SP4 we face this odd error within the EDI Separator receiver channel. The channel settings are completely default - no check boxes checked, no acknowledgements in place. Before the update the scenarios were all fine.

 

The scenarios look like this:

 

FILE/OFTP -> EDI Separator

EDI Separator -> customer/vendor specific scenario -> ERP

 

 

However this error occurs only for EDIFACT messages. VDA messages run fine. In our B2B version we do not have EANCOM entries in place - we just use edifact and VDA messages.

 

These are the entries within the message log:

Information  Message entered AF MP exit bean and will now be passed to the JCA adapter
Error

MP: exception caught with cause java.lang.NullPointerException: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object loaded from local variable 'cDescr'

Error

Message could not be forwarded to the JCA adapter. Reason: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object loaded from local variable 'cDescr'

Error

Exception caught by adapter framework: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object loaded from local variable 'cDescr'

Error

Delivery of the message to the application using connection EDISeparator_http://sap.com/xi/XI/EDISeparator failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object loaded from local variable 'cDescr'

 

The system settings are:

VM Name:    SAP Java Server VM

VM Vendor:    SAP AG

VM Java Version:    1.6.0_65

VM Runtime Version:    6.1.059 24.45-b11

Kernel Version:    7.40.3301.363358.20140408103655

 

What I have done so far:

 

-checked if the correct adapter meta data (SP4) is in place

-checked if the correct SP4 sca files are deployed

-deleted b2b table entries and reuploaded them again

 

Any ideas how to fix this error? What needs to be checked also?

 

 

Thank you 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 .

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

Sender Id's manaagement in B2B through SAP PI

$
0
0

Hello Experts

 

We have requirement that SAP P will recieve the EDI Files and would need to filter the files processing based on the sender Id as highlited below in the file.

SenderEDIFile.jpg

We will get list of Senders that needs to processed and any file othe than listed senders should not be processed.

 

Please suggest if we can maintain the same in B2B cockpit while reading the files as we dont want to touch the PI interface later point of time whenevr new Vendor adds to business.

 

Thank you.

VR

SFTP adapter - same file name in receiver

$
0
0

Hi ,

 

My scenario is  File to SFTP. I have to copy the same file name from source to target.Its a ESR bypass scenario

I know how to do it in  FILE to FILE scenario. But incase of SFTP i dont know how it works.

 

Surprisingly, i  could not find any help document  for SFTP adapter on Help.sap.com . I have wasted 3 hrs searching for help document but it was of no help. I hve seen almost all the blogs on SFTP adapter but nothing was of help

 

Can someone tell me where can i find SAP Help docs for SFTP adapter?

SFTP ADDON - Sender adapter error

$
0
0

Dear Experts,

 

We've followed the blog http://wiki.sdn.sap.com/wiki/display/XI/Generating+SSH+Keys+for+SFTP+Adapters+-+Type+2 to generate the SFTP keys for PI server. We've successfully generated the SFTP Public and Private keys for our SFTP Sender Adapter and could refer the Private Key View SFTP_TEST and the associated private key sftp_key in the SFTP sender adapter.  Private Key is also uploaded at /usr/sap/P1D/SYS/global/SFTPKeys  (Notsure if this is really required as the keys are already mentioned in NWA key store)... and we've shared our public key to our SFTP vendor to upload it on the SFTP server (uploaded successfully there as well)

 

But, when I activate the sender SFTP communication channel, its failing with the error 'Exception Received: com.jcraft.jschException: Auth cancel'

 

Is this due to the key upload path issue -  bcoz Keys are not matching? Is there any other bean or param I need to mention in the sender SFTP channel? Please guide.

 

Thanks

AS2 URL: working with multiple trading partner using a proxy

$
0
0

Hi All,

 

We are implementing SAP B2B add-on in our landscape.

 

My question is similar to what is mentioned @ Common AS2 Gateway Url For Multiple Trading Partners

We are planning to configure a proxy server to redirect the request from multiple trading partner.

 

My questions are :

 

Do we need to maintain separate AS2 URL on the proxy server to identify the sender and redirect the requests to PI?

 

Can't we have the same "expected URL-path" in AS2 sender channels(for each partner)  but maintain separate AS2 name under "Expected Sender AS2 Name" attribute?

 

     -> This way all partners will be provided with the same URL(proxy server)

     -> proxy server will forward all the requests to same URL(PI AS2 URL)

 

Do we need to maintain the Proxy server details in order to send the MDN back to partner?

 

Appreciate your help.

 

Thank you.

Determine AS2 URL

$
0
0

We currently have B2B Add-on SP4 installed on a Dual Stack SAP PI 7.31. I would like to understand how do I configure or know the default AS2 URL for our system (for both sending and receiving) as we need to send out the details to the partners.

 

Thanks!


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

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.

Common AS2 Gateway Url For Multiple Trading Partners

$
0
0

Hi Guys,

 

I'm trying to work out if it is possible to use one common as2 url for multiple trading partners.

The url would look like https://b2b.yourcompany.com

 

We use SAP Web Dispatcher to forward requests to PI. In PI, we use AS2 Adapter from SAP B2B Add-On. In web dispatcher, we only can redirect requests based on hostname, protocol, port and etc. I see source ip address would be an option to differentiate partners but it is not available in web dispatcher redirect module.

 

Is it possible? If so, what's the best way to route messages to different sender channel?

 

Thanks in advance.

 


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

Help need.. Ansi X12 to SAP ORDERS Idoc conversion Using B2B Addons

$
0
0

Hi Experts,

 

Scenario: Ansi X12 file to SAP Orders IDoc.

 

I have followed the link http://scn.sap.com/community/b2b-integration/blog/2012/09/27/b2b-edi-inbound-step-by-step-configuration

B2B- EDI Inbound -Step by Step Configurationto construct the interface.

 

ANSI X12 850

Flow1: EDI_Sender(CC_File_Sndr)---->EDISeprater(CC_EDISeparator_X12-850_Rcvr)

Flow2: EDISeprater(CC_EDISeparator_X12-850_Sndr)--->IDoc_AAE (CC_IDoc_AAE_rcvr)

 

I am able to see the file sender channel picks the file and successfully send to EDI Separator.

The EDI Separator while converting throwing *** error:

 

Error: com.sap.aii.converter.x12.x122xml.X122XMLException: Error occurred at X12 document character 175: Cannot find conversion rules for 850/004010

 

Do we need to add anything in the B2B tables?

The interface is developing first time in the PI 7.31 box.

 

The screen shot from B2B Integration cockpit is attached.

 

Currently the table fields are empty and would like to know how the fields are added in the B2B tables.

 

Thanks!

Praveen.

SAP PI 7.31 - EDISeparator Sender Adapter Issue

$
0
0

Hi Experts,

 

I am trying to replicate the scenario mentioned in the blog below.

Blog: http://scn.sap.com/community/b2b-integration/blog/2012/09/27/b2b-edi-inbound-step-by-step-configuration#comments

 

The blog executes the scenario in two steps:

1. From File to EDI Receiver.

2. From EDI Sender to IDoc recceiver.

 

The difference the blog and my scenario has is that the blog is EDI to IDoc and my scenario is from EDI to File. Mapping is involved in the blog but I am doing a Pass-through scenario from EDI to File.

 

I have downloaded a sample EDI file from the Internet.

Source Sample File: http://www.pgedi.com/images/maps/58_59_60_US_4010_4030_4060_5010_UCS%20894%20US%20Business%20Map.pdf

 

I am using the data present at the end of the pdf (link mentioned above) to test my scenario.

 

My Sender EDISeparator channel looks as below:

 

EDISeparator_Sender_Channel.JPG

 

When I placing the EDI file in a folder, I am getting an error in RWB as mentioned below:

 

EDISeparator_Sender_Channel_Error.JPG

 

Can someone help me and tell me what am I doing wrong in my scenario? Any suggestion or guidance in this regard would be really helpful.

 

 

 

Thanks,

Arkesh

HTTP_AAE to RFC Synch interface, string response to be sent from SAP PI

$
0
0

Hi All,

 

We have a interface where sender is http_AAE adapter and receiver is RFC adapter.

SAP PI would receive XML message and is sent to ECC through RFC adapter. Now the response which we receive from ECC will have

a field with value "success" or "failure" which is mapped  to the response target field and sent back to the sender as response.

 

Now the problem is sender needs only string "success" or "failure" to be received as response without any xml tag.

Can this be achieved in SAP PI.

 

We are using single stack 7.31 version with SP6.

 

 

Thanks,

Jane


B2B Converter Module Issue

$
0
0

Hi Gurus,

 

We are to send an EDIFACT message out of SAP via PI to a third party system.

 

The B2B Add-ons have been installed ( ESR Components are available and the B2B Cockpit is also working fine).

 

I have added the 'localejbs/EdifactConverterModule' module on the receiver file channel and I get the following error:

 

com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.ClassNotFoundException: localejbs/EdifactConverterModule

 

I did look through blogs in our community but did not find much.

 

Can you please help? Any pointers would be highly appreciated.

 

Thank you,

 

Regards,

Rakesh.

MIC-field in MDN missing :Sender AS2 adapter

$
0
0

Hello Experts,

 

We have the below scenario :

 

A VAN provider is sending us (SAP PO) the signed and encrypted message which reaches SAP PO. We are sending a signed MDN back to the VAN provider.

However, they are encountering the below error.

 

2014-11-21 16:52:39.643 [8580] SID: 44571782 The response signature is verified

2014-11-21 16:52:39.658 [8580] SID: 44571782 receipt verification result: RECEIPT_MISSING_MIC

2014-11-21 16:52:39.658 [8580] SID: 44571782 Received AS2 receipt has no MIC-field

 

Is there an option to send MIC-field..I believe this field is nothing but the 'Received-Content-MIC' field.

 

Can you please help on what can be the problem.

 

Regards

Saurabh

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

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

Viewing all 1788 articles
Browse latest View live


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