SAP PO 7.4 Error in Mapping Runtime Cache (Central Adapter Engine)
NetWeaver BPM Monitoring in SOLMAN
Hi Team,
We are trying to set up Central Monitoring for PO using SOLMAN.
We could find all the monitoring dashboards related to interfaces like channel monitor, message monitor, etc. in SOLMAN.
Is there a dashboard in SOLMAN available to monitor NetWeaver BPM Process instances.
Thanks.
Regards,
Sudharshan N A
SWCV not visible to other users while importing in ESR(migration)
Hi Experts,
We are trying to export and import the ESR content from SAP PI 7.0 ESR to SAP PO 7.4 ESR manually.
While importing the contents are visible only to the user who is importing.
Also, after logging off and again logging in even that user is unable to see the contents.
Is there any authorization issues? The problem is there for few SWCV only, not for all.
Please guide over this issue.
Thanks,
Nidhi Srivastava
RWB Error after SP08 Update for JAVA Stack Only PO
I am Running a Netweaver 7.4 sp08 Java stand alone usage type PO
We have an issue in RWB after Java SP08.
Your system is configured with usage type AEX which indicates a Java-only system. Some functionality of Runtime Workbench might not work correctly.
When pushing Message Monitoring ----> i get Java exception error
Following error occurred while executing the application:
javax.servlet.ServletException: javax.servlet.ServletException: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error occurred while parsing the jsp page [X:/usr/sap/XXX/J00/j2ee/cluster/apps/sap.com/com.sap.xi.mdt2/servlet_jsp/mdt/root/monitor/message_statistics.jsp]
Stack Trace info:
Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: The included file [/frames/usageTypeCheck.jsp] does not exist or is not accessible for browsing.
Error in file [X:/usr/sap/XXX/J00/j2ee/cluster/apps/sap.com/com.sap.xi.mdt.soa/servlet_jsp/mdt_soa/root/monitor/monitor_new.jsp]; line: [166]; position: [3]
Any one , any sap note??
Patrick
How to improve the performance of User-defined Search Criteria in Process orchestration product?
After a month from using PO in production, the User-defined Search Criteria has stopped working even with a simple search. Any idea what tables or indexes we need to add to improve the performance?
Transport Binding Error during execution of BPM
Hi All,
I am facing an error
"Delivery of the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. FaultException: com.sap.aii.proxy.xiruntime.core.ESPXISystemFaultException: Error encountered during processing of XI request message in inbound ESP; Hint: com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Parameter set failure. The runtime was not able to set some parameter value. See nested exception for details."
While executing the BPM. BPM doesn't get called and it is throwing an exception.
Can any one please help me in resolving this issue.
Thanks & Regards,
Hamsa Shree
The stream has already been committed
Custom MIME message
Hi Experts,
We are on PO 7.4.
We have integration with external partner using ebXML over HTTP and trying to build a custom solution.
The ebXML specification needs a custom SOAP envelope and has specifications for the overall MIME message as well.
The MIME message package should be a multipart message with the SOAP envelope. the xml business document as attachment and the content id of attachment referencd in SOAP Body.
Is there a way to build the custom MIME message in PO and use standard HTTP or SOAP adapter to post to the partner.
Thanks.
Regards,
Sudharshan N A
Featured Content in Process Orchestration
Part 1: A sneak preview on ASUG TechEd preconference “Tame Big-Process Challenges with Intelligent Business Operations, Powered by SAP HANA” | |
September 2015 | |
September 2015 | |
Using BPM OData services to automate process model testingThis blog by Lavanya Musuvadhi Mothilal focuses on writing JUnit tests for automation of process model testing using various OData services for creating the process, completing the human task, sending message to BPM and check the status of process.July 2015 | |
Integrating process repositories with SAP BPMYou want to connect certain process repositories with SAP Business Process Management? Then you must read this blog by Lavanya Musuvadhi Mothilal.July 2015 | |
PI REST Adapter - Polling a REST APIThis blog by Alexander Bundschuh is part of a collection of blog entries that shows architectural concepts and configuration of the SAP PI REST Adapter. Added some sample scenarios to make it easier for you to understand how your scenario can be implemented using the PI REST Adapter. The current blog describes how to poll a REST API. July 2015 | |
New SAP Press book about SAP Process Orchestration
July 2015 | |
*For B2B integration content visit the B2B space |
PI 7.1 to PO 7.41 migration
Hi team,
We are planning to migrate our Middleware system from PI 7.1 to PO 7.41. As we have plenty of interfaces, we are planning to do the migration in phases. Meaning running PI and PO both systems in production running parallelly.
to do so i have few questions. I really appreciate if you can help me in those questions.
1. Do we need to have 2 parallel SLDs too? each for PI and PO?
2. Do we need to select the interfaces to migrate as per the systems? eg. i have 15 interfaces for ECC (using IDOC, RFC and ABAP Proxy), do i have to select all those 15 interfaces at a time to migrate from PI to PO? or can i take them in batches of 5 and do the periodic migration?
Reason for asking this is i saw that i can only configure 1 integration engine in ECC at a time.
3. We have many interfaces with Axis adapter in PI, can i get rid of Axis adapter in PO?
Please help me understand this.
Thanks,
Hetal
Rest Receiver Adapter : extracting synchronous Response header data
Dear All,
My technical requirement are same as using blog feature : "PI REST Adapter - Consuming synchronous RESTful service".
Data format in Request/response is XML , no conversion.
The specific demand is , after PUT call i need to read the response message header data for further manipulation in my I flows.
the header information i need is HTTstatuscode, content type and private id etc. This information comes in Response header only , not in body .
Based on info i had from documents is that Rest adapter add some specific header info in XI header for response message flow.( Rest --> PI )
but what if need some header data which not given in XI header..? any receiver Rest channel config will help..? ( response determination)
will Java mapping + dynamic config will help to extract that header info..?
or atleast HTTP status code available in rest channel logs can be extracted for both success and failure..?
Warm regards,
Ashu
Mapping requirement
I need to get the sum of all quantities coming at item level. (E1EDP01-MENGE)
Since items can occur "n" number of times, how to achieve this ?
Can I achieve through graphical mapping ?
If not could you please help with UDF ?
Thanks ... Marilyn
NWBRM - Soap lookup error
Dear All,
We have created the BRM Rule & particular rule we called inside the soap lookup ( Function Library ) but while testing the message Mapping, we are getting the below error. .
Exception during processing the payload. Error when calling an adapter by using the communication channel CC_10619421_BRM_SOAP_R (Party: , Service: BC_10619421_BRM_BPM, Object ID: 189eabcf9786320598b71f8da7005c11) XI AF API call failed. Module exception: 'com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Parsing Error: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.'. Cause Exception: 'java.io.IOException: Parsing Error: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.'.
com.sap.aii.mapping.lookup.LookupException: Error when calling an adapter by using the communication channel CC_10619421_BRM_SOAP_R (Party: , Service: BC_10619421_BRM_BPM, Object ID: 189eabcf9786320598b71f8da7005c11) XI AF API call failed. Module exception: 'com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Parsing Error: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.'. Cause Exception: 'java.io.IOException: Parsing Error: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.'.
While Calling BRM code ( XmlPayload resPayload = (XmlPayload)accessor.call(reqPayload);) we got the above Error . Anyone please help us the same
Thanks in advance.
Thanks & Regards,
V.Saranya
Persistance of Audit Log - Impact on performance
We are missing valuable data in the audit log. Apparently the audit log data is only held in cache and as the volumes of data increase less and less information is available. However, this is very useful as it is the only record of any adapter processing and associated errors. Without this the rest of the data is meaningless.
This can be persisted
1314974 - Successful asynchronous messages - audit log persistence
1982452 - Audit Logs for successful synchronous messages with log versions to be persisted/archived if audit log memory cache is disabled
My question....Does anyone anyone have any experience with persisting audit log data AND has there been any impact on performance. SAP say this will impact performance but I would like to know by how much.
Many thanks
Testing: Test Tools...Part 2
I'm continuing with my blog series on testing tools. This blog post focusing on testing a SFTP connection using certificate authentication using my favorite windows tool, WinSCP. This is a windows tool and can be downloaded from h http://winscp.net/eng/index.php
Its always a good idea to be able to test any connection you need to use for an integration prior to any development starting. From my perspective communications problems are always the most difficult of issues to resolve. You not only have your networking teams to deal with but also those of the partner you are connecting to. Factor in some outsourcing or third party hosting and it can take quite a while to resolve any issue. So, the moral of this story is that if you are able to test the connection first then do it.
So lets look at the basic settings first.
For the specific site enter the following
Select the connection type first. In this case SFTP
Host/IP: Enter the address
Port: Enter port provided, usually 22 but always double check
Username: Username supplied by vendor, which may not be required
Private key: Reference your private key (the vendor should have installed your public key on their server)
Password: Enter the password (if provided)
Now click on Proxy
In my organisation we are using a proxy to connect to the vendor. The configuration has a very specific Proxy Type and Port. make sure you validate this with your technical team. Also important to note is that some vendors will restrict access to their services based upon the source address (your source address). If you are going through a proxy then the source address will be your proxy and not your PO/PI system. This is important to note. Your Basis or Networking team will be able to provide this information.
Proxy type: SOCKS5
Proxy Host: xxxxxxxxx
Port: nnn
Now click on Save. Test the connection by selecting ‘Logon’. If successful you will be able to see the SFTP’s server’s directory. Please note that the log file entries shown below may differ to those you see. Some of the messages are dependant on a specific configurations or SFTP server software used.
OK, now the private key I am using came from my PO keystore. However, if I export it and then try to use it in WinSCP it complains so we have a little more work to do.
- Export private key from NWA making note of password.
- Download open SSH, open the zip file and copy the files/diretories to your PC. I downloaded it from https://code.google.com/p/openssl-for-windows/
- Copy the exported SAP NW PO Key file to the openSSH bin directory
- Open a command line and change the directory to the openSSH and run the following command replacing inputfilename with the name of the SAP NW PO keyfile
- openssl pkcs12 -in inputfilename -nocerts -nodes | openssl rsa > id_rsa
- You will be prompted for the password you entered when exporting the key and then the RSA key will be output
- Open puttyGen (installed as part of WinSCP)
- Import the rsa_id file you created (this is the private key)
- Save the private key (PPK format)
- Save the key and use it in WinSCP making sure you delete the rsa_id and SAP NW PO key files.
Blogs in Series
Blog 1: HTTP Post Testing: Test Tools...Part 1
Blog 2: SFTP Testing: Test Tools...Part 2
Blog 3: REST Testing: Test Tools...Part 3
Polling a Web Service from PO without a trigger
In one of our project we had a requirement where PO needs to poll a WebService through SOAP and we needed to pass the data to a receiver. In this particular case, we may need to use AXIS framework to poll the service because in normal SOAP sender channel we do not have an option to poll a service to get the data, instead some other process/service have to call to trigger the interface.
One of the possible solution use to use NWBPM/BPM but we wanted to avoid BPM and also was not sure how the AXIS framework will work. So what could be done?
Solution: Here we have used SYNC/ASYNC bridge with a little trick. We have created 2 ICO where first ICO will picking a dummy file to trigger the process in a regular interval and with the receiver SOAP channel of the first ICO we are going to poll the Webservice. However once we get the response from the Webservice in the Receiver SOAP channel of the first ICO, we use the RequestResponseBean and ResponseOneWayBean to pass the response to the 2nd ICO which will pass the response to the actual receiver.
Below are the Design and Config:(I have kept the screens for the objects only which can create confusion)
External Definition of the Service we need to poll:
Asynchronous Outbound Service Interface for the Dummy file:(Used in 1st ICO)
Asynchronous Inbound Service Interface for the SOAP service which we need to poll:(Used in 1st ICO)
Please note that though this service a SYNC one but we need to declare an ASYNC interface as we will pass the response to another interface.
Asynchronous Outbound Service Interface for the SOAP service from which we will get response after polling:(Used in 2nd ICO)
Asynchronous Inbound Service Interface for the ultimate receiver:(Used in 2nd ICO)
We also need 2 Operational Mapping and 2 Message Mapping. 1st set will be used for dummy File to the SOAP service structure. 2nd set will be used to map the response from SOAP service to the ultimate receiver structure.
1st ICO:
Here the sender channel used to pick the dummy file. Remember to keep the channel in test mode so that the same file picked up again and again to trigger the whole process.
On the receiver channel, we need to connect it to the service we want to poll and pass the response to the 2nd ICO.
2nd ICO:
Please note that no module config required for this Sender SOAP channel. It is used to receive the response from the SOAP receiver channel used in 1st ICO.
The rest of the configuration is usual. And that is it. Once you start the sender channel of first ICO, PO will poll the SOAP service on a regular interval and will pass the response to the ultimate receiver.
Testing: Test Tools...Part 3
I'm continuing with my blog series on testing tools. This blog post focses on testing a RESTFUL web service provisioned by PO. The easiest way to perform a basic unit test of the interface is with a Chrome Plugin called DHC. It can be downloaded here DHC - REST/HTTP API Client - Chrome Web Store.
This tool provides an easy way to test requests using a simple web based UI. The requests can be saved into folders and easily exported to share.
In the following example I am sending a POST request to our PO system and the payload is JSON. A response is returned which is also JSON. The following explains how I populated the request
URL: Make sure you use the correct URL.
Method: DHC requires a method (POST, GET, PUT etc…). In this instance we are posting data to PO.
Content Type: In this case it is application/json
Authorizations. Click on the ‘set an authorisation’ and you can enter your credentials and they are translated to the fomat required for Basic Authentication (using BASE64).
Payload: Paste the payload in the BODY section, set the type to text and click on the JSON link at the bottom to format the request.
Once executed the response will appear underneath
There are a number of other tools that can be used, both online (such as Postman, another Chrome Add-in) or client based solutions such as SOAPui.
Blogs in Series
Blog 1: HTTP Post Testing: Test Tools...Part 1
Blog 2: SFTP Testing: Test Tools...Part 2
Blog 3: REST Testing: Test Tools...Part 3
SAP PI 7.31 Dual Stack to PO 7.4 Upgrade Path
Hello All,
We are in the process of analysis phase for PI 7.31 Dual stack to PO 7.4. So I understand that there is no in-place upgrade available for dual to single stack and which means that I have to standup a new system for each PO 7.4 dev, QA and Prod. Will bring in ESR objects using Transport and ID objects thru migration tool.
Now the main thing that we are discussing is the upgrade path. I have outlined two aproaches below. I am incling towards approach one i.e move objects from dev to dev, qa to qa and prod to prod and only move upgrade fixes (replacment for ABAP mappings, BPM etc) from dev PO to QA PO to Prod PO.
Please let me know your thoughts and the approach followed in your environment.
Thanks,
Ashish
PO 7.4 installation - what is must and what is good to have?
So we are finally making the big move... PI 7.31 dual stack SP14 to PO 7.4 SP 12 (PI, BPM, BRM)
Is it true that ESR and ID are not available in PO 7.4? My understanding is that ESR and ID will be available, also on top of it there will be an option to develop objects through NWDS. Please confirm.
What is the usage of NWDS and NWDI in PO 7.4? again are these two optional? What is recommended installation approach. What is the downside of installing and using them later?
There is no change to the way we develop basic interfaces in PO 7.4...correct?
I understand there is a learning curve with the new BPM. But how different is it? how much time does it take for one to learn? Are there any tutorials for it?
Thanks,
SYNC ASYN Bridge but the receiver is IDOC
We had a requirement to implement a SYNC ASYNC bridge with SOAP as sender and IDOC as receiver. There are few good options we have.
- Using IDOC as SOAP service.But the receiver SAP system in version 6.20 or higher. Please see the blog SOAP for IDOC demystified for more details.
- Using NWBPM to handle this.
But what you would do in case the receiver SAP system version is low and also you are not having an NWBPM developer. Then the below solution can work.
Use this method Configuring Sync/Async Bridge on SAP NetWeaver Process Orchestration with a little trick.We will configure the ICOs following that and will create one additional ICO which will pick the file and post the IDOC to SAP system.
In the First ICO we are going to receive the SYNC request and write a File on our File System with the name as the message ID.
Sender Channel of 1st ICO:
After that we do the necessary mapping to convert the SOAP structure to IDOC. We can also do the same in 3rd ICO which we are going to develop later.
Receiver File channel of 1st ICO:Please note the configuration carefully.
Now we go to the config of 2nd ICO:Please note that we just need a sender channel to use NotifyResponseBean however a channel can not work without an ICO, we need to create this ICO.
Sender Channel of 2nd ICO:
Rest of the ICO is just configured with DUMMY values.
After you finish the above configuration we need another ASYNC ICO which will pick the Files written in the Archive Directory(mentioned in the sender channel of 2nd ICO) and post the IDOCs to SAP system.