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

Can any one tell me what is onshore and offshore model work?

$
0
0

Hi

 

Can any one tell me what is onshore and offshore model work? and is we required any license or contract with SAP for accessing Client SAP server through VPN  for offshore work with Clients authorization.


thanks

Sreejesh S




SFTP receiver Channel Error: javax.resource.ResourceException: com.jcraft.jsch.JSchException: Auth cancel

$
0
0

Hello Experts,

 

I am getting error in SFTP receiver channel:

 

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: com.jcraft.jsch.JSchException: Auth cancel

 

Scenario:

 

It is a on going channel is production system. The SFTP server password has been changed, so we have changed the password for SFTP channel as well.

But now this error is coming. We have cross checked password many times, even with the same password we are able to access SFTP location using FileZilla.

 

We are using SAP PI 7.31.

 

Please suggest.

 

 

Suman

RFC to SOAP Synchronous Scenario

$
0
0

Hi All,

 

I'm doing my first RFC to SOAP Sync scenario.I have some confusion related to that.

Client provide one link from WSDL. After opening that link in browser , save that file as WSDL format and that import that as Ex. Definition in ESR.

But its showing as below,

EX Definition.JPG

No sub-element which is required.But when importing the file in SOAPUI from testing, its showing like,

 

SOAPUI_SS.JPG

My query is , how to test the provided wsdl is working fine and applicable for farther development in PI ?

 

 

 

 

Thanks,

Arthita

SFTP Exception caught by adapter framework: com.jcraft.jsch.JSchException: java.net.ConnectException: A remote host refused an attempted connect operation

$
0
0

Dear Experts,

 

We are using PI to third-party application integration with SFTP receiver channel and getting the below error with XPI inspector test.

 

send failed: java.net.ConnectException: A remote host refused an attempted connect operation.

Message could not be forwarded to the JCA adapter. Reason: com.jcraft.jsch.JSchException: java.net.ConnectException: A remote host refused an attempted connect operation.

 

Note : Target system has already white-listed the PI server IP.

 

Kindly suggest and provide your inputs on above.

 

 

Regards

RK N

receiver FCC configuration for two or more nodes/substructures

$
0
0

Hi Experts,

 

Please let me know how to do fcc for the receiver which is having two substructures...

 

Suppose, I am having the receiver file like below..

 

record(0-unbounded)

     empdetails(0-unbounded)

           empname(0-1)

           empid(0-1)

 

     company(0-unbounded)

           companyname(0-1)

           companycode(0-1)

 

So, how to give the configuration for receiver communication channel like this structures. Please provide effective answers.

PO Quantity is not updating

$
0
0

Hi Gurus,

 

I would like to ask, is the PO quantity cannot be updated anymore if the delivery for this PO is already included in the transportation plan? Because our issue is that, the user tries to update the quantity of the PO but upon checking via ME23N, the new quantity is not reflecting. What I noticed is that

1. the delivery of this PO is already included in the transportation plant ( I am receiving this pop up warning message "Delivery XXXXXXXX already included in transportation plan. (Changes are not sent to OTM anymore)." Does it mean that the new quanity not reflecting is the expected result?

 

2. the function module ME_UPDATE_DOCUMENT is not called upon update debugging it will just processed sucessfully but the new quantity updates are not reflecting.

 

I am an ABAPer and I am not quite sure about the process as a whole and my functional guy is tagging this one as an issue.

 

 

Hope you can help me with this.

 

Thanks,

Rishy

Executing graphical mapping based on Java mapping in SAP PO7.4

$
0
0

Hi All,

 

I tried to follow the blog ESR: Message and Java Mapping's - in a Single Message Mapping!! and I using NWDS Java editor to integrate my code with the given code as per the blog.

 

Code Details:

 

package com.sap.xi.tf.user.functions;

 

 

import com.sap.aii.mapping.api.*;

import com.sap.aii.mapping.lookup.*;

import com.sap.aii.mappingtool.tf7.rt.*;

import java.io.*;

import java.lang.reflect.*;

import java.util.*;

import com.sap.ide.esr.tools.mapping.core.Init;

import com.sap.ide.esr.tools.mapping.core.Cleanup;

import java.net.URL;

 

 

 

 

public class MM_JAVAANDGRAPHICALMAPPING  {

 

  InputAttachments inputAttachments; 

  InputHeader inputHeader; 

  InputParameters inputParameters; 

  DynamicConfiguration dynamicConfiguration; 

  OutputAttachments outputAttachments; 

  OutputHeader outputHeader; 

  OutputParameters outputParameters; 

  public void transform(TransformationInput in, TransformationOutput out) throws StreamTransformationException{ 

   try 

   { 

   dynamicConfiguration = in.getDynamicConfiguration(); 

   inputAttachments = in.getInputAttachments(); 

   inputHeader = in.getInputHeader(); 

   inputParameters = in.getInputParameters(); 

   outputAttachments = out.getOutputAttachments(); 

   outputHeader = out.getOutputHeader(); 

   outputParameters = out.getOutputParameters(); 

   InputStream is = (InputStream) in.getInputPayload().getInputStream(); 

   /*

   * **************************** GuideLines for Java Mapping ********************************************************************

   * You can have java mapping code INLINE if it is few lines. And if it is a big and complex code, then I recommend to isolate

   * java mapping logic and develop it separately as a NORMAL java program. Import it as 'imported archive' and refer it in graphical mapping

   * And then call the externally developed public method here

   * Recommendation for external method signature: public ByteArrayOutputStream YourExtBussLogicMethod(InputStream is, ...)

   * **********************************************************************************************************************************

   */ 

   /*BEGIN ************************************************* PATTERN 1 (JM - GM) **************************************************/ 

   //Java Mapping: YourExtBussLogicMethod(is) code is nothing but your java mapping logic. You can also have INLINE code here 

//  ByteArrayOutputStream baos = YourExtBussLogicMethod(is); 

//  InputStream newInputStream = new ByteArrayInputStream(baos.toByteArray()); 

   //InputPayloadImpl payloadInObj = new InputPayloadImpl(newInputStream); 

  // TransformationInputImpl transformInObj = new TransformationInputImpl(payloadInObj); 

   //Graphical mapping called here

  

  

   //My Own Code - START

  

      String str_output_temp = new String();

      String str_ULR = new String("http://XYZ/export/currrate.xml");

      String str_URLResponse_temp = new String();

      String str_URLResponse_temp2 = new String();

      String str_output_temp1 = new String();

      String str_output_temp2 = new String();

      URL url_Response = new URL(str_ULR);

      BufferedReader br_input = new BufferedReader(new InputStreamReader(url_Response.openStream()));

      while((str_URLResponse_temp = br_input.readLine()) != null)

          str_URLResponse_temp2 = str_URLResponse_temp2 + str_URLResponse_temp;

      br_input.close();

      str_output_temp = str_URLResponse_temp2;

      out.getOutputPayload().getOutputStream().write(str_output_temp.getBytes());

  

   //My Own Code - END

  

   super.transform(transformInObj, out);    >---- Error

   /*END ************************************************* PATTERN 1 (JM - GM) **************************************************/

 

 

   } 

   catch (Exception e){ 

   throw new StreamTransformationException(e.getMessage()); 

   } 

  } 

  class InputPayloadImpl extends InputPayload{ 

   InputStream in; 

     public InputPayloadImpl(InputStream in){ 

   this.in = in; 

   } 

   @Override 

     public InputStream getInputStream(){ 

   return in; 

   } 

  } 

  class TransformationInputImpl extends TransformationInput{ 

   InputPayload payload; 

   public DynamicConfiguration getDynamicConfiguration(){ 

   return dynamicConfiguration; 

   } 

   public TransformationInputImpl(InputPayload payload){ 

   this.payload = payload; 

   } 

   @Override 

   public InputAttachments getInputAttachments(){ 

   return inputAttachments; 

   } 

   @Override 

   public InputHeader getInputHeader(){ 

   return inputHeader; 

   } 

   @Override 

   public InputParameters getInputParameters(){ 

   return inputParameters; 

   } 

   @Override 

   public InputPayload getInputPayload(){ 

   return payload; 

   } 

  } 

  class OutPayloadImpl extends OutputPayload { 

     OutputStream ou; 

     public OutPayloadImpl(OutputStream ou){ 

   this.ou = ou;} 

   @Override 

     public OutputStream getOutputStream(){ 

   return ou;} 

  } 

  class TransformationOutputImpl extends TransformationOutput { 

     OutputPayload payload; 

     public TransformationOutputImpl(OutputPayload payload){ 

   this.payload = payload; 

   } 

   @Override 

     public void copyInputAttachments(){ } 

   @Override 

     public OutputAttachments getOutputAttachments(){ 

   return outputAttachments; 

   } 

   @Override 

     public OutputHeader getOutputHeader(){ 

   return outputHeader; 

   } 

   @Override 

     public OutputParameters getOutputParameters() { 

   return outputParameters; 

   } 

   @Override 

     public OutputPayload getOutputPayload(){ 

   return payload; 

   } 

  } 

 

 

  

  @Init(description="")

  public void init (

  GlobalContainer container)  throws StreamTransformationException{

 

  }

 

 

  @Cleanup

  public void cleanup (

  GlobalContainer container)  throws StreamTransformationException{

 

  }

}

 

 

I am getting error at statement    super.transform(transformInObj, out); 

Could you advice with what details I need to create transformInObj because I would like to write my java code in the same code which will provide the xml structure retrieved from URL and the same will be provided as source to graphical mapping for further mapping with IDoc.


Thanks,

Dhill


 

Integrated Configuration equals Single Stack?

$
0
0

Dear Experts,

 

If I have a dual stack PI system, but then I create the interfaces using Integrated Configuration, will I have the advantages of a single stack system? Such as the performance..

 

 

Thank you,

Suwandi C.


message mapping error in update

$
0
0

I have a database scenario. I am picking data from sender database. We have a Flag field in table with value blank

 

I made the select statement like this

 

Seect x,y,z from TableName where Flag = ""

 

I get the error in sender adapter com channel monitoring.

 

Can we have blank value in the databse table for Flag?

 

Can PI handle files above 25 mb size

how to consume external WSDL service in abap

$
0
0

hi ,

 

I have an external WSDL service which created on PHP platform .Now our requirement is to connect with the WSDL through abap .

So, we are creating consumer service in SE80 and when i give the WSDL url then it gives me an error

1).Proxy generation error occured

2).Exception in library handler

3).Incorrect value: Unknown namespace http://schemas.xmlsoap.org/soap/encoding/

 

please give some solution.

Unable to perform full cache refresh in pi system

$
0
0

Hi Experts,

 

Unable to perform full cache refresh even though we are performing full cache refresh we are getting some parsed error and also we are unable to see newly created communication channel

how to generate the message ID with API com.sap.guid

$
0
0

Hi Experts,

 

 

I am new to guid concept

can anybody tell me how can we  generate the message ID on our own with API com.sap.guid

I have search on the net, but not able to get the required info..

 

Thanks!!

Routing Alerts to different groups based on Time!

$
0
0

Hi,

 

Currently we have alerts configured in PI 7.1, so we recieve them by Group1 and Group2.

Now we want to configure rules in such a way that Group1 should recieve alerts from 9AM to 9PM only and Group2 should recieve alerts from 9PM to 9AM only.

 

could anyone suggest how to achieve this.

 

Regards,

Shiva.

Error in connection Windows - SAP PI

$
0
0

Dear,

 

Please, i'm trying a sap connection with an SFTP server and a folder in windows server. But that our SAP environment is within a Unix (AIX) server that does not access Windows shares (CIFS protocol) natively.

 

SAP PI in version 7.31 has a feature to access Windows shares from a Unix server or we will have to seek an alternative in the AIX operating system to access the share?

 

Thanks.

Russian Characters appears as "#" in SXMB_MONI of SAP PI, Why?

$
0
0

Hello Experts,

 

Good Day.

 

My scenario is ECC 6.0 -->PI 7.31 <--> SRM 7.0, where ECC to PI has no sender adapter or channel configured as it is transferring IDoc's whereas PI 7.31 to SRM 7.0 connected via XI adapter.

 

The issue i am facing here is Russian characters sent from IDoc is not seen as Russian Characters in PI and SRM System whereas it is appearing as "###"..Why can't we see them as russian characters in SAP PI and SRM System..if can, how ?

 

i have checked below things,

 

1) In PI, Coming in and going out (Technical Routing) message shows as "######" instead of Russian Characters,the same case in SRM system.

2) In PI We have XML Declaration as encoding=UTF-8 and XI adapter connecting SRM system configured as logon language as English.

3) My ECC system is non-unicode

4) i also understand that "#" is UTF-8 Unicode character..


Send Idocs over SOAP

$
0
0

Hello Experts,

 

I have followed the blog SOAP for IDOC demystified for setting up SOAP connection to post Idocs into our ECC server.

 

When I send an idoc to ECC, the corresponding message is successful in PI, however I do not see any Idoc in ECC nor do I see any error in the transaction SRT_TOOLS> Web Service Utilities: Error Log. Can anyone tell me what could be the issue here.

 

 

P.S. I have not configured an HTTP-XML port in the ECC server, as I understand it is only required for outbound idocs and in my scenario we have only inbound idocs.

 

 

Thanks,

Diptee

Processing xml using AS2 adapter and MDN

$
0
0

Hi all,

 

We are using B2B add on and AS2 adapter. The client says that, at both sender and receiver side they will give xml file. But the client also wants MDN and AS2 security. So is it to process xml file using AS2 adapter? We need to incorporate MDN also there

 

Regards

 

Harish

Proxy to Soap scenario while triggering getting these Error "during XML => ABAP conversion: Response Message; CX_ST_DESERIALIZATION_ERROR in /1SAI/SAS0446CC11CC6EC1AD4789 Line 24 An error occurred when deserializing in the simple transformation program"

$
0
0

Hi Experts ,

 

  My scenario is proxy to SOAP ,Where request is going to web service and we are getting response  successful but some specific  users numbers we are getting below error with successful response proxy  .


Below is the error .


Error during XML => ABAP conversion: Response Message; CX_ST_DESERIALIZATION_ERROR in /1SAI/SAS0446CC11CC6EC1AD4789 Line 24 An error occurred when deserializing in the simple transformation program /1SAI/SAS0446CC11CC6EC1AD4789 (Character set conversion f.


We getting this error only  for some specific user numbers and we used same user  number quality its not getting any error .Its only happening in Production system.




Please help us to solve the issue.


Regards

Ravi.

Async/Sync Bridge ABAP Proxy error

$
0
0

Hi Experts,

 

I am working on a scenario Proxy -> SOAP(sync) -> File. Following documentation and blogs on scn I put RequestResponseBean and ResponseOnewayBean in the sender SOAP adapter, Message Protokoll XI 3.0.

When sending a testmessage fom SPROXY I get the following error:

 

SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

 

<SAP:Category>XIProtocol</SAP:Category>

 

 

<SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code>

 

 

<SAP:P1>Main/@versionMajor</SAP:P1>

 

 

<SAP:P2>000</SAP:P2>

 

 

<SAP:P3>003</SAP:P3>

 

 

<SAP:P4/>

 

 

<SAP:AdditionalText/>

 

 

<SAP:Stack>Das XML-Tag Main/@versionMajor hat den falschen Wert 000; es wurde der Wert 003 erwartet</SAP:Stack>

 

 

<SAP:Retry>M</SAP:Retry>

 

</SAP:Error>



in english:   XML-Tag Main/@versionMajor has got the wrong value 000; expected was 003


I am working on PO 7.4 single stack.

Using SOAP-Adapter without modules works fine.


Any Ideas?


can use PostgreSQL database in SAP PI 7.4

$
0
0

Dear Experts,

 

can we use PostgreSQL Database in sap pi 7.4 Server or not?

 

is this default DB or manually installation required to use in SAP PI 7.4 Interface.

 

My requirement is like to send data from thirdparty to Database( we want to PostgreSQL Server).

 

Please kindly suggest me for further and share documents.

 

Regards,

Kiran Polani

Viewing all 6719 articles
Browse latest View live