Quantcast
Channel: SCN : Discussion List - SAP Process Orchestration
Viewing all 967 articles
Browse latest View live

Can someone explain this xml mapping please

$
0
0

Hello SAP PI Experts,

 

Below I have provided a mapping program I found. It is for an IDoc to IDoc scenario. Kindly explain how the fields are mapped here.

 

 

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

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" version="1.0" indent="yes"  encoding="ISO-8859-1"/>

  <xsl:template match="/">

  <xsl:copy-of select="*"/>

  </xsl:template>

</xsl:stylesheet>

 

 

Thanks,

Ajeya G V


Upload files for approvals

$
0
0

Hi guys, is there any best practice to upload documents within a human activity. I search some and I notice that Visual Composer don´t support upload files components, so the UI must be done with WD Java or by consuming the WD component in the visual composer, really is this the only way !? i need to upload some files to take approvals and then save it in a content server when the process ends.

 

I like to think that is a common requirement to upload files in a process to get approvals, I also notice that the UWL have an attachment section but I can´t find where the files are saved or if I can get those files in order to send it to my content server (OpenText).

 

Any help of idea about the possible technologies I need to involve will be appreciated.

 

 

Thanks !

Sender HTTP_AAE adapter

$
0
0

Hi -

 

In SAP PI 7.0 we connected a third party system which will post the xml through HTTP and PI will receive the xml and send the idoc to SAP.

 

I used the same procedure where as in PI 7.0 there is no sender adapter and we have provided the link to the sender system which will send the data through that link.

 

In PO, I have created a sender http adapter with the message protocol as POST and created the link as below

sender channel use the URL:

http://server:port/HttpAdapter/HttpMessageServlet?interfaceNamespace=urn:pi:shipmentplanning&interface=Shipment&senderService=BC_sender_Dev&receiverService=BS_receiver&qos=EO&sap-user=User&sap-password=paassit gives the error as hereError: Binding not Found: CANNOT_FIND_BINDING, Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=
Can someone help me on this?

Thanks,PRem.

Is SAP PO 7.4 dual stack installation??

$
0
0

HI experts,

 

Could anyone let me know if SAP PO 7.4 is a dual stack installation or can we go for single stack as well.

 

As PI 7.4 is based on HANA , so while working on it shall we use ICO or old classic configuration. Shall we go for java based adapters(eg IDOC_AAE/HTTP_AAE)  or old abap based adapter..

 

 

Thanks,

Issue with SAPUI5 upgrade- BPMInbox page is blank

$
0
0

Hello All,

 

Recently we upgraded the SAPUI5 on our development server and we are facing issues while accessing BPMInbox & BPMAnalytics pages. Those pages are just blank. We captured the log traces and attaching the same for reference. Anybody came across similar error or issue? Any kind of help or pointers is appreciated.

 

Versions:

SAP PO 7.31 SP 06

UI5 upgraded from version 1.12.6 to 1.16.9

 

Error log.jpg

Thanks,

Sai

Renew SAP PO AWS trial license

$
0
0

Hello there,

 

Did anyone in here renew the 90 day trial SAP PO 7.3.1 / AWS Instance license successfully?

 

I followed the link of of Mariana Mihaylova 's blog:

(top box license update on http://scn.sap.com/community/process-orchestration/blog/2012/11/30/try-sap-netweaver-process-orchestration-in-public-cloud )

 

This link points to the site for Minisap's license renewals (https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/minisap/minisap.htm).

 

However there's no option for the C73 system name to choose for the license renewal for another 90 days.

Would be helpful if someone from SAP might have a look in it

 

Cheers

         Sebastian

Performance of jdbc mapping lookup vs BPM Process

$
0
0

Hello fellow consultants,

 

I have project on AEX upcoming and now I`m deciding the strategy.

 

I have to implement few processes for which I will use BPM. But inside these processes I have few jdbc calls for logging to the oracle db.

 

Regarding the performance - what is better approach?

 

  1. make these jdbc calls as a jdbc lookup in mapping
  2. perform it as a regular part of bpm process

 

Thank you for suggestions

 

VB

Sizing of PO Server

$
0
0

Hello,

 

could you tell me, for how many SAPS a Server is good for?

 

 

HP

DL 585 G7

24 Cores

64 GB RAM

 

PO 7.31

 

Thank you for help
Torsten


Performance monitor not able to access in Process and Orchestration

$
0
0

Hi,

 

After doing fresh installation not able to access Proformance monitor.Message

Property profile.performance.runtime of the service com.sap.aii.af.svc is not active; activate it in ConfigTool nw

But in 7.1 java stack there is no config tool.

How to enable this.I check this link but its not working.Selection button are disable.

Monitoring Performance - Advanced Adapter Engine - SAP Library

 

Regards

Adil

How to configure CTS in Process Orchestration

Message Failure From BPM to PI

$
0
0

Hi,

 

I am trying to do a simple scenario with BPM to try to get used to the new functionality. However I am getting an error pretty much at the first hurdle.

 

I have an event which triggers the process (StartMsg). This is ok, but the next step is to send a message from BPM to PI (we have a dual stack so they are different system id's). Anyway at this step I am getting an error in the BPM system.

 

When i go to the message monitoring of this process I have a message in error because it is failing to send to PI. It gives the following error -

 

JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: JPR : Binding not found , please check the configuration. Details:  FromParty= FromService=...


Now I have checked the configuration for the integrated configuration and it seems fine. So why am I getting this error?


Is it possible that the message is trying to be sent to the wrong place?


How can I tell where the message is being sent to?


I hope you can help.


James

Obligatory transport target for business system

$
0
0

Dear All,

 

Installed Development and Quality server which on Nw 7.3 Ehp1.

Development Server is central SLD of Quality Server.While transporting Objects from Dev to Qua (Error Occurs ) Obligatory transport target for business system SID_BS not found in System Landscape Directory.

 

Regards

Adil

Calling to BPM via PI

$
0
0

Basically I have already found a solution by trial and error, but I still don't understand what's going on, maybe someone can help me understand.

 

I am trying to make a web service call

  1. from a CRM system (CRM 7.0 EhP3 SP 3), outbound interface {http://sap.com/xi/CRM/FS/Global2}NewLoanBoardingFSCreateRequest_Out
  2. via PI (double-stack, PI 7.31 SP 3)
  3. to a NW Java BPM system (NW 7.40 SP 4, inbound interface {http://sap.com/xi/FS-AO/Global}NewLoanBoardingProcessingNewLBrdngIn. The host name of the system is ilbnknw1 and the port is 50300.

 

I created an EJB for the implementation of the service provider NewLoanBoardingProcessingNewLBrdngIn and a BPM process according to note 1891861 in NW Developer Studio and deployed all of it to the NW Java BPM server.

 

There is a web service end point for NewLoanBoardingProcessingNewLBrdngIn on the NW Java BPM server the URL looks like this: http://ilbnknw1:50300/bpm/testsapcom/polnlbv0/start?wsdl&mode=ws_policy (visible in WS Administrator > Configuration > Connectivity > Single Service Administration > (stay on tab Service Definitions) > search for WSDL Port Type Name: NewLoanBoardingProcessingNewLBrdngIn ... I don't remember if it was created automatically during the deployment or I created it manually.)

The security settings for the end point are set like this:

Transport protocol: HTTP (not HTTPs)

HTTP Authentication: Checkmarks for Login with User ID/Password and for Logon ticket are set. (X.509 is not set and also grayed out.)

Message Authentication: No checkmarks are set.

 

I can test the above WSDL URL (http://ilbnknw1:50300/bpm/testsapcom/polnlbv0/start?wsdl&mode=ws_policy) from WS Navigator and it works - I don't get an error message, and in WS Administrator I see that the process is started (at Operations > Processes and Tasks > Manage Processes).

 

Now I wanted to test it from CRM. One possibility would be to go into SOAMANAGER and create a port that connects to the end point. But we prefer to go via PI. So I set up a receiver determination, interface determination and receiver agreement. The first two have no problems, the correct receiver (a business system referring to the NW Java BPM system) and the correct receiver interface are found. With the receiver agreement I was not so sure what to do and I tried different things.

 

First I thought: It's a call to a web service, let me use a web service receiver channel, i.e. Adapter Type = WS of version SAP BASIS 7.31 (I tried 7.40 because the NW Java BPM server is 7.40, but the PI doesn't like that because it's only 7.31).

I entered:

WSDL Access URL: I used the complete URL (http://ilbnknw1:50300/bpm/testsapcom/polnlbv0/start?wsdl&mode=ws_policy).

Authentication Method for WSDL Access: Basic Authentication using HTTP. (The other option No authentication and SSO using SAP Assertion ticket don't seem to fit.)

User name for WSDL access: A user in the NW Java BPM system.

Password for WSDL access: Password of the user

Security

Communication Security: None

Authentication Method: User ID/Password (Transport Channel Authentication)

Technical Transport Settings

Target Host: ilbnknw1

Service Name/Port: 50300

URL Access Path: /bpm/testsapcom/polnlbv0/start (this can be selected with the value help button and that was the only choice int he value help)

Then in the receiver agreement I chose this channel and entered the user and password on the NW Java system that should be used for the actual WS call (while the other one in the channel is only for accessing the WSDL) ... actually I used the same user and password for both, it has enough authorizations.

 

Result: Didn't work at all, PI showed a red flag for the message with the error WS_ADAPTER_SYS_ERROR and text System error while calling Web service adapter: Error when initializing SOAP client application: &#39;Error when initializing SOAP client application: &quot;SRT: Unexpected failure in SOAP processing occurre&quot;&#39;

 

Question: Is this totally the wrong adapter to call to a NW Java system, or were my parameters wrong?

 

Then I found some things in the forum that said: Just use SOAP adapter, not WS adapter! And for communication between (newer releases of) PI and (new releases of) NW Java BPM it's best to use the SOAP adapter with the XI 3.0 protocol.

 

So I tried a SOAP receiver channel with XI 3.0 protocol, i.e. Adapter type SOAP with version SAP BASIS 7.31,

Transport Protocol: HTTP,

Message Protocol: change from SOAP 1.1 to XI 3.0,

Adressing Type: URL address (HTTP destination was the alternative),

Target URL: I used the whole URL (http://ilbnknw1:50300/bpm/testsapcom/polnlbv0/start?wsdl&mode=ws_policy),

Authentication Mode: Use Logon Data for Non-SAP system (because Logon Data for SAP system wanted a client and language, so I think it refers to ABAP systems only),

User Name: A user in the NW Java BPM system,

User Password: the matching password

(No settings in receiver agreement, just chose the channel.)

 

Result: The PI didn't show any error anymore, the flag was black-white. But on NW Administrator (Operations > Processes and Tasks > Manage Processes) I could not see the process starting!

 

Question: How is this possible? Where else could the error be seen? Are my parameters wrong? Probably not, otherwise PI should already show the error.

 

Next try: SOAP receiver channel with SOAP 1.1 protocol, i.e. Adapter type SOAP with version SAP BASIS 7.31,

Transport Protocol: HTTP,

Message Protocol: SOAP 1.1 (the default, instead of XI 3.0 in the previous attempt)

Adressing Type: URL address (HTTP destination was the alternative),

Target URL: I used the URL just up to the ? for the parameters, i.e. only http://ilbnknw1:50300/bpm/testsapcom/polnlbv0/start,

Checkmark for Configure User Authentication,

User Name: A user in the NW Java BPM system,

User Password: the matching password

At the bottom:

Checkmark for Use Query String,

SOAP Action: wsdl&mode=ws_policy

(No settings in receiver agreement, just chose the channel.)

 

Result: Success in PI (black-white flag) - and now two processes were started shortly after each other (within 15 seconds)!

 

I tested again to see if it would always trigger two process starts, but now it only started one as expected.

 

So it looks like the other process start "pushed out" a hanging previous process start? Is such a thing possible? Where could I monitor this? (Apparently not in NW Administrator > Operations > Processes and Tasks > Manage Processes).

 

So now I have a solution, I use a SOAP receiver channel with SOAP 1.1 protocol, not with XI 3.0 protocol, and certainly not thw WS adapter. But I still wonder why it's not working with the XI 3.0 protocol, even though this seems to be the most recommended way for PI and BPM to communicate in recent releases that support this, and what exactly happened there, where the first process start was "hiding" in the meantime.

Call from BPM to PI, configuring Service Group: Following services not available in Services Registry; make sure they are published correctly and with endpoints

$
0
0

I want to make two mediated web service calls

  1. from a BPM application on a SAP NetWeaver Java with SID NW2 (it's on NW Java 7.40)
  2. via a PI system with SID PI1 (it's on on NW double-stack 7.31)
  3. to a third system (it's an ABAP system, but it doesn't really matter).


The calls are going from

NewLoanBoardingProcessingManageNewLBrdngOut and NewLoanBoardingProcessingNewLBrdngActionOut to NewLoanBoardingProcessingManageNewLBrdngIn and NewLoanBoardingProcessingNewLBrdngActionIn.

(I'm leaving the namespaces out here for brevity/readability, but if you're interested, they are all in the namespace http://sap.com/xi/FS-AO/Global and the BPM is defined in note 1891861, which sadly doesn't explain the web service configuration part.)

There is a service group (called POL_BACKEND) defined on the Java system, as part of the software component test.sap.com/polnlbv0 (the BPM process). It contains NewLoanBoardingProcessingManageNewLBrdngIn and NewLoanBoardingProcessingNewLBrdngActionIn (the two interfaces on the PI it needs to call). I can't manage to configure it (I haven't configured service groups before). Also I'm not sure if my other steps are right.


I rely on the Services Registry on the Java system NW2. Both systems, also the PI1, are configured to refer to that Services Registry.

 

In PI in the integration builder I did the following:

  1. Defined a SOAP Sender Channel with XI 3.0 as the message protocol for the Business System that represents the Java system NW2, as I read that this is optimal for the communication between SAP NW Java BPM and SAP PI. I'm using version SAP BASIS 7.31 of the SOAP sender adapter. (It didn't like 7.40, as the PI itself is only on 7.31.)
  2. Defined two SOAP Sender Agreements, for NewLoanBoardingProcessingManageNewLBrdngOut and NewLoanBoardingProcessingNewLBrdngActionOut.
  3. From the "Sender Agreement" menu on each of them I chose "Publish in SR". => I can see them show up in the Services Registry on NW2 as expected on the tab "Service Definitions" (as NewLoanBoardingProcessingManageNewLBrdngOut and NewLoanBoardingProcessingNewLBrdngActionOut). Their system is listed as PI1_XPI on ILBNKPI1 (this is the PI1 host name). I'm not sure why it generated the name as PI1_XPI, this is not the business system name. Other services show up as "PI1 on ilbnkpi1", they seem to be BASIS or PI-monitoring related (provided by SAP). Then there are services that show up as "PI1 (001) on ilbnkpi1", which we have created ourselves. (And then there are other systems, like NW2.)
  4. Then I defined a receiver determination, interface determination and receiver agreement for both services. I'm fairly certain this part is okay.

 

Now I log onto the Java system NW2 on NetWeaver Administrator and go to SOA > Application and Scenario Communication > Application Communication. I search for the software component test.sap.com/polnlbv0. It is found and shows the consumed service group POL_BACKEND, which shows the interfaces NewLoanBoardingProcessingManageNewLBrdngIn and NewLoanBoardingProcessingNewLBrdngActionIn (the ones that need to be called).

 

Originally the provider system PI1_XPI was not available in the list (next to the consumed service group name), only PI1 (001) and NW2, but after clicking Edit one can choose "Create" in the dropdown list of provider systems, and in the following dialog one can use the value help button to select provider systems that are known to the Services Registry. So now PI1_XPI is selected. (I have also tried others, including NW2, just to be sure.)

 

After clicking on Configure and going through the process, I get the error "Following services not available in Services Registry; make sure they are published correctly and with endpoints" and it lists NewLoanBoardingProcessingManageNewLBrdngIn and NewLoanBoardingProcessingNewLBrdngActionIn.

 

I don't understand how this is possible, as I can see them right there in the Services Registry, with their end points.

 

On the configuration screens the SLD System ID is prefilled as PI1.SystemHome.ilbnkpi1, this seems to be okay, as in the Services Registry on the Systems tab, when I click on PI1_XPI this is the SLD System ID that is shown. (Also I get (with a green mark) "WS connection to system "PI1_XPI on ilbnkpi1" established using user "NW2_TO_PI1"".) In the simple layout only the SLD System ID and the user and password fields are available, in advanced mode many more, but not sure if it makes sense to change anything there.

 

After returning to the start screen the processing status is "To be processed" at first and soon changes to "Failed". When I click on Show Log I see this error:

Configuration for service group [POL_BACKEND] failed. Error details:

[No endpoints found. Check if the service is configured and if its endpoints are available in the SR. Service: [{http://sap.com/xi/FS-AO/Global}NewLoanBoardingProcessingManageNewLBrdngIn]  Assigned Provider: [PI1_XPI on ilbnkpi1]

  Service Group: [POL_BACKEND]

  Service Group application: [test.sap.com/polnlbv0]

  Service Reference application: [test.sap.com/polnlbv0]

 

No endpoints found. Check if the service is configured and if its endpoints are available in the SR. Service: [{http://sap.com/xi/FS-AO/Global}NewLoanBoardingProcessingNewLBrdngActionIn]  Assigned Provider: [PI1_XPI on ilbnkpi1]

  Service Group: [POL_BACKEND]

  Service Group application: [test.sap.com/polnlbv0]

  Service Reference application: [test.sap.com/polnlbv0]

]

For more information refer to the trace with ID [C0000A1A5653000900000029000010E4]. Details: [PI1.SystemHome.ilbnkpi1.IS] provider system, [test.sap.com/polnlbv0] service group application

 

I'm not sure where exactly to check this trace ID.

 

Are my steps sensible in principle or am I going about this completely wrong?

 

I tested the end point WSDL URL that I see in the Services Registry in the WS Navigator. It doesn't work there, either, I get this error: Invalid transport binding settingsHTTP Client, does not have endpoint url specified. I.e. the first part, where it loads the list of operations, works, but the actual call fails.

FCC with input as a single string

$
0
0

Hello All,

I am working on a feasibility check to convert a conversion agent code using PI's built in features. I find myself stuck in one such case and need your expert advice:

 

The file in consideration appears as below:

HDR12345ADD8908ADD8908ITM34567ITM34567

 

HDR marks the beginning for Header - which is followed by a 5 number of constant fields

ADD marks the beginning for Address - which is followed by 4 number of constant fields

ITM marks the beginning for Item - which is followed by 5 number of constant fields.

 

The recordsetStructure looks as below: HEADER,1,ADDRESS,*,ITEM,* i.e. each line can have multiple addresses and items

 

The desired output is:

 

<MT_DATA>

    <RECORD>

         <HEADER>

              <VALUE>12345</VALUE>

         </HEADER>

         <ADDRESS>

              <VALUE>8908</VALUE>  

         </ADDRESS>

         <ADDRESS>

              <VALUE>8908</VALUE>  

         </ADDRESS>

         <ITEM>

              <VALUE>34567</VALUE>  

         </ITEM>

         <ITEM>

              <VALUE>34567</VALUE>  

         </ITEM>

      </RECORD>

</MT_DATA>

 

The problem I am facing right now is that if my input had HDR, ADD and ITM on different lines, my FCC works well. However if they are in the same line, I am only able to read only the HDR and the rest seems to be ignored. I am finding it hard to believe that a string without a nl cannot be  addressed in FCC.

 

Regards,

KN


Routing JMS message from same queue to different channels.

$
0
0

From a given adapter module, is there a way of calling different communication channels?

 

The scenario: The sender of the data is JMS. One single queue contains desperate text format. Based on the content of the first 4 characters , PI has to parse it differently in its own corresponding MT. The target IDoc structure remains the same. I have multiple messageTransformBeans set up, one for each MT assuming that the data would arrive in different JMS queues. However since the data is now all heaped on to a single queue, the challenge of routing the data now lies in SAP PI.

 

HowTo - Send Test Messages to the Adapter Engine (to an Integrated Configuration) - This solution does send message directly to the IE (using 7,1), but not to the adapter engine where the messageTransformBeans exist.

 

Any solid pointers in the direction will be really helpful.

 

Regards,

Keerti

Interface not getting passed to NW BPM.

$
0
0

Dear All,

 

Greetings of the day.

 

We have an SAP to Webservice async scenario, through the NW BPM.

We are facing an issue in sending the trigger message (interface to BPM is XI 3.0 compatible) from SAP to the NW BPM. We are getting the following error.


Message could not be processed.Reason: 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: Technical difficulties were experienced during process execution.



 

We are getting this the error when I am testing the functionality through WSNavigator or SOAP UI. (In actual scenario ABAP proxy will send the message to NW BPM).

 

I have tried testing the BPM from the Netweaver Admin and process is going into BPM. I can see the Interface which will be triggered first in the BPM, in the message monitoring.

 

Request your expertise in overcoming the error for triggering the BPM.

 

Thank you,

Best Regards,

Ajay

Error in Automated activity of BPM using the PI operation mapping.

$
0
0

Dear Experts,

 

We have a BPM process, where we have imported Operation Mapping, to use it in an automated activity. We have created the service reference with localhost and checked the local provider system check box and with type WS.

 

While running the scenario the process stops at the automated activity (having the Operation mapping), with error:

A technical error during invocation: Could not invoke service reference name


I have tried to recreate the step couple of times but it is always the same error.

 

Could you please share your expertise in how to over come the error.

 

Thank you,

Best Regards,

Ajay

WSDL from NWDS

$
0
0

Hello consultants,

 

I`m learning SAP PO using NWDS. But I`m struggling - how can I get WSDL URL for SOAP service interface?

 

It is possible to get it from old java app for Integration Directory - but I cant believe, that its not possible to get WSDL from NWDS or web interface - SOA probably?

Memory Utilization is very high in PI7.3 AEX

$
0
0

Hi,

 

Please see my system overview and help me to fix the issue.

 

Memory utilization is showing high always.

 

PIQ.jpg

Viewing all 967 articles
Browse latest View live


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