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

RBDMIDOC Program with User Exit?

Hi....

I am a bit puzzle and hope someone could assist me with this please.

I am trying to work on a functional specification to layout an interface between SAP and our outsourced provider. Given that, I've created a reduced message type off HRMD_A06, calling it ZHRMDA06_ORG and change pointers being active.

From my understanding, if I run RBDMIDOC it will extract what is in the change pointers and create an IDOC structure with the data. I need to somehow after that structure is created to go back and add segments or sub-segments to it.

For example:

IF E1PLOGI.OTYPE='S'

IF E1PITYP.INFTY='1001' AND E1PITYP.SUBTY='A003'

If it detect this in the IDOC segment, I will need to find the chief of the org unit this position belongs to and create the E1PITYP.INFTY='1001' and E1PITYP.SUBTY='A002' to that chief position.

Using that as one of the data maniplulation example, I do have other data needing to be added to the segment / sub-segments as well. Like creating a whole new E1PLOGI, etc.

How do I go about doing so?

DO I...

A) Do it as part of the RBDMIDOC extraction run (i.e. modify a function module associated with it)

- OR -

B) Do it as a program that runs after the RBDMIDOC extract run and automatically go in to that IDOC to modify it.

One thing to note is that I will be creating multiple reduced message types against HRMD_A06, one per interface i am dealing with for outbound transfer to XI.

So I could have a ZHRMDA06_ORG and ZHRMDA06_ORG2 and both could share the same infotype tracking from change pointers.

So which ever method used, I would need the ability from the user exit or function module to signify that piece of code is for a particular message type extraction.

Thank you much in advance. Much Appreciated....

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2005 at 04:52 PM

    Hi Kevin,

    It seems a bit difficult.

    But try to look into the FM RH_MASTER_IDOC_DISTRIBUTE_HRMD. Here we have one custom Exit '001'. Try to put the code as per your req.

    Actually this will trigger whenever we try to execute the PFAL to send the data to other systems from HR.

    Thanks

    eswar

    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.