Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all 6719 articles
Browse latest View live

Remove attachment in mail reciever adapter...

$
0
0

Hello All,

 

We have File to File interface....no ESR, file adapter need to pick file and place in another server.

once the file is picked an email notification need to send.

i created mail receiver adapter, email getting triggered, but file attachment is also included into it.

i dont want to send file as attachment....how to do it.

 

SMTP server and i unchecked keep attachment...any additional setting need to be done to remove attachments.

 

regards,

chinna


Persisting Synch ICO Messages for 15 days in PI 7.1

$
0
0

Hi,

 

We are in the middle of a PI 7.1 development that uses Integrated Configuration - as opposed to dual stack integration.  We have a requirement for messages to be logged in the adapter engine for more than the standard 24 hours.

 

We have set the persistDuration.default property in the XPI Adapter: XI service in NWA to 1296000000 (15 days).  This has had successfully taken effect for all dual stack messages (synchronous and asynchronous) as well as asynchronous ICO messages.

 

However, it has not take effect for synchronous ICO messages.  These still show a persit date of 01.01.1970 01:00:00.000 in the RWB.  In reality they are held for a day.

 

Has anybody managed to persist synchronous ICO messages for more than the default (1 day) in PI 7.1?

Can you please explain how to do this?

 

Many thanks,

 

Georgia

File content Conversion (FCC) for Complex structure of converting MT100 text file into XML

$
0
0

Hello Experts,

 

I want to convert the MT100 payment file received from BCM into a custom structure and send it to a third party. The MT100 file received is in terms of text file and the requirement structure from Bank is XML.

 

Is there anyway to directly generate a MT100 file directly in XML format? If not, then i have uphill task on my shoulders of converting the below mentioned structure into XML.

 

compcode

100

:20:123456789

:32A:150805SAR1000,

:50:/0107002268360010

ANB

P.O.BOX 1111,

City1- 11492

Country 1

:52A:compcode

:57A:compcode

:59:/10700500032323

Test Vendor

1-44,Test street

SA - 21485

:70:No.TEST1/5.8.2015

:20:1500000123

:32A:150805SAR3000,

:50:/0107002268360010

Bank

P.O.BOX 8524,

City- 11492

Country 2

:52A:compcode

:54A:/0107002268360010

compcode

:57A:compcode

:59:/10700500032323

Test vendor 2

SA -

:70:No.TEST3/5.8.2015

 

The above mentioned txt structure must be converted into the below format of XML -

 

<PaymentMessage>

 

<PaymentTransaction>

 

 

<SequenceNum>1234567894</SequenceNum>

 

 

<TransactionData>

 

compcode 100 :20:1234567894 :32A:150805SAR1000, :50:/0107002268360010 ANB P.O.BOX 1111, City1- 11492 Country 1 :52A:compcode :57A:compcode :59:/10700500032323 Test Vendor 1-44,Test street SA - 21485 :70:No.TEST1/5.8.2015

</TransactionData>

</PaymentTransaction>

 

<PaymentTransaction>

 

 

<SequenceNum>1500000123</SequenceNum>

 

 

<TransactionData>

 

:20:1500000123 :32A:150805SAR3000, :50:/0107002268360010 Bank P.O.BOX 8524, City- 11492 Country 2 :52A:compcode :54A:/0107002268360010 compcode :57A:compcode :59:/10700500032323 Test vendor 2 SA - :70:No.TEST3/5.8.2015

</TransactionData>

</PaymentTransaction>

</PaymentMessage>


I have also attached the .txt file and .xml file to the note. Please refer to it if needed.


Any help on this will be highly appreciated.


Regards,

Nitin

Error when opening RFC destination

$
0
0

Dear Team,

 

The data movements happening from ECC to PI and when it reaches PI. Facing below errors in SXMB_MONI



&quot;COMMUNICATION FAILURE&quot; during JCo call. Error when opening an RFC connection


Also getting errors in SM59 TCP connection as not registered and in SLDCHECK too.

I have checked gateway(SMGW) of both ECC system and PI system I don't find anything in logon clients.


AI_DIRECTORY_JCOSERVER

AI_RUNTIME_JCOSERVER

SAPSLDAPI

LCRSAPRFC

 

Please help me to resolve this issue. Many Thanks.

XSD for messagetype

$
0
0

Hi,

 

is there a way to get the xsd of a messagtype programmatically, for example inside a java mapping or an adapter module?

 

br

franz

SYSTEM Error-External Header Received!

$
0
0

Hi,

 

I am working on scenario JMS --> PI --> ABAP (IB)Proxy. It's just a pass through interface. The message is been received in PI but in moni we are getting error as below.

 

 

 

Error.jpg

 

Could someone give some solution for this...I have checked some blog but no clue....

external stand-alone java client connection to SAP PI server

$
0
0

Hi all,

 

I am trying to write a small program that connects to the PI server every hour and downloads the hourly volume header data but I cant figure out the API to connect to the PI server.

 

This program is a stand alone client java program that will run on my local computer. It's like developing a simple program using JCo API to connect to ECC system. Is there any similar API to connect to PI servers?

 

All I need is to connect to the PI server, read the header data using monitoring API and download it onto my local system for my  custom reports.

 

Can anyone help me with the classes with which I can connect to the PI server using my Java program?

 

Thanks in advance,

PK

Help with function to remove suppress

$
0
0

Hi!

 

I have some values coming into a function that looks like this:

 

  for(int i=1;i<a.length;i++)
{ 
if(a[i]!=ResultList.CC && a[i-1]==ResultList.CC)
result.addValue(a[i]);  else if(a[i]!=ResultList.CC && a[i-1]!=ResultList.CC)
result.addValue(a[i]);
else if(a[i]==ResultList.CC && a[i-1]!=ResultList.CC)
result.addValue(a[i]);         }

 

It is supposed to remove suppress and pass the other values forward. However it does not work when the first value in the beginning of my attached picture is true. How can I adjust the function to make this work?!

 

If I change the int i=1 to =2 it will not work if the value in the beginning is false. So it becomes the opposite. Any ideas?


Error "Could Not Determine mapping steps for message" while HCM to SuccessFactor Integration using PI 7.4

$
0
0

Hi Experts,

 

I am doing HCM to SuccessFactor Onboarding Integration using PI 7.4. Using standard ESR content SFIHCM03 600 SP04.

I am getting below error while executing beginSession , CancelSession scenario. I already checked note - 1312182. But still getting same error.

Its synchronous scenario. I am using SOAP(AXIS) Receiver adapter while connecting to SuccessFactor system.

 

Please help.

 

Regards,

Sagar

Develop Custom adapter module on sap pi 7.40

$
0
0

Hi the community,

 

we migrate from sap pi 7.11 to sap pi 7.40,

 

to develop adapter module on NWDS 7.31 ( EJB 3.0 ) I flollowed the procedure I found in the link

http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/08/08/pi-74--adapter-module-creation-using-ejb-30<

 

The publishing was successfull but when I want to use the module, I set the JNDI_NAME in the adapter module name  and I receive an error saying that the jndi is unknown.

 

I redevelop the same adater module on NWDS 7.31  using the EJB 2.1, the publishing is successfull and when I use the module , I set the JNDI_NAME in adapter sender that works perfectly

 

Can somebody help me, please?

 

Best Regards.

 

Eric Koralewski

Integration Process Error

$
0
0

Hi All,

 

I have an Integration process Issue.

 

Actually My colleague created one Integration Process.

When he try to open it it shows Error.

Even when he try to Reject Change getting Another Error.

When I try to Transfer to my user its showing again Error.

 

could you please let me know the exact issue why it is behaving like this.

I am attaching all 3 Error screen shots.

 

Please help me on this.

What PI adapters to use b/w RESTful web service API & ECC ??

$
0
0

Hi All,

 

We have a requirement to get currency data from an API which is a RESTful webservice API with following schema:

 

• The API isa ccessed using the HTTPS protocol.

• The API is accessed from the domain xecdapi.xe.com.

• All data is sent and received in the JSON format by default.You can optionally specify XML or CSV formats instead.

 

and sent it to a program in ECC which further processes this data using SAP PI 7.3 dual stack SP05.

 

I have checked out options of using REST or SOAP adapters at Sender side and RFC/SOAP(XI) adapters at receiver side.

 

Can anyone tell me which PI adapters to use and if possible some steps ?

 

Any info is appreciated.

 

Thanks

Neha

How to remove duplicates in a field

$
0
0

Hi Folks,

 

Currently my project is using SAP PI 7.0 Version.

 

for one of the requirement : i need to remove the duplicates in the filed:

 

i wrote UDF as below:

 

ArrayList aList = new ArrayList();

aList.add(a[0]);

result.addValue(a[0]);

for(int i=1; i<a.length; i++){

if(aList.contains(a[i]))

     continue;

else{

aList.add(a[i]);

result.addValue(a[i]);

}

}

 

Removeduplicates.JPG

 

but i am getting the below error:

RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping

/ns0:Messages/ns0:Message1/Offer/LocationGroups/LocationGroup[8]/LocationGroupID. The message is:

Exception:[java.lang.StringIndexOutOfBoundsException] in class com.sap.aii.mappingtool.flib3.

TextFunctions method substring[, com.sap.aii.mappingtool.tf3.rt.Context@14d914d9]

 

Kindly check and provide me the Exact UDF code or any alternate method to resolve the issue.

 

Thanks in advance.

 

best regards,

Hari.

SAP PI: Z-Idoc over PI in one field in WE05

$
0
0

Hello,

 

we have created a Z-Idoc for a inbound scenario. The Idoc is converted from a flat file to a mapped idoc. In the PI the mapped Idoc is shown correct:

 

 

Monitoring.jpg

 

The Idoc then is imported in the SAP-system, but the different segments are just concatenated and some fields are missing:

 

WE05.jpg

 

 

Why is this happening?

 

regards

Christian

Issue with RFC Lookup UDF

$
0
0

Hello all,

 

I have an issue RFC Lookup udf.

my lookup is working fine but in response actually i need to get 2 fields, but i am getting only one.

 

 

Thanks

Swetha


Runtime exception occurred during application mapping com/sap/xi/tf/_MM_SUMA_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Premature end of file.

$
0
0

Hi SCN,

 

I have one error with PI 7.1

 

When I test the Interface Determination the Sender Agreement no load the Payload.

 

The scenario is SOAP->SOAP.

Test PI.png

 

Someone has an idea of this error

 

Regards,

Emir Morillo

exceptions720.NameNotFoundException: Path to object does not exist. First missing component is [swift], the whole lookup name is [localejbs/swift/FileActConversionToSWIFTModule]

$
0
0

Hello Experts,

 

I am using SAP PO 7.4 system (single stack system). And i am currently doing the development to have SWIFT integration using BCM module for the payment file and bank statements. Hence in order to convert the MT100 payment file coming ECC into XML, for the same i am using the below mentioned module in my File sender channel.

 

But the channel is throwing the below error -

 

Error: com.sap.engine.services.jndi.persistent.exceptions720.NameNotFoundException: Path to object does not exist. First missing component is [swift], the whole lookup name is [localejbs/swift/FileActConversionToSWIFTModule].

 

Is this something to do with the initial configuration which i have missed? Please note i am using SWIFT 622 content. Kindly help me with this, as this is the first step in my configuration.

 

Regards,

Nitin Deshpande

HTTPS error for Sync Scenario

$
0
0

Hi All,

 

Requirement : SOAP to Proxy Sync Scenario (we are not using SSL certificates)

 

I have created Async scenario and triggered message using link " https:// " with channel configuration HTTP Security Level : HTTP, it was working fine, but same configuration is not working with Sync scenario and getting error "com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Communication over HTTPS. Unable to create a socket"

 

when i use HTTP Security Level: HTTPS Without Client Authentication for Sync scenario, getting below error "

java.security.AccessControlException: https scheme required

    at com.sap.aii.adapter.soap.web.SOAPHandler.checkHTTPSecuritylevel(SOAPHandler.java:826)"

 

Wondering why it is working with Async but not with Sync scenario

 

Regards,

Mani

"keyStore" in EJB Module problem

$
0
0

Hi,

I'm testing with X.509 on SAP PI 7.4 SP08 , I could sign, verify, encrypt and decrypt values in a UDF.

 

I have copied and pasted the code in a module ( EJB 3.0 ) and is not working, below is the code to encrypt:

 

public byte[] encrypt(byte[] inpBytes, String keyStorageView, String keyStorageEntry,String SubjectDN) throws Exception {        KeyStore keyStore = null;    boolean res = false;    ByteArrayInputStream is = null;    SsfDataPKCS7 data = null;    byte[] result = null;    InitialContext ctx = null;    ctx = new InitialContext();    Object o = null;    o = ctx.lookup("keystore");    KeystoreManager manager = (KeystoreManager)o;    keyStore = manager.getKeystore(keyStorageView);//in debugging mode I see no certificates!    is = new ByteArrayInputStream(inpBytes);    data = new SsfDataPKCS7((InputStream)is);    SsfPabKeyStore profile;    profile = new SsfPabKeyStore(keyStore);    SsfSigRcpList test = new SsfSigRcpList();    test.add(new SsfSigRcpInfo(profile.getCertificateBySubjectDN(SubjectDN)));//null value in "profile.getCertificateBySubjectDN(SubjectDN)"    res = data.encrypt(test,(ISsfPab)profile);    if (res) {      result = (byte[])data.getDataPKCS7();    }    return result;  }

Any ideas?.(I think it's a bug).

 

Best regards.

XSD file imported into PI as external definition showing some nodes red in color

$
0
0

Hi Sap gurus.

I have imported a XSD file into PI Design as an External definition but some nodes (referring to other xsd's which were already imported into PI design ) are showing in Red color but the object is activated without any errors.

 

also the nodes are not referring to the respective xsd's (which were already imported into PI as external definition).

 

could any body help me in this ?

 

Regards.

Jagdish.

Viewing all 6719 articles
Browse latest View live