Skip to Content
author's profile photo Former Member
Former Member

Monitoring of IDOC

Hello all,

I try tu have a good monitoring of IDOC.

To be clear, I will explain the problem.

We use the IDOC HRMD_ABA for the replication sap HR towards an other system CRM.

Sometimes we have some IDOC not in error but not fully posted status 52 (via transaction BD87).

The problem is : the message is not fully clear I don't know on which segment I got the error. I would like to add more information to the message, I look on customer function but I found no appropriate function => I told me why not to copy the function module [IDOC_INPUT_HRMD] for the IDOC's post into a [ZIDOC_INPUT_HRMD] function module and to manage better the message error but it looks a heavy work.

Anybody has a better idea to realise that ?

I try also to read the table EDIDS and EDID4 but the information was not helpfull.

Thank you very much in advance, Gene.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2005 at 04:53 PM

    Hi Genevieve,

    Yes there is a better (and much easier) way.

    Go to the customer exit 002 for this specific function.

    Function module = EXIT_SAPLRHA0_002.

    Inside you will find: INCLUDE ZXHALU06 .

    Double click on ZXHALU06 (and if it does not exist, create it by answering Yes on the create dialog).

    Then simply use your coding to investigate the results and/or extend the message.

    This customer exit is meant for monitoring workflow functions for this IDoc handler.

    However, to copy IDOC_INPUT_HRMD to your own ZIDOC_INPUT_HRMD and extend this is not so very much work. You only need to find out with which partner the communication occurs (e.q. EDIDC-SNDPRN field).

    Find this partner in transaction WE20. Indise the transaction find the message in the inbound parameters.

    Double-click the partner and go to the Process code field.

    Double-click the process code field and you will see that with the identification the function module IDOC_INPUT_HRMD is given.

    Press the button behind the identification field and remember all fields from that screen.

    Once you have copied to ZIDOC_INPUT_HRMD you can replace the identification with your function module and fill in the related fields (that you did remember).

    Hope this gives you a good start.

    Regards,

    Rob.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 28, 2005 at 04:56 PM

    Gene,

    EDIDS has the segment number in error. Then you can go to your Idoc using WE02 and go to the segment in error. We have been monitoring the HRMD idoc error this way.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      It is always better to check in we02 transaction for the date in which idocs created.

      If the idoc contains status 52 records,u can find the default message like 'HR:inbound processing for planning data/Hr master data'.

      second message explains the exact problem.

      We are using message type HRMD_A.

      This is the way we monitor and correct the problems.

      Regards,

      Senthil

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.