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

SAP PI REST Polling scenario

$
0
0

PI REST Adapter - Polling a REST API

 

 

We would like to frequently poll hiring information from REST API

 

 

We have two options in REST Adapter polling in SAP PO:

Option 1: Incremental request based on timestamp of last call

Option 2: Incremental request based on response content

 

 

Can we combine these two options

 

Is there any custom way of handling below HTTP polling scenario. I am trying to get candidates from a Recruiting system and I need to pass below values in URL:

 

https://api.jv.com/api/v2/candidate?api=<key>&sc=<secret>&format=json &start=1&count=50&datestart=2016-04-25&dateend=2016-04-26

 

1. So my variables are "start" which would the next starting index i.e. 1...51...101

 

2. datestart would be the last time I ran this interface

 

3. dateend would be current time.

 

I tried the incremental count approach but how do we handle both incremental date and nextPageToken ?

 

Also if I use next Pagetoken the API response doesn't carry a page index or current page and next page token.

 


RFC adapter Response Junk characters

$
0
0

Hi,

 

We are facing a strange issue in the scenario FILE-->PI<-->RFC( Async Sync scenario).

                                                                   FILE<--PI    

 

We are getting Junk response from SAP RFC sometimes, when we send the same request after some time it works fine means getting proper response. Some times it works first request itself some time we keep on trying until we get the valid response. 

 

I thought of code page error, but if that is the case we shouldn't get the valid response when we try next time with the same request.

 

ABAPer debugged the code and he is saying that no issues in the code. Could any one please suggest how can I trace this error whether this issue is at ECC side or at PI side?

 

Thanks,

SAP PI - SXMB_MONI Payload Issue

$
0
0

Hi All,

 

We have one issue in SAP ECC Production System.

In SXMB_MONI inbound message payload it is showing payload as text file for failed message and showing xml for successful message for same sender service interface.

 

why it is showing payload as text file?

Could any one please help me on this?

 

Untitled.png

 

 

Thanks In Advance,

vishnu.

PI java stack is not opening in browser

$
0
0

Hi Friends,

 

I am not able to open my pi java stack (development)  in any browser(in IE and chrome)

 

I tried using sxmb_ifr  from abap stack ,but it gives same prob.

 

I changed hostname and I given ip address but also same issue

 

but It will open in another system .

 

while run the browser I am getting following page:

ie.PNG

 

 

please do the needful

 

Regards,

Ravi

SFTP Sender Channel to Select flat files with timestamp in SFTP

$
0
0

Hi Team,

We are implementing SFTP <--> SAP Proxy scenarios. I am able to select the files with timestamps using SFTP sender channel. Now I need to select file from a SFTP directory. Here the SFTP directory also creating every day dynamically with timestamps.

1. How can a select a file, where directory ans file both are based on timestamps.

2. The Receiver connection time out errors when the file size is more than 20 MB, Any solution to handle this issue. The receiver is a SOAP channel.

Thank in Advance.

SFTP.JPG

Catching Exception Calling messaging system in HTTP adapter sender channel.

$
0
0

Dear All,

 

I am getting below error. Could you please suggest me what is the reason behind it.

it is working from long time this is coming from yesterday.

 

sender is HTTP channel server PI7.31 AEX server.

transport protocol is         HTTP1.1

Message protocol            POST

 

 

Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_IN_MODULECHAIN sender channel cc_chanelname (ID 294723455) CATCHING EXCEPTION CALLING MESSAGEING SYSTEM.

 

Thanks

 

Prem

Need help regarding HTTPS with AS2 setup !!

$
0
0

Hi All,

 

We have a scenario wherein we are communicating with Bank using Seeburger AS2 with HTTPS while sending data.

 

We have sent them our certificate chain having our public certificate in .p7b format and vice-verse they have sent their 3 chained SSL certificate in .cer format.

 

Now, the issue is that when we use HTTPS with AS2, we have 2 additional fields to be filled.

 

 

So,

 

1. I am not sure what needs to filled in these fields.

2. The received SSL certificate chain needs to installed individually in NWA or as one only

3. The location of SSL certificates in NWA. Which view should i use?

4. Is there any other setting to use SSL connection. We already have 443 SSL port enabled and in green status.

 

I believe once this SSL handshake is successful, the the role of AS2 certificate will come into play.

 

Please suggest.

 

Thanks

Neha

Public and Private Key

$
0
0

Hi

 

I want to generate public and private key in NWA. Remember there was some blog, but couldn't find.

 

Can anyone help on this?

 

Regards

Sam


Map an undefined node

$
0
0

Hi Gurus,

I'm not sure if this is at all possible. Is it possible to map a node + fields that are not defined in the external definition imported in PI?

For example:

the source file has:

<source>

  <name>BOB</name>

  <***>F</***>

  <contact>

    <telephone>1111111</telephone>

    <mobile>2222222</mobile>

    <email>aaa@aaa.com</email>

  </contact>

</source>

 

But in PI structure (ext def), it's only:

<source>

   <name>

   <***>

<source>

 

Is there a way to map the source node contact to the target structure even if it was not declared in PI? Can it be done using UDF or XSLT mapping?

SAP PI 7.31: Alerting doesn't get send to mail recevier

$
0
0

Hello,

 

since two month we are struggling with a strange error behavior:

 

We have implemented the Alerting-Mail for the ALERT-TO-MAIL Group. These has been working fine until for two month. Since then the Job is working and collecting the mails but they are not send to the confgured Receivers. Instead they are just send to the "MailFrom" adress.

Alert_error.jpg

Does anyone one has struggled with this error and know how to fix it?

 

regards

Christian Gessner

Recommendation of SAP for using PI for Full Extract

$
0
0

Could someone let me know,

What is the suggestion or recommendation  of  SAP  for using PI for Full load of Data from source (SAP ECC)to pushing into target (DB)?

 

Thanks!

NWDS 7.5 64 bit version

$
0
0

In the download site for SAP NWDS 7.5 the Windows version is mentioned as Win32 (Support Packages and Patches --> SAP NetWeaver and complementary products --> SAP NetWeaver --> SAP NetWeaver 7.5 --> Developer Studio.) - however no mention of a 64 bit NWDS version for download.

 

However, the JDK version and OS versions all have a pre requisite for 64 bit versions - is there any separate location to download the 64 bit NWDS ?

Two SAP Systems and one SAP PI middle ware

$
0
0

Dear Experts,

 

i have a requirement like SAP 4.6 ECC data to move SAP ECC 6.0, both are differe nt system ids. can we able to integrate or transfer the data through RFC sender to Rfc Receiver. in this case how to connect connection betwenn two r/3 systems?

 

for Sender Rfc i need to create RFC Destination for the SAP 4.6 System right? other than this is there any possible connection need to set or what?

 

 

image1.jpg

 

Regards,

Kiran Polani

files were picked up out of order

$
0
0

Hello Gurus,

 

We have a scenario where 2 files were placed at the interval of 15 mins each. For eg . say one file was placed at 12.15 PM and and other At 12.30 PM. QOS is EO for the file channel. The thing what we have observed is PI is picking the file placed at 12.30 PM and then picking the file placed at 12.15 PM later. I can say that first file size not so large when compared to 2nd one. the files are not picking up in the same sequence .Any specific reason why this thing happened ?? .I appreciate your help on this.

SAP HCI: Unicode support in XML to CSV converter

$
0
0

Hi Experts,

 

I am using XML to CSV converter in SAP HCI iFlow. However, after the CSV conversion Unicode character (for example Chinese characters) are displayed as "?????". Kindly suggest how can we handle this. Apparently there are no settings in the converter itself to set options for Unicode.

 

- Netrey


How to hide username-password visible in usertoken

$
0
0

Hello,

 

I have SFDC to SAP integration via PI.

From SFDC to PI, I am using sender SOAP adapter.

Its user-id password authentication approach.

 

Since SFDC is making rest call to PI, username and password are visible in the header under security tab.

 

Please suggest how to avoid this security issue.

how to convert xml file to a string and write that string to another XML file format in XI/PI?

$
0
0

Hi Experts,

I have a requirement in that i need to convert the xml file in to a string and then write it to another file as valid xml format.

i tried few logics but all of those are failed to write converted string to xml file format as it is always taking that string as XML tags but not as a string.

for example my xml was

<?xml version="1.0" encoding="UTF-8"?>

<Students>

<Student_Name>Srinivas</Student_Name>

<Student_FullName>Srinivas_Kumar</Student_FullName>

<DOB>1992-09-25</DOB>

<FlatNo>#04,8th main</FlatNo>

<Locality>GandhiRoad</Locality>

</Students>

expected output should be like

<?xml version="1.0" encoding="UTF-8"?>

<ns0:message>

<Students><Student_Name>Srinivas</Student_Name><Student_FullName>Srinivas_Kumar</Student_FullName><DOB>1992-09-25</DOB><FlatNo>#04,8th main</FlatNo><Locality>GandhiRoad</Locality></Students>

</ns0:message>

please help me in this.

Strip tag name in JSON with REST adapter

$
0
0

Hello,

 

 

We have to post multiple address records from SAP to a 3rd party REST service.We are on PO 7.5.

We are using ABAP PROXY to PI to REST interface.

 

I have created data type with Address element with has 0-n occurrence. This has been assigned to message type MT_ADDRESS.

XML to JSON conversion on REST adapter has been used to convert input XML to JSON.

 

With this setting, below JSON is being sent to REST service.

 

 

{"Address":[

{"code":"POST1","name":"Test POS Address 1","erpId":"POST1","line1":"Address 1 Line 1","line2":"Address 1 Line 2","city":"City1","state":"MA","zip":19501,"country":"US","shipTo":true,"billTo":true,"invoiceTo":true},

{"code":"POST2","name":"Test POS Address 2","erpId":"POST2","line1":"Address 2 Line 1","line2":"Address 2 Line 2","city":"City2","state":"MA","zip":19502,"country":"US","shipTo":true,"billTo":true,"invoiceTo":true}

]}

 

 

Expected format :

 

[

{"code":"POST1","name":"Test POS Address 1","erpId":"POST1","line1":"Address 1 Line 1","line2":"Address 1 Line 2","city":"City1","state":"MA","zip":19501,"country":"US","shipTo":true,"billTo":true,"invoiceTo":true},

{"code":"POST2","name":"Test POS Address 2","erpId":"POST2","line1":"Address 2 Line 1","line2":"Address 2 Line 2","city":"City2","state":"MA","zip":19502,"country":"US","shipTo":true,"billTo":true,"invoiceTo":true}

]

 

 

My message type is MT_ADDRESS which has been stripped already due to setting "strip the outer element".

But I am not able find a way to strip the "Address" tag?

 

 

Please help?

SAP HCI - Content Modifier query

$
0
0

Hi SDNites,

 

I have populated XML is Content modifier and connected this step with the message mapping. It gets deployed with error and have obtained the below message,

 

Content Modifier may not pass Xml message to Message Mapping. Message Mapping supports Xml input only.

 

Also it is deployed but I cannot see in the monitoring so I believe it because of the message mentioned above. Can you please guide how can I resolve the above.

 

Regards,

Abhi

design Query?

$
0
0

Hello All,

I am working on a requirement and need your inputs to best design and implement it, here is the scenario.

SAP HANA ->SAP PI 7.4(Java Single Stack)-> Third Part Messaging System and vice versa.

 

Scenario: SAP will trigger email message (Email Id, Subject, Email Body) via outbound SAP proxy, which will come to SAP PI and will be send to3rd party messaging system using Rest adapter. Once SAP message is acknowledged for processing by 3rd party messaging system than it will return me unique message id for each of the email message in a field called location.

 

Please refer screenshot for the API below.

Response Example

The following code is an example response from a successful message sendout.

 

 

1HTTP 1.1 202 Accepted

 

 

2Location: http://api.whispir.com/messages/ABD435DBFCD663DEDEFF?apikey=<yourkey>

 

 

3

 

 

4Your message has been accepted forprocessing.

 

 

 

 

This message id than needs to be used again to query the third party system for the status of each Email message (delivered, failed etc).

 

  1. Considering I need to receive the message id and then use it to query again the third party system
  2. Do I need to have separate interface to query the status? Meaning first time the message will come from SAP to PI and then to 3rd party system. The message id will be stored in SAP R/3 . Then another proxy will take the message id and through PI will query again the 3rd party system through a new interface.
  3. What is the best way to retrieve and store the message id from field location and how can it be done? I mean should I use synchronous service interface at SAP end and 3rd party system or it can be done in better way?
  4. What is the use of tab “HTTP Header” and “Response determination” in REST adapter?

 

Please let me know if you need more details from my end.

Thanks/Ajay

Viewing all 6719 articles
Browse latest View live


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