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

How to get message type USERCREATE for RBDMIDOC

Hi,

Using the transaction code we81 i can see that there are messsage types for

a)USERCHANGE

b)USERCREATE

There is also a basic IDOC type for the same

a)USERCREATE01

b)USERCHANGE01

I have written a JCO server program which would listen for receiving the idocs from the SAP system.

I have used the sm59 trnsaction of type TRFC RFC connection.

I want to use the program RBDMIDOC to capture the changes done during the user create and user update.

When i excecute the program RBDMIDCO using the se38 ,it asked for message type .

I could not see the message type USERCREATE and USERCHANGE listed .

I read on sap forum how to add new message type for RBDMIDOC using trnsaction code BD60.

Here i added teh

message type USERCHANGE

Ref messsage USERCHANGE

Function method BAPI_USER_CREATE1 (not sure what to put here).

Then i ran the program RBDMIDOC and selected message type as USERCHANGE

It threw an exception

When calling function module one paramter was not specfied .

Please check the attachment .

Let me know the steps i am following is right.

Regards

Manoj

error.png (151.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 30, 2013 at 03:57 PM

    Hi Guys,

    Any update on this.

    Should i write an function module here or does SAP provides an custom built in one.

    If we need to write own ,how to proceed in this direction.

    Regards

    Manoj

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      User Administration is not my area of expertise. I went through SAP documentation on the topic. It is used for “An SAP system group consists of several SAP Systems with several clients.”

      Is your receiving system also an SAP system? If yes then CUA is perfect fit for your requirement.

      If the receiver is non SAP, CUA may not be useful in its off the shelf form. Found following documentation from SAP for CUA.

      http://help.sap.com/saphelp_46c/helpdata/en/cd/16b0cb100711d295750000e82de14a/frameset.htm

      If CUA does NOT work then, you can check-out Report RSUSR100N.

      The report is using following function modules to get the delta based on change time as an input.

      SUSR_CHANGE_DOC_AUTH

      SUSR_CHANGE_DOC_ERROR_LOG

      SUSR_CHANGE_DOC_IDENTITY

      SUSR_CHANGE_DOC_ROLES

      SUSR_CHANGE_DOC_STATUS_HISTORY

      SUSR_CHANGE_DOC_TECHNICAL

      SUSR_CHANGE_DOC_USERS

      If you want to PULL the data from SAP, you can simply call a RFC function module which calls above mentioned report with SUBMIT.

      SUBMIT RSUSR100N EXPORTING LIST TO MEMORY AND RETURN.

      If you wish SAP to PUSH the data to receiver, you can check Events of Object USER (transaction SWO1). Then put an event handler to push the details using transaction SWE2. ( You can send the data using IDocs or using RFCs )

      Following events are available:

      1. USER.created User created
      2. USER.cloned User created or changed
      3. USER.deleted User deleted
      4. USER.roles_changed User roles changed

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.