Forward Error Handler - Add component to table '
Hello,
I've been configuring SOA. Note '1270081 - Trouble shooting SOA Services' explains monitoring of SOA including FEH. It says that you need to maintain an entry for every system in table: '/n/SAPPO/LOGSYS'. In our case SRM <> R/3 we would need to configure 2 entries, one entry per system.
The above table does not excist in any of both systems. However i did find the following tableview: /SAPPO/VLGSYS. Should we use and configure it here? What does this configuration do / why is it required?
Kind regards,
Tim
Tim,
Rather than table, did you try it as Transaction ..
/n/SAPPO/LOGSYS
It's works.. also try transaction /n/SAPPO/PPO2.
Regards,
Sandeep Parab
Similar Messages
-
How to activate Forward Error Handling in SRM
Hello Gurus,
I got an requirement to activate Forward Error Handling in SRM. I have searched on SDN but didn't find appropriate answer on it.
Even I found some link: PI/XI: Forward Error Handling (FEH) for asynchronous proxy calls with the use of Error and Conflict Handler (ECH)
It explains me some points like activating FEH from SRM in SPRO. I have activated the same, plz check the screen shot:
It also follows some development for the same.
Here my concern is, should I follow this document? Does it applicable to all to all the scenarios?
Step 8: it assign object id and type what does it mean...
Does any one can explain me in detail..... Please provide me any document to configure the FEH in SRM.
I am trying to implement FEH in my SRM system. So that when even XML fails due to error, I should be able to reprocess/restart it with some editing to the XML.
My receiver interface for XML is PurchaseRequestERPSourcingRequest_In
I think this is standard one and no need to make any custom code for it. SAP has all ready given solution for it with some Configuration.
I have made some configurations like:
The view FEHV_ACTIVE must have the status active.
In transaction /SAPPO/LOGSYS , the logical system must be defined for the software component SRM-EBP-ESA .
As stated in in the link :
http://esworkplace.sap.com/socoview%28bD1lbiZjPTAwMSZkPW1pbg==%29/render.asp?id=2BAABCB0D30111DC2B8D000F20FCB6A9&fragID=…
Also I have made some configuration according to the Note: 1973768 - No reprocess option is available in FEH for failed in XML in SRM
Resulted, the “Process” button get activated in the XML Post Processing screen.
But can I reprocess my XML with edited value from there..?
All the configuration part of PI is already done .
I wanted to know about the FEH Part. what are the steps i am missing or where i am going wrong ?
Please let me help.
Thanks
Regards
KaranDear Raz,
I have gone with above mentioned note, it explains about creating Custom Proxy and configuration with PI scenario. Even the link in my previous post, explains about the custom proxies and configuration..
I think I should must be descriptive about my issue.
I am trying to implement FEH in my SRM system. So that when even XML fails due to error, I should be able to reprocess/restart it with some editing to the XML.
My receiver interface for XML is PurchaseRequestERPSourcingRequest_In
I think this is standard one and no need to make any custom code for it. SAP has all ready given solution for it with some Configuration.
I have made some configurations like:
The view FEHV_ACTIVE must have the status active.
In transaction /SAPPO/LOGSYS , the logical system must be defined for the software component SRM-EBP-ESA .
As stated in in the link :
http://esworkplace.sap.com/socoview%28bD1lbiZjPTAwMSZkPW1pbg==%29/render.asp?id=2BAABCB0D30111DC2B8D000F20FCB6A9&fragID=…
Also I have made some configuration according to the Note: 1973768 - No reprocess option is available in FEH for failed in XML in SRM
Resulted, the “Process” button get activated in the XML Post Processing screen.
But can I reprocess my XML with edited value from there..?
Can any one tell me, what are the steps I am missing here. As this is my first time to implement FEH, I am confused.
Please let me help.
Regards,
Chandan -
Dear all
How to Setup Forward Error Handling in PI Scenarios. Can you help me with the same with screen shots if possible?
Thanks
Regards
karanHello
These are the following errors
1. Trace level="1" type="T">no interface action for sender or receiver found</Trace>
2. <Trace level="1" type="System_Error">Application-Error exception return from pipeline processing!
3.
<Trace level="1" type="T">Application Error at Receiver... => ROLLBACK WORK</Trace>
<Trace level="1" type="T">System Error at Receiver... => ROLLBACK WORK</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
<Trace level="1" type="System_Error">Application-Error exception return from pipeline processing!</
Trace level="3" type="T">No persisting of message after plsrv call, because of config</Trace>Trace level="3" type="T">Error of the prevous version:</TraceTrace level="3" type="T">Error ID APPLICATION_ERROR</Trace>
tThere are repeating errors also.
TThanks
Regards
kkaran -
Hi,
Does anyone know where I can find more information on SAP Forward Error Handling? The only info I have found so far is here [<clicky>|http://esoadocu.sap.com/socoview%28bD1lbiZjPTAwMSZkPW1pbg==%29/render.asp?sap-unique=125551&sap-params=cGFja2FnZWlkPURDQkQzMTVCNkQ3MjU1RjE5QUYyMDAxNDM4QzNCQzA4JmlkPTYyMTEwMEJBRkQ4NDQzQjBCNjkyN0FERjNGNkQ3MkZBJnBhY2thZ2VpZD1ERTA0Mjg0Njg3QkVCREYxOTUxNTAwMUE2NEQzRjQ2Mg%3d%3d]
I have found the correct place in the IMG but there is not much additional documentation there either.
Thanks
ManishGoto SAP service marketplace and search for
SAP Reference Implementation Guide -> Cross-Application Components -> Processes and Tools for Enterprise Applications -> Enterprise Services -> Error and Conflict Handling .
Your link is not correct, I found one: http://esoadocu.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?sap-unique=122005&sap-params=cGFja2FnZWlkPURDQkQzMTVCNkQ3MjU1RjE5QUYyMDAxNDM4QzNCQzA4JmlkPTYyMTEwMEJBRkQ4NDQzQjBCNjkyN0FERjNGNkQ3MkZBJnBhY2thZ2VpZD1ERTA0Mjg0Njg3QkVCREYxOTUxNTAwMUE2NEQzRjQ2Mg%3d%3d
Reards,
Gourav -
Forward Error Handling (FEH) framework?
Hi all
Forward Error Handling (FEH) framework - can any one expalin this?
MuthuHi,
Forward Error Handling (FEH) is a framework in SOA for performing error processing in
asynchronous communication on the receiver side. Please check the troubleshooting document.
https://service.sap.com/sap/support/notes/1270081
Regards,
Masa -
Forward Error Handling - File interfaces?
Hello Experts,
Can we use Forward Error Handling (FEH) for implementing error handling in File Interfaces ?
Like for simple Application Server file interfaces, if something goes wrong during the process of writing/reading a file on App Server, can we use FEH for showing the log?
I know it is a concept used for PI...so we want to know if it can be used for file interfaces as well? Just want to keep similar approach for error handling and logging (for both PI and File Interfaces).
Thanks.Edit 1 May 2015: Added inbound
Just a slight correction.
FEH is used in the ABAP backend systems and are only for asynchronous inbound proxy interfaces. It is not available for sync proxies, IDocs, BAPIs. Neither is it available for any error handling on the PI system itself.
PI/XI: Forward Error Handling (FEH) for asynchronous proxy calls with the use of Error and Conflict Handler (ECH)
Message was edited by: Eng Swee Yeoh -
Error Handling in table control for line item.
Hi,
Please how to do error handling in table control for line item in bdc,i have used format_message for header but i don't no fill decamps internal tabled and how to do background processing in call transaction.
ThanksBackground processing is not possible using call transaction method.
You can create an executable program which can have CALL TRANSACTION BDC code. And this can be run in background.
What do you exactly mean by Error handling for Items in table control. Can you give some more details. -
General Error Handling - use of FEH (PPO/ECH)
We are investigating the usage of Forward Error Handling, known with SAP as PPO (Post Processing) and ECH (Error Capture Handler) to be able to re-process errors (automatically or manually) from incoming messages.
I am interested in talking with anyone who has implemented this. General questions are:
- how have you found it to work in real life?
- configuration/set-up straight-forward?
- what scenarios have used it in?
- incorporated into your custom services?
But am interested in any comments.
I am posting this within the PI forum as it ties into the fact we async scenarios inbound to SAP, typically from our PI system, and when those scenarios encounter an error we are looking for a way to have a business/end user - friendly interface for reprocessing the error. Implementing a proxy scenario, and thus having the errors show within sxmb_moni/sxi_monitor, is probably not going to work for us - too technical. I am also aware of an add-on, AIF I believe, but our company is not interested in installing that.
There are 4 blogs out there that I am aware of - 2 from Tobias and 2 from Michal. Very informative. I am finding some config not as ours though. Am really interested in anyone has really implemented and used this in a prod environment.
Regards,
KeithI think I am exactly at the same position as you in figuring out the usage of FEH in an environment. I just completed a small document (for internal purpose) that I prepared gathering all the information from those blogs, SCN and TechEd. Here are my 2 cents:
>>- how have you found it to work in real life?
We haven't implemented it yet. But we believe it will be quite useful in handling business specific errors. We are trying to find out if it can be merged with the existing BPEM infrastructure to generate BPEM cases.
>>- configuration/set-up straight-forward?
Yes, the blogs should be quite useful to provide this information.
>>- what scenarios have used it in?
Most importantly it will be used for standard service implementation where we consume enterprise services from ES workplace. These services have FEH capability built in (they have FEH method implemented within). The scenarios are of course inbound abap proxy.
>>- incorporated into your custom services?
We are still in design phase. But if you ask me about it, i would say yes you can and I think you should use it for custom ones as well.
Kind regards,
Prateek Raj Srivastava -
Error Handling in the SQL Trigger 2008 R2
Hi ,
I need some guidance in setting up error handling process in the table trigger. I have created a trigger on source database table and it load data to target table whenever there are any changes in last update date of source database ( given code below).
Problem : sometime I am getting error message ( like unique Index , data length mismatch etc) and my trigger don’t work and rollback the entire transaction.
Requirement : If there is an error with the insertion, I would like to move that error-inducing record into an error table . Any guidance much appreciate. thanks!
/****** Object: Trigger Defination ******/
USE [MPSAIntegration]
GO
SET
ANSI_NULLS ON
GO
SET
QUOTED_IDENTIFIER ON
GO
/*Description: Trigger to insert Asset details into Siebel Table*/
ALTER
TRIGGER [dbo].[trg_INS_INTO_CX_PRODPROF_STG]
ON [MPSAIntegration].[dbo].[CustomerProductLines]
AFTER INSERT,UPDATE
AS
/****** Get the current Timestamp,Max of SR_NUM from Target table and LastRun time from dbo.TIME ******/
DECLARE @currtime
DATETIME,
@SR_NUM
INT,
@Last_Run
DATETIME
SELECT @currtime
= (SELECT
CURRENT_TIMESTAMP)
SELECT @SR_NUM
= (select
max(Sr_Num)
from dbo.SerialNum
WHERE Entity='PROD')
SELECT @Last_Run
= (SELECT LastRun
from [MPSAIntegration].[dbo].[TIME]
where ENTITY =
'PROD')
BEGIN
SET
NOCOUNT ON;
SET
XACT_ABORT ON;
/***** Update dbo.SerialNum Table *****/
UPDATE dbo.SerialNum
SET Sr_Num = @SR_NUM+1
where Entity='PROD';
/***** Insert into [dbo].[CX_PRODPROF_STG] table *****/
INSERT
INTO [ntscrmdbdev].[SiebelDB].[dbo].[CX_PRODPROF_STG]
([ROW_ID]
,[CREATED]
,[CREATED_BY]
,[LAST_UPD]
,[LAST_UPD_BY]
,[MODIFICATION_NUM]
,[CONFLICT_ID]
,[LOAD_STATUS]
,[SR_NUM]
,[INFO_CAPTURE_DATE]
,[ADDRESS_NAME]
,[CUSTOMER_CODE]
,[DESCRIPTION]
,[PRODUCT]
,[SERVER_NAME]
,[STATUS]
,[CANCEL_DATE],
[SEQUENCE_ID])
SELECT
CAST(CUSTOMERCODE
AS NVARCHAR(8))+CAST(@SR_NUM
AS NVARCHAR(7))
,Current_Timestamp
,'dbo'
,Current_Timestamp
,Current_User
,0
,'N'
,'Not Processed'
,CAST(@SR_NUM
AS NVARCHAR(15))
,InfoCaptureDate
,(SELECT CUST.CUSTOMERNAME
FROM CUSTOMERS CUST where CUST.CustomerCode
= I.CustomerCode)
,CustomerCode
,ProductLine
,ProductLine
,ServerName
,'ACTIVE'
,TerminationDate
,1
FROM INSERTED I
/****** Update the LastRun in dbo.TIME ******/
UPDATE [MPSAIntegration].[dbo].[TIME]
SET LastRun
= @currtime
WHERE ENTITY
= 'PROD';
ENDThe first choice is stored procedure. Trigger should be last resort.
Related links:
http://stackoverflow.com/questions/884334/tsql-try-catch-transaction-in-trigger
http://www.sqlservercentral.com/Forums/Topic1499938-3077-1.aspx
http://www.sommarskog.se/error-handling-I.html
http://www.codemag.com/Article/0305111
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
Why APEX 4.1 Error handling function does not trap the error of missing table?
Say, I create simple application with single IR report page and I also assign standard simple error handling function.
Function works perfectly, except but this case:
If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
and error handling function is not invoked at all.
Is this a feature or a bug?Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
DML error table intermittently fails to generate error handling in package
Hi!
In OWB 11gR2 (11.2.0.1), we're seeing an issue when setting the DML Error table name on a target table. Sometimes, mostly on older and complex mappings, the error handling logic does not get generated when we deploy the mapping, and nothing is populated in the error tables for error conditions, though the errors display as warnings in the OWB UI.
When I create a new mapping that is very simple - one table loading another - setting the DML Error table name always results in errors being put in the error table. That's great, but that doesn't help us with our more-complex mappings that aren't logging errors.
We can't determine the cause of the issue. I can't see a difference in the configuration of the mappings that work and don't work. Generation Mode is All Operating Modes. Default Operating Mode is Set based fail over to row based. We've generated the error table using DBMS_ERRLOG.CREATE_ERROR_LOG. The target tables do not have primary keys.
I've tried synchronizing the target table operator in the mapping as another forum thread suggested. No change.
Has anyone else seen this issue or know of a workaround?
Thanks,
JayceWhich logic did you talk about ?
For the version 10, you will find the error table more on the insert statement such as:
INSERT INTO "TSALES"
("PROD_ID",
"SALES"."AMOUNT_SOLD" "AMOUNT_SOLD"
FROM
"SALES" "SALES"
LOG ERRORS INTO TSALES_ERR (get_audit_detail_id) REJECT LIMIT 50;Come from here:
http://blogs.oracle.com/warehousebuilder/2007/08/set_based_errors_dml_error_log.html
Then check the insert SQL generated.
Cheers
Nico -
Add handler to component which added in runtime inJFrame class?
hi I was .Net coder and I am new in java . Question is : why I can not implement MouseListener and etc. to my JFrame extended class?
if I work on JPane form in NetBeans ,and if I wanna add a component runtime, how can I handle that component events if I can not implement JFrame class
pls Help.. Thanksmulti-post:
http://forum.java.sun.com/thread.jspa?messageID=4248407 -
Hi,
Is it possible to checkfor the existance of a JSP page / servlet?
I want to achieve something like this in a servlet...
forward to page1.jsp
if failed(page not exist), forward to page2.jsp
if failed(page not exist), forward to page3.jsp
However, using RequestDispatcher.include() to a non-existant page seems
to hang waiting for something.
Using RequestDispatcher.forward() to a non-existant page just sends a 404
to the client.
If either would throw an exception, I could catch it and forward to my next
required page. Am I missing something obvious, or does the JSP spec not
allow for this kind of thing?
Thanks,
Martin.
Thanks Anirudh,
In Flash Builder, try doing
if(this.hasOwnProperty("d") && this["d"] == 1){ }
I was just throwing this error as an example of throwing an error, and not looking to fix it in particular. We have a large and complex application which is used by many people. Unfortunately, some of our users are experiencing runtime errors that are stopping the execution of the script - and we do not know exactly where those are. They may be easy to fix once we can locate them. Unfortunately, we have not been able to reproduce them locally.
If the flash player encounters an error in the constructor of the sprite/movieclip which is the main class, it will not be able to continue. If this error had occurred in an event handler, then you'd be able to continue.
Can you tell us more about the rules of uncaught runtime error handling? For example: when I compile this code - the sprite is not shown on the stage and the second trace is not executed - despite having moved the code to an event handler function.
package
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.TimerEvent;
import flash.utils.Timer;
import org.osmf.events.TimeEvent;
public class ErrorTest extends MovieClip
public function ErrorTest()
var t:Timer = new Timer(100, 1);
t.addEventListener(TimerEvent.TIMER, eventHandler);
t.start();
protected function eventHandler(e:Event):void {
trace("1");
if(this["d"] == 1){}
trace("2");
var s:Sprite = new Sprite();
s.graphics.beginFill(0xFFCC00);
s.graphics.drawRect(0,0,200,200);
addChild(s);
I'd like to publish our application such that it would ignore all run time errors. Are there any compiler or other options to achieve that.
Ideally we'd like to collate the errors such that end users could open a hidden text field and copy the error messages and send them to us. -
OWB Error handling through error tables
I have a mapping, which i want to implement error handling through error table, the table is created (error) and i have supplied it in the error table propertis in the target table. But i have tried testing if this is working by changing the data type of one column in my target database, but the whole mapping is failing to run with no error rerded in the error table. And i tried testing the this through sql and suprisingly the errors are being captured. How do i get the whole mapping to run and record the errors if any in the error table without it failing.
When you say 'the whole mapping is failing to run' what do you mean? Can you deploy the mapping? If not what is the error? When you run the mapping what happens?
If you look at the DML statement (the INSERT, MERGE or whatever) generated by OWB does it include the LOG ERRORS INTO statement in it?
There is a blog post below for OWB 11gR2;
http://blogs.oracle.com/warehousebuilder/entry/owb_11gr2_dml_error_logging
And an older one here which was based on OWB 10gR2
http://blogs.oracle.com/warehousebuilder/entry/set_based_errors_dml_error_log
Cheers
David -
How can I add error handling facilities to this code?
Hi everyone, i have this code that needs some error handling facilities (messages that warn user the data inputted is not valid that prvent crashing) added to it. I have no idea on how to do it and i accept any ideas. I'll post the code in two sections as it doesnt fit. The code works by recieveing inputs for student grades and calculating the total and the average. That works fine, but i need to include an error handling facility that doesnt allow the user to input letters, special characters or numbers outside the range 1-10. Can anyone help?
Code Part 1:
import java.text.DecimalFormat;
import javax.swing.JOptionPane;
import javax.swing.*;
import java.util.*;
//Defines the counter for the student count and uses a usage method to
public class EdronProject {
private int studentCount;
private static final String USAGE = "Usage: java EdronProject <student count>";
private List<Student> list;
//Set up the counter fo the number of students and the list in which
//each student's information is saved once processed
public EdronProject(int count) {
studentCount = count;
list = new ArrayList<Student>();
//Checks the number or arguments, and it executes the rest of the code
//if there is 1 argument or more (the number of arguments = the number
//of students being processed)
public static void main( String args[] ) throws NumberFormatException {
int count = 0;
switch (args.length) {
case 1: count = Integer.parseInt(args[0]); break;
default: System.out.println(USAGE); System.exit(0);
//Defines method for processing and printing students within the
//EdronProject class
EdronProject edp = new EdronProject(count);
edp.processStudents();
edp.printStudents();
class Student {
//Define integer values for the 5 subject's grades, the gradeCounter (used
//in the processing stage) and the student name string
private int
gradeCounter,
grade1,
grade2,
grade3,
grade4,
grade5;
private double total;
private String studentName;
//Use setter getter methods for the student name to be retrieved
public void setStudentName(String name) {
studentName = name;
public String getStudentName() {
return( studentName );
//Use setter getter methods for the grades inputted to be retrieved
//by the processing stage
public void setGrade(int gradeNo, int grade) throws IllegalArgumentException {
switch( gradeNo) {
case 1 : grade1 = grade; break;
case 2 : grade2 = grade; break;
case 3 : grade3 = grade; break;
case 4 : grade4 = grade; break;
case 5 : grade5 = grade; break;
default: throw new IllegalArgumentException("ERROR: Bad grade number passed!");
//Increase grade counter for it to register the number of grades inputted
//by user
gradeCounter++;
public int getGrade(int gradeNo) throws IllegalArgumentException {
int grade = 0;
switch( gradeNo) {
case 1 : grade = grade1; break;
case 2 : grade = grade2; break;
case 3 : grade = grade3; break;
case 4 : grade = grade4; break;
case 5 : grade = grade5; break;
default: throw new IllegalArgumentException("ERROR: Bad grade number passed!");
//Return grade values for them to be used by the processing stage
return( grade );
}
Maybe you are looking for
-
Hi All, I face the following error message in the web browser when I try to run a simple page from JDeveloper: 500 Internal Server Error java.io.IOException The message is the same when I run the Hello World test from the Tutorials project. Here is t
-
3rd Gen Ipod won't sync with Itunes since upgrade to Snow Leopard
Hi, I upgraded from Tiger to Snow Leopard and since then my trusty 3rd Gen Ipod will not sync with iTunes (9.0.3). It mounts in Finder, but does not appear in iTunes. The iPod will still charge, but it constantly displays the "Do Not Disconnect" mess
-
Invoking a VB executable /DLL from Forms 6i
Hi Everyone, We have a complete application (in the form of a product) in Forms 6i. We need to integrate a licensing software with this Forms product. This licensing software is built in VB. We basically need to execute an executable and a DLL - ( I
-
Hi, I have set the property Display in separate window. Can I control the number of window been opened up? As in, I want even if I click several times, it should open only one window but not number of times I clicked. Thanks, Atul
-
my macbook air stopped working...and started beeping...how do I recover...no backlight ....just beeping