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

One action per Idoc


As previously mentioned we are struggling to get the format of idocs to fit the requirements from connecting systems. We are distributing HR master data using HRMD_A06 idocs and change-pointers to track changes. We collect change-pointers every minute in order to keep the number of updates in each idoc to a minimum.

The problem now is that we require that the idocs contain only one action each, that is only one E1P0000 segment can be present in each idoc.

As it is now we get two action segments in the idoc when we perform an action (one action segment with the actual action performed, and one action segment containing the previous action which has been delimited).

Ie: We perform a 'leaving' action starting on 01.mar we get an idoc containing two action segments, one 'hire' action with ENDDA (enddate) as 28.feb, and one 'leaving' action with BEGDA (begin date) as 01.mar.

Do you have any idea how to restrict this so we only get one action per idoc?

We have currently set a parameter so that each idoc contains data for only one employee, and have also included a user-exit to populate additional data not in standard idocs.

Any help is highly appreciated!



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 14, 2005 at 08:35 PM

    Hi Kenneth,

    I doubt, that some customizing will bring SAP to split IDOCs per action segment. (If someone else finds a solution, forget my posting.)

    Some programming:

    Copy whole IDOC (n times), delete all extra action segments, leaving one after another (difficult to describe, but should be clear, what should be left). Don't forget to adjust segment numbers.

    There are two potential places:

    - Separate report, which deletes multi-segment idocs and creates new single-segment-Idocs (new step in processing)

    - User-exit (or modification, have a look) at and of Idoc creation (just before saving). Idoc-numbering should not be done at this place (otherwise it's quite late to add Idocs).

    Sometimes user-exits for filtering whole Idocs in last second are provided: that's a good place. You just have to convince SAP, to accept your addings (key word: dynamical assign).

    OK, third option: this is a classical task for a IDOC-converter.



    Add a comment
    10|10000 characters needed characters exceeded

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.