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

'MASTER_IDOC_DISTRIBUTE'

wat is the use of this function module.'MASTER_IDOC_DISTRIBUTE'?

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 Apr 17, 2008 at 11:46 AM

    This is the function modules which creates the communication idocs.

    if you prepare the data record and control record and pas it to this FM it will create an idoc for you.

    And you can see all the standard outbound function modules using this FM inside it.

    Reward points if you find it helpful.

    Regards,

    Prasanna

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 17, 2008 at 11:54 AM

    hi,

    A COMMIT WORK must be dispatched in the calling program, otherwise the IDocs may not be dispatched.

    Perform an explicit commit work after the function module call.

    Regards,

    Shiva Kumar(Reward if helpful).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 17, 2008 at 12:35 PM

    Short Text

    Application interface to the ALE layer on outbound processing side

    Functionality

    This function module is the interface from the application to the ALE layer on the outbound side. The application can pass an IDoc, the so-called master IDoc, as an internal table using the parameters MASTER_IDOC_CONTROL and MASTER_IDOC_DATA.

    This IDoc is then converted into one or communcation IDocs and stored in the ALE layer. IDocs for which no errors occurred are passed to dispatch control.

    In the table parameter COMMUNICATION_IDOC_CONTROL the header records for the communication IDocs created are retturned. You can tell whether processing was successful from the field STATUS.

    A COMMIT WORK must be dispatched in the calling program, otherwise the IDocs may not be dispatched.

    Further information

    For further information about using MASTER_IDOC_DISTRIBUTE refer to the ALE Programming guide in online help.

    Parameters

    MASTER_IDOC_CONTROL

    OBJ_TYPE

    CHNUM

    COMMUNICATION_IDOC_CONTROL

    MASTER_IDOC_DATA

    Exceptions

    ERROR_IN_IDOC_CONTROL

    ERROR_WRITING_IDOC_STATUS

    ERROR_IN_IDOC_DATA

    SENDING_LOGICAL_SYSTEM_UNKNOWN

    cheers,

    sharad

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 04, 2008 at 11:27 AM

    hi,

    i w'll try to help u out of this ...

    see

    the message can be sent from application to the IDOC interface along two different path:

    1) The indirect path using message control : a series of conditions are checked to find the message. if one of these condition is fulfilled , the message that was found is forwarded to the IDOC interface via the corresponding Message control record. the condition technique also allows the message control to find and send more then one message

    2) the direct method or

    Master_idoc_distribute .this is a direct method from the application to the interface. here the application generates an idoc which is transferred to the IDOC interface via this function module i.e.

    master_idoc_distribute.

    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.