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

Similar Messages

  • 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

  • Is it possible to use BAPI-ALE to send an idoc using the message control?

    Hi Guys
    Is it possible to use BAPi-ALE to send an IDOC using a message control?
    I have configured the system to send an IDOC when a outbound delivery is saved in the system.
    I have done the following.
    1). I am using the std BAPI-ALE interface provided by the object type LIKP.
    2). I am using the method SAVEREPLICA for which an interface already exists in BDBG transaction.
    3). I hace created a distribution model in BD64 and added the BAPI - LIKP and SAVEREPLICA
    4). Created a partner profile ( using the generate partner profile option in the BD64 transaction )
    QUESTION:
    1). How do i associate the custom OUTPUT type created for Delivery ?
    2). I tried to associate the custom output type in the Partner profile definition under the message control tab but i am not sure which Process code to be used? Since the partner profile was generated automatically from BD64 it has an entry for SHP_OBDLV_SAVE_REPLICA as a message type in the outbound parameters. and i am unable to find a process code for this Message type in WE41. So what process code should i use in the Message control tab against the custom output type?
    3). Do i need to leave the message control tab empty without making any entry? If yes then how would the system come to know that it needs to trigger this partner profile when the custom output type is proposed by the system?
    will award points for useful answers
    Edited by: Workflow  learner on May 29, 2008 8:49 PM

    "any way"
    Applications such as ScreenRecycler, http://www.screenrecycler.com/ScreenRecycler.html, can do it.

  • Outbound delivery with Inbound IDOC DELVRY06 with Message type SHPCON

    Hi Friends
    I am trying to pack outbound delivery with Inbound IDOC DELVRY06 with Message type SHPCON.
    But IDOC has error Specification of destination HU missing.
    Could you please help us to resolve the issue to Pack the outbound delivery with the  IDOC.
    Thanks
    SR

    HI Ian Kehoe
    Sorry for delay in reply
    Thanks you very much
    I solved that problem .
    Could you please advice  test data for IDOC  DELVRY06 packing hierarchy (multi level packing) to pack SAP outbound delivery.
    Thanks
    Ravi

  • ALE with Message Control

    Hi Guys,
    I have a small problem. I wish to trigger an IDoc to my Vendor as soon as a Purchase Order is created in my system. I am using Message Control for it.
    All the configuration for proposing the output type have been done and I am getting the desired output type shown in the "Messages" with correct recepient . But when the PO is saved and the Idoc is generated I find that the IDoc is sent to some other Logical System and not to the vendor.
    I have created the partner profile for the Vendor with the outbound parameters.
    Can anybody tell me what am I missing or could be wrong in my settings?
    Regards,
    Prakash Pandey

    Do you have a specific requirement?
    For  example, purchase order message control parameters will look like this,
    Message type - Orders
    application - EF
    Message type - NEU
    Process code ME10
    For purchase order change,
    Message type - ORDCHG
    application - EF
    Message type - NEU
    Process code ME11
    Change flag set

  • Dataguard creation with Grid Control

    hi all
    i'm trying to create a physical standby database with grid control. (asm to asm)
    after setting various properties in the wizard, grid goes on creating a broker config and when it gets to the step "preparing standby database creation" it fails with "ERROR: invalid username and/or password."
    no more info on where it fails.
    preciate if anyone has any tips on what to check.

    Hi jstem,
    thank you for your help
    The initial status of the DATAGUARD is SUCCESS, and all is working fine with the BROKER.
    The"Availability"=>"Dataguard Administration" page is correct, all the indications are right, except :
    - Estimate Failover Time : Not available
    Here is the output of 'Verify Data Guard Setup'
    Initializing
    Connected to instance srv-bdd02:PHOENIX
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Skipping verification of fast-start failover static services check.
    Data Protection Settings:
    Protection mode : Maximum Availability
    Redo Transport Mode settings:
    PHNXFIN: SYNC
    PHNXENT: SYNC
    Checking standby redo log files.....OK
    Checking Data Guard status
    PHNXFIN : Normal
    PHNXENT : Normal
    Checking inconsistent properties
    Checking agent status
    WARNING: No credentials available for target. srv-bdd01
    Attempting agent ping ... OK
    WARNING: No credentials available for target. srv-bdd02
    Attempting agent ping ... OK
    Checking applied log on PHNXENT...OK
    Processing completed.
    Yes, i've already investigated about credentials ...
    ALL the credentials are OK for hosts, instance, agent, .... don't know where to add more credentials ....

  • Outbound idoc creation with MIGO

    Hello,
    I need to create outbound idoc when the GR is created (MIGO).
    I created one output type (ME) with the processing program RSNASTED and form routine ALE_PROCESSING. Unfortunately, the rsnasted does not work, as I can not create message type MBGMCR in BD64 (Model). MBGMCR belongs to BAPI.
    Do you know the way how to proceed?

    yes it is BAPI. sorry for the confusion.
    Edited by: Vijay Babu Dudla on Sep 24, 2008 6:13 AM

  • IDoc generation with Message Type HRMD_A with filter on Personnel Area

    Hello All,
    We are facing an issue in generating IDoc using the standard message type HRMD_A.
    When we have no filters on the Distribution Model, the IDoc is generated through RBDMIDOC. When we use the filter on BUKRS, it generates the IDoc but gives an error status "Cross-system company code XXXX does not exist". I know to how resolve this issue. But, we tried to filter the changes with Personnel Area this time. So I have used the field PERS_AREA in BD59 with segment type E1PLOGI. When I run the standard report RBDMIDOC it gives the message "No data selected for distribution".
    I have checked the field name PERS_AREA from table TBD10, and it is mapped to T500P-PERSA. Change pointers are triggered and stored in BDCP2. Request experts to suggest what could be wrong with this.
    Thanks,
    Anil

    Hello Michele,
    If you have added BUKRS in BD59 for the message type, you will see Company Code (not filter1) in your filter criterion in BD64.
    Have you included the following code in FILTER_VALUES_SET method of the BADI implementation.
      CHECK OTYPE = 'P '.
      SELECT * FROM PA0001
               INTO PA0001 WHERE PERNR =  OBJID
                           AND   BEGDA <= SY-DATUM
                           AND   ENDDA >= SY-DATUM.
    record is valid today, no authorization check
        EXIT.
      ENDSELECT.
      IF SY-SUBRC = 0.
        FILTER1 = PA0001-BUKRS.   ELSE.
        CLEAR FILTER1.
      ENDIF.
    Lastly, just make sure the record you are testing for has your desired company code PGPB.
    Regards,
    Anil

  • Can u explin  the IDOC creation with ALE/EDI   step by step .

    can you provide detalied code for i doc creation

    hi
    good
    Do the following steps, idoc will trigger automatically.
    If you need additional logic you have write user exit.(for first step you don't need coding).
    Go to NACE and select V2 and click output type from menu.
    Give following value.
    Condition component Value
    Access sequence 0005 (sales organization/customer)
    Condition 0 (no condition)
    “Exclusive” select
    Output type LAVA (shipping notification outbound)
    Procedure V10000 (shipping output)
    Application V2 (shipping)
    Processing subroutine Program RSNASTED,
    form routine EDI-PROCESSING
    General data Select Condition access and Multiple sending of output, otherwise
    leave the fields blank
    Time e.g. 4 (immediately, IDocs are generated immediately after
    posting)
    Transmission medium 6
    Partner function WE
    Language DE (German)
    You must maintain following values for outbound partner profile.
    Message type : Desadv
    Partner type : Ku
    Partner function : WE
    Port : Subsystem
    Outbput mode: Collect idoc
    Basic type : Delvry01
    Packet size: 1
    Application: V2
    Output type : LAVA
    Process code: DELV.
    You can post the delivery by selecting Logistics &#8594;&#61472;Sales and Distribution &#8594;&#61472;Shipping, Delivery
    -->Create (transaction VL01). Output control is used to find the condition record and the shipping
    notification is sent to the customer via EDI (IDoc Interface). The shipping time in the condition
    record determines when the corresponding outbound IDoc is generated
    On the Create Condition Records (Outg. ship notifica.): Fast Entry screen:
    -->Enter customer number in Customer, SAP Ship-to # .
    -->Enter WE in PartF.
    -->Enter 6 in Medium.
    -->Enter 4 in Time.
    -->Enter EN in Language.
    -->Choose Save.
    thanks
    mrutyun^

  • How to solve the INFREC Idoc failure with message type

    Hi,
    Please let me know how can we solve the INFREC Idoc with the message type" Not possible to set tax code without tax calculation schema"
    Pl suggest me how to tackle this Idoc failure.
    Regards
    Raj

    Hi,
    An\ybody..please suggest.. It is very urgent..
    Regards
    Raj

  • Idoc creation - Different Message types

    Hi All,
    Is there an efficient way of  to create both DEBMAS and ORDERS message type idocs within the same same ABAP program?
    Please advise.
    Regards,
    Meghna

    Thanks for your reply.
    We have lot of custom development and we have to go with an ABAP program to create these Idocs.
    Here's what I am planning to do:
    fill DEBMAS05 idoc type.
    append EDIDD.
    fill ORDERS05 idoc type.
    append EDIDD.
    I'm planning to use INBOUND IDOC Process function module to create these idocs.
    For performance reasons do you want me to call this FM twice or only once for both ( by appending EDIDD both debmas and orders records ).
    Please advise.
    Meghna

  • COPA validation with message control

    Dear All,
    I would like to setup the system to prompt the error message if users not input PLANT in Profitability Segment when doing FB50.
    The main problem is where to control the message. I tried "Define Validation" - OKC7, but I couldn't found a Application Area that contains
    the Profit. Segment. Otherwise, this Validation function is good for message prompt.
    I don't want to set "Maintain Characteristic Groups" for field Plant to be REQUIRED. As only one Company Code wants to have this control.
    Where I can do it ?

    You can try to use FI validations via user exit. there you can judge whether the field plant is entered or not for  specific company code and issue customer message correspondingly. Remember to use table CE4XXXX_ACCT for fields selection.

  • Debug form with message control

    Hello,
    I' need debug a form (SE71) when a message is printed. For example, type message ZFRG, transaction ME42, i save the new message but not activing debug (before, i go to se71 and 'utilities' -> Activer Debug)
    How can i do?,
    thanks very much

    Try to activate UPDATE DEBUGGING while saving through ME42.
    Regards
    Vinod

  • Ale/Idocs ..... what is the role of  message control

    Hi Guy s..
    Can Any one.. tell me..  Importance of message  control , Stand alone and  change pointer s in Ale  Idoc''' and where to use...

    Hi,
    Message Control:
    With Message Control is documents are output based on
    certain conditions. In ALE scenarios this is basically used for transfer transaction data (fulfilling configuration settings defined in message control) from one system to another system.
    Example: If you want to send purchase order IDocs from customer to vendor system using ALE. When saving of purchase order the IDocs should be triggered. Further the IDocs should only be sent when the purchasing document fulfils certain conditions - purchase document of a certain document type only needs to be sent. By output control we can configure the conditions and the timing (when the document should be triggered) and using ALE (as interfacing technology) we can send IDocs (containing application data fulfilling conditions) from one system to another system.
    For More Info on Message Control,
    /people/gajendra.bhakuni/blog/2007/03/13/message-control-output-control-for-ale
    Change Pointers:
    Change pointers are the mechanism through which you can send data to another SAP system or external system if there is a change happening to specific fields of master data.
    Change Pointer (Master Data Distribution)
    Purpose
    If you want to distribute master data changes with the SMD tool (Shared Master Data), changes to the master data objects are flagged for distribution by change pointers ( ® Master Data Distribution).
    The SMD tool is connected to the change document interface. If the master data changes are to be distributed, the application writes a change document. The contents of this are passed to the SMD tool. The tool writes change pointers, reads the application data and creates the master IDoc.
    The master IDoc is then passed to the ALE layer, which sends it to all interested systems.
    The change pointer tables (BDCP und BDCPS) should be as small as possible. Use as few change pointers as possible and delete change pointers which you no longer need.
    do the following steps for Change pointers ::
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    go through this link which ll give you detail about the change pointer
    http://www.angeli.biz/www5/cookbooks/workflow/workflow_30/docu.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm
    http://help.sap.com/saphelp_470/helpdata/en/dc/eb683c00e8a646e10000000a11402f/frameset.htm
    Regards,
    Padmam.

  • Outbound with and with out message control

    hai All,
    In Out bound process when to go with message control and when to go with direct(without message control)?
    thanks in advance
    Praveen

    Hi,
    There are two ways to trigger an outbound idoc, 1. thru message control
    and 2. without a message control.
    Message control comes into picture if the application document is controlled by a output type.
    Suppose a purchase order is created, then to send the purchase order to vendor, with the help of output type, the idoc will be triggered. This output type along with message type will be configured in Partner profiles.
    Without message control comes into picture if its a master data like Customer master r Material master. U can use BD10,BD11 etc.,
    Regards
    Kannaiah

Maybe you are looking for

  • Error in IDOC creation of Inbound Delivery (VL31N) with  Error Message Number VL561

    H,   I'm getting an error message when generating a test IDOC of Message type DESADV and IDOC type DELVRY03 to create Inbound delivery with reference to a standard purchase order. Essential transfer parameters are missing in record: PO Number and Ite

  • Trust manager issues

    I have a pdf with hyperlinks that have webpage associations. When I click on the hyperlink, I get a "security block" dialog box. I go to the trust manager on my acrobat 9 extended pro application, and set the preferences to "allow all websites" This

  • E55 Thread for Firmware Bugs

    I noticed that there isn't yet a thread in order to report E55 firmware bugs, so I started this Here the firmware bugs I've found: - Hidden WLAN: when you search for wireless access points (for example from the main screen) the phone see always one "

  • Captivate 6 publishing to HTML5 for Android 4.1

    Now that Android has officially dropped support for Flash with version 4.1 (aka "Jellybean"), does anyone see hope for Adobe making improvements in the ability for Captivate 6 to publish HTML5 files for the Android environment, that run properly (inc

  • FCPX freezes when attempting to import media

    Hello, I'm having trouble when attempting to import media to FCPX in that it won't even open up the browswer window to select files - it just hangs and I have to force quit. I have the latest version of FCPX and have used this previously without issu