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

Messages in "To be delivered" status

$
0
0

Dear all,

 

We are facing a peculiar issue. The interface flow is SAP ECC-->SAP PI -->Oracle DB.

 

As part of the volume testing, For a interface, we are pushing nearly 300-400 Idocs from SAP ECC to SAP PI.

 

When tested in SAP PI DEV enviroment, the Idocs are reaching the DB system in 3-4 secs, but the same count is taking 15-20 mins in Quality environment.

 

SAP PI system is at PI 7.1 SP7 version.

 

The following options have been tried now, there has been no much improvement in the performance.

1.Changing the Maximum concurrency in "Receiver JDBC adapter" from 1 to 5.

2. We tried to cris-cross the connections (PI DEV TO DB QA) - This took 3-4 secs again and PI QA to DB DEV- This is again taking 15-20 mins.

3. Idocs are reaching PI Integration engine but from Adapter engine to DB delivery is taking lot of time. Messages in RWB-->Message Monitoring show up in "To be delivered status.

 

Kindly share your inputs/points to resolve the issue.

 

regards,

Younus


Encryption in PI 7.31

$
0
0

Hi experts,

 

What are the different standard ways of doing encryption in PI 7.31

 

One way that i know is SFTP PGP addon. What are the other options available

 

Thanks for your help

Generating Different FileNames at Target Side using ASMA(UDF)

$
0
0

Hi PI Experts,

 

Requirement : IDOC to 3 Files

 

The Scenario IDOC is generating 3 files at Target Side.

I had Designed using MultiMapping(IDOC Message) to 3 Messages at Target Side.(IDOC(source) and 3 Messages types at Target Side in Mapping)

In Mapping, I am using RFC look up to Generate an Sequence Number FM and this Seq Number is passed as Input to UDF to generate Target File Name with above Seq No.

 

EX : Header0001.txt.

 

Problem : For All 3 Target File are generated with Same FileNames as mentioned below.

HeaderInstructions.txt Instead of Header001.txt

HeaderInstructions.txt instead of Item0001.txt

HeaderInstructions.txt

 

UDF : The First Message UDF

 

 

try {

String filename    ="";

 

DynamicConfiguration conf1 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http:/"+"/sap.com/xi/XI/System/File","FileName"); 

 

filename = "Header"+Code+".txt";   // Code value from RFC Look up

conf1.put(key1,filename);

return filename;

}

catch(Exception e)

{

     String exception = e.toString();

      return exception;

}

 

For the second Message the above same UDF but I am changing the FileName as

 

filename = "Item"+Code+".txt";

 

similarly for 3rd File too.

 

Reason for getting the Same file name for 3 files as per my analysis,

 

Target Messages are mapped with UDFs and first and second UDF are over written and Output as HeaderInstruction.txt is output for all Files.

 

Note : For Three Different Operations Mapping - I am able to generate as per my Requirement, but fails with One OP.

 

Please suggest me on this.

 

Rgds,

Kumar

questions to SAP PI implementation RFP

$
0
0

Hi Gurus,

 

As I am working first time for the RFP process. Please share the possible questions we should ask for PI implementation.

 

thanks in advance

 

Kevin

Question on HTTPs - SSL encryption

$
0
0

Hi Experts,

 

I understand that SSL is used to encrypt communication over internet.

 

Also went through the below doc for setting up SSL

http://help.sap.com/saphelp_nwpi71/helpdata/EN/14/ef2940cbf2195de10000000a1550b0/frameset.htm

 

However I have the following conceptual questions -

 

When PI is the client and receiver system is HTTPS server -

 

1. Do we need to get the certificate from receiver and install it in the keystore in NWA Or do we need to create it in PI and then get it signed by CA

    and send to receiver

2. What about the public and private key. Should PI set up the public received by receiver somewhere in NWA

Replicating the source field in target side multiple times

$
0
0

Dear All,

 

I have a requirement of file to idoc. In source file, we are getting multiple line item with line item number. In target side i'm having different nodes. In each node a retailnumber field is there.I need to populate the retail number from the Retailline item segement.

 

 

My flat file structure:

 

H|C001|20130512|1001|2|CC-01|20130404022030|SUPERVISOR|INR

D|1|2001|1|8901314117342|1308012024|1|EA|40.00|40.00

I1|D1|4401|04.44

I1|D2|4402|04.44

I2|1|3901|-6.50

I2|2|3902|-8.50

D|2|2001|1|7615032862350|1307012057|1|EA|40.00|80.00

I1|D1|4401|04.15

I1|D2|4402|06.50

I2|1|3901|-2.50

I2|2|3902|-3.50

F|1|3101|40.00|INR

F|2|3102|50.00|INR

 

My output should be:

 

Here

D- Retail Line Item

I1 - TAX

I2- DISCOUNT

F- TENDER

 

My output should be like:

 

In case of

I1:

1,D1

1,D2

2,D1

2,D2

For I2:

1,1

1,2

2,1

2,2

 

In the mapping  tried with multiple options but no luck,Any suggestions regarding this issue.

 

 

 

 

 

Regards,

Aravind

PI ASYN Scenario JDBC to SAP

$
0
0

Hi Experts,

 

My Scenario is every 15 mintues i need to poll one table and get data from oracle table and update in SAP.

 

My Design is JDBC to Proxy

 

My JDBC Structure is :

 

My Sender Structure

 

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

<ns0:MT_Ret xmlns:ns0="urn:sam.com:Result_Tl">

   <row>

      <TRANS_ID></TRANS_ID>

      <DATE></DATE>

      <DESTINATION_ID></DESTINATION_ID>   

   </row>

</ns0:MT_Ret>

 

Iam Getting data from Oracle.I got the payload from XI and tested in MM but target side value is getting supressed.When iam sending data to SAP also I have the same structure.I am not able to find actual issue.Please hel me in this regard

 

Thanks,

Dinesh

Need Process code for inbound PO change acknowledgement

$
0
0

Hi everyone,

 

Can somebody please help me with such question -

 

For getting inbound PO change acknowledgement (865 EDI), what process code should I use in my partner profile and also what message type it will be ORDCHG.ORDERS05 ?

 

Best regards,

Maria


Image field

$
0
0

Hi Guys,

     Shold i pass image field in my messge mapping  without UDF ?

Java Cache not updating in Value Mapping replication

$
0
0

Hi,

I am using value mapping for updaing dealer and dealer codes from from a excel sheet.

 

I have an excel sheet containg 2 rows - 1st being the Dealer name and other its respective codes .For Ex - DealerName1    |   DN1

I have created a Value mapping for this to update the table in the SAP PI Java Cache.
I have created a message mapping , with Source being my table structure and target as the SAP pre defined ValueMappingReplication Message Type.

I have duplicated the 'Item' node in the ValueMappingReplication Message type in the message mapping.

 

In the first Item I have mapped -
1) Operation - Insert
2) GroupId - I have created a Group in Integration Directory with one of my excel sheet pair . I have mapped this field with the GroupId which was     generated when I created a group in Integration Directory.
3) Context - http://sap.com/xi/XI
4) Identifier - mapped it with the Dealer name field of the source.
5) Scheme - mapped with the one I created in the Integration Directory (SourceScheme)
6) Agency - mapped with the one I created in the Integration Directory (SourceAgency)

 

In the second Item I have mapped -
1) Operation as Insert
2) GroupId - I have created a Group in Integration Directory with one of my excel sheet pair . I have mapped this field with the GroupId which was generated when I created a group in Integration Directory.
3) Context - http://sap.com/xi/XI
4) Identifier - mapped it with the Dealer code field of the source.
5) Scheme - mapped with the one I created in the Integration Directory (TargetScheme)
6) Agency - mapped with the one I created in the Integration Directory (TargetAgency)


I am using the File adapter in source channel to pick the file. I have created the XI channel in the Target side . I have refered the SAP SCN link for creation of the XI channel, have mention the JPR path in the channel and the non-sap logon option.


I have also registerd the Java inbound proxy -

http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication (for the asynchronous replication scenario)


The problem is that after running the VMR interface , when I am opening the Java Cache monitoring then I am not able to find the table entries . I can only see the one I have manually created in the ID - for the sake of getting the groupID, the agency and Scheme name.

Also I am getting no errors in sxmb_moni.

 

Please help me .

 

Regards,

Somil Gulati

RFC_ERROR_LOGON_FAILURE: Incomplete logon data

$
0
0

Dear All,

 

We had a problem on SNC setting for RFC receiver adatper on the environement XI 3.0 SP30.

 

We tried to use Secure Network connection for RFC instead of  Logon data for SAP system.

 

We filled the SNC parameter name for my target system and we used the SNC advanced mode and filled the information of SNC parameter of target system, path to SNC library, Logon client, language...etc

 

After this parameter, we had error like  "can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION : : No credentials were supplied GSS-API(min): No credentials found for this name (not logged on)

 

could you please help us on this?

 

Thank you very much.


Best Regards,
Sateesh

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Target directory '*' does not exist and cannot be created

$
0
0

Hi experts,

 

I am doing Proxy to File(NFS) scenario in sap pi 7.1 .   directory  needs user/pass when I connect from PI server .  How I can reach to this location in entegration without using user/pword.  Which user in PI need to have authorization??

getMessageId issue while using SOAP Adapter on XI mode.

$
0
0

Hi PI Folks,

 

I am getting an error message below in Receiver SOAP Adapter used with XI mode for Proxy communication.

 

Error in RWb -- Message Monitoring--Adapter Engine.

Error as given below:

"Error Transmitting the message to endpoint <local> using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable 'messageHeader'"

 

My Scenario is SOAP to SOAP, i.e Third Party is sending data using webservices and PI is pushing this data to SAP BI sys using SOAP Adapter using XI mode. This is to enable proxy communication using ICO.

 

Now when we use Graphical mapping, scenario works fine end to end but when we use XSLT Mapping it throws above error.

 

Please enlighten the issue ?

 

Thanks,

Deepak

SFTP server connection using seeburger FTP adaptor

$
0
0

Hello Experts,

 

Please confirm anyone on SFTP server connection using seeburger FTP adaptor in SAP PI 7.1

 

 

Regards,

MFH

Testing of FTP seeburger adapter

$
0
0

Hi Team,

 

Could you please let me know how we can test FTP serburger adapter with new server details. And please tell where we have to put file for new Ip address either desktop or where because we do not have directory option in FTP adapter.

 

Thanks,

Kumar


How integrate Oracle and SAP.

$
0
0

Hi.

 

Can you help me?.

 

I have a RFC in SAP, and in Oracle I have a  trigger.

 

From trigger of Oracle I wan call to RFC. Can do it's?.

 

Thanks.

File Content Conversion in SAP PI

$
0
0

Hello Guru's,

 

I have couple of questions regarding the File Adapter.

 

My scenarios are File to Proxy and Proxy to File.

 

1. File to Proxy.

 

I have '|'  delimited file with more than 100 fields, But I need to map and send only 10 fields to SAP. And those 10 fields are present first 20 fields only.

Now the question is Do I need to create Source Data Type with all 100 fields or First 20 fields are enough? How do the File Content Conversion if I use first 20 fields.

 

Pls provide the example.

 

2. Proxy to File.

 

In this scenario, Requirement is before FTP'ing the actual file, I need to send a blank file with the name abc.trg. Its like once once the proxy is triggered, I need to put trigger file first and after couple seconds I need put the actual file using Receiver File Adapter. Is this possible using receiver File Adapter?

 

Appreciate your inputs.

 

Thanks

Arun

Help on XSLT mapping

$
0
0

Hi Everyone,

 

      I am very new to XSLT mapping.I tried one scenario to understand the concept,but at the target side the nodes are not getting genearted.

Please find the belo code:

<?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" indent="yes"/>
<xsl:template match="/">
<test>
<xsl:for-each select="test/Data">
<Data>
<xsl:variable name="VPOnumber" select ="POnumber"/>
<xsl:variable name="Vdeliverynumber" select="deliverynumber"/>
<POnumber>
<xsl:value-of select = " concat($VPOnumber,' ',$Vdeliverynumber)"/>
</POnumber>
<deliverynumber>
<xsl:value-of select = "deliverynumber"/>
</deliverynumber>
<statuscode>
<xsl:value-of select = "statuscode"/>
</statuscode>
<xsl:for-each select="Data/Product">
<Product>
<productid>
<xsl:value-of select = "productid"/>
</productid>
<quantity>
<xsl:value-of select = "quantity"/>
</quantity>
</Product>
</xsl:for-each>
</Data>
</xsl:for-each>
</test>
</xsl:template>
</xsl:stylesheet>

 

Also find the Operation mapping excecution.

 

test1.png

Please could anyone help me where it went wrong.

Thanks in advance

connecting PI 7.31 and PI 7.0 to ECC

$
0
0

Hi, I need to connect PI 7.0 and 7.31 as Integration servers to one ECC system. I need to configure SPROXY and RFC - SAP_PROXY_ESR to point to 2 PI servers. How can this be done? Thankyou for your help.

Mapping the source fields based on condition

$
0
0

Hi Guru's,

 

I need to map one filed based on some condition.

 

Suppose my source value for the 'field1' is abc-123 then I need to remove all the content before '-' and then map the rest of the content i.e 123.

 

Is this possible using graphical mapping (pls provide the screen shot), or do I need to write UDF, If yes pls provide example.

 

Input for field F1      Output should be

 

abc-123                    123

xyz-456                    456

pqr789                      pqr789

123-ijk                       ijk

 

Appreciate your help

 

Thanks

Arun

Viewing all 6719 articles
Browse latest View live


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