Skip to Content

Update 9 Apr 2014: Added new reference links

Update 14 Apr 2014: Updated check table requirement for entry in Step 3

Update 14 Jan 2015: Add optional Step 6 if using custom PPO object type

I was trying to setup FEH/ECH for a custom asynchronous server proxy following Michal’s blog. However, between 2011 (when the article was written) until now, there have been changes in the SPRO menu for ECH. So I was unable to follow some of the steps listed on the blog (on ECC EHP5 system.) I tried looking around more on the internet, but there was not much information about this setup. Even the help page on SAP listed steps that did not correspond to the SPRO menu on the system. So after much digging into the system, I finally found the related tables/views that are required for complete the configuration.

These tables/views are for custom processes and can be directly maintained via SM30. For SAP-delivered enterprise services, they are already preconfigured in separate tables/vie

1. /SAPPO/VC_CMPNT – Define Software Components

ZFEH_TEST is the custom software component

/wp-content/uploads/2014/03/1_418568.png

2. /SAPPO/VC_BPROC – Define Business Process in PPO

ZPPO_PROC is the custom PPO business process

/wp-content/uploads/2014/03/2_418569.png

3. ECHVC_PROCESSES – Define Business Process in ECH

ZECH_PROC is the custom ECH business process

ZESYCL_PROXY_FEH is the FEH processing class (implementation of interface IF_ECH_ACTION)

Note: The entry in “Action Class” must be a valid entry in table SEOCOMPO

/wp-content/uploads/2014/03/3_418570.png

4. ECHVC_PP_PROCESS – Linking ECH process to PPO process

/wp-content/uploads/2014/03/4_418577.png

5. FEHVC_PROXY2CMPR – Linking proxy method to ECH process

ZESYII_SI_IB_A_PROXY_FEH is the proxy class

SI_IB_A_PROXY_FEH is the method of the above class

/wp-content/uploads/2014/03/5_418578.png

6. Defining Custom Post Processing Object Types

If the PPO type is not configured in standard SAP (table /SAPPO/S_OBJECT), it can be added via the following customizing activity in SPRO

  • Cross-Application Components
    • General Application Functions
      • Postprocessing Office
        • Object Types
          • Define Object Types

/wp-content/uploads/2014/03/objtyp_624361.png

Attached also are some reference files for development of the custom proxy (I had to rename the extension to XML to be able to upload here.)

1) NUGG_PROXY_WITH_FEH.xmlSAPLink nugget file with sample code for the Proxy class and FEH processing class

2) SI_IB_A_ProxyFEH.xml – WSDL of the Service Interface (DDIC structures for the generated proxy is not included)

This blog is mainly to identify the changes in the configuration from the earlier blog. For more information about FEH/ECH/PPO, please refer to earlier blog or the following:

SCN Wiki – Error Conflict Handler

SAP Help – Linking To Own Business Processes

How To Setup Forward Error Handling in PI Scenarios

To report this post you need to login first.

9 Comments

You must be Logged on to comment or reply to a post.

  1. chandan mishra

    Dear Swee,

    I have started the implementation for FEH in my SRM. Initially I tried to follow the link:

    http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/02/24/pixi-forward-error-handling-feh-for-asynchronous-proxy-calls-with-the-use-of-error-and-conflict-handler-ech

    But this is posted in 2011 and missing so many things, latter I found your blog. I have some issue with step 3 ECHVC_PROCESSES – Define Business Process in ECH

    ZESYCL_PROXY_FEH is the FEH processing class (implementation of interface IF_ECH_ACTION)

    I am getting error while entering value in action class that entry does not exist. Will you plz give me detail, where you have created this Z class…

    Regards,

    Chandan


    (0) 
    1. Eng Swee Yeoh Post author

      Dear Chandan

      You can create the Z class in SE24 in the normal way, and the class have to implement interface IF_ECH_ACTION.

      I’m guessing that you get an error in Step 3 that your Z class does not exist in table SEOCOMPO, right? This is because the field ACTION_CLASS has a foreign key relationship with check table SEOCOMPO. The error is because there is no corresponding entry in that table.

      The work around for this is to declare either a dummy attribute or dummy method in Z class. This should then create an entry in SEOCOMPO and you would no longer get the error when entering the class in Step 3.

      Hopefully this helps.

      Rgds

      Eng Swee

      (0) 
      1. chandan mishra

        Thank you Swee for your reply.

        I have followed your steps mentioned above, all have gone well. Now in the step 8 and 9 of previous document

        http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/02/24/pixi-forward-error-handling-feh-for-asynchronous-proxy-calls-with-the-use-of-error-and-conflict-handler-ech

        there is some code to be done. I do not understand, where to write the code as per your document, as I have done configuration according to your blog.

        I also do not understand, how could I start FEH, in my SRM system to restart my failed XML.

        My receiver interface for XML is PurchaseRequestERPSourcingRequest_In

        Also I didn’t understand the coding part, especially

        What exactly it do….

        Please give your reply.

        Regards,

        Chandan

        (0) 
        1. Eng Swee Yeoh Post author

          Hi Chandan

          If you are using service interface PurchaseRequestERPSourcingRequest_In, then this is a standard Enterprise Service that SAP already pre-delivered.

          You do not need to follow the steps in either this blog or the one by Michal because our blogs are referring to custom proxies.

          SAP’s Enterprise Services are ready to use directly as long as you have all the prerequisites and also completed the necessary customising. Please check the details of the interface directly from ES Workplace link below for further details.

          http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=2BAABCB0D30111DC2B8D000F20FCB6A9&fragID=&pac…

          Rgds

          Eng Swee

          (0) 
          1. chandan mishra

            Thanks Swee for this link.

            I have gone through this link and found some customization part that should I perform. 

            Customizing

            The Customizing settings required to use FEH are the following:

            • 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 .

            I have already done these setting but not getting effect. I am doing all my setting on SRM server to reprocess XML, after editing(XML detail given in above post).

            As I am new to it, not able to configure out the things. Can you please give me any suitable document on my mailid ”chandan0923@gmail.com”  or describe in some detail. Do I have to make any code for it?

            Please give your reply.

            Regards,

            Chandan

            (0) 
            1. Eng Swee Yeoh Post author

              Hi Chandan

              I do not have access to an SRM system, therefore I am unable to test this out myself. I expect that you do not have to make any additional coding for it – this is true for ECC based Enterprise Services that I have already used before.

              I think for your case, some customising/configuration might be missing.

              I suggest that you open a thread in the Service-Oriented Architecture (SOA) and SAP  space so that other SCN members can assist in your issue as well.

              Please be as descriptive as possible in your thread – provide all the steps you have taken so far, and if possible what error you are getting and any corresponding screenshots, etc.

              Rgds

              Eng Swee

              (0) 
  2. Mary Anne Villacorta

    Hi Eng Swee,

    Are you able to provide some sample code for the action and proxy classes? I’m trying to setup FEH for the first time. The 5 tables above have been populated with information for the custom process and the object type is created.

    The collect method in the action class runs without exceptions however nothing is saved in Post Processing Office.

    Thanks in advance.

    Mary Anne

    (0) 
    1. Eng Swee Yeoh Post author

      Hi Mary Anne

      The last section of this blog provides details of the samples you require.

      Another option you can explore is in the following blog where I’ve provided a custom framework for FEH/ECH.

      Custom proxy framework with FEH/ECH

      If you have issues when trying to get it to work, I suggest you raise a discussion thread as the comment section of blogs are not the suitable area to discuss specific problems.

      Regards

      Eng Swee

      (0) 

Leave a Reply