Create Idoc from transaction

Hi,
I want to create a Idoc from a transaction.
For example, if i will execute transaction "MM02" to change the material detail then i want to create a idoc for that changed material,
Does anyone have idea regarding this?
{{Actually remaining configuration i have done to sent a idoc from one system to other system but right now i am generating idoc manually using transaction "BD10" in which i am selecting the material manually.
Now i want the whole procedure to be done automatically so that whenever a change in material will be done, a idoc will be generated.}}

Actually i have already set "Trigger idoc immediately" in WE20. I am using Transactional RFC instead of file in we21.
Configuration for WE21 is for port defination i am using transactional RFC which is defined in SM59.
In WE20 i am creating Logical system in which i am using message type MATMAS in outbound for which i am using transactional RFC in receiver port.Output mode i am choosing "TransferIdoc immediately". and Idoc type is "MATMAS02".
In BD50 i am assigning change pointer to "MATMAS".
Also i have created distribution model but i am not able to distribute which i have already told u.
At the receiver side i am creating another logical system in WE20 in which i am defining message type "MATMAS" as inbound parameter.Process Code is "MATM". and i am choosing "Trigger immediately" in processing option.
So this is the configuration i have done and i m able to send idoc successfully but still i cant make it automatically. I have to use transaction bd21 to create idoc from change pointer. This is the only problem i am getting.
So anything else is required to be done????????

Similar Messages

  • Error while creating IDOC from payment run

    Dear All,
    I 've alredy done all EDI settings for creating IDOC from payment run. But system in not generating IDOC as end with a result as "House bank is not designated as a EDI Partner'.
    Please suggest how to define house bank as a EDI partner.
    Regards,
    Subhash

    From We20 u have to create the partner profile for the bank u r using in ur transaction. In we20 select the partner type B (Bank) and as Partner no give ur bank numbrer.
    Regards,
    Joy.

  • I need help to create  idoc from scrach.

    i need help to create  idoc from scrach.

    Swamy Katta,
    Please read "[the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]" before you post any further, and confirm that you have read them?
    => Search first, ask questions later please!
    Julius

  • Create IDOC from file

    I have received an IDOC order file, and I know there is a standard program RSEINB00 to create IDOC in system.
    I would like to delete/add segments, change field contents in segements in the IDOC according to some of the segments in IDOC. Where can I manuplate it?
    Thanks for your advice.

    I am not test an IDOC file. I regularly receive IDOC file and need to manuplate the content, e.g. delete some of the segments, determine and fill in field content in some segments.
    I just wonder if I can change the IDOC content after it is created in system, just like what I can do in WE19, but using a program. Is there any standard program for this purpose?
    Or is there any user exit I can use when creating IDOC from file?
    Thanks.

  • Generate idoc from Transaction

    Hi,
    What are the settings/configurations need to be done in ECC 5.0 for generating an idoc from a transaction. I am executing a transaction C202 for changing BOM
    Thanks

    Hello,
    BOM is a master data. The technique mostly used to send master data is via Change Pointers wherein for any changes taking place in the master data, change pointers are written in the change pointer table (table BDCP).
    A program (RBDMIDOC) has to be scheduled in background which reads the change pointers and sends the IDOC to the destination system.
    Also for BOM transaction BD30 can be used to send BOMs to destination logical system.
    The technique for generating an idoc from transaction is called mesage control (or output control). It is valid for transaction documents (like sales order, purchase order etc).
    Hope this helps.
    Regards,
    Gajendra.

  • Create IDoc from flat file - How to do the message mapping

    Hi everybody,
    I want to create an IDoc from a flat file.
    The file structure looks like this:
    MT_XYZ
    - Node001       0...1
      - Leaf001
    - Node002       0...unbounded
       - Node003    0...1
          - Leaf002
          - Leaf003
       - Node004    0...1
          - Leaf004
       - Node005    0...1
          - Leaf005
    I have created a mapping and all the other stuff to set up the IDoc adapter.
    Now when I try to test the interface the IDoc is created properly but obviously no information from the nodes "Node003" to "Node005" is inserted in the IDoc. Only the information kept in the elements (leafs) of "Node001" are inserted.
    All IDoc segments and their "Segment" elements are linked to the root node of the file structure "MT_XYZ". I tried to link some IDoc segments only to "Node002" but then this segment is not created.
    So how can I set up the message mapping in a way that the information from "Node003" to "Node005" is transported to the IDoc? Can anyone help me here?
    Thanks in advance for all answers!
    Regards,
    Torben
    Edited by: Torben Hönemann on Dec 14, 2009 4:26 AM

    Hi Torben,
    >>I want to create an IDoc from a flat file.
    So you are using File content Conversion on the sender side. Right?
    >>no information from the nodes "Node003" to "Node005" is inserted in the IDoc.
    Are these information available in the source XML (you can check in transaction SXMB_MONI-> Input Payload).. There is a limitation in File Content Conversion of File adapter and it is that I can make an XML structure of 3 level.. Since these nodes details are in level 4 and 5 they should be missing in Source XML structure itself (after content conversion of File adapter). check that
    >>So how can I set up the message mapping in a way that the information from "Node003" to "Node005" is transported to the IDoc? Can anyone help me here?
    So you need to take an alternate approach where you do File Content Conversion and make 3 level structure.. then using a mapping convert this three level structure to your 5 level one and then try to map with the idoc.
    Check this blog for an idea
    http://www.riyaz.net/blog/xipi-file-content-conversion-for-complex-structures/
    http://www.riyaz.net/blog/xipi-convert-flat-file-to-deeply-nested-xml-structures-using-only-graphical-mapping/
    Regards
    Suraj

  • Create IDOCs from DMEE Files

    Hi SDN,
    Can I create Custom IDOCs from the DMEE file format.
    The file is getting downloaded after the DMEE Run in a specific format individual to every company code.
    I want to generate IDOCs for every DMEE Run.
    Thanks,
    Manu

    Take a look at this :
    http://www.sappoint.com/ppt/idoc.ppt
    you need to create File port in Tr.WE21 , as file port
    Then you have to sechdule the program RSEout00 to collect Idocs .
    You can test it in Tr.WE19 , you can also use the Tr.BD87 to see your Idoc status
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • Creating IDoc from DMEE File Format

    Hi SDN,
    Can I create Custom IDOCs from the DMEE file format.
    The file is getting downloaded after the DMEE Run in a specific format individual to every company code.
    I want to generate IDOCs for every DMEE Run.
    Thanks,
    Manu

    Hi,
    your problem is just like filling the segements using the data in other segements. that means if you have knowledge of enhancing the idoc and populating the enhanced segments then in the same way you can populate the BATCH segment also.
    you just go to the function module which will be creating the idoc(if its outbound) / function module which will be posting the idoc which is for inblund and then find the perform where it fills the segments ( it will be the one which you will use to fill the segment BATCH )and go that and at last of form you will find one customer function which you can use to fill the BATCH segment.
    i think this will help u,
    Regards,
    Ravi

  • Create Idoc from program

    Hello Friends.
    I want to create a inbound IDOc from program which has delivery items for IDOC type DESADV01.
    How can I create an IDOC from program?
    Regards,
    RH

    Hi ronny
    look this..http://help.sap.com/saphelp_nw04/helpdata/en/78/21785851ce11d189570000e829fbbd/frameset.htm
    hope this help you
    Marco

  • Looking for "Creating IDocs from Outbound Deliveries 101" guide

    Please forgive what is probably a very stupid question as I am very new to the subtleties of SAP interface configuration. I am looking for a guide to as to how to set up SAP4.7 to create an IDoc from the creation (or update) of an outbound delivery. I'm think I'm looking for a SHPORD IDoc, and I thought I'd set up all the necessary stages, but I create a delivery and no idoc appears.
    If anyone knows of a "basic configuration guide" to get a SHPORD idoc from a delivery then please point me in that direction.
    Thanks!

    check here https://www.sdn.sap.com/irj/sdn/wiki
    SAP R/3(Idocs) to XI - Steps Summarized

  • Create IDOC from XML file

    Hi,
    I want to create Scheduling Agreement from idoc using XML file means i am receiving XML file and i want to convert this XML file into IDOC and finally process this IDOC to craete scheduling agreement.
    But i don't have any idea for this.pl. tell me what should i do for this.
    Thanks,
    Rahul

    Hi,
    You are receiving XML file and you want that to converted into the IDOC and inturn to be processed in your system, for this you need to create an XML port and you need to read the file from that port then an IDOC will be created.  Create an XML file port in WE21 transaction and then goto WE16 transaction and you can use that transaction to upload a file as an IDOC into the SAP system.
    Once the IDOC is created rest of the activity is same.
    Thanks,
    Mahesh.

  • How to create IDOC from Function module or RFC

    Hi all,
            I have tested one inbound IDOC for Time Upload to CAT2 using basic type "CATS_INSERT01"  in WE19 through function module BAPI_IDOC_INPUT1 .It works well.
    Now i need to create this IDOC once the sale order gets created thru BAPI.
    For creation of Sale order i wrote one RFC in which i will call the Standard Sale Order Bapi.My question is once the Sale order gets created in that RFC How do i trigger the IDOC for CATS upload.

    Hi,
    Which SAP product of wich release of which SP are you using ?
    The procedure is documented in help.sap.com and in blogs and SDN forum messages.
    It means that the use of the SEARCH button should give plenty of answers...
    >When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign >namespaces"
    As usual, begin your choosen name with an "Z".
    Regards,
    Olivier

  • Create idocs from custom program

    hi
    i have a custom program and will have custome segements.
    so i can fill both control and data records.from here i need to generate idoc..any FM's to do this??
    appreciate any help.
    thanks
    siva

    Hi Siva ,
    There is no FM to fill segments data , you need to write your own logic fill IDOC data ,
    then use 'MASTER_IDOC_DISTRIBUTE' to send IDOC.
    check this sample code :
    DATA :idoc_line       TYPE edidd,
          idoc_data       TYPE STANDARD TABLE OF edidd.
      x_a00-transaction_type  = c_trans_type_a00.
      x_a00-organisation_id   = x_externalid.
      x_a00-file_type         = 'XXX'.
      x_a00-creation_date     = sy-datum.
      x_a00-creation_time     = sy-uzeit.
      x_a00-generation_number = ''.
      x_a00-int_file_type     = 'XXX'.
      idoc_line-sdata  = x_a00.
      idoc_line-segnam = 'ZX_A00'.
      cnt_no = cnt_no + 1.
      idoc_line-segnum = cnt_no.
      APPEND idoc_line TO idoc_data.
    DATA : x_idoc_control like edidc.
    x_idoc_control-mestyp = x_mestyp.         "Message type
    x_idoc_control-idoctp = x_idoctp.         "Basis Idoc Type
    x_idoc_control-cimtyp = space.            "Customer extension
    x_idoc_control-mescod = space.
    x_idoc_control-sndpfc = space.
    x_idoc_control-sndprn = x_sender_no.
    x_idoc_control-sndprt = x_sender_type.
    x_idoc_control-rcvpfc = space.                 "Partner Role Receiv.
    x_idoc_control-rcvprn = x_distributor.         "Partner Nr.
    x_idoc_control-rcvprt = x_sp_type.            "Partner Type Receiv.
    Regards
    Appana

  • Creating ZDCR from Transaction Charm_Create

    Hi All,
    I have Copied customized standard Change Request SDCR to ZDCR.
    Assigned this in DNO_CUST04...
    but when i create a Change request from Charm_create, it still picks the SDCR !!!
    is there any customization which i have missed?
    Thanks in advance.
    Regards,
    Pradeep L

    Hi Prakash,
    Am talking based on Status Profile.
    Regards,
    Pradeep L

  • Creating IDOC from ABAP  Program

    Hi folks,
              Could any one tell me the procedure how to process IDOC form ABAP program. for example i want to send MATMAS idoc to other system. now we are able to send through Tcode BD10 to XI.  we jsut want to send through ABAP program. is it possible to do so..if so  could u pls let me know the procedure..thanks in advance.
                   santosh.

    Just check abap program RBDSEMAT.
    In short:
    - select the materials you want to send.
    - call following function module:
                    CALL FUNCTION 'MG_IDOC_CREATE_FULL_MAT'
                      EXPORTING
                        rcvpfc       = ' '
                        rcvprn       = receiver_prn
                        rcvprt       = receiver_prt
                        sndpfc       = ' '
                        sndprn       = ' '
                        sndprt       = ' '
                        message_type = mestyp
                      TABLES
                        marakey      = t_matkeypack
                      EXCEPTIONS
                        OTHERS       = 0.

Maybe you are looking for