SAP PI 7.3 Single stack- Set tracing and logging
Hi experts
We have configured a SOAP to SOAP sync scenario in SAP PI 7.3 single stack(Java Only).
I have sent some test messages from WSNavigator to PI .
But when i checked messages in adapter engine, it is showing*"Unable to retrieve payload or you don't have sufficient authorization to view the content" I am able to monitor payloads of Async messages.
How can we set Logging and trace levels in Single stack PI? I couldn't find any options in RWB os NWA.
Thanks,
Dhanish
Hello Dhanish,
As it was stated by Kenneth in his post, if you would like to see payload of a synchronous message in Message Display Tool (e.g. from Runtime WorkBench), you should set value of property messaging.SyncMessageRemover.removeBody of J2EE service XPI Service: Messaging System to 'false'. Please note that this affects only synchronous messages in final states (DLVD and FAIL).
Regarding the second part of your question - logging. In PI 7.3, you can persist the message in Adapter Framework in two ways - stage it or log it. Staging allows you to edit/restart the message later from the stage where the message was persisted and is relevant for asynchronous messages; logging allows you to only display the logged message and is relevant for both synchronous and asynchronous messages. Please also note that staging affects performance of message processing more greatly than logging, extensive staging (e.g. staging on several processing stages) can even be a reason of performance degradation for processed messages, so if you only need to display details of the message on different processing steps in Adapter Framework, logging should be sufficient. Both staging and logging can be configured using properties xiadapter.stage.conf (for staging) and xiadapter.logger.conf (for logging) of J2EE service XPI Adapter: XI.
Regards,
Vadim
Similar Messages
-
SAP PI7.31 Java Single Stack - Default Delete Job Retention period
Hi
anybody know where the Default Delete Job Retention periods can be set ? I'm on a SAP PI7.31 Java Single Stack.thanks - in milliseconds - very precise.
1) NWA-->Configuration-->Infrastructure -->Java System Properties
2) Go to Services tab, and type XPI and select – XPI Adapter: XI
3) Type “persist” in Properties filter
4) for example Set Retention period in Milli seconds and save
2592000000 = 30 Days -
Want to learn SAP PI 7.4 Single stack
Hi Experts,
I am a beginner in SAP PI and started by journey with SAP PI 7.0. Now, we are upgrading it to SAP PI 7.4 single stack.
I want to learn it as much as possible before the migration but when I search for the topics in SCN, I am getting confused with the different topics and its naming conventions explained. (For Eg PI and PO). So, will it possible for you experts to provide me the links which can actually help me to get the full depth knowledge on PI 7.4 (Single stack). Am just hoping to be a productive member of this SAP family:)
Regards,
AdarshHi Adarsh,
SAP Process Orchestration is the new name of SAP Process Integration (SAP PI). SAP changed the name with the release 7.3 to include the additional features of SAP NetWeaver Business Process Management (nBPM), Advanced Adapter Engine Extended (AEX) and SAP NetWeaver Business Rules Management (BRM).
Source - Latest version is SAP PO 7.4 or SAP PI 7.4 (commonly known as of now). Good part is that PO 7.4 license includes BPM and BRM. Till PO 7.4 SAP still provides the dual stack (ABAP + JAVA) option to install. But going forward it would be single stack (JAVA) only i.e. only swing tool for ESR and ID or NWDS. no more transactions/tocde.
From a developer standpoint:
You got all adapter based on JAVA. IDOC and HTTP are now IDOC_AAE and HTTP_AAE, also proxy scenario can be done using SOAP adapter XI protocol and there is no ccBPM.
Regards,
Sachin Dhingra -
PI 7.4 Single Stack - OS Command and Java Mapping Trace
Hi,
Since ABAP stack is not avilable how to use the OS command and also want to know how to check the trace for java mapping since sxmb_moni is not avilable.
Please send me some link for 7.4 or 7.31 single stack document.
Thanks
Jignesh shahJo Jignesh,
Please see the document below.
Mapping Trace in SAP PI 7.31 Single Stack
Regards,
Jannus Botha -
Enabling extra tracing and logging on
how to enable extra tracing and logging on db? we can 't capture I/O errors on alert logs
Well,
That link is interesting, but here we're missing the replica part that Oracle deserves... don't you think?
At the time that blog was posted, seems that DBVERIFY was far from perfect and a lot of bugs have been fixed since then... Metalink Note:35512.1 tracks them and gives do's and don'ts regarding its use.
The erroneous behavior on false positive corrupted blocks, may correspond to one of the bugs listed on above note "newed blocks are flagged as corrupted", and corrected for 9.2.0.3 and 10.1.0.2; the blog don't give details about OS nor DB release, then we cannot generalize.
If somebody knows about an official statement from Oracle discouraging the use of DBVERIFY, please let us know...
For the OP: log an SR, trust Oracle.
Regards
Ignacio
http://oracledisect.blogspot.com -
Duplicate File Handling Issues - Sender File Adapter - SAP PO 7.31 - Single Stack
Hi All,
We have a requirement to avoid processing of duplicate files. Our system is PI 7.31 Enh. Pack 1 SP 23. I tried using the 'Duplicate File Handling' feature in Sender File Adapter but things are not working out as expected. I processed same file again and again and PO is creating successful messages everytime rather than generating alerts/warnings or deactivating the channel.
I went through the link Michal's PI tips: Duplicate handling in file adapter - 7.31 . I have maintained similar setting but unable to get the functionality achieved. Is there anything I am missing or any setting that is required apart from the Duplicate file handling check box and a threshold count??
Any help will be highly appreciated.
Thanks,
AbhishekHello Sarvjeet,
I'd to write a UDF in message mapping to identify duplicate files and throw an exception. In my case, I had to compare with the file load directory (source directory) with the archive directory to identify whether the new file is a duplicate or not. I'm not sure if this is the same case with you. See if below helps: (I used parameterized mapping to input the file locations in integration directory rather than hard-coding it in the mapping)
AbstractTrace trace;
trace = container.getTrace();
double archiveFileSize = 0;
double newFileSizeDouble = Double.parseDouble(newFileSize);
String archiveFile = "";
String archiveFileTrimmed = "";
int var2 = 0;
File directory = new File(directoryName);
File[] fList = directory.listFiles();
Arrays.sort(fList, Collections.reverseOrder());
// Traversing through all the files
for (File file : fList){
// If the directory element is a file
if (file.isFile()){
trace.addInfo("Filename: " + file.getName()+ ":: Archive File Time: "+ Long.toString(file.lastModified()));
archiveFile = file.getName();
archiveFileTrimmed = archiveFile.substring(20);
archiveFileSize = file.length();
if (archiveFileTrimmed.equals(newFile) && archiveFileSize == newFileSizeDouble ) {
var2 = var2 + 1;
trace.addInfo("Duplicate File Found."+newFile);
if (var2 == 2) {
break;
else {
continue;
if (var2 == 2) {
var2 = 0;
throw new StreamTransformationException("Duplicate File Found. Processing for the current file is stopped. File: "+newFile+", File Size: "+newFileSize);
return Integer.toString(var2);
Regards,
Abhishek -
JAVA Error in SAP Management Console in single stack
Dear Experts,
Our client SAP-PI 7.31 JAVA only server started displaying number of error message and I do have much hand in
BASIS activities since being a SAP-PI consultant. I tried searching the issue in forums but in vain..
Some of the error messages generated in Management Console are shown below.
1.JAVA Instance Task ABC shut down...
2.Server Cache 41per<50 perc average over 5 minutes below threshold (22 values.)
3.JAVA Heap Memory 97%> 80 % last value above threshold.
Could anyone suggest how to solve the issue?
Regards
RebeccaHi Rebecca,
Hope you are doing good.
For the "1.JAVA Instance Task ABC shut down..." check the work folder files and the default traces.
For the "3.JAVA Heap Memory 97%> 80 % last value above threshold..." increase the heap memory values by atleast 1 GB if you have enough resources on the engine. On how to do this, see:
Configuring JVM Parameters - Administration - SAP Library
For this particular reason, SAP has developed the Quick Sizer (which is a Web-based tool).
This is available free of cost for customers from: <http://service.sap.com/quicksizer>
and
<http://service.sap.com/sizing>
You will be able to identify whether more hardware/ server nodes etc. are needed and resize the server accordingly. With the Quick Sizer you can translate business requirements into technical requirements. Simply fill in the online questionnaire, an up-to-date survey that is based on business-oriented figures. The results you obtain can help you select an economically balanced system that matches your company's business goals.
For 7.3 server in particular, do go through:
SDN Article: Performance Best Practices Guide for SAP NetWeaver Portal 7.3,
<http://scn.sap.com/docs/DOC-7284>
SDN Article: SAP NetWeaver Portal 7.3 - Tuning Caches,
<http://scn.sap.com/docs/DOC-7383>
Thank you!
Kind Regards,
Hemanth
SAP AGS -
Graphical Message mapping complexity in SAP PI 7.31 single stack
Hi All,
I have a source structure 1..unbounded
<Material>
<row> 1....unbounded
<Mat_ID>123<Mat_ID>
<Desc><text</Desc>
<uom>EA</uom>
<plant>AB</plant>
<org>XY</org>
</row>
<row>
<Mat_ID>123<Mat_ID>
<Desc><text</Desc>
<uom>ST</uom>
<plant>CD</plant>
<org>FG</org>
</row>
<row>
<Mat_ID>123<Mat_ID>
<Desc><text</Desc>
<uom>XY</uom>
<plant>DE</plant>
<org>ZX</org>
</row>
</Material>
Target Structure
<Material>
<row> ---> 1....unbounded
<Mat_ID>123<Mat_ID>
<Desc><text</Desc>
<uomdata> ---> 0 ----unbounded
<uom>EA</uom>
<uomdata>
<uomdata>
<uom>ST</uom>
</uomdata>
<uomdata>
<uom>XY</uom>
</uomdata>
<plantdata> ----> 0 ----unbounded
<plant>AB</plant>
</plantdata>
<plantdata>
<plant>CD</plant>
</plantdata>
<plant>DE</plant>
</plantdata>
<orgdata> ----> 0 ----unbounded
<org>XY</org>
</orgdata>
<orgdata>
<org>FG</org>
</orgdata>
<orgdata>
<org>ZX</org>
</orgdata>
</row>
</Material>
How do I do message mapping (preferably graphical mapping) to achieve the target structure. The values of each elements are manipulated for easiness. There are more than one fields under each node in real scenario. Please let me know
thx
mikeBeautiful..Thx...
I will try out and let you know Amit
One more request.
I have to do this mapping first and use it in receiver interfaces of ICO using an operation mapping and inbound interface as usual.
Now, I have to add 2 more inbound interfaces in the receiver interfaces and maintain order at Runtime to execute the above mapping first always and then execute the 2 additional inbound interfaces based on some condition.
The condition has to be something like this (source structure <flag> field value dependent condition)
/Material/row/flag = 'N' call the second inbound interface to execute a operation mapping
/Material/row/flag = 'N' call the third interface to execute another operation mapping
Now the complexity here is:
If the source structure is like this below
<Material>
<row> 1....unbounded
<Mat_ID>123<Mat_ID>
<Desc><text</Desc>
<uom>EA</uom>
<plant>AB</plant>
<org>XY</org>
<flag>N</flag> -- this is the flag field for the first material
</row>
<row>
<Mat_ID>123<Mat_ID>
<Desc><text</Desc>
<flag>N</flag> -- this is the flag field for the first material again
<uom>ST</uom>
<plant>CD</plant>
<org>FG</org>
</row>
<row>
<Mat_ID>345<Mat_ID>
<Desc><text</Desc>
<flag>N</flag> --this is the flag field for the second material
<uom>XY</uom>
<plant>DE</plant>
<org>ZX</org>
</row>
and so on
</Material>
The target structure for the additional 2 inbound interface are shown below
2nd inbound interface target structure
<Material>
<Mat_ID>123</Mat_ID>
<flag>N</flag> - constant value 'N'
<Mat_ID>345</Mat_ID>
<flag>N</flag> - constant value 'N'
</Material>
3rd inbound interface target structure
<Material>
<Mat_ID>123</Mat_ID>
<flag>Y</flag> - constant value 'Y'
<Mat_ID>345</Mat_ID>
<flag>Y</flag> - constant value 'Y'
</Material>
first question: how do I write a condition for checking the source structure <flag> field value for every unique material ?
second question: what would be the message mapping and operation mapping for the 2nd and 3rd inbound interfaces?
thx
mike -
SAP NetWeaver 7.01 Java installation on MSCS and Log shipping for DR
Hi Experts,
Can anyone please explain if below is possible :
- We have installed Netweaver 7.01 Java application server on Microsoft clustering which is working perfectly ok.
-Now we are looking at building a DR solution for the above installation using SQL Server 2008 Log-shipping. The DR site has the same MSCS configuration as the primary site.
-If we log-ship the production database and create a secondary database in "standby" or "norecovery" mode, how do we install a Passive SAP Central instance in case we want to failover from the primary to secondar ?
- We know that we have the primary database log-shipped to the secondary site and in the event of failure we can switch the roles and make secondary as primary and then perform the system copy steps on the MSCS. the drawback here is that it will take a long time to bring the system online if we perform the system copy. Our RTO is one hour only so this is not acceptable.
Question : Is there anyway we can install the Central Services and Applicaiton servers beforehand on the secondary site on the secondary log-shipped database so that in the event of failure all we do is bring the secondary database primary and then start the SAP on the secondary site ?
If yes then can anyone point me the any SAP note or documentation that has the details of how to do this.
I have already looked at 1101017, 965908 but its not clear how we can perform the installation on the JAVA stack only.
We want to implement similar to what is shows in the below diagram :
http://help.sap.com/saphelp_apo/helpdata/en/fc/33c028d58511d386ee00a0c930df15/content.htm
Appreciate if someone can assist in resolving the above query.
Thank you.
RAThanks Markus for your reply.
I did looked at the HA web page from SAP and configured MSCS for HA but there's no information regarding DR setup. All it says is setup a log shiping which we already know but there's no procedure to setup SAP on the DR site(Passive SAP central instance)
My original question still stands :
- Is system copy the only option that we need to perform at the DR site in the event of failure ( Assumption is that we ieve make the secondary database as primary and also sync file system for JAVA using SAN replication technologies)
- We have to achieve an RTO of 1 hour which is not possible in this case as performing system copy using MSCS HA option will take few hours to setup and test.
-The link "http://help.sap.com/saphelp_apo/helpdata/en/fc/33c028d58511d386ee00a0c930df15/content.htm" shows that we can have SAP PAssive central instance. Whats the procedure of installing this Passive instance on the secondary site so in the event of failure all we do is make the secondary database primary and bring the SAP system online(installed already - no system copy performed) and also file system is already is sync.
Thank you.
RA -
IDOC Status, Tracking in SAP PI/PO Single Stack
Hi All,
My PO version: 7.4, SP4. I am not sure my questions below are still a limitation in current PI/PO single stack systems, and hence requesting your help for the same.
1) Is there a way we can track outbound idocs in SAP PI/PO single stack similar to PI abap stack IDX5? ( Note:- I couldn't find any option in IDOC monitoring in single stack SAP PO 7.4, SP4)
2) IDOC status is always 0 in SAP PO 7.4 single stack IDOC monitoring. I am not sure if this status is just specific to my PO system. Any setting needs to be applied?
ps: Please post only relevant answers/solutions
Thanks,
Praveen Gujjeti
Message was edited by: Praveen GujjetiHi All,
As per SAP help: Comparison of IDoc Adapter (IE) and IDoc Adapter (AAE) - SAP NetWeaver PI Reference Documentation - SAP Library idoc status and tracking not supported in current PO versions. May be SAP will add this feature in upcoming PO versions
Auditing, Monitoring ,and Tracing Functions
Attribute/Feature
IDoc Adapter (IE)
IDoc Adapter (AAE)
ALE Audit
Supported
Supported
IDoc tracing
Supported (transaction IDX5)
Not supported
IDoc monitoring
Transaction IDX5
Integration with channel monitor and message monitor (as part of Advanced Adapter Engine monitor)
Status tracking -SYSTAT
(analysis and further processing of messages that have not been processed)
Not supported
Not supported
RFC monitoring
Supported
Not supported
Message persistence in the IDoc adapter
Supported
Message correlation information can be stored in IDoc adapter.
Not supported.
Message is persisted in messaging system with correlation data persisted in adapter.
Regards,
Praveen Gujjeti -
Unable to see Payload in SAP PI7.31 Single stack
Hello Experts,
We have a scenario of Mail as sender and ECC as reciever using Proxy. We are using SAP PI7.31 single stack.
Here we are reading the file from mail attachment which is in CSV format and sending the data to ECC successfully.
But while to check the payload in Message Monitor, while click on the "Mailattachement-1.csv" it is opening with "No Message Selected".
Can someone please let me know how can I check the payload of the attachement.
Thanks
VRHi VR
Check this parameter:
NWA -> Configuration -> Infrastructure -> Java System Properties -> Services -> XPI Service: Messaging System, set property messaging.SyncMessageRemover.removeBody = false
Check also the general parameters for tracing and logging
Saving Message Versions in the AAE (Local Message Processing) - Advanced Adapter Engine - SAP Library
Regards
Javi -
Hi,
Can you please tell me the following
1.In single stack, how to check queues the way we do it in SMQ1 and SMQ2 in dual stack?
2.Also how to use ABAP tcodes like SXMB ADM and SM58, IDX1,IDX2 in single stack?
3.Documents or blogs about PI7.4
Thanks in advanceHello,
Please have a look at Time To Move On!!! Try Central PI Monitoring wi... | SCN and it will answer most of your monitoring related questions.
On AEX systems the Runtime Workbench cannot be used for monitoring purposes.
So how to monitor messages and communication channels and other pi components.
Also, what is PIMON and how is it different from NWA?
In such systems monitored can be done via, Central PIMON solman, local NWA for PI.
I hope this answers your above questions.
The configuration steps are much reduced in a Java only PI, where in SXMB_ADM TCode need to be used only in the ECC side as one of the steps to configure proxy connection between PI & SAP.
In a single stack PI, you will not find SMQ1 & SMQ2, the same functionality can be achieved via adapter engine -> adapter engine status -> additional data.
Similarly, IDX1 & IDX2 can not be found in single stack PI and functionality provided is achieved are done through NWA Comparison of IDoc Adapter (IE) and IDoc Adapter (AAE) - SAP NetWeaver Process Integration - SAP Library
Regards,
Ankit -
Getting cryptic error while trying to post to a custom RFC from PI 7.31 single stack.
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: String index out of range: 0 (raised by system <extern>|pidevhost)
Does anyone recognize this error and/or know of detailed instructions for registering custom RFCs in PI 7.31. I could possibly have configured the target wrong but no error says so.
This is a File-->PI-->RFC scenario. The file processing is super simple and a configuration I have used successfully before. I would assume I'd get a different error if it couldn't parse the file.
JodyNot shure if you already did but try getting some details with XPI Inspector. Also increasing log level for this category might help. You also may wanna check authorization (even if this should show with a different error text) in ECC using ST01.
My guts feeling is that there is something wrong with payload / signature of RFC.
Cheers
Jens -
Archiving and Deleting of XML Messages in SAP NetWeaver PI 7.31 single stack
Hello my XI friends!
Need step by Step Guide to Archiving
and Deleting of XML Messages in
SAP NetWeaver PI 7.31 single stack
Similar to these instructions
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0afdd69-a8a7-2d10-7e9a-cbf6fa21c5a7?quicklink=index&overridelayout=true
Regards,
RinazPlease check the below blog for archiving java only-(XMLDAS)
http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/11/16/aae-archiving-in-sap-pi-711-with-xmldas
For deletion there is standard delete job..
https://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/b2e0036b156ff4e10000000a42189b/frameset.htm
Message was edited by: Hareesh Gampa -
Idoc Acknowledgements in SAP PI7.31 Single stack
Hello All,
We are migrating from SAP PI 7.0 to SAP PI7.31 single stack.
in Existing landscape(SAP PI7.0) - sender system ECC is receiving the acknowledgements(ALEAUD) for the idocs sent to PI system where in the port is different i.e. port is receiving back with different Partner Number.
But in SAP PI7.31 single stack, ECC is recieving the acknowledgmenets(ALEAUD) as same as the sender partner number of the idoc sent to PI 7.31 system.
can someone please explain me if it is possible to implement the same functionality as per SAP PI7.0 in SAP PI7.31 single stack as well or is this the Limitation of the product.
Thanks
VRHello Experts,
Can someone please suggest me if SAP PI7.31 Single stack can send ALEAUD with different partner number to ECC.
Thank you
VR
Maybe you are looking for
-
How come when I eject a cf card on my macbook and my new iMac, before I can remove it the card re-mounts. I don't have time to pull the card out and I always get a warning. It does this on both my computers. Any ideas? I am running Tiger on my macboo
-
After doing a system update a few weeks ago, all of a sudden, no matter what the master volume currently is set to, KDE blares the notification noises at 100%. It is quite a bother. I have tried fiddling with the sound channel levels in alsamixer, bu
-
DBCA Does Not Display ASM Disk Groups In 11.2.0.4
DBCA trying to create a database with a different user oracle than grid user. installed Grid infrastructure with user grid, and I was trying to create a database with user oracle (who’s the owner of oracle rdbms). But during this installation I wasn
-
I was trying to update to ios 7 when itunes show me a error 1 and my iphone is in recovery mode
i was trying to update to ios 7 when itunes show me a error 1 and my iphone is in recovery mode
-
Using new shuffle with exsisting iTunes for my iPod
I tried taking some songs from my iTunes that I use for my iPod. Well on iTunes the songs are there but it will not let me eject my shuffle and the songs don't play on my shuffle.