Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
2k views

SAP PI: Graphical mapping: Map with default function not working

Scenario: Address node has 6-7 fields which has customer details. In default we have 4 partner functions that is coming in IDoc that we map it to target fields. In some scenario, there are additional ...
buttler wk's user avatar
-2 votes
1 answer
3k views

XPATH Expression to determine the receiver in SAP PI

I have a requirement where i need to determine the receiver based on condition in SAP PI XPATH expression. Can someone help please. condition 2: <bizTransactionList><bizTransaction type>...
Sree's user avatar
  • 19
0 votes
1 answer
885 views

UDF for conditional generation of filename

I want to pass the filename dynamically based on the condition. I have written the below code but the filename is not getting passed. I think there might be some issue in the if condition. ...
Kaushik's user avatar
  • 165
0 votes
0 answers
64 views

User Defined Program to calculate fields

I have to take a document from SAP ERP and then send it out through a CSV file with values delimited by pipes (|). The configuration works, I built it, mapped some segments... but I don't know how to ...
Alvaro Espinoza's user avatar
3 votes
1 answer
7k views

Calling SAP PI web service throws ADAPTER.JAVA_EXCEPTION

I'm making a Java SOAP call to a WS on SAP PI. Tried with a curl and it worked well, getting a response. Is there something to do more on Java that I miss? Trying with the code below, I got the ...
DanieleO's user avatar
  • 472
1 vote
1 answer
2k views

XPATH expression with negating condition in SAP PI XSLT Mapping

I have to maintain conditions in Interface Determination of ICO in SAP PI. I have several invoice types like L1, S1, G1, F1, etc. I have two separate mappings as per requirement. When the Invoice ...
Kaushik's user avatar
  • 165
0 votes
1 answer
117 views

Weblogic 12c JMS Queue to SAP PI server

We are trying to send messages from weblogic 12 JMS Queue (created under JMS module) . But wherever we are putting any message in the queue, SAP PI is not able to read it. It doesn't pop up any error ...
Ankit Kumar's user avatar
1 vote
1 answer
14k views

Converting XML to JSON using GSON in PI Java Mapping

I am facing issue while converting the source XML into JSON using the GSON library. Please find below the source XML, code, actual output and expected output. I am implementing this in Java mapping of ...
Kaushik's user avatar
  • 165
0 votes
1 answer
2k views

Parameterized SAP PI Mapping

Is it possible in SAP PI parameterized mapping to get the value from a field in graphical message mapping and send that value in Java Mapping? I have a scenario where I am getting the email list from ...
Kaushik's user avatar
  • 165
1 vote
1 answer
1k views

Open/close tags are replaced with &gt; &lt;while base64 decoding in SAP PI

I have written a UDF to decode and encode base64 text in SAP PI mapping. But after decoding the XML tags, open and close tags all are getting replaced by &gt; and &lt;. Please find below the ...
Kaushik's user avatar
  • 165
-2 votes
1 answer
2k views

NFS setup for file transfer to SAP PI middleware?

I am trying to set up a new architecture for Middleware using SAP PI/PO. The problem is to determine a right mechanism for pulling file from other servers (Linux/Windows etc.) Broadly, 2 different ...
Shailender Jain's user avatar
0 votes
1 answer
4k views

HTTP 404 while sending message from SAP PI to other system

The error from PI when I try to send to SAP system is: Transmitting the message to endpoint http://xxx.xx.xx.xx:50400/sap/xi/engine?type=entry using connection jdbc_http://sap.com/xi/XI/System ...
ekekakos's user avatar
  • 611
0 votes
1 answer
562 views

Encapsulate XML into JSON list

I need to convert an XML source to a specified JSON format. To do this I need to remove header nodes, retain the array body and encapsulate in square brackets [ ]. I have converted the body but I am ...
Loretta's user avatar
  • 11
0 votes
1 answer
1k views

Do PI mapping based on inbound IDoc source system

I have to send the goods movement via IDoc from 2 different SAP systems to S/4 HANA via SAP Process Orchestration (PO). I need to recognize in S/4 HANA from which system the IDoc is coming, do some ...
user2419908's user avatar
0 votes
2 answers
1k views

Transform XML fields to key/value pairs in PI XSLT mapping

In SAP PI, I have xml files from rest services (web configurator) for which the fields can vary based on the product. For instance product A has a color, a height and a width, and product B has a ...
Mike Dole's user avatar
  • 687
0 votes
2 answers
3k views

Trigger IDoc or web service after creation of purchase requisition

I have this integration scenario from ECC to SAP PI 7.0: when a Purchase Requisition is created by the MRP process, the PR data should be sent automatically to other party through a web service or ...
user2419908's user avatar
0 votes
1 answer
876 views

FCC Parameters in SAP PI

Is there any way to display Recordset Structure Sequence in Ascending Order? In the existing configuration of File Adapter's Content Conversion Tab of File Content Conversion, we have Recordset ...
Kaushik's user avatar
  • 165
1 vote
1 answer
2k views

Unable to display tree view in parameterized Java Mapping in SAP PI 7.5

I am working on parameterized java mapping. While testing in Operation Mapping it gives us error: Unable to display tree view; Error when parsing an XML document (Premature end of file.) And the ...
Kaushik's user avatar
  • 165
0 votes
1 answer
6k views

NullPointerException while invoking method getInputParameters()

I am doing Parameterized Java Mapping in SAP PI 7.5 with following parameters bound by the tag names specified in the Operation Mapping (BS_NAME,CHANNEL_NAME,EMAIL). On testing the below java ...
Kaushik's user avatar
  • 165
0 votes
1 answer
2k views

SAP PI message mapping does not map values

In SAP PI 7.4 I'm experiencing some difficulties in trying to map something in a message mapping which would seem quite straightforward. Input is something like this. <Employee> <...
Aza dude's user avatar
-1 votes
1 answer
3k views

SAP PI UDF to convert date without time to datetime ISO8601 string

I need to write a java function for SAP PI which returns a string for my XML mapping in the format: yyyy-MM-dd T HH:mm:ss (e.g., 2018-08-15T00:00:00) even when my source field is just a date field ...
Mike Dole's user avatar
  • 687
0 votes
0 answers
352 views

IntelliJ Ultimate cannot generate code from SAP PI WSDL file

Our version of PI doesn't support REST web services, so we consume their SOAP web services and provide rest web service to provide REST web service support to the external entities. I have SAP-PI WSDL ...
Anand's user avatar
  • 1
0 votes
1 answer
2k views

How to remove xsi: attributes in PI XSLT mapping?

I am working on SAP NW PI (Process Integration). We have an inbound payload from a third-party system using SOAP. The payload is similar to this: <GetReportBlock_C4C_-...
Priyesh Shah's user avatar
1 vote
1 answer
2k views

SAP PI RFC to REST communication without mapping. Possible?

We have a scenario where we should send data from SAP ECC through PI to Tax Authority where SAP ECC would talk to PI with RFC, and to the Tax Authority PI should send data with REST API. We have a ...
Tibor's user avatar
  • 159
1 vote
2 answers
3k views

Can anyone say about SAP PI versions?

Is this 7.31 or 7.4 SAP PI? Or maybe PO? While working in my organization I found that it shows SAP Process Integration 7.4 but in Software Build Information tab it shows as 7.31. It has both single ...
Musk's user avatar
  • 13
1 vote
3 answers
869 views

SAP PI web service which calls multiple RFCs

I have asked an SAP PI vendor developer to create a single web service with multiple operations ,where each operation would call an RFC , I am being told it will need to be a single RFC and single ...
user1965449's user avatar
  • 2,931
1 vote
0 answers
549 views

PDF to multipage TIFF conversion via pdfbox/icafe4j fails in SAP PI

We are facing a problem in our SAP PI (7.40) environment. We get invoices (XML, CSV, PDF) from different interfaces and during the process we have to send a TIFF file (converted from PDF via pdfbox/...
TomP's user avatar
  • 11
1 vote
0 answers
1k views

How to schedule a scenario in SAP PI?

I am looking for a way to schedule and automatically trigger a SOAP to FILE interface in PI. There is no external system and the SOAP sender acts like a trigger to start the process. The actual ...
VilleLipponen's user avatar
1 vote
0 answers
574 views

ProcessGetResponseWebException while connecting to SAP PI HTTPS Web service from C#

I'm developing a console .NET client application to connect to our partner's remote server SAP PI over a HTTPS channel. Unfortunately we've faced many problems and I'm not sure what more to do. I will ...
MaxJC's user avatar
  • 21
1 vote
0 answers
286 views

sending Nusoap PHP parameters to SAP

I have a problem when performing a PHP (nusoap) integration with SAP, the connection responds 200 OK but returns a NULL value, I think the failure is in how I pass the parameters, this is the code: ...
Hernán Rendón's user avatar
0 votes
1 answer
1k views

SAP PI 7.5 XML validation throws errors for upper case Boolean values

We are using a custom validation class for XML validation in ESR. In SAP 7.4 the XML Validation was successful but after PI 7.5 the XML validation fails with this message: Validation Exception: ...
Ruchita's user avatar
2 votes
0 answers
349 views

Server Error is thrown when calling user defined HTTP binding to SAP PI

I have a code that calls SAP PI Webservice with the following config file: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> </...
Ian Caparanga's user avatar
2 votes
1 answer
7k views

Prevent Browser Caching of UI5 Application Resources

We have an SAPUI5 App deployed on SAP PO. The problem is that whenever we do changes and deploy the new version of our application, the changes are not reflected and we need to do a Hard Reload and ...
Rahul Bhardwaj's user avatar
0 votes
2 answers
1k views

XPath condition that accepts non-numerical characters

I am currently constructing an XPath condition in SAP PI (receiver determination object) which should either route the message to receiver 1 or receiver 2. The given documentID values that the ...
Charles Tan's user avatar
0 votes
1 answer
1k views

Formats supported by SAP PI for non-SAP to SAP integration

I want to send my data to SAP through PI from windows server. I am currently having a system which is using text file(.txt) to send the data from my windows server to PI. Then PI decodes it to IDOC ...
tpriyansh's user avatar
0 votes
0 answers
3k views

Service interface is not visible in SPROXY

I had generated a service interface in IR (PI 7.1) but when checking in ECC i couldnt see it in sproxy. The 'G' rfc seems okay and all basic setting and connections seem to be fine. Need some help to ...
Prabhu Sethupathy's user avatar
1 vote
0 answers
241 views

Consume ASP.Net app from SAP PO REST adapter

My Situation I have an intranet MVC application which uses, by mandate, integrated Windows Authentication. It hosts both a business UI and some WebAPI endpoints. I have an endpoint which must be ...
Michael K's user avatar
  • 832
1 vote
1 answer
604 views

How to handle a non-SOAP error message? "Response did not arrive for request"

I have a WCF client for a set of services in an SAP system. For certain errors, the services are (allegedly) unable to return a SOAP fault. Instead I receive something like this: <?xml version=&...
user247702's user avatar
  • 24.2k
0 votes
1 answer
4k views

Web service to web service calling in SAP PI

I am doing a scenario called webservice to webservice in SAP PI. I followed the following URL: http://saptechnical.com/Tutorials/XI/WebService2WS/Page9.htm. I created the WSDL file at the end using ...
AKS's user avatar
  • 39
6 votes
2 answers
5k views

SAP PI/PO vs open source ESB advantages

Is SAP PI/PO now considered a true ESB? I've read various sources claiming it was not quite there 4-5 years ago. And what if you have a very SAP-centric environment, would it be very strongly ...
NegatioN's user avatar
  • 707
0 votes
1 answer
2k views

Removing junk character from XML payload

Can anyone please tell me how to remove Junk characters from payload in Java? ×××ר×× ×- ש×` Sender system is sending file to SAP PI (middleware) to receiver. When the file received from SAP PI it ...
Narendra's user avatar
0 votes
1 answer
671 views

How to save Thread instance in a database using java

This is SAP PI requirement, Source System: XY_Client Middleware: PI System Target system : SAP The XML files are received to the PI system, for each XML file an internal file is generated to keep ...
madhu's user avatar
  • 13
0 votes
0 answers
110 views

XML file locks sequence file SAP PI

This is SAP PI requirement, Source System: XY_Client Middleware: PI System Target system : SAP The XML files are received to the PI system, for each XML file an internal file is generated to ...
madhu's user avatar
  • 13
0 votes
1 answer
13k views

Invalid byte 2 of 2-byte UTF-8 sequence in SAP PI mapping

This is SAP PI scenario. The message is exchanged between 2 systems. Source System: IPOS Target system: ECC.. Once the message reaches PI system an xml corresponding to IPOS is generated. I have to ...
user3497375's user avatar
0 votes
0 answers
760 views

To trim the lines in a file in PI

I have to trim the lines from the input file and generate the output in SAP PI. This can't be done using graphical mapping in SAP PI, so I use Java and build the code in Eclipse. I had used ...
user3497375's user avatar
3 votes
1 answer
2k views

Bouncy Castle-encrypted payload comes broken from SAP PI

Issue I am using Bouncy Castle java to encrypt files using PGP. The program is meant to run into SAP PI 7.0. When I run PI’s output (encrypted file) against the decryption program, I get an empty ...
Florent Henry's user avatar
0 votes
1 answer
266 views

How to specify username in ClientCredentials (Basic) while calling SAP PI service from WCF

I need to use http not https The provided URI scheme 'http' is invalid; expected 'https'. Parameter name: via What I have to change?
Rafał Developer's user avatar
2 votes
1 answer
514 views

Is SAP PI messaging service JMS compliant?

I am trying to find out if the built-in SAP PI messaging service JMS compliant or not? Could not find it in the public documentation.
Andy Pahne's user avatar
2 votes
0 answers
2k views

ArrayIndexOutOfBoundsException in SAP PI UDF

I am trying to develop an UDF (All Values of Queue) which takes a string as input contains pipe (|) delimiter for both fields and field values. Also, string contains both Header and Detail. Header ...
chakradhar's user avatar
0 votes
2 answers
5k views

Error during parsing of SOAP header when calling PI service

I have to call a Webservice with SOAP. I have made a client in Java that produces the following SOAPMessage: <?xml version="1.0" encoding="utf-8" ?> <SOAP-ENV:Envelope ...
Averroes's user avatar
  • 4,228