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

Triggering new outbound IDOC via message control.

HI All,

I have a new outbound function module which is a copy of ALE_GOODSMVT_CREATE (ZALE_GOODSMVT_CREATE) for goods movements. I have created a new process code and linked the message type to the code. This function was created by copying the standard bsuiness object for goods movement BUS2017 and registering as a new interface in BDBG.

I have created a new output type in nace for ME, but was unsure how to correctly setup the processing routine. What medium (A, 6 or 8), program and routine do I use, or do I need to create a new program to call my function module? If I use RSNASTED and ALE_PROCESSING (medium A), I get a short dump as the parameters of the function do not match the parameters of my new function ZALE_GOODSMVT_CREATE.

Has anyone ran into a similar problem or can help with this?

Bets regards,

James.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 10:42 AM

    You should use medium "A" for ALE.

    If your process code point to your custom FM then no need to craete a program.

    In outbound partner profile( We20 ) , in the message control tab you will have to add your output type / Process Code .

    This should be sufficient .

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi James,

      In the distribution Model have you added <b>message type</b>

      ZSUBCON/ sender / receiver . It seems you have added <b>BAPI</b>.

      After adding message type , save distribution model and then generate partner profile ( seems you created partner profile manually ).

      Then goto WE20 for outbound message type ZSUBCON add the message control parameters i.e. your output type and process code.

      Cheers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 12:34 PM

    Hi Sanjay,

    The BAPI is linked to the message type, therefore when I generate dmy partner profile it added the messagetype to the partner profile. I'll also add the messagetype on it's own to the distribution model and see if this works, but I wouldn't have thought that I need to this. I'll let you know how I go

    Thanks,

    james.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 12:40 PM

    Hi Sanjay,

    I actually cannot add the message type to the distribution model, because it belongs to the BAPI. The only way of adding the message type, as I thought, was to add the BAPI. The message type was recognised and added to the partner profile when I generated the model. Seems like I may have another problem somewhere. ANy thoughts?

    Rgds,

    James.

    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.