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

Outbound IDOC not getting triggered while new master data is created

Hi Experts,

I am trying to trigger an outbound idoc for Cost Center master data when ever cost center is being created or cost center is being changed. (Usinf COSMAS)

I have successfully made use of change pointers and now able to trigger the idoc when ever Cost Center is getting changed. But while creating new Cost center, IDOC is not getting triggered.

I used the function module MASTERIDOC_CREATE_SMD_COSMAS for triggering the idoc.

Could one of you please let me what would have gone wrong? Since IDOC is getting triggered while changing the master data but not getting triggered while creating new master data.

Thanks in Advance,

Vinoth

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on May 21, 2010 at 08:39 AM

    Hi,

    Try executing the T-code BD21 after creating the cost center.

    Regards

    Vinod

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2010 at 09:19 AM

    How you are creating idocs for changes ..are you using any background job?

    --

    Reddy

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      when you activate BD21 for a message type, it creates a entry in the SAP tables. that these Cost Centers have been sent already and any susequent changes to this will trigger a IDoc.

      As for BD16, scheduling it wont help as, you need to specify the selection criteria, and i do not see how you will be able to dynamically get the selection criteria.

      Try BD95, and BD59 to create a change pointer for a field, so when ever this fields is modified (new/updated) an idoc will be triggered.

      regards,

      Abhishek

  • Posted on Dec 08, 2011 at 09:58 PM

    It should work for both creation and change. No need to run BD16 if you want to send only changes. You can check BDCP2 table after creating Cost center.

    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.