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

No response in SOAP Lookup

$
0
0

Hi Experts, I have been trying to create a soap lookup.The goal is to send a SOAP request and to get SOAP response back in the target message through a UDF SOAP Lookup. The structure of the HTTP Post request that we have received is this :       operation=list                      MX_PERSON                    10000001                    But the URL accepts only HTTP POST request and send the request using spml protocol. I have created the following UDF for this : AbstractTrace trace = container.getTrace(); String suma = ""; try { //instance the channel to invoke the service. Channel channel = LookupService.getChannel("BSVC_Test_ValueMapping","CC_SOAPReceiver"); SystemAccessor accessor = LookupService.getSystemAccessor(channel); // The Request message in XML. THIS IS THE LOOKUP SERVICE String SOAPxml="

" +                                                                 ""                                 + ""                                 + var1                                 + ""                                 + var2                                 + ""; InputStream inputStream =new ByteArrayInputStream(SOAPxml.getBytes()); XmlPayload payload = LookupService.getXmlPayload(inputStream); Payload SOAPOutPayload = null; //The response will be a Payload. Parse this to get the response field out. SOAPOutPayload = accessor.call(payload); /* Parse the SOAPPayload to get the SOAP Response back */ InputStream inp = SOAPOutPayload.getContent();  DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();  /* Create DOM structure from input XML */  DocumentBuilder builder = factory.newDocumentBuilder();  Document document = builder.parse(inp);   /* ConversionRate is available in the TAG ConversionRateResult in the Response XML */ NodeList list = document.getElementsByTagName("Response"); Node node = list.item(0);  if (node != null) { node = node.getFirstChild();        if (node != null) {  suma = node.getNodeValue();        }  } } catch (Exception e) { trace.addWarning("Error" + e);  } trace.addInfo("Service XXX success executed"); return suma; I have also created one SOAP receiver channel with WS_AAE with HTTP Protocol and SOAP 1.2. I am not getting any error message while testing but I get no response in the target field. Could you please tell me any solution?


HTTP PI ECC scenario

$
0
0

Hi all

 

I need a help regarding putting a scenario where in sender is third pary and sending an HTTP message to PI, which will pass to ECC Proxy for processing

 

I have done the ESB development, please could you guide me with step by step configuration of ID please

 

cheers

chet

Special character issue at SAP PO 7.4 single stack

$
0
0

Hello Experts, We are in the process of migrating interfaces from PI 7.1 to PO 7.4. For one of the inbound interfaces (File to Idoc) the special characters (ø ö ä å) are not populating correctly in the Idoc. We have tried the following steps till now – Source file is of the format .txt and encoding of the source file is ANSI. We have assigned the value ISO-8859-1 as the encoding format in sender channel and executed the scenario end to end. Note: Target Idoc XML payload carries the special character values as expected but the content in Idoc is having the special character values messed up as seen below - 1.png(Image) We have changed it to UTF-8 as the encoding format in sender channel and executed the scenario end to end. But now, target Idoc XML and the Idoc are not carrying the special character values correctly. 2.png(Image) Could you please help me out on how to proceed with this further? Regards, Uday.

XMLDAS for PI 7.31

$
0
0

Hi Experts,

 

 

We have successfully configured archiving for PI 7.31 Single stack using XMLDAS. However, the file storage is now reaching its limit, do you have any idea on how to delete archived messages? I assume that deleting directly from the file system is would cause an issue therefore there must be a standard way of doing it.

 

 

Thanks,

 

Christian

Error in Migration tool

$
0
0

HI PI folks,

 

This is to seek help on an error in using Migration tool for migrating scenarios from PI7.10 to PO 7.4 EHP8.

 

We are using Scenario Migration option with Sender Agreement  option for scenario selection.

After scenario selection we are getting below error

 

Error is as follows:

Cannot migrate scenario. Details: Cannot read the Sender Agreement object because the Migration Tool uses the old 7.0 version of the Directory API to read from the source system and the object requires a higher version


Strange thing is that, this is not the case for all interfaces. We are getting this error only for few interfaces.


Please help to get rid of this error.


Kind Regards,

PO Consultant

How to implement the logic of devide with 1000 in PI?

$
0
0

HI Experts,

 

I have requirement that need to divide the value with 1000 when ever the field value has five numeric digits. The value will be like

 

1. 12.123415

2. 123.12312322

3. 1.2312

4. 12345.5678922

 

But  the logic of divide with 1000 has to applicable at case: 4 only.

 

Please help me here.

 

Regards,

uday

SAP PO 7.5 - any issues?

$
0
0

Hi Team,

 

Has anyone upgraded to the latest SAP PO version 7.5?

 

We are planning to upgrade/migrate from SAP PO 7.4 to 7.5. Have you encountered any minor or major issues during migration?

 

Appreciate your feedback

 

Thanks,

 

Carlo

REST Adapter: Problem converting XML containing arrays to JSON

$
0
0

Hi all,

 

we are using REST as a Sender Adapter. Works (almost ) like a charm

 

The problem we are facing is that we have an Array-like Element in the Repsonse XML DataType. Depending on the amount of actual elements in the array, the element gets converted to a JSON Array or JSON OBject.

 

E.g. If the element contains exactly 1 item, it is converted to a JSON object. If it contains more than one item, it is comverted to an array. if it contains no elements, it is not contained in JSON at all.

 

Case 1: More than one element in XML

 

consider following response XML:

<resultlist>  <item><value>item 1</value></item>  <item><value>item 2</value></item>  <item><value>item 3</value></item></resultlist>

it gets correctly converted to

{    "result": {        "item": [            {  "vlaue": "item 1"  },            {  "vlaue": "item 2"  },            {  "vlaue": "item 3"  }        ]    }
}

 

Case 2: Single element in XML

 

consider following response XML:

<resultlist>  <item><value>item 1</value></item></resultlist>

it gets NOT correctly converted to

{    "result": {        "item":            {  "vlaue": "item 1"  }    }
}

expected result:

{    "result": {        "item": [            {  "vlaue": "item 1"  }        ]    }
}

Case 3: No elements in XML

 

consider following response XML:

<resultlist/>


it gets NOT correctly converted to

{    "result": ""
}

 

expected result:

{    "result": {        "item": []    }
}

Bottomline

 

The point is that the consumer of the result cannot rely on the structure of the content. Sometimes the element is just en element, sometimes it is an array, sometimes it isn't even there...

 

 

 

The issue has been addressed at the following locations, but I havent found a solution and/or a note yet...

 

 

 

Thanks and best regards,

Sergei


SAP PO Architecture - Custom Portal calls exposed PO web service

$
0
0

We are currently in the process of building out a custom portal to pull data from SAP ECC, and we are struggling with determining what the architecture of the services should look like - mainly because we don't have total transparency on how SAP Process Orchestration works.

 

My goal is to provide a few base services for the applications. An order service that can create, update, and retrieve orders. A bunch of master data services that can perform lookups (Customer, Vendor, Material). How does SAP PO handle this architecturally?

 

From my basic searches, I've come up with the following:

  • SAP PO can expose basic BAPI functions for the creation, update, and retrieval of objects.
    • If this is the case, am I creating three separate services for each operation?

 

Is this true as to how SAP PO works? If not, is there a means to logically creating a base set of services and having abstractions within those services to handle various scenarios like different order types? Or am I simply sending in different parameters to a service based on a BAPI in the system?

 

How exactly does SAP PO work in exposing web services for simple objects such as a Trading Contract, Sales Order, Material, etc.? Any good links or tutorials I can hit?

 

Much appreciated.

REST JSON Response

$
0
0

Hi,

 

I have a sender REST scenario, where my sender is sending the JSON request to SAP PO, I am able to take the request map it to my receiver. When I am getting the response I need to convert the payload from XML to JSON. In this conversion I see an element which I have defined as String in xml in SAP PO that gets converted to integer in JSON response.

 

{"orderNo":"",

"taxTransactionDocID":"",

"responseCode":500,

"responseMessage":"Please select the address from proposed addressess "

}

 

Here in my xml I have defined responseCode as String but the value it carries is a number. When the response goes as JSON it shows up as a number.

 

         <xsd:element name="responseCode" type="xsd:string" minOccurs="0"/>

 

Thanks in advance.

 

Ravijeet

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

Importing project from HCI eclipse to HCI WebUI

$
0
0

Hi,

 

Could you please share your ideas on how to import an HCI  project from HCI tenant into HCI WebUI.

 

NOTE:It's custom developed project in eclipse and deployed into HCI tenant.

 

I tried the option of downloading the project into local machine and then importing the same file into HCI webUI ,but it's(WebUI) not accepting the file.

 

 

Thanks

Venkat

Adapter Module NameNotFoundException- in SAP PO 7.4

$
0
0

Hi Experts,

 

I am trying to generate PDF with password using adapter module. Followed the below link -

Creating Password Protected PDF file and Zipping it Using SAP PI

 

While testing I am getting the error as -

ZZZZ.JPG

I checked the JNDI name, its correct but still I am getting this error.

 

Also, I checked the JNDI registry, and I can find some file logs related to my adapter module. PFB the snapshot for the same.

JNDI_Screenshot.JPG

 

Can you please suggest, where I am doing the mistake and where can i check it?

 

Thanks,

Nidhi Srivastava

B2B Add ons in SAP PO 7.40

$
0
0

Hi,

 

we are doing upgradation from  SAP PI 7.3 (Single Stack) to SAP PO 7.40. SP 7

 

 

1) After sandbox upgratation we are not see any new adapters in 7.40

2) same adapters iam able to see in 7.40 also, there is no B2B Add ons, SFSF, REST, OData, WS_AAE

3) we are upgared till 7.40, SP 7

4) how to get all above adapter in PO 7.40

 

is there any minimum SP level required to get all the above in PO 7.40

 

 

Pradeep

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


REST to SFDC

$
0
0

Hi,

 

can any one explain about REST Adapter

 

1) REST is better than SOAP

2) Can we use REST Adapter in SFDC Integration insted of SOAP?

 

 

thanks

Pradeep

ISSUE WHILE CONNECTING TO JDBC RECEIVER

$
0
0

Hi Experts

 

Iam facing a issue while connecting to receiver JDBC adapter.

 

Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection with the registered driver. com.microsoft.sqlserver.jdbc.SQLServerDriver returns: Cannot open database "CAPILLARY_AS" requested by the login. The login failed.. : com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "CAPILLARY_AS" requested by the login. The login failed.


we have other scenarios running on SQL server .Please let me know how to solve this


Regards

Nagur

PO 7.31 Certification?

$
0
0

Hi Experts,

There is a certification for technical consultants PO 7.31?.

 

Best Regards

REST Adapter receiver: how to get text from the response?

$
0
0

Hello,

 

I was able to specify the rest receiver for a synchronous request. The response contains pure text that has to be extracted - but I can't find how to get it.

I think I have to configure the "Response Determination", but I have no idea what to put in there. Has anyone an example?

 

What I did so far:

I defined the REST URL and REST operation ("GET").

In the tab "Data Format" I selected for the request format "XML" (there is no payload). As said in the manual, for the response format I selected "JSON" (although it is pure text), but not "convert to text".

 

The request works fine, I get pure text back - but I don't know how to go on. I want to put this text into one field in an XML. Should be quite simple, but I don't know to use "Operation Rules" or "Response Determination" as I can enter every text and no help is available. Everything that I tried so far didn't work. Was anyone already successful with this task and can show me, how to do it?

 

Thanks for your help,

 

Karin

user-defined message search doesn't work in SAP PO 7.4

$
0
0

Dear Gurus,

The version of our SAP_XIAF is 7.40. single java stack.

I've tried to  configured a user-defined message search in the message monitor.

what happened is the 'test search criteria' function works fine. however  in the 'indexing option', once a job has been started, the status is always 'index job running'. even after several hours, the status still has not been changed to 'completed'.

 

the symptom is, no message can be found by using the defined search criteria in the message monitor.

 

I just wander is there a way to supervise the defined indexing job? why its status has never changed?

 

thanks2015-12-16 11_36_10-User-Defined Message Search Configuration - SAP NetWeaver Administrator - Intern.png

Viewing all 967 articles
Browse latest View live


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