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.

Hi Sanjay,
I have created a distribution model, and added the new function to the ditribution module via the createformdata method which the function is linked to.  I have also created the partner profile for message type using an LS partner.  I have added my new process code to this message in the partner profile.
Now when I process my goods movement I get the error message "No recipient found for message type ZSUBCON in the ALE model".  The distribution model and the partner profile appears to be setup correctly.  Any ideas?
Rgds,
James.

Similar Messages

  • How to do configuration to create outbound idoc using message control

    The objective is to create outbound idoc based on some selection criteria using message control approach.The interface will be triggered when there is goods receipt via MIGO transaction.............Now based on the material document number from NAST table i am going to fetch data and do further processing inside the function module i am going to create.later idocs will be created via program RSNASTED.How we do the configuration to set up this whole operation?

    Please go thru:
    1) message control
    2) http://help.sap.com/saphelp_di46c2/helpdata/EN/c8/19878343b111d1896f0000e8322d00/content.htm
    Regards
    Shital

  • Outbound idoc using message control

    i wnt to extend orders05 with a new segment with new fields,that are not being populated by orders05.
    I want to know what will be the total process flow so that i can see the idoc values using  we02.
    my tcode is me23.please help.

    Hi,
    Use the Exit "EXIT_SAPLEINM_002" to populate the data into Z segments in extended idoc.
    In partner profile (WE20) in message control tab you have to give the Apllication as 'EF' , message type and process code as ME10 for Order creation.
    Regards,
    Bhavana.

  • Creation of Custom IDoc with Message control for sales Order

    Hi all,
    I am trying to create custom Outbound IDoc with message control.
    I wrote the code in a function module and i want to register that function module. (as in inbound registration of function module as in BD51).I am not knowing if that registration is necessary for outbound Idoc, if so in which transacition?
    Please list me the steps to create a custom IDoc for Message control.
    Thanks in advance,
    Regards,
    John.

    Hi,
    You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
    check this link:
    Re: Master_IDoc_Distribute
    and use transaction : WEDI for IDOC configurations.
    here you will have all the transactions(step by step) to set the outbound IDOC configurations.
    Regards
    Appana

  • How outbound idoc of message type WMMBXY is created? any program or FM name

    Hello Gurus,
    How outbound idoc of message type WMMBXY is created? any program or FM name??
    basic type : WMMBID01... i checked the idoc in my system, it does not have any process code....
    also, i checked the exit : EXIT_SAPLMBMB_001. It has some code but nothing to fill the segments...
    BR,
    Ks

    got the answer in : WMMBXY and WMMBID02

  • Trigger outbound IDOCs for EDI - CONTROL & APERAK messages

    Hello All,
    We have a scenario that customer transmits their EDI - ORDERS message and upon receipt of ORDERS, requires us to forward CONTROL and APERAK for any issues with ORDERS message. Checked different outputs and did not find suitable one. WIll appreciate, to know, the corresponding message/idoc types for CONTROL and APERAK and how to trigger.
    Thanks in advance,
    Renu

    Hi Nikhil,
    I tried the following Message Control settings for Message Type - PORDCR1 / Partner - SNC Logical System:
    a. Application = EF; Message Type = BAPI; Process Code = ME10 ; Change Indicator = Checked
    b. Application = EF; Message Type = BAPI; Process Code = ME11 ; Change Indicator = Checked
    c. Application = EF; Message Type = BAPI; Process Code = ABI_AIDN_OUT (the only option available in dropdown) ; Change Indicator = Checked
    I tried chnaing an existing PO after saving each of this setting. There is not outbound Idoc that is getting trigerred.
    Regards,
    Bharath

  • How to find the Program that triggered the outbound idoc

    Hi,
    I need to find the program that triggers a particular Outbound IDoc.
    I have the IDoc number/segment/message type.
    We need to Debug the Outbound IDoc but we do not know from where the IDoc got triggered.
    Is there a way we can find which program triggered it?
    Thanks!

    Hi Suresh,
    Go to tcode WE20, select ur partner profile type, which configured in output type for EDI documents.
    On right side, double click on the Message type in outbound parameters.
    go to message control Tab, double click on process code variable to see FM triggers for the IDOC.
    same as for Inbound also.
    Regards
    Syed A

  • Outbound idoc error message

    Dear all,
    When i am manually create a direct request for POS outbound, the system shows the error message as below. It cannot generate an outbound idoc. Do anyone know how to detect this error and how to solve this problem?
    Error message:
    Processing Status
    Recipient: XX01
      IDocs created
         None
         Trigger file for status ID: 00000000260056
         does not have to be created       No messages needed
    Thanks and regards
    Chris

    Dear all,
    i have solved the problem. thanks you for your attention.
    Chris

  • Triggering ZTransaction outbound idoc

    Hi,
    For one Ztransaction development, i have to trigger an outbound idoc. hw to do this & pls share the steps & code for the same.
    Regards,
    Balaji

    Hi wg,
    thanks for the quick reply.
    the link provided by U is on target for my query. By the program, i can create this idoc as per the steps given.
    But as Seshagiri's suggestion, while updation in zdb tables, frm that ztransaction, the code to generate idoc when it is saved is the similar code given in link or any difference is there?
    thanks again...
    Regards,
    Balaji

  • Error while sending a PO as idoc through message control

    hi,
    i am getting this error when i manually enter a output type in ME22N transaction. This output type is supposed to send a ALE Orders idoc to the ABC610 system.
    Partner ABC610 does not exist for partner function LS
    Message no. VN006
    Diagnosis
    Partner does not exist for the partner function selected for this
    transaction.
    Procedure
    Check your input.
    pls help. Points will be awarderd for helpful answers
    ~Suresh

    Hi Naveen,
    Yes, Sorry forgot to mention in my previous post. The Partner profile with the same name exists in WE20 and also the outbound parameters are populated correctly to send the IDOC.
    I also checked BD64 and the model is defined and distributed successfully.
    any other inputs what else to check?
    ~Suresh
    ANy inputs on this?
    Edited by: Suresh Reddy on Jan 16, 2008 7:37 PM

  • Outbound IDOC for message type PAYEXT

    Hi,
    I am trying to send a IDOC from my SAP system to a EDI vendor. For one particular vendor in segment E1IDKU3 field PAIRZAWE (payment terms) is mot coming, thought this data is been maintained in Vendor Master Data.
    In Segment E1IDKU4 field FCAREGUL is also missing for which also there is a data maintained in Vendor Master.
    Can anybody explain why this is happening.
    Also, which is the FM or IDOC creation-processing program for this message type.
    /Manik

    Hi Manik,
    Your function module to process the IDOC will either be FI_EDI_PAYEXT_PEXR2001_OUT or FI_EDI_REMADV_PEXR2001_OUT depending on whether you are doing a remittance advice or payment advice.
    In include LIEDPF1T, subroutine FORM FILL_SEGMENT_IDKU4 USING DOC_TYPE, you will find the following code. This tells me that your E1IDKU4 problem is also related to your instruction key settings. Check this table and see what is wrong.
          IF NOT T015W IS INITIAL.
            CASE T015W-DTKVS.              "Gebührenregelung
              WHEN '00'.
                E1IDKU4-FCAREGUL = Q_FCA_GETEILT.
              WHEN '01'.
                E1IDKU4-FCAREGUL = Q_FCA_Z_PFICHTIGER.
              WHEN '02'.
                E1IDKU4-FCAREGUL = Q_FCA_Z_EMPFAENGER.
            ENDCASE.
          ENDIF.
    If it helps, please reward and close the thread.
    Srinivas
    Message was edited by: Srinivas Adavi
    By the way what is Sardinians?

  • Create 2 outbound Idocs for 1 message type

    Hi Experts,
    We are sending an outbound Idoc of message type DESADV.  We would like to trigger 2 Idocs per Shipping Notification.
    Could you please help?
    Thanks,
    Vitish.

    Hello Vitish
    Each output partner can have it's own output. Also for the same message type. Maybe the 2 DESADV IDOC's are sent to different partners or destinations. But even when not you still can define 2 different output partners for the message type. Then 2 outputs will be triggered for the same message type.
    Regards Jack 

  • IDOC Creation with message control

    I have created an IDoc using standard FM ' MASTER_IDOC_DISTRIBUTE' (without message control) for my own table. Now, I want to create IDoc with message control to send data from SAP to SAP. Can anyone please tell me the steps to create IDoc for my own database table and program to be created.
    Thanks in advance.

    Pankaj,
    You can access the following link to understand Custom IDOC creation flow.
    http://wiki.scn.sap.com/wiki/display/HOME/Step+by+Step+procedure+for+creation+of+IDOC
    In The Process code FM, you can call Z-API to update your own database table & create a program to trigger & process the IDOCs.
    Further, a report program can be created to trigger/monitor IDOCs.
    Ravi

  • Automated error email notification when outbound IDOC fails

    Hi,
    The requirement is that whenever the outbound IDOC of message type PAYEXT, basic type PEXR2002, fails, then email has to be trigerred to a group id.
    I had suggested to write a report program that runs as a job. If the IDOC goes to error status then mail will be sent from this report. Client prefers it to be done through workflow.
    There is a standard process code for outbound IDOC failure handling EDIO (we40). standard task 7989 has been assigned to this process code. I dont want to modify this standard task as I am not sure of impact.
    Terminating event for this task is 'ERRORPROCESSCOMPLETD'.
    I have developed the workflow that has trigerring event 'ERRORPROCESSCOMPLETD' and bound with the IDOC number. This will send mail to the group id with the IDOC details
    Now issue is that, I am not sure if standard process EDIO will be trigerred automatically, or should we configure anywhere. Since this is standard outbound IDOC, I am not able to add the process code in partner profile.
    Please give your inputs or any other alternate solution to send mail through workflow when  outbound IDOC fails.
    Thanks in advance.

    Hi,
    I guess in your outbound partner profile for PAYEXT. you need to add process code  EDIO in message control TAb. WHich will cause to trigger the workflow which will send the notification.

  • Change Business Partner in CRM to trigger OutBound IDOC in R/3 system

    Hi Team,
    I am stuck on a requirement, We have a scenario were the Business Partner is created in CRM system
    which creates a BDOC and is passed to R/3 system through an Inbound IDOC which  triggers the Outbound IDOC to PI system. So far good.
    The scenario we are getting stuck is when a Business partner is changed in CRM an IDOC triggered in R/3 system but this being a change the Change pointers are not called hence the IDOC which is supposed to be triggered for the PI system is not getting triggered.
    Can you please tell me what steps should I take to trigger this Outbound IDOC from R/3 system?
    I did some anlyasis and found a table which COM_BUPA_CALL_FU which contains a set of function module which is triggered in the sequence. Is this the solution or if you have any different do let me know.
    Thanks,
    Imran

    Hi,
    Did you add the entry for your new custom 'Z' long text inPITX Tcode in R3 side. Every long texts in CRM should be linked to R3 long text here. If there is no entry please add one and try changing the text in CRM.
    Hope this helps,
    Karuna.

Maybe you are looking for

  • Pen Tool and Pathfinder Problems

    Help.....I am trying to follow a tutorial creating a leaf vector image(first time) I use the pen tool to draw the curve in a an elipse shape and then divide in pathfinder but it always adds an extra line when I hit the pathfinder button from the last

  • View Elements in Method Before Action

    Hi all, because of a generic validation rule I need to know in Method BeforeAction of a webdynpro view, which elements of a context node are bound to the view. As an example: The view has two data container (nodes) - these two nodes should be checked

  • Major file corruption problem with iMovie

    I've just updated to iMovie 09. During the making of a 4-minute promo video, some of the features of iMovie stopped working - titles, for instance, and being able to insert photos into video. Then the 'share' feature quit, which meant that the piece

  • Dvd player malfunction

    I have G4power book-- with OS X 10.3.9 out of the blue the cd/dvd driver stopped recognizing any CD or DVD-- it just spits it back out. I tried resetting the memory (which I did once before) and it did not work-- any suggestions? thanks

  • Hide "Shared by and with me"

    Hi, Is it possible to remove those 2 sections from the interface ? We don't use those sections for the moment. Thanks.