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

How to send idocs from workflow ?

Dear Alll,

I need to send few idocs based on condition in my workflow .Can you please let me know how to go for it .Do we use business object for this ?If yes which business object.

Kind Regards,

Anshu Kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2009 at 08:19 PM

    Can you provide more details on the requirement, including the type data you are sending in IDOCs and workflow conditions. Based on that there can be a solution.

    Regards,

    Kartik N.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2009 at 04:57 AM

    Hi,

    Create a Z BO inside that create a method which will call master_idoc_distribute.

    Now inside your WF create step and place where you want your Idoc to trigger

    in that step call the method you created. do proper binding.

    Your Idoc will be send.

    Hope this helps.

    Regards

    Bikas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2009 at 07:21 AM

    Hi Anshu,

    Check this link ,i think this will you helpful.

    http://download.oracle.com/docs/cd/B31104_02/books/ConnSAP/ConnSAPDataMap4.html#wp1004852

    By

    Pari

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2009 at 06:22 AM

    Hi Anshu,

    I had the same scenario in my project where I had to send an IDOC to SAP MDM thorugh workflow.please follow the following steps:-

    1.After the configurations of IDOC are done Create a RFC or BAPI which contains the code for Populating the segments of the IDOC. After populating the IDOC you need use the function module MASTER_IDOC_DISTRIBUTE to send the IDOC to the destination.

    2.after creating the BAPI you need to create Z business object where you need to include the above BAPI for IDOC.

    3.After the Z business object is created then in your workflow create an activity, in the activity create task which will contain the method of z business object as was done in step 2.

    I followed these steps and was able to do it successfully. Let me know if you are unable to achieve it with the above mentioned steps or you have any doubts or need any clarification wrt to the steps above.

    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.