Quantcast
Channel: SCN : All Content - SAP Process Orchestration
Viewing all 1235 articles
Browse latest View live

SOAP Fault

$
0
0

Dear Experts,

 

     I am working with SOAP receiver channel, the issue is with handling the "Faults"

     Most of the time webservice returns the errors in the "Webservice Fault" and sometimes in "SOAP Fault".

     We are successfully handling the "Webservice Fault" but the issue is with handling "SOAP Fault"

     We have observed, we get "SOAP Fault" if we set up the "Conversion parameter" - Do Not Use SOAP Envelope and configure the module parameters:

1) XMBWS.NoSOAPIgnoreStatusCode : set it to true

2) noSOAPMakeSysErrFromResponseFault: set it to false


   The issue we are facing with this set up to get "SOAP Fault is that, webservice is returning the "SOAP Fault" in the response mapping and not into "Webservice Fault" mapping. I assume bifurcating two root elements( Response tag and Soap fault)  from the response mapping could be achieved using Java mapping.

  I want to know has anyone faced this issue and achieved the routing of SOAP fault to webservice fault mapping by SOAP adapter module configs?


Thanks and Regards,

Amulya


BAPI not executed sucessfully

$
0
0

Hi Friends,


I am working in SAP  PI 7.0

Scenario JDBC to RFC(using BPM)


RFC receiver channel is in error .Below is the error message in Message display tool. .



ERROR:MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientBapiException: BAPI not executed successful: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientBapiException: BAPI not executed successful



Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientBapiException: BAPI not executed successful


Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientBapiException: BAPI not executed successful: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientBapiException: BAPI not executed successful.


Please suggest .

 

SAP Process orchestration editions

$
0
0

I would like toknowthe differences betweenSAPProcessorchestration, SAPProcessOrchestrationEdgeeditionstandard optionandSAPProcessOrchestrationEdge edition premier option.

Which componentsare includedin eachversion?

Thank youfor your answers.

Creating User Defined functions for BPMN

$
0
0

Hi

 

Can we create User Defined Functions in BPMN for SAP PO 7.31/7.4

 

Regards

kalyan.

Problem in SOAP channel

$
0
0

Hi,

I have the folowing problem with async IDOC->SOAP integration:

System is sending messages correctly - 3rd parti system gets messages with no problems.

But if I put wrong service URL - PI does not report any problem. channel in RWB is green, messages have "Successful" status. But, of course, receiving party gets nothing! there is some difference in audit log.

For wrong URL I have the folowing audit log:

Audit Log for Message: 0200c0a8-0083-1ee5-8c88-1bb1ac67d884

 

Time Stamp Type Description

22.07.2015 10:11:26.424 Information The message was successfully received by the messaging system. Protocol: XI URL: http://sap-pi-00-d:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

22.07.2015 10:11:26.425 Information Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

22.07.2015 10:11:26.450 Information Message successfully put into the queue.

22.07.2015 10:11:26.451 Information The message was successfully retrieved from the receive queue.

22.07.2015 10:11:26.459 Information The message status was set to DLNG.

22.07.2015 10:11:26.460 Information Delivering to channel: SOAP_Reciever

22.07.2015 10:11:26.460 Information MP: entering1

22.07.2015 10:11:26.460 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

22.07.2015 10:11:26.475 Information SOAP: Target url: https://test.www.XXX.ru:443/soap/server.php

22.07.2015 10:11:26.475 Information SOAP: request message entering the adapter with user J2EE_GUEST

22.07.2015 10:11:26.487 Information MP: leaving

22.07.2015 10:11:26.487 Information The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.

22.07.2015 10:11:26.487 Information SOAP: completed the processing

22.07.2015 10:11:26.488 Information The message status was set to DLVD.

 

For the correct URL:

 

Audit Log for Message: 0200c0a8-0083-1ee5-8c87-a8b5db8db84b

 

Time Stamp Type Description

22.07.2015 09:45:44.045 Information The message was successfully received by the messaging system. Protocol: XI URL: http://sap-pi-00-d:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

22.07.2015 09:45:44.047 Information Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.

22.07.2015 09:45:44.072 Information Message successfully put into the queue.

22.07.2015 09:45:44.074 Information The message was successfully retrieved from the receive queue.

22.07.2015 09:45:44.081 Information The message status was set to DLNG.

22.07.2015 09:45:44.082 Information Delivering to channel: SOAP_Reciever

22.07.2015 09:45:44.082 Information MP: entering1

22.07.2015 09:45:44.082 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

22.07.2015 09:45:44.083 Information SOAP: Target url: https://www.XXX.ru:443/soap/server.php

22.07.2015 09:45:44.083 Information SOAP: request message entering the adapter with user J2EE_GUEST

22.07.2015 09:45:44.455 Information MP: leaving

22.07.2015 09:45:44.455 Information SOAP: completed the processing

22.07.2015 09:45:44.455 Information SOAP: sending a delivery ack ...

22.07.2015 09:45:44.455 Information SOAP: sent a delivery ack

22.07.2015 09:45:44.456 Information The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.

22.07.2015 09:45:44.457 Information The message status was set to DLVD.

 

 

It mentions sending of delivery ack in correct transmission. How could I make SAP PI to process and indicate problems in SOAP communication?

Generate new IDOC if any Header field value changed

$
0
0

Hi Experts,

 

My scenario is File to IDOC. I will get a CSV file with header and line item data. I have to compare all values one by one in a Field, If any value changed, I have to generate new IDOC at target side with the corresponding Header data and line item data. In the same way I have to compare values for all fields in header.

 

My input XML will be like this.

 

<Record>

   <Header>

        <Field1>

        <Field2>

        <Field3>

        <Field4>

  </Header>

  <LineItem>

         <Field1>

         <Field2>

         <Field3>

         <Field4>

   </LineItem>

</Record>

 

 

Thanks in advance,

Kishore.

Generate structured EMAIL using CBMA

$
0
0

We could generate the alert emails using CBMA. But here I will describe the steps to generate the structured alert email .

 

You can follow the blog Interface specific Email Alert in PO using CBMA until Step3 and configure the alert. But instead of Step4, follow below steps.

 

  • Create a text File which will act as a template of the email body like below.

 

pic1.JPG

You can use the below list of variables in the template file to get the corresponding value from RunTime.

 

$severity$: Alert Rule severity

$alert_rule_id$: Alert Rule internal ID

$alert_rule_name$: Alert Rule name

$timestamp$: Alert creation time

$pi_component$: SLD instance name of the PI component that created the Alert

$scenario_id$: internal Integrated Configuration or IFLOW scenario ID

$scenario_name$: a readable scenario name for the Integrated Configuration or IFLOW scenario (note: this variable is only available with

the patch from note 2160374)

$error_category$: Error Category

$error_code$: Error Code

$error_label$: Error Label

$error_text$: Error Text

$error_parameters$: Additional error parameters

$msg_id$: Message ID of the PI message

$msg_from_party$: Sender Party of the PI message

$msg_from_component$: Sender Component of the PI message

$msg_to_party$: Receiver Party of the PI message

$msg_to_component$: Receiver Component of the PI message

$msg_interface$: Interface Name of the PI message

$msg_interface_namespace$: Interface Namespace of the PI message

$uds_attributes$: User Defined data from the PI message

$adapter_type$: Adapter Type

$adapter_namespace$: Adapter Namespace

$channel_name$: Communication Channel name

$channel_party$: Communication Channel party name

$channel_component$: Communication Channel component name

$monitoring_url$: URL link to Message Monitoring for the failed message (Http URL)

$secure_monitoring_url$: URL link to Message Monitoring for the failed message (Https URL)

 

  • Upload that text file in such a PO directory so that the location/file is readable by PO system. In my case I uploaded that under "/usr/sap/instanceID"

 

pic1.JPG

  • Once uploaded,we need to schedule the AlertConsumerJobV2.

 

To do that go to NWA>Operations > Jobs > Java Scheduler > Task.

 

Click on Add and then select AlertConsumerJobV2.

pic1.JPG

 

Click Next and there you can change the TaskName and Description as per your wish. I kept that as it was.

pic1.JPG

On the next page you need to provide the parameters like EmailTemplateFile,Consumer,MailFrom,MailTo etc.

 

pic1.JPG

In my case I kept the below values.

 

Language:en

EmailTemplateFile:/usr/sap/instanceID/EmailTemplateTEST2.txt

Consumer:ALERT-TO-STRUCTURED-MAIL(This is the consumer which is used/created in the AlertRule in ID)

MailFrom:The alert email generator email ID

MailTo:The desired recipient for this alert

 

Then click on next and schedule the alert.

pic1.JPG

 

pic1.JPG

Now click On Finsh.

 

Now the alert email should be looking like below.

 

pic1.JPG

AlertConsumerJobV2 in PO 7.31 SP14

$
0
0

Hello Experts,

 

Has anyone worked on the Alert consumer Job called "AlertConsumerJobV2". This has a description "Simple alert consuming solution for generation of emails. Enhances and replaces the job AlertConsumerJob. It offers additional parameters and the possibility to use an email template.".

pic1.jpg

It says that you can use template for alert email. If anyone worked, can you please share the steps? Thanks in advance.

 

Regards,

Arijit


Consume Web Service - REST Adapter - OAUTH -PI 7.4 SP10

$
0
0

Hi guys!

 

I have to consume a web service with REST message protocol by SAP NW PI 7.4 SP10. This web service has as authentication method "Oauth 2.0" with "Web Server Authentication" Flow.

SAP NW PI 7.4 SP10 only has  the value "SAML Bearer Assertion" in the flow parameter of the communication channel. I need to set flow parameter with value "Web Server Authentication".

Do you know how to do this?

 

Thanks you in advance!

 

Abdullah Azzouni

A. Olatunbosun

Alexander Bundschuh

Praveen Varriam

Eng Swee Yeoh

Pragya dubey


Setup eclipse-HANA Studio for SAP Operational Intelligence - Dev Edition on AWS

$
0
0

Hello,

 

Has anyone faced issues installing the OPInt Plug-in for HANA studio from system image on Amazon Cloud ?

 

I installed SAP BPM and Operational Process Intelligence on SAP HANA [developer edition] Free Trial offerings via SAP Cloud Appliance Library on AWS cloud. 

 

I am able to add the system on AWS using SAP HANA Administration console.  I am also able to connect to the update site by using http://<host>:80<instance>/sap/opi/pv/updatesite via Windows -> Install options.

 

But when I use the go to install the plugin in Hana Studio it takes a very long time. Message is "Cannot perform operation. Computing alternate solutions, may take a while" .  15 operations are performed slowly in foreground while the studio is hanging.  2 HOURS down and only 5 operations are done.

 

In case users are tempted to kill the process - Please do not kill the session because I learnt it the hard way. It will cause the HANA studio not to load again and you will have to clean up the  workspace  http://letsgetdugg.com/2009/04/19/recovering-a-corrupt-eclipse-workspace/.

 

I have referred to following blogs / discussions already : -

 

How to setup Eclipse-HANA Studio for SAP Operat... | SCN

 

SAP Process Orchestration Trial in Public Cloud - Getting Started I had to use the Trial HANA OpInt because there is no download available for Trial PO as mentioned in this blog.

 

It does look like there is a lot of work needed for getting this HANA OpInt image fixed.  Also there is no help documentation for the process scenario on this trial version.

 

Have a Great weekend !

 

 

Thanks and Regards,

Principal Propagation between AEX and BPM in PO

$
0
0

Hi

 

Currently we propagate the principal (user) which calls the soap adapter in PI 7.1.1 to a BPM process running on CE 7.4, the same user is propagated to to the backend systems.

All the authentication takes place using logon tickets and is possible because of the trust relationships between PI and CE and CE and the backend systems.

 

We have upgraded our CE 7.4 system to be a PO 7.4 system and we are about to migrate our interfaces from our PI 7.1.1 to the AEX of our 7.4 PO system, so that we have our BPM's and interfaces on the same system.

 

At the moment, the call between PI 7.1.1 and CE is done using WS-RM and the abap based WS-Adapter and the authentication between PI 7.1.1 and CE 7.4 is happening using SAP Logon Tickets.

 

 

Now, we want to migrate the interfaces and we want to use XI3 for the communication between AEX and BPM. Furthermore we have to keep the principal propagation working.

 

My question is how to set this up in a PO system?

 

Presumably there is no trust needed between AEX and BPM as it is the same SID.

I can't configure anything in the endpoint of the BPM process as it is a XI3 endpoint.

On the AEX side, in the SOAP XI3 reciever channel there is no option to send logon tickets, I can only choose logon tickets if I use an http Destination in the channel.

 

I expected that if I use Xi3 and have principal propagation enabled on the sender and receiver side of the ICO which calls the BPM over XI3, that the user would be propagated to auto-magically, however I am getting an authentication error when the BPM gets called because no SSO2 ticket is found.

 

I can't find any documentation regarding the propagation of users from AEX to BPM.

 

Any advice or ideas welcome

 

A. 

Lookup with BRM Decision Table - Maximum size

$
0
0

Hi All,

We are planning to move all the lookups from Database table to BRM Decision Table. We have several lookup tables currently, each having several 1000s of entries. Wondering whether BRM is the right choice for our case.

 

Is there any maximum size for Decision Table and limit on the no of decision tables in BRM.?  Both PI and BRM on same instance.

Locating and editing a value in a large decision table of 2000+ entries may be difficult for the business user in Rules Manager perspective. As far as I explored, I dont think there is a search/filter option in Rules Manager Decision table to locate the value. Is there any easy way for it?

 

Regards,

Bibin

Persistance of Audit Log - Impact on performance

$
0
0

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.

 

04-08-2015 16-43-21.jpg

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

Collect or Aggregate messages based on counter using NWBPM step by step

$
0
0

We had several requirement where we needed to collect a certain number of messages using BPM. In ccBPM, we used achieve this using Loop step like below where we used to define a loop and a counter and once the counter reached to the end condition, the loop step was terminated.

pic1.JPG

So how to achieve the similar functionality using NWBPM.Below is the process view.

NWBPM.jpg

 

In my scenario, the input message looks like below.

pic1.JPG

The NWBPM is going to accept 5 message with same structure  and aggregate those in a single message.

 

I am not going into PO ESR ID design as that is pretty simple. We are just having one ICO to pass the message with above structure to BPM and another ICO to receive the aggregated message out of BPM and write that into a file.

 

I will describe the properties of the steps I created in BPM.

 

  • Data Objects:

 

Counter:

pic1.JPG

This is a simple data object of type Integer to count the number of message received by the process.Below is the properties.

pic1.JPG

 

Inbound:


pic1.JPG

pic1.JPG

 

This DO is created from the data type DT_SRC which is created automatically once we imported the related Service Interface from PO.This acts as a variable/container to hold the intermediate  messages within BPM process.

pic1.JPG

 

  • Start Step: This step is to receive the first File/Message and trigger the BPM process.Here we also initialize the message counter to 1.

 

pic1.JPG

pic1.JPG

 

pic1.JPG

 

pic1.JPG

In the output mapping properties, we have initialized the counter to one by defining below function and mapped the first input file/message to Inbound DO which was created earlier.

pic1.JPG

  • Uncontrolled Merge: This is just a dummy step to make/complete the loop as exclusive choice can not have 2 input.

 

pic1.JPG

 

  • Exclusive Choice(checkCount):Here we check whther the counter reached to 5 or not. If not then the process continues with Continue line, else process diverted to CountReached line.

pic1.JPG

 

pic1.JPG

Condition for CountReached line as below.

pic1.JPG

  • Intermediate Message(Await Next Message): If the count of number of messages is not reached to 5 then we await for next message to come in.

 

pic1.JPG

Here we need to use a trigger to receive the next messages.In my case I have used same trigger as the file structure of the source messages are same and coming from same service interface.

pic1.JPG

In the output mapping, we need to append the new messages to the existing message in the process.

pic1.JPG

pic1.JPG

Here also we need to set the correlation so that the next messages are correlated based on the company name on the incoming messages. So basically if the process is called by multiple instances then it will generate the aggregated output based on the same company name.

pic1.JPG

  • MappingStep(IncrementCounter):In this step we just increment the counter by 1.

pic1.JPG

pic1.JPG

Double clicking on the [-] sign of the mapping line of the Counter will show you the function.

pic1.JPG

  • Automated Activity(SendAggregatedMessages):Once the counter reached to 5, this step will be executed where we have just sent the aggregated output to PO.

pic1.JPG

pic1.JPG

pic1.JPG

  • End: This is used to terminating the process.

 

pic1.JPG

 

That is it!!

 

The output should look like below.

pic1.JPG

End to end scenario

$
0
0

Hi,

 

I am working in SAP PI 7.1 now. Want to learn PO (PI7.4) ,

 

Pls guide me how to do end to end sceanrio in PO

 

and gone throught few docs about features , advantages  etc.,   Pls guide what we need to learn before that ?  Also what servers we should need to learn and practice (like NWDS, SAPNetweaver portal  and ECC)

 

Thanks in advance

Jeevitha N



Testing: Test Tools...Part 1

$
0
0

I've written a number of internal documents about testing integration scenarios and thought I would turn these into a series of blogs. Please let me know if you find them useful. Feedback is always appreciated.

 

I'm going to start with a great little web site I discovered a few months ago. I'd developed an iDoc to REST scenario using the Advantco Rest Adapter.It converted the outbound payload to JSON and I wanted to be able to view what was actually sent. I know the message monitor provides a lot of detail I wanted more. I really wanted to see what the actual post looked like without testing with my partner and bugging them for log files.

 

After some searching I came across http://www.posttestserver.com/ This is a simple service which will record the contents of a POST to a log file which can be viewed. Use the following URL http://posttestserver.com/post.php or https://posttestserver.com/post.php and execute your request. If you are testing a synchrnous call then the response will contain the log file URL otherwise go to http://posttestserver.com/data/  and browse to the year, month, day, and time of the post.


05-08-2015 17-00-48.jpg

 

** Remember this is a public service so make sure the data you are sending isn't confidential.

MDM Adapter compatibility with SAP PO 7.4 single stack

$
0
0

Hello Team,

 

We are upgrading our PI system from PI 7.10 to PO 7.4 single stack.

We have many interfaces using MDM Adapter in existing PI system.

 

We are doing impact analysis for migration and here comes a query that does MDM Adapter compatible with PO 7.4 ?

 

As per link below:

Landscape Prerequisites - SAP NetWeaver Master Data Management (MDM) 7.1 - SAP Library

Pre-requisites for MDM PI Adapter is:


SAP NetWeaver MDM 7.1 & SAP PI 7.11 (SP01 and higher)


But wanted to confirm that MDM Adapter works fine with SAP PO7.4 SP10.

 

Kindly suggest.

 

Many Thanks,

Anurag Garg

HTTP 202 instead of HTTP 200 with PI Rest Adapter

$
0
0

Dear Experts.

 

Any idea if we can send HTTP 202 instead of HTTP 200 from PI REST Sender Adapter , like we have a similar functionality for SOAP adapter.

 

Regards,

Vishal

Error: com.sap.aii.adapter.xi.routing.RoutingException: Unable to retrieve Channel object from CPA Cache

$
0
0

Hi Folks,

 

I am getting this error for the sender File channel of iflow irrespective of whether I use inline channel or a referenced channel. Earlier I had the same iflow working with inline channel after setting up a referenced channel i started getting this error. The error log doesn't give anymore more info than this. Please let me know incase anyone encountered similar error.

 

"Sending file failed with com.sap.aii.adapter.xi.routing.RoutingException: Unable to retrieve Channel object from CPA Cache - continue processing"

 

Regards

kalyan.

User Defined Message Search for other interfaces than IDOC?

$
0
0

Hello!

 

Is it possible to search in other interfaces than idocs in PI 7.4 java?  It seems that it's only the idoc interfaces turning up in the list when I look there.

Viewing all 1235 articles
Browse latest View live


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