on 04-09-2014 7:29 AM
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
karan
hello karan,
check out the guide provided by SAP regarding forward error handling for PI
https://scn.sap.com/docs/DOC-34091
and rply if you encountered any error during this process
Regards
Ankur Mali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello dear
I have checked the first link earlier . but i am not getting how to use SPRO menu . i mean how to get on to that .
At first you need to active FEH in your SAP Application client and you can do that using SPRO menu:
- Cross Application Components
- - Processes and Tools for Business Applications
- - - Enterprise Services
- - - - Error and Conflict Handler
- - - - - Activate Error and Conflict Handler (view - FEHV_ACTIVE)
I am not getting the first four points . How to use ?
Help
Thanks
Regards
karan
Hi Karan
Are you familiar with SPRO?
After you execute SPRO, you need to go to the IMG menu
After that, you need to navigate the tree structure as described by the blog
Some of the details from the first blog are no longer relevant since it was written in 2009. I have blogged about the updates since in the second blog listed above. You can access the tables/views directly.
Rgds
Eng Swee
hello dear
Thanks for helping.
I need to ask that i will be performing the steps as in the blog . its ok. but i need to ask where the coding part is to be done and is this the complete and proper coding which is to be done .
The code below will call ECH once the proxy's exception is thrown (so please remember to call the proxy exception with the use of fault messages) and you need to insert it into your main proxy's method. As you can see we need to call method collect of the class cl_feh_registration in order to send the message to ECH. You need to populate at least ls_bapiret struture in order to send an error description to the ECH.
DATA: lr_feh_registration TYPE REF TO cl_feh_registration, lr_feh_registration = cl_feh_registration=>s_initialize( ). ls_main_object-objcat = '1'. *for objtype please have a look at table /SAPPO/S_OBJECT
TRY. CALL METHOD lr_feh_registration->collect CATCH cx_ai_system_fault. "messages are not forwarded to FEH, XI monitor is used ENDTRY. Step 9
if NOT go_ech_action IS BOUND. CREATE OBJECT go_ech_action. endif. r_action_class = go_ech_action. . and one more thing i would like to ask sir that this coding part is done in PI or in ECC(DEV) or some other server. Thanks Regards karan |
Hi Karan
Can you please elaborate on what is your requirement?
Are you planning to use standard SAP's enterprise services, or developing a custom proxy?
For standard enterprise services, if it is already FEH-enabled (you can check by finding the details of the enterprise service in ES workplace http://esworkplace.sap.com/), you should not need to code any more.
If you are developing custom proxy and want to use FEH, then you can follow the blogs above. In the second blog, I have also provided a sample class with the FEH coding. You can use that and extend it further depending on your requirement.
FEH coding is done on the backend systems (ECC, SRM, CRM, etc) and not on PI.
Please check out the following wiki too for more details on FEH/ECH. There are links for further resources there.
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=228196499
Rgds
Eng Swee
http://scn.sap.com/docs/DOC-34091
plz chk this link for me . there is a document for the same..
Is this document the correct way to approach ?
Thanks
Regards
karan
http://scn.sap.com/docs/DOC-34091
plz chk this link for me . there is a document for the same..
Is this document the correct way to approach ?
Thanks
Regards
karan
Hi Karan
If you plan to develop custom proxy, the approach detailed in the document is correct. It shows you step-by-step for both PI and ECC part. The only part you need to be aware of is section 4.4, there have been changes in the SPRO menu since then. If you are on a later EHP pack for ECC, then you can check the actual tables that I listed in the second blog I provided above.
Rgds
Eng Swee
Thanku sir
I would like to tell you the scenario which i am facing .
first of all this is PI
In this SRM_EBP_300 is cleared through PI .
now
this is ECC(DEV)
In this SRM_EBP_300 it fails in ECC(DEV).
scenario is like SRM to ECC
so i need to ask that is there any method by which we can edit or change some info in ECC(DEV) so that we can restart or reprocess the error in that particular server only.
Thanks
Regards
karan
Hi Karan
From your screenshot, the message is generating an Application Error. If FEH is activated, you should get a different symbol as shown below, with the status "Transfer to External Application".
Can you check again in SPRO if you have activated FEH in your system correctly?
Once FEH is activated and the error is transferred properly, then you would be able to see the message in the Post Processing Office, tcode /SAPPO/PPO2 or /SAPPO/PPO3
You should then be able to edit, reprocess, etc there.
Below are some links you can read up on using the Post Processing Office
Postprocessing Office - SAP Library
This link gives you more details on the data editor.
By the way, what is the EHP version of your ECC system?
And what is the enterprise service that you are trying to use in your ECC system, ie which SWCV, namespace, service interface?
Rgds
Eng Swee
Hello
swcv is SAP BASIS 7.02 version
<SAP:Interface namespace="http://sap.com/xi/APPL/Global2">PurchaseRequestERPSourcingConfirmation_In</SAP:Interface>
actually there are many more service interfaces and which one to go no idea ?
can u check the same ?
Regards
karan
Hi Karan
That is a standard enterprise service and FEH should work for it on EHP5.
From the following description on ES Workplace for this service, business function LOG_MM_P2PSE_1 needs to be activated first and the appropriate customizing completed.
Can you do the following?
i) From the error you gave above on ECC DEV, can you double click in and show what error message you are getting?
ii) Can you check that the business function is activated and all relevant customizing completed from the link above?
Rgds
Eng Swee
Hello
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.
Hello dear
main error
SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
<SAP:Stack>Application has thrown an exception</SAP:Stack>
these errors are on the down screen
errors on the up screeen
Trace level="1" type="T">no interface action for sender found</Trace>
Trace level="1" type="System_Error">Application-Error exception return from pipeline processing!
Dear sir
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 ...
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:
As stated in in the link :
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
Karan
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.