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

Similar Messages

  • 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.

  • 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.

  • Creation of outbound idoc using BAPI

    Hi,
    How can I create outbound IDOC using BAPI. If I go to BD64 and add the message type PREQCR,it gives the message that 'add this message type using BAPI'.I have added with the option ADD BABI.After that I dont know how to trigger?.Please give me the procedure how can i create outbound idoc using BAPI.
    Thanks,
    Ravi

    You will have to do the MESSAGE OUTPUT DETERMINATION to trigger the IDOC. Once you have done the config, internally it uses the method that you have configured.
    Look at NACE transaction to do the config, for message output determination of a purchase order.
    You can even do it in the config --
    Go to SPRO transaction. SAP Customizing Implementation Guide --> Materials Management --> Purchasing --> Messages -->
    regards,
    Ravi
    Message was edited by: Ravikumar Allampallam

  • 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

  • Function Module to create Outbound IDoc

    I have created a segment (ZSEGPRO), basic type (ZIDOCPRO) and message type (ZMSGPRO) to create a custom IDoc. Now I have to write a Function Module to create Outbound IDoc.
    I want to know what will be in Import, Export, Changing, Tables, Exceptions and Source code of that function module. The fields used in the segment ZSEGPRO is given below:
    Fld NameSource Data Elmn     Description
    PRODUCT MARA MATNR     Material number
    TEXT     MAKT     MAKTX     Material description
    PRN     MARA     YYBCEZNDR     Print Field
    Additional information: Export parameter will be BAPIRETURN for holding error message(if any).
    These Function Module need not require to be RFC enabled.

    Hi ,
    Refer these:
    There are two main reasons
    1) Make sure you call COMMIT WORK after the MASTER_IDOC_DISTRIBUTE
    http://help.sap.com/saphelp_nw04/helpdata/en/78/21783151ce11d189570000e829fbbd/content.htm
    2) The rest of the setting of the ALE IDoc might not have been done
    http://help.sap.com/saphelp_46c/helpdata/en/78/2177c951ce11d189570000e829fbbd/frameset.htm
    You can use the Area Menu WEDI and do the rest of the settings.
    ALE Quick Start guide and ALE Programming Guides for your reference
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    Recent discussion which could be helpful,
    About WE21, BD64, sm59
    Regards
    Shiva Kumar

  • How to update the status of Outbound IDOC in case of error

    I want to know about how to update the status of Outbound IDOC in case of error.
    I am using message control functionality here.

    HI,
    If u r using the standard message and basic type
    u can do it in the FM attached to the basic and message type.There u need to write ur own message instead of standard SAP message..chek if there r any userexits available in the FM..where u can overwrite ur own message ..
    If u r using the Zmessage and Zbasic type
    then u need to declare an internal table of EDIDS structure and then append ur message to the internal table..
    idoc_status-docnum   = idoc_contrl-docnum.
      idoc_status-msgty    = <message type>
      idoc_status-msgid    = message-id.
      idoc_status-msgno    = message-number.
      idoc_status-msgv1    = message-message_v1.
      idoc_status-repid    = sy-repid.
      idoc_status-status   = <give the error status>.
      APPEND idoc_status.
    Reward if u find useful
    Regards,
    Nagaraj

  • Issue while creating Outbound Delivery using Standard BAPI

    Hi all,
    I am trying to create an outbound delivery for a Sales order using the Standard BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After giving the valid inputs for Sales order no and doc no, am getting an error as "No instance of object type OutboundDelivery has been created. External reference:" But when trying to create manually there is no problem. Please suggest what may be the issue and how to correct it?
    Regards,
    Vimala P

    Hi Vimala,
    I am trying to create outbound delivery using BAPI_OUTB_DELIVERY_CREATE_SLS & BAPI_DELIVERYPROCESSING_EXEC. But no success. Getting "No instance of object type outbound delivery has been created" in return.
    1) Delivery Type
    2) Delivery selection date
    Needs to be passed in import parameters.
    Could you please tell me what are all the parameters to be passed under tables tab in RV_DELIVERY_CREATE?
    Thanks in Advance..
    Regards,
    Rajasekar .M

  • Create an IDOC using Txt file

    Hello All,
    I have recived an   IDOC DATA in TEXT file.
    would u please help me how to create an idoc using the above text file.
    Kind Regards,
    Dev.

    Hi,
    first put the file in application server and then in we16 give the directory name and the path and the sender port info and press execute..ur idoc will be generated.before that in we21(FILEPORT),in the inboundfile maintain the directory name and the path.
    Regards,
    Nagaraj

  • Very simple question, how do you configure windows 8.1 to use a SF card as the default install location for software applications?

    Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the settings
    charm within the windows store. This must have been overlooked in the development of windows 8.1 or is a bug.
    Regards, Bill
    * update
    I've tried modifying this key and the path:
    “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx”
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/how-do-you-install-apps-in-windows-8-from-the/c4fbe2a8-fd3d-41c1-b9a6-6f881eed374f
    Also tried using symlinks as detailed here:
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral

    Here's some links I've used to try to figure this out:
    http://social.technet.microsoft.com/Forums/windows/en-US/2dfc0cd9-7d1b-41de-abce-e03fb6a5a383/metro-apps-not-working-in-windows-8-pro-x64-after-moving-users-and-programdata-folders?forum=w8itproinstall
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral
    http://social.technet.microsoft.com/Forums/windows/de-DE/f5e33ac9-beab-4b99-b3ca-7cb5e6f415e4/how-do-you-change-metro-apps-default-install-location?forum=w8itprogeneral
    Regards, Bill
    The registry method does not work with 8.1.  I found this out the hard way.  Doing it on 8.1 will leave you reinstalling the OS if you didn't do a SRP beforehand.

  • How to do an inbound and outbound interfacing using UTL_FILE ?

    dear members,
    How can we do interfacing from a legacy system to oracle and vice versa using the UTL_FILE package. I mean how to do an INBOUND and OUTBOUND interfacing using utl_file.
    regards
    sandeep

    in/
    file/
    bad/
    done/
    out/
    file/
    bad/
    done/
    I would start by ftping / putting the file in in/file/ folder, once ftp has completed move it to complete/ folder and process the file. If errorrs are generated move the file over to bad folder. If completed successfully move over to done folder.
    Having said that you would use UTL_FILE_DIR init parameter to set your directory.
    ALTER SYSTEM SET UTL_FILE_DIR='directory1','directory2' scope=spfile;
    Then you would use the regular utl_file packages to read / write to the files.
    UTL_FILE.FOPEN and so on.

  • How can I configuration MBean in weblogic server  using the console ?

    How can I configuration MBean in weblogic server using the console ?
    I hear people talking about mbeans in weblogic server I have look in the console I can not find where , or how to do it.
    can some body explain that or a link that explain it, how to do it on the console ?

    Hi,
    Registering Custom MBeans from Admin Console is not yet possible. But yes there are ways to Configure and Utilize Custom MBeans ...
    http://weblogic-wonders.com/weblogic/2010/02/16/registering-and-invoking-custommbeans/
    Thanks
    Jay SenSharma

  • Error while creating an outbound idoc using idoc type delvry02

    hi,
         i getting the following error while creating an outbound idoc(outbound shipping notification) using message type " DESADV" and IDOC TYPE " DELVRY02"
    ERROR:
                " SPECIFY EITHER ADDRESS NO OR ADDRESS HANDLE"
    MESSAGE NO: AM053
    Help would be appreciated.
    regards
    leo

    The message is kind of self-explanatory. It seems that some address (delivery address ?) is required but is missing from the IDoc. If it's a syntax error, then the segment with error will appear in red in WE05 transaction.
    It is also possible that you have filled some field that you should have left blank and now SAP is trying to find an address based on that field.
    Check your IDoc contents. It's really hard to tell from the distance since the requirements and configuration could be very different in different systems. Sometimes the OSS note search by message ID and number is also helpful.

  • Creating Outbound IDOC

    Hi All,
    I have a program which generates an outbound idoc. My basic type is PRICAT. My problem is i cannot make the child segments. The segments created are all parent segments.
    How will i make the child segments? what fields do i have to fill up to it child segment?
    Any response will be gladly appreciated!
    Thanks in advance!
    jim

    Hi Jim,
    for correct child segments you have to provide some fields of structure EDIDD.
    Important for the hierarchy relationship are the
    following fields:
    PSGNUM -> Number of parent segment
    HLEVEL -> Hierarchy level
    Example:
    Definition of MATMAS01
    Parent segment E1MARAM
    --> Child Segment E1MAKTM(Child of E1MARAM)
    --> Child segment E1MARCM(Child of E1MARAM)
    > Child Segment E1MARDM(Child of E1MARCM)
    ....... and so on
    ==> In EDIDD structure:
    DOCNUM | SEGNUM | SEGNAM  | PSGNUM | HLEVEL
    000001 | 000001 | E1MARAM | 000000 | 02
    000001 | 000002 | E1MAKTM | 000001 | 03
    000001 | 000003 | E1MARCM | 000001 | 03
    000001 | 000004 | E1MARDM | 000003 | 04
    ....... and so on
    When you are creating the segments,you are responsible
    for the correct sequence of segments.
    With best regards
    Ivan

Maybe you are looking for

  • Java Game and bounds problem

    Hey all, I created four different backgrounds for a project I am creating. (The background are a top down view of a road with sidewalks). I have them named as road1, road2, road3, and road4. I have two questions. My first and most important is if I h

  • BAPI for Purchase Order Vendor Confirmations

    Can any body suggest me the BAPI for the purchase order vendor confirmations transaction code me22n - Tab<b>-(Confirmations)</b> alone. regs, Raja

  • Problem using a WebDynpro-tree in the Portal

    Hi All, I've created an Abap WebDynpro showing a recursive tree. The application works fine when I test it from the SAP server. But when I try implementing it in the portal (EP 6.0) via an IVIEW it won't run. I don't get any type of error - the resul

  • Installation of oracle 10g RAC.

    I need to write a document describing how to install oracle 10g on Oracle Linux 5 update 7 and x86_64 processors, this document will be an internal reference in my company, I would like a starting point, anyone know a website, blog or other place whe

  • Convert to JPEG action fails when packaged as application

    I am having problems with an automator workflow I have set up. The gist of the process is that I specify some images, both tiff and jpeg (or possibly all tiff), and the workflow copies and resizes them into thumbnail, medium, and full size images, an