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

How to Convert Base64 Encoded format in sap pi

$
0
0

Hi,

 

I am doing 'Soap to Soap ' synchronous scenario.The file that we are sending needs to be in Base64 Encoded format and the response would be in encoded format which we have to decode in order to do the mapping in PI.

 

we are using PI 7.4 Dual stack.

 

I have already gone through the below blog but that is for Asynchronous scenario and not very explanatory.


Base64DecodeConverter - Base64 decoding made e but

 

Could you please suggest how to achieve the above requirement.

 

It is an urgent requirement and would very much appreciate your help.

 

 

 

Thanks & Regards,

Srinivas


configuration overview vs message monitoring

$
0
0

Hi,

 

I am not understanding how this configuration overview works, as it is showing differently in message monitoring..can anybody explain please...

 

Configuration overview screen:

Capture1.PNG

Message Monitoring screen:

Capture.PNG

In configuration overview it shows as message flows from A-> A,A-> B, B-> A

In message monitoring it shows as A-> empty,A->A and A-> B

 

Thank you,

Vijay.

How to Convert Decoded format in sap pi

$
0
0

Hi,

 

 

I am doing 'Soap to Soap ' synchronous scenario.The file that we are sending needs to be in Base64 Encoded format and the response would be in encoded format which we have to decode in order to do the mapping in PI.

 

 

 

we are using PI 7.4 Dual stack.

 

 

I have already gone through the below blog but that is for Asynchronous scenario and not very explanatory.

 

 

  Base64DecodeConverter - Base64 decoding made easy!

 

 

Could you please suggest how to achieve the above requirement.

 

 

It is an urgent requirement and would very much appreciate your help.

 

 

 

 

 

 

Thanks & Regards,

Srinivas

Setup alerts for SXMB_MONI

$
0
0

Hi,

 

Any help in setting up the Alert configuration to send messages for errors found only in SXMB_MONI?


Thanks,

Vijay.

Fault message type for RFC_READ_TABLE

$
0
0

Hi Folks,

 

Have anyone tried configuring Fault Message Type for RFC_READ_TABLE in SAP PI/PO. I see the Fault message type in the "RFC_READ_TABLE" when I import it into PO but when I try to configure it in the inbound/outbound interface its not letting me configure the Exception structure in the fault message type. FYI I am already going through the following blog which doesn't have this issue that I have.

Handling Web Service SOAP Fault Responses in SAP NetWeaver XI

 

Capture.JPG

 

 

Regards

Kalyan.

1:N One Input to Two Output Paths with Dependency

$
0
0

I need to integrate user and directory data where the user must exist before I can create the directory record. If I need to create a new user and directory record, how can I ensure the user record will be created before I create the directory record? Specifically, I expect to read LDAP user information and from that look up related information in a SQL database, then use this data to either update the user and/or directory records in the target system via web services. I think I can wire the two records via a secondary/business key so I do not need the user's record's primary key. I just need to be able to time the requests to the services so that the user request is processed first. Something like a fork where one path is delayed.

No configuration/default adapter specified for HTTP_AAE

$
0
0

Hi all,

 

We are on PI 7.4 single stack.

 

The issue we are facing is for one of the interfaces to send PO data to vendors HTTP URL..

 

Interface is FILE to HTTP.

 

In the message monitor,we see the below error:

HTTP reciver channel error.gif

 

 

Can anyone provide any pointers how to fix this issue?

HCI SFTP Receiver Channel Configuration

$
0
0

Hello,

 

I am facing a problem using the SFTP Receiver Channel on HCI for receiving batch proccesed messages.

actually we use the functionality to "Append Timestamp" and also "Fail" if a message with the name already exists.

 

So actually we use a report to create sales data and pass it to hci.

Most of the times we have 1 successfully transfered message followed by 2-3 errors because the file aready exists.

As far as i know this is related to the append timestamp, this functionality only used hhMMss as definition of time, but we are transfering more than one message per second.

In PI we would have choosen the AppendCounter functionality but this seems not available on hci.

Do you have a solution for this? Something like dynamic configuration in mappings als also not available as far as i know.

 

Another problem related to this is that our provider of the target system is missing certain data sets which are marked as processed successfully in HCI. Could this also be related to the problem mentioned above?

The HCI used more threads to access the SFTP Server and create a file ... this happens in similar time so that 2 messages are written without the error "file aready exists"?

Is this possible?

 

Thanks for any hints regarding this two errors

 

Best regards

Robert Schmiedel


Different interface is showing in QA and PRod

$
0
0

Hi All,

 

As i am monitoring the messages in Prod(P1P) and QA(p1Q) system i come to one strange point in which i can see one scenario  is showing different in QA and Prod. Although there is only one interface is exist in ID with that configuration but in Monitoring its is showing different interface.

 

in QA it is showing good means according to the configuration, it is showing the right interface name ie. SI_ORFEUS_IN But in Prod it is showing the sender interface name SI_ORFEUS_XML but when i open that message in detail it goes to same mapping and receiver channel but some how it showing the wrong interface. Few days back it was showing proper .is there any parameter we need to check or somthing like that?

 

I am on PO7.31 SP13.

 

 

er1.JPG

 

Regards

GB

Same File name in SFTP to File Scenario

$
0
0

Hi Friends,

 

I am working on SFTP to File Scenario where we are using SAP SFTP adapter, and there is no ESR part created.

 

I have requirement where I need to pass to source file name to target file name. 

 

I have searched in sdn but didn't find much helpful threads.

 

Can you please provide some suggestions here.

 

Thanks,

 

Satish.

Reading one file before moving 3 other related files

$
0
0

Hi all,

 

I am actually working on SAP PO 7.4.

I have scenario where I need to move 4 files based on the content of the first file (using FTPs adapter).

 

First instance, I have 4 files with identical names on a server among hundreds, just the extension that is different :

file_date_time.xx

file_date_time.yy

file_date_time.cc

file_date_time.ii

 

file_date_time2.xx

file_date_time2.yy

file_date_time2.cc

file_date_time2.ii

 

.....

.....

 

In my scenario, I always need to read file_date_time.yy first as its content allows me to know where to route all 3 others related messages.



My issue is : How can I tell PI to pick only these 3 others files based on the content of the first file I have read ?


Hope I was clear.

 

Thank you in advance for answers.

 

Jean-Philippe

IDOCXmlToFlatConvertor segment names E2..

$
0
0

I'm using the IDOCXmlToFlatConvertor adapter module to convert IDoc data into flat text format in a 7.11 --> 7.40 migration project.

 

In the 7.11 system this task was handled by an ABAP mapping which created output like this:

 

Snap14.jpg

 

Please notice the segment names and compare to the output generated by IDOCXmlToFlatConvertor module:

 

Snap15.jpg

 

Apparently a segment release version is added to the segment name. That's not an issue at this point.

My real problem is the E2* segment naming instead of E1*.

 

Receiver side application identifies records by segment name and they're of course looking for E1 ...

It doesn't seem like there's a parameter etc. to configure anything of this kind in the module.

 

I assume this would be a common issue.

When sending flat files to a partner it's logical that they would break down the file by looking for specific segment names, and thus this would inevitably lead to a change in the receiving application if they are to receive the files coming out of IDOCXmlToFlatConvertor.

 

I can easily fix this issue by running the created output through a java mapping but want to hear the forum if there's a better/easier solution.

Invoice idoc after invoice print

$
0
0

Hi,

 

I want to create idoc after invoice print(VF02), now idoc is getting created after saving, but print output type is diiferent from idoc output type. Actually we want to create idoc after printing. Is this possible? 

 

Regards,

Vinothkumar M

Alert email Issue.

$
0
0

Hi,

 

When i execute the report RSALERTTEST in SE38, i  am able to receive alert emails, but when actual failure occured in sxmb_moni, am not receiving alerts for the same. How to debug...

 

Thanks,

Vijay.

Converting string value to XML.

$
0
0

Hi Team

I have a requirement like 3rd party system is sending collection of transactions as a payload to one string into pi, now all the payload is in one string. I need map all the fields to RFC and need to post that to BW system. with out using java/xslt mappings how can i do that?


Restful Soap Call using Axis Adapter

$
0
0

Hi all, we are make a dynamic restful call using the axis adapter from PI to SAP Sourcing. We make one call to update header values and then the next to update the line items in sourcing (these are out of the box services in sap sourcing). The first call to update the header works successfully and the second call to update the line items fail. We believe we have determined this is happening because the content-type=application/xml header value is not being passed in the second call for some reason.

 

I have tried to use a cookie to get this value from the header response and then pass it to the item service request using sap documentation but this does not seem to work?

 

http://scn.sap.com/docs/DOC-16148

 

Thanks,

Katie

Multiple File transfer

$
0
0

Hi,

 

I have requirement to transfer file from a source to target ( no mapping) in PI 7.1.

We use Integrated Configuration (IC) to move the files.

 

Requirement is, at source, I have 10 diff files ( File1..File10.txt).

Out of this, only 4 files have to move to one Target 1, and in addition, all 10 has to be moved to Target 2.

End result will be 4 on Target 1 10 on Target 2.

 

I am planning to use multiple receiver under receiver tab but for that i have to create 10 IC, one for each file ( File1..File10)

And in the files which are going to both the target, i have to add this in receivers etc..

 

Is there any better way to handle this without BPM, UDF etc.

 

PS: i have to delete the files from source after processing so i cannot run both channels parallel..

 

Thxs

Transport issues using file system

$
0
0

Hi experts,

 

We have issues when transporting ESR objects between repositories from Development to Production environments.

 

Production ESR is completely empty and we want to transport namespaces individually (with their objects). Initially, first importing creates the SWCV with all namespaces (namespace definitions) and the indicated namespace with their objects. Why are all namespaces created?

 

On the other hand, if we need to transport a new namespace and this namespace definition does not exist in Production, the objects are not created. In order to "see" these objects, we have to create manually the namespace in Production system, so their objects are visible in that moment. Other times, even namespace is created, objects transported are not visible...

 

We have refreshed caches (ESR and full), but problem continues... What could we check? Could it be a bug?

 

Any help will be appreciated.

 

Thanks in advance,

Samantha.

Regarding AS2 receiver communication channel

$
0
0

Hi Experts,

   I have a scenario, ORDERS05 ==> SAP PI ==> AS2 ( EDI). Getting some error while converting to EDI. I have done the below module configuration.

 

Please suggest, what need to be added .

 

AS2 module details.JPG

 

 

 

 

error is :

 

 

AS2 error.JPG

 

 

 

Regards

Veeru

REST polling, Atom feed and XPath to incremental token

$
0
0

Hi guys,

 

 

I am polling a REST api with an incremental request. The incremental token is in the response content, which is actually an Atom feed.

Truth is, I couldn't figure the XPath expression to the token...

 

Here is the response :

 

<?xml version="1.0" encoding="utf-8"?><feed xml:base="https://some.server/SomeService.svc/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">    <id>https://some.server/SomeService.svc/SomeCollection</id>    <title type="text">SomeCollection</title>    <updated>2016-06-23T09:30:57Z</updated>    <link rel="self" title="SomeCollection" href="SomeCollection" />    <entry>      ...    </entry></feed>

 

Willing to get the "updated" node, I tried a few possibilities  :

  • /feed/updated
  • /atom:feed/atom:updated
  • /feed/atom:updated
  • /updated
  • /atom:updated
  • ...

 

In each case, the next call used the fallback value for "missing of empty token".

 

So, who can tell me the correct XPath expression ?

Bonus points for the one who will explain me why my first two guesses were not successful...

 

Thanks in advance,

 

Manu.

Viewing all 6719 articles
Browse latest View live


Latest Images

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