Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all 6719 articles
Browse latest View live

SOAP Lookup error

$
0
0

Hi Experts,

 

I am getting a strange error which I have never seen before during SOAP Look up using lookup api, all of a sudden.

 

Exception during processing the payload. Error when calling an adapter by using the communication channel CC_YYYYYYYYYYY(Party: , Service: XXXXXXXXXXXXXXXXXX, Object ID: a845cb5ffd083284acaf9c356fc0e4fd) while trying to invoke the method java.lang.Object.getClass() of an object loaded from local variable 'obj'

 

Let me know if you have seen it before and have a resolution

 

Thanks,

Akhil


new line character need to be removed

$
0
0

Hi All,

 

when i am creating csv file using file adapter, i am getting file with end of line characters as small boxes, which needs to be removed.

 

i have tried with below options..

 

File Type: Text

File Transfer :Text

 

can some one give me suggestions on this..

Access to PI file system to upload and download files

$
0
0

Hi,  I need an access to PI file system for testing of a scenario,but the problem is that we cannot have admin rights to the PI server.  We try to work with AL11 but it's only to monitor the directories and the transactions CG3Z and CG3Y doesnt exist.  We also try with ZTOOLS but;we dont have authorisation to this transaction.   Thanks for your help in advance !  Regards,  Sambaran

Re:I am not able to import the SAP objects from ESR at single java stack SAP PI 7.3.1

$
0
0

Hi,

 

I am not able to import the SAP objects  from ESR at newly installed stand alone java SAP PI 7.3.1.

 

sapobjects.JPG

So please let me what was the problem for this issue.

Is there any back end connection problem or what?.

 

Regards,

Raju.

How to implement complex xpath logic in Interface determination

$
0
0

Hi Team,

 

I have a requirement like based on different values combinations i need to map to two different target structures.

 

First Input Values:

 

2553

2554

2556

Second Input Values:

01

02

03

 

Third Input Values:

 

2557

2558

 

if the combination of first input and second input then it has to map to one target structure

eg:

2553 01 then map to pack structure

2554 02 then map to pack structure

 

if the combination of third and first inputs then it has to map to different target structure

 

eg:

2557 01 then map to Back structure

2558 02 then map to Back structure

kindly help me to resolve this issue.

 

Thanks & Regards

Swathi

Need Help in XSLT Mapping: Remove Namespace & Prefix except one element

$
0
0

HI,

 

The source structure coming from a webservice contains xml namespace in all elements. I need to remove it from all elements except the top element. I can't use XML anonymizer bean for some reason. The structure is like:

 

<RecordNode xmlns="urn:xxyy:xyz">

   <Field1 xmlns="urn:xxyy:xyz"> 12000</Field1>

   <Field2 xmlns="urn:xxyy:xyz"> 900</Field2>

</RecordNode>

 

 

Thus I need to remove this section (xmlns="urn:xxyy:xyz">) from all fields i.e field1,field2,.....last field Except the top element i.e RecordNode. I could get XSLT mapping for removing all namespaces but how do I do it for the above case. Please note that after XSLT mapping, the field say field1 should look like:

<Field1>12000</Field1>

 

 

 

Regards,

Singh

Mapping Issue with Use One as many

$
0
0

Hi,

 

I have in source ORDRSP05 IDoc. The IDoc contains E1EDP02 & E1EDP20 as:

 

<IDoc>

 

   <E1EDP01>

             <E1EDP02>

             <E1EDP20>

 

The above structure is only for showing heirarchy & not a valid XML of course. Since I am mapping target parent segment with E1EDP20, I need to have use one as many for a field mapped from E1EDP02. This works fine when E1EDP02 comes once in one E1EDP01. However, it shows me error in Use one as many when I have two E1EDP02 within same E1EDP01 ie.

 

 

<IDoc>

 

               <E1EDP01>

                    <E1EDP02>

                    <E1EDP02>

                    <E1EDP20>

                    <E1EDP20>

                    <E1EDP20>

 

Thus, I need to have 6 outputs from Use one as many as each of two E1EDP02 will be triplicated. Will it be possible with standard mapping functions??

Messaged flagged OK in ECC MONI does not apeear sin PI MONI

$
0
0

Hi gurus,

 

I have this scenario I don´t know how to solve it...

 

I have an interface from ECC via ABAP PROXY to a legacy system via SOAP.

 

Everything appears OK, but sometimes there are messages in ECC SXMB_MONI flagged as OK (Checked flag) that I am unable to find in PI SXMB_MONI.

 

Any ideas? I an new with PI and I don´t have much knowledge.

 

Thanks in advance.


How to raise an application error at SXI_MONITOR from Java Mapping

$
0
0

Dear gurus,

 

I’m working with PI 7.30 and I’ve a Java mapping which I’d like to stop when a certain field comes empty from ERP.

 

I mean during my code I’m checking if the field is empty and in case it is an exception is raised to flag the message to red at SXI_MONITOR.

 

Unfortunately I’ve been trying the classes StreamTransformationException , StreamTransformationRuntimeException,RuntimeException, Exception, etc.. but without success.

 

my code inside a method:

 

if(fName.equalsIgnoreCase("") || fFrmt.equalsIgnoreCase("")){

     thrownew RuntimeException("text");  

 

Does anyone knows how to achieve that?

 

Thanks in advance and regards,

Jorge

automatic cache refresh does not work correct

$
0
0

Hi Experts,

 

We have an issue in which we have noticed that sometimes the automatic cache refresh does not work correctly, forcing us to perform a manual refresh.

 

I have been looking for information about handling caches in PI but I have only found this old manual:

 

http://scn.sap.com/docs/DOC-16019

 

does it exist a way of checking or creating the automatic cache refresh in PI?

 

Many thanks and regards,

 

Raul

NWA locks | Central adapter engine cache issue

$
0
0

Hi Team,

 

The central adapter engine cache was not getting updated after we made some configuration changes.

 

I noticed  some lock's(attached screenshot) in NWA and just wanted to know if one has any information on those locks. I don't find them in any other system (other environments).

 

As we do in most of cases (especially when we have cache issues ), The system has to be restarted to resolve it and after the restart i don't see those lock 's anymore.

 

So please share if you have any information.

 

Thank you.

 

Regards,

Hareesh

Generate Dynamic Authorization key

$
0
0

Hi All,

 

I have scenario RFC to SOAP or HTTP . While sending request with URL I want to send authorization key which will be generated dynamically at runtime . how Can I achive this?

 

Thanks..

IDOC-Adapter (HCM to PI) Sending Problem

$
0
0

Hi PI-gurus!

 

We're trying to implement our first IDOC scenario on PI which for testing should look like this:

 

HR Backend --> IDOC (Messagetype HRMD_ABA) --> PI --> SFTP/FILE

 

On PI we tried to use the normal IDOC-adapter and the IDOC_AAE adapter.

Both have the same result:

The IDOC are not sent, but create an error in SM58 / tRFC-queue of the backend.

 

We got two types of errors:

Mostly, it's this one: Use IDOC Adapter for FM IDOC_INBOUND_ASYNCHRONOUS. --> What does this mean?

Sometimes we get this: Authentication failed.

 

We are using a SAP ECC 6.0 backend and SAP PI 7.3 with dual stack.

 

I guess, some configuration is wrong. Does anyone have an idea?

 

I also wonder about the following questions:

  1. Can we use the IDOC_AAE adapter, when having a dual stack system?
  2. What are the RFC-Parameters in the IDOC-Sender for? Is this a back connection to the backend or a connection to the ABAP stack of PI?
  3. Do we need to configure anything in NWA if we choose "Manual" option?
  4. Are there any good tutorials?

Sender file content conversion

$
0
0

Hi Experts,

 

I have a small query.I am testing a file to file scenario in which, at the sender file channel in content conversion "Recordset per message " is set to 500.

So when I am sending file with records more than 500, its is correctly creating messages in sxmbmoni with 500 records per message.

But the files that is getting archived are getting appended with ".filepart" .

Is this normal functioning?I am not sure as I have never come across such interface,so just to confirm.

Thanks in advance.

SAP R/3 --> SAP PI --> Primavera Integration

$
0
0

Dear SAP Guru's,

 

We have a scenario where we need to integrate the SAP R/3 system with Primavera ( third party) using SAP PI.(synchronous call)

 

SAP R/3 is providing the RFC and

Primavera is giving a webservlet link.

 

Now R/3 system sending the BAPI data to SAP PI, PI sending the data to HTTP location.

 

In response Primavera is sending the response in xml .

 

I have created the data types and message types for both request and response for the Primavera system.

 

The problem is that the response structure of Primavera xml(which is generated from the weblink)  and the one we have created is different.

 

Please let me know how can I transform the response xml structure of Primavera to my response data type structure.

 

regards,


Communication between SAP PI 7.1 and SAP PI 7.31 using SOAP Adapter

$
0
0

Hi All,

 

We have created below mentioned scenarios as per business requirements.

The communication is basically from Receiver SOAP Adapter of SAP PI 7.11 and Sender SOAP Adapter of SAP PI 7.31.

 

In SAP PI 7.31 we have configured Integrated Configuration[SOAP to IDOC] using Sender SOAP Adapter and WSDL is generated from Integrated Configuration.

This wsdl is imported in external definitions of SAP PI 7.11 and Receiver SOAP channel[Scenario is MDM to SOAP] is configured with URL and SOAP action that is provided in wsdl.

 

When SAP PI 7.11 sends message using receiver SOAP adapter to SAP PI 7.31,it fails in SAP PI 7.11 SOAP receiver communication channel

with the below mentioned error

 

Message
processing failed. Cause:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP:
response message contains an error XIServer/UNKNOWN/ADAPTER.JAVA_EXCEPTION -
com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve
inbound binding for the given P/S/A values:
FP=;TP=;FS=null;TS=;AN=null;ANS=null; at
com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:250)
at
com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:171)
at com.sap.aii.af.service.cpa.InboundRuntimeLookup.<init>(InboundRuntimeLookup.java:88)
at
com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBinding(AbstractLookupManager.java:597)
at

 

Can you please help with above mentioned issue?

 

Best Regards,

Harleen Kaur

How to deal with Rfc Exception in SOAP TO RFC scenrio?

$
0
0

I have created a simple scenrio "SOAP TO RFC"  to reverse delivery orders.

Generally,it works fine.

But one day ,when i reverse a delivery order which it is  in editing.

The Pi server return "Server Error" as it can not find a proper mapping for RFC exceptions.

 

 

So .i try to do this in SE37 .The RFC application throws exception message as follows:

pi.jpg

Please help me to deal with this exception message to prevending from server error.

Thanks!

logic for grouping of items

$
0
0

Hi,

 

Here is my scenario. This is my input file.

 

 

I- header and J - are items. My requirement in target side is

 

I will have to group the items as below as separate messages:

 

I'm able to split the messages but not able to group with the related items

 

IYD01DOLL0000110000660000001557357820H

J201110192011101928USD  ABCD    9999AFVR000007686000000000000000000000000     

J0000000000000000       8000        000000180000000000000000000000000   IND

J0000000000000000       9000        000007488000000000000000000000000   GMM  

 

IYD01DOLL0000110000660000001557357820H 

J201110192011101928USD  ABCD    99AA3709000012804000000000000000000000000            

J0000000000000000       8000        000011480000000000000000000000000   CHDIND     

J0000000000000000       8000        000000060000000000000000000000000   CHDIND    

J0000000000000000       9000        000000100000000000000000000000000   CHDIND   

 

IYD01DOLL0000110000660000001557357820H   

J201110192011101928USD  ABCD    99AA3709000012804000000000000000000000000            

J0000000000000000       8000        000011480000000000000000000000000   CHDIND        

J0000000000000000       9000        000000060000000000000000000000000   CHDIND    

J0000000000000000       8000        000000100000000000000000000000000   CHDIND          

J0000000000000000       9000        000000100000000000000000000000000   CHDIND     

 

Thanks.

Customize the alert API in PI 7.31

$
0
0

Hi,

 

Currently alert API AlertRetrieveAPI and AlertRetrieveAPI_V2 is the standard API provided by SAP having fixed no. of of fields and payload but is there any way to extend this api to get more information like idoc no. or business related data for business use which can help end users also to understand the API.From which tables it extracts the data in backend ?

 

Thanks,

RJ

substring to get last values

$
0
0

Dear Experts,

 

I am trying to get last 40 characters from my input value.

 

I am using substring providing values as (starting position as 3 and number of characters as 40)

 

but if the value is less than 40 I am facing error.

 

Could you please suggest option or UDF code for the same.

 

Thanks,

suma.

Viewing all 6719 articles
Browse latest View live


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