Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all 7030 articles
Browse latest View live

Ariba Network Adapter Content for SAP PI

$
0
0

Hi All,

 

 

We have to implement Ariba ECC SRM integration in PI.

 

 

For that Ariba adapter content would be required. The content can be downloaded from connect.ariba.com having a valid DSC account.

 

Is there any other option from where we can download the content?  

 

I have read somewhere that it is available on service marketplace, please confirm.

 

Thanks & Regards,

Ruchi


Receiver SOAP AXIS Adapter Error:ava.lang.String.indexOf(java.lang.String) of an object loaded from local variable 'line'

$
0
0

Hi,

 

Ther is error in receiver soap axis adapter:

 

ssage processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: The WSDL could not be parced; nested exception is: java.lang.NullPointerException: while trying to invoke the method java.lang.String.indexOf(java.lang.String) of an object loaded from local variable 'line'

 

Transport Protokol: HTTP (Axis)

Encapsulation Format : MTOM


Thanks

 

Nurhan

SPROXY error

$
0
0

Experts

 

Please let me know if the ECC config client needs to be connected to SPROXY or the data client.

 

Currently when I try SPROXY from the data client it works fine and I can see all the objects from the ESB.

 

But if I try the same from the config client then

No connection to ESR. Only local data are displayed

 

When I try to run the report SPROX_CHECK_IFR_ADDRESS in the data client i get below output

 

In Exchange Profile  http://XXXXXXX:XXXXX/rep           

Actually Used        http://XXXXXXX:XXXXX/rep           

Repository Version   7.0                                    

Status               OK: Address maintained                 


When I do the same in the config client I get below

 

Cannot determine Repository Version

 

followed by a popup

 

In Exchange Profile  http://XXXXXXX:XXXXX/rep

Actually Used        http://XXXXXXX:XXXXX/rep

Status               OK: Address maintained  

 

 

The reason I am asking this is I need to create the proxies for my ABAP code and we are allowed to create transports only in the config client.

 

Please let me know how to get to the bottom of the issue

Failed to connect to a stored procedure from sapi 7.3

$
0
0

Hello experts:

 

I have the following scenario I'm trying to build: Send information from a AbabProxy - PI - Jdbc through a stored procedure. It must answer a series of data, however the following error occurs through SXM_MONI.

 

com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Licores_Mayor' (structure 'Statement'): com.microsoft.sqlserver.jdbc.SQLServerException: No se encontró el procedimiento almacenado 'Licores_Mayor'.


My Data type are:

 

DT_EnvFactura_Out_XI

     Request

          factura

          localidad

 

DT_EnvFactura_In_JDBC

     Statement

          Licores_Mayores

               Action

               factura

                    isInput

                    type

               localidad

                    isInput

                    type

 

Herewith the mapping done to see if I can help in solving this problem

Question on alert and communication channel monitoring

$
0
0

Hi,

I have two questions

1) In a file - file scenario, I have stopped sender and receiver communication channels. After that I started only sender channel and then there was a message flow from sender to receiver. Since the receiver channel was stopped, there should not be any flow.. Please clarify how can this happen?

 

2) I have done alert configuration for a message flow. When I got alert related to that, I tried to track the message in moni using message id, but was unable to find the message. Please also clarify how this has happened?

SOAP sync timoe out error

$
0
0

Hi Experts,

 

we are working on SOAP- RFC- SOAP sync scenario, We are not able to get any responses back from PI to webservice .After 5 mints its showing timeout exceeded.Sometimes it will work and it gives the response but some times it doesn’t respond back with the response.Below is the screen shot.

 

sdn.png

 

Please help me on this issuse

 

 

Regards,

Suma

Test payload in SAP PI 7.31 Single Stack

$
0
0

Hi experts,

 

     I want to test some payload as we can do in the RWB in SAP PI systems with double stack, using RWB -> Component Monitoring -> Display -> Adapter Engine -> Test Message.

 

    But in JAVA single stack there is not RWB, I read somewhere that we can trigger this test changing the Adapter X to a Sender SOAP channel and fire it from the webservice navigation, but this don have to much sense for me because i think its just to test a WebService as you can do it with a SOAPUI or any other program.

 

Is it possible in that way??

 

Is there any other possibility to test the whole interfaces?

 

Thanks in advance

 

Regards!

PI startup failure

$
0
0

Hi

 

 

Our primary PI (let it be servA) failed and we go to another server (servB). PI instance name XIP

 

Dirs  /usr/sap/XIP, /sapmnt/XIP was copied succesfully. I made changes in profiles.

 

Startup on servB is:

 

xipadm> startsap r3

Checking XIP Database

Database is running

-------------------------------------------

Starting Startup Agent sapstartsrv

OK

Instance Service on host sapfs started

-------------------------------------------

starting SAP Instance SCS00

Startup-Log is written to /home/xipadm/startsap_SCS00.log

-------------------------------------------

/usr/sap/XIP/SCS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start

Instance on host sapfs started

Starting Startup Agent sapstartsrv

OK

Instance Service on host sapfs started

-------------------------------------------

starting SAP Instance DVEBMGS03

Startup-Log is written to /home/xipadm/startsap_DVEBMGS03.log

-------------------------------------------

/usr/sap/XIP/DVEBMGS03/exe/sapcontrol -prot NI_HTTP -nr 03 -function Start

Instance on host sapfs started

 

But after that I can`t login to http://192.168.234.90:50300/ It`s say:

 

503 Service not available

 

 

--------------------------------------------------------------------------------

Error: -6

Version: 7200

Component: ICM Java

Date/Time: Tue Jul 2 14:30:19 2013 

Module: http_j2ee2_mt.c

Line: 867

Server: sapfs_XIP_03

Error Tag: {0002007b}

Detail: connection to Java Server Nodes not possible (Java Startup Framework not initialized)

 

In file dev_bootstrap error:

...

[Thr 140498394384128] Tue Jul  2 14:39:25 2013

F  [Thr 140498394384128] *** LOG => SfCJavaVm: exit hook is called. (rc = 503)

F

F  ********************************************************************************

F  *** ERROR => Java node 'Instance_bootstrap' terminated with exit code 503.

F  ***

F  *** Please see section 'Java program exit codes'

F  *** in SAP Note 1316652 for additional information and trouble shooting advice.

F  ********************************************************************************

F

F  [Thr 140498394384128] *** LOG => exiting (exitcode 503, retcode 1).

M  [Thr 140498394384128] CCMS: CCMS Monitoring Cleanup finished successfully.

 

In file jvm_bootstrap.ou0:

 

* Initializing DB connection...

SecStoreFS object initialized.

setDefaultFilenames () called, filename = "/usr/sap/XIP/SYS/global/security/data/SecStore.properties".

File version = "7.00.000.001", software version = "7.00.000.001".

File version = "7.00.000.001", software version = "7.00.000.001".

setDefaultKeyFilename () called, filename = "/usr/sap/XIP/SYS/global/security/data/SecStore.key".

Check record okay.

Existing store opened.

File version = "7.00.000.001", software version = "7.00.000.001".

Entering setDefaultsFromProperties()

com.sap.sql.trace.j2ee.cnt is 10

com.sap.sql.trace.j2ee.limit is 10000000

Exiting setDefaultsFromProperties()

Component: [internal/unkown] of type [unkown]

Message: [Exception occurred:]

com.sap.engine.bootstrap.SynchronizationException: Database connection initialization failed. Check if the database is running

<------>at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:84)

<------>at com.sap.engine.bootstrap.Bootstrap.initializeSynchronizer(Bootstrap.java:69)

<------>at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:221)

<------>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

<------>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

<------>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

<------>at java.lang.reflect.Method.invoke(Method.java:592)

<------>at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)

 

I thing I need to change the server name (from A to B) somewhere inside JAVA. I think I need configtool but I can`t lauch it from vncserver:

 

xipadm> ./configtool.sh

INFO: Loading tool launcher...

INFO: [OS: Linux] [VM vendor: SAP AG] [VM version: 5.1.052] [VM type: SAP Java Server VM]

INFO: Main class to start: "com.sap.engine.configtool.visual.ConfigTool"

INFO: Loading 16 JAR files: [./lib/sap.com~tc~je~offlineconfiguration~impl.jar, ./lib/sap.com~tc~je~configtool.jar, ./lib/sap.com~tc~bl~deploy~controller~offline_phase_asm.jar, ./lib/sap.com~tc~exception~impl.jar, ./lib/jdbc.jar, ./lib/sap.com~tc~bl~offline_launcher~impl.jar, ./lib/sap.com~tc~sec~secstorefs~java~core.jar, ./lib/sap.com~tc~bl~config~impl.jar, ./lib/sap.com~tc~bl~gui~impl.jar, ./lib/sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar, ./lib/sap.com~tc~logging~java~impl.jar, ./lib/sap.com~tc~bl~sl~utility~impl.jar, ./lib/sap.com~tc~je~configuration~impl.jar, ./lib/sap.com~tc~je~cachegui.jar, ./lib/sap.com~tc~bl~opensql~implStandalone.jar, ./lib/sap.com~tc~bl~iqlib~impl.jar]

INFO: Start

 

And nothing happen.

 

How can I run configtool and where I need change a servername? Can I do it directly in filesystem files?


PI Upgrade from 7.0 to 7.3

$
0
0

Hi,

We are planning for the upgrade of our PI system from PI 7.0 to PI 7.3.


The details of the PI system currently being used are as follows : -
1. The PI version used in the ABI landscape is 7.0 Service pack 21
2. The PI server is running on the Linux operating system
3. There are in total 1327 Interfaces that include 1334 mappings, in which 1198 are Graphical Mappings, 61 Java and 75 XSLT mappings approx.).
4. There are around 9 types of adapters being used in the PI system.

Our plan is to upgrade to PI 7.3 by performing a new installation of PI 7.3 package consisting of Dual stack (Both ABAP and JAVA) as we have 60%of interfaces running on BPM, we cannot go for a single stack (only JAVA) PI upgrade. Choosing of Single Stack (only JAVA) will result in rebuilding of all the interfaces which are running on BPM, as there willbe no BPM present in JAVA stack.

Please consider our system landscape, and suggest us which method needs to be adopted by us in order to perform the PI upgrade from 7.0 to 7.3

1. New installation of PI 7.3 Package Consisting of Dual Stack (Both ABAP and JAVA) or
2. Upgrading the existing version of PI 7.0 to PI 7.3 Package Consistingof Dual Stack (Both ABAP and JAVA) or
3. New installation of PI 7.3 Package Consisting of Single Stack (Only JAVA) or
4. Upgrading the existing version of PI 7.0 to PI 7.3 Package Consistingof Single Stack (Only JAVA).

We will be eagerly waiting for your valuable suggestion.

Regards,
Sowmya

remove the empty tags from xml

$
0
0

Hi All,

 

I have a scenario Proxy to File. I am getting the empty tags in the inbound paylod for those fileds are not having values. I just want to remove the empty tags while generating the XML file at receiver side.

 

There is no mapping for this. I have put the occrance of each filed 1 :1. Can we restrict the empty tags to change the the occurance to 0:1?

or is there any possibility to remove the empty tags at ECC or Do we have to use XSLT mapping for this?

 

Thanks

Cache Monitoring Local Synchronization

$
0
0

Hi,

 

We are using PO 7.31 java only , having issues with Cache refresh several times.

We need to restart every time when we are facing this cache issue as delta refresh is not solving problem and full cache refresh is not advisable.

and in order to find an alternative way,found a solution mentioned in SAP provided Troubleshooting guide for PI 7.3. 

Below are the steps  found from the guide.

 

To trigger a local synchronization, perform the following steps:

1. Open NWA (http://<host>:<port>/nwa) and choose SOA  Monitoring  PI Cache Monitoring. Choose Synchronize. This action will trigger the local synchronization of all the nodes. To check the status of synchronization, choose Synchronization Status.

2. Perform a dummy delta refresh using the following link. http://<host>:<port>/ CPACache/refresh?mode=dummy_delta.

 

 

Now the issues is:

 

After clicking synchronization radio button the status is showing as still running and its been around 20 hours since I started the synchronization it did not stop. I performed the dummy cache refresh but nothing happened.

 

 

How much time it takes to do a local synchronization? How to stop this if nothing is happening as expected.

 

Any inputs will be appreciated.

 

 

Thanks.

IDOC to FILE Scenario Error.

$
0
0

Hi Experts,

 

 

Its a fresh installation PI7.31, file to idoc scenario is the requirement.

 

I choose sender system in ID as Business Component & receiver system as Business System

 

BS.JPG

 

Configurations which i made for the connectivity from PI to R/3:

 

PI side: RFC Destination (SM59), Port (IDX1), MetaData (IDX2)

 

R/3 (ECC) Side: BD54 (Logical System Def), WE20 (Partner Profile)

 

Configuration in ID:

Sender System : Defined as Business component -- BC_FileServer -- Created File comm channel under this business component

Receiver System: Defined as Business System --> ECCCLNT100 -- Created IDoc comm channel under this business system.

 

Have done necessary developments in IR and while testing scenario its throwing error in sxmb_moni as:

 

" Unable to convert sender service BC_FileServer to ALE logical system"

 

Have seen few blogs and couldnt understand that.

 

My first Query is:

 

1. Do i need to define the sender system as Busines System instead of Business component.

 

2. Which logical name should be assigned to sender system? (is it a PI logical name or target ECC logical system name)

 

 

Appreciate your quick inputs on this.

 

Thanks,

Sai

How to make Hash Map/Hash Table as global in a mapping

$
0
0

Hi Friends,

 

I have one requirement. It needs to lookup a custom table in ECC for  Legacy Customer Number to SAP Customer Number through RFC lookup in PI. Now, the input file contains huge amount of records. Many of the records have same Legacy Customer Number.

 

To reduce the no.of look up calls to ECC , we think that take the unique Legacy customer number from source and call the RFC, pass these entries at one call. The RFC will return the Legacy Customer Number along with SAP customer Number. This works fine.

 

But, this RFC should be executed only one per file. i.e Store the result values (Legacy Customer Number, SAP Customer Number) in Hash Map (or) Hash Table before mapping starts.

 

Then during mapping execution, for each record, it will refer the Hash table to get the SAP Customer Number.

 

If we pass the RFC return results as array to UDF and inside UDF, define the Hash table and store the result, once return from UDF, will that hash table be removed from memory? that is my doubt.

 

Now, my query is 1) How to make the Hash Table as global  2) How do we refer Hash table when each record is executed in the XML.

 

Could you please clarify?

 

Thanking you.

 

Kind regards,

Jegathees P.

Help required regarding : Replace string in incoming XML File

$
0
0

Hi All,

 

   I have a file to Idoc scenario. I need help regarding Java class to replace/append string in the incoming file.

 

e.g. : Free text in the file - /kunal/pi

 

New string : http://www.sap.com/kunal/pi

 

Need help regarding the same. As the conversion is happening in the free text field cant use concat function in the graphical mapping.

 

We are using XSLT mapping for the interface flow. As there is no specific tags for the field value the value to replaced is coming in a free text field.

 

So we have decided/zeroed upon having a java class to do the same before actual mapping takes place.

 

If it can be achieved via other ways please provide steps for doing the same.

 

If java class is required requesting your help in providing the code fpr the same as I am beginner in Java modules.

 

Thanks in advance.

Error reading RFC data in Sender Adapter.

$
0
0

Hello Everyone.

 

I have a big problem that makes me crazy:

 

I created and RFC <--> PI <--> JDBC scenario that works ok but, when the ERP sends the data to PI they arrive in wrong way. Here some pics:

 

this is the table content that ERP send:

data1.png

 

And  it comes to PI:

 

data2.png

 

I think PI is not recognizing the structure of the RFC but I re-imported the RFC, I did the Full cache Refresh but nothing works.

 

Please help me with this issue. Thank you.


Need help in writing UDF ...

$
0
0

Hi Experts ,

 

I am new to java and i am trying to write an UDF Which will help me in order to achive the below logic

 

 

I am trying to get the append logic

 

 

If my Source xml code has below values :

 

<Header_Record>

      <Field_Length>10</Field_Length>

      <Header_Field>A123</Header_Field>

   </Header_Record>

   <Data_Record>

      <Data_Field>B123</Data_Field>

   </Data_Record>

   <Data_Record>

      <Data_Field>C123</Data_Field>

   <Trailer_Record>

      <Field>efg</Field>

   </Trailer_Record>

 

then my Target xml  message should look like this

 

<File_Record>A123B123C123efg</File_Record>

 

 

 

 

 

I am trying to send the file to Target System in a single record by appending all the records from source message .

 

kindly suggest me some UDF Codes which i can try out to achieve the logic  in ESR .

 

Regards,

Aziz khan

Need help in scenario : Append/Replace String in the polled file in PI

$
0
0

Hi All,

       I have scenario File to Web services.Where in via file channel we are polling files and then transfer it to webservices post mapping.

 

Issue : We have free text in the XML file. And The same needs to replaced by a URL.

 

E.g.: If in the text value is : /Kunal/PI  we have to replace the same with : http://www.sap.com/Kunal/PI

 

And post that we have to do mapping.

 

Need any java class code to do the same which search the value :  /Kunal/PI in the file and replace all by : http://www.sap.com/Kunal/PI

as I am not that proficient in Java : SAP PI Version : PI 7.1.

 

Or is there is any other way the same can be done.

 

As its a free text so the values are coming as paragraph/sentence so we cant use concatenate in graphical mapping as we are receiving all the free text in a single field. So we have to search for the whole free text and do the replace function as mentioned above. And post that will call mapping.

 

Requesting all Gurus for help in the same.

 

Thanks in advance.

JDBC issue

$
0
0

Hi,

 

We have done one JDBC to proxy scenario in our PI 7.3 . We have used JDBC adapter as sender.

 

we having issue while picking records from date Base.

 

there are 15000 records in the table. when i made all records flag as NULL . adapter started picking the records and updating as flag as 1

 

all records flag changed to 1. in these 15000 records 500 records not picked by PI (to source payload). even though flag changed as 1.

 

please suggest what might be the issue.

 

Query i used :-

 

processing parameters:-

 

quality of service is exactly once

 

select * from (select * from in_create where flag IS NULL ) where rownum < 200

 

update in_create set flag = 1, update_date = SYSDATE where flag IS NULL and rownum < 200

 

Advance Parameters

 

Transaction isolation level is serializable.

 

clusterSyncMode                lock

 

Regards

Raju

Best practice on master data distribute

$
0
0

Hi Folks,

 

There is a requirement for a client where  Employee master data need to be distributed to  multiple applications

 

AS-IS

 

SAP HR(Flat File) -> FTP->(Flat file) to various systems.(System 1,System 2....,System 10)

 


The as-is process is as below/

 

Since each system needs different sets of data , there are 10 different program created in SAP HR ( although there are some re usability in the programs) and each program create a full extract of active employee data ( 5-20 MB File each  )   and those are FTPd to various system

 

 

TO-BE

 

SAP HR -> PI -> to various systems.(System 1,System 2....,System 10)

 

 

We have checked with various systems and found that few system can manage with incremental data and few system can't survive without full data.

 

What we want to achieve in the to be process is

 

1)  Create a single program in SAP HR and extract all data relevant for all the  Systems

2) In the SAP PI mapping level distribute the data to various systems.

 

the issue is

 

1) How to send incremental data

2) How to send files if file is lost for some system.

3) Shall we create 2 interface, one for full and one for incremental

4) if only incremental interface then how we handle the initial Load ( there will be new HR system- so all employee no will change0

 

Thanks.

PI 7.31 monitoring

$
0
0

Hi,

 

we need to have a report in PI 7.31 which would give us the complete picture of message processing ...

 

Complete for us means , synchronous and asynchronous messages , with errors or processed successfully.

 

Is there any way we can know , in one day , one week, etc.. how many messages we're processed for each interface ?

Something like we have in message overview of runtime workbench ...  but without the limitations of not counting some messages...

 

We need this to give an idea of the throughput going through PI to management ?

 

Thanks.

Viewing all 7030 articles
Browse latest View live


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