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.

Similar Messages

  • Error when generating IDoc from MC document - workitem to all the SAP users

    A workflow item with the subject of “Error when generating IDoc from MC document” is sent to all the SAP users' inbox. Is it possible to stop the generation of this work item? If that is not possible, can we limit sending the work item to a specific user/agent instead of all the users in the system?
    It appears that these work item or error message are generated when one of the developers reopen the POs and add line items. Moreover, during that time the procurement team blocked the IDOCs from going out to the vendors when changing and resaving the POs. Therefore, we need stop the generation of error message/work item when the IDOCs generation blocked.

    Please check Rule 70000141which is the default rule for this task. Inside this rule a FM is attcahed which is reading table EDO13 and EDPP1 where agent is retrieved Probably this table entries are not maintained. This Workflow is getting triggered from Message cOntrol I think.
    Please check this link for
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aec8453d11d189430000e829fbbd/frameset.htm
    <b>Reward points if useful and close thread if resolved</b>

  • Error when generating IDoc from MC document

    Hi,
    Our Workflow administrator is getting the following error  in his inbox daily for a particular IDOC type.
    Error when generating IDoc from MC document
    Please let me know how to disable this message.
    Regards
    Elini.P

    Hi  experts,
                i got the error msg when generating idoc from mc document
    this error msg goes to all sap users inbox,how to resolve this problem
    pl give me solutions
    regards
    kumar

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

  • GEnerating IDOC from ABAP Program

    Hello all,
    we have a business scenario where we are usng XI.
    We are generating SO IDocs for the scenario. here are my Questions:
    1. the SO may be a create/modify/reject
    2. they have to pass several checlks like ATP, Flag check etc..(Validation) which we are handling it by a user exit, once the checks are passed we have to generate idocs..i am aware that we do output determination to generte the IDOC but we are opting that.we are trung to generate the idoc thru a z-program. can anybody guide me whether we can generate an idoc thru a z-program, if so can someone provide with a  sample code/steps to be followed.
    Also can a BAPI generate an IDOC?

    hi aarthi,
    not only in your below scenario,for anycase we need a program to generate IDOC for eg MASTER_IDOC_DISTRIBUTE..
    the best advice is to copy an existing inbound/outbound programs and  modify it to your need.this what SAP is also suggesting...
    Cheeers,
    Abdul Hakim

  • Error in generating IDoc from F110

    Hi All,
    Please help me in solving this error, I am strucked in generating I-Doc. from Payment Program (F110).  After running the APP program successfully, I am getting the following message:
    Payment by EDI /  IDoc generation----
    "IDocs were generated for the followings entries.
    Company Code: XXXX, House BankXXXX, Payment Method X.
    IDoc type could not be determined for the IDoc...."
    Though message says IDoc is generated, but not seen anywhere. I have checked in WE02 (I Doc List)
    Here apart from the basic settings for running the APP like, House Banks, bank determinations etc.,
    1. I have maintained----
    EDI Partner Profiles in FI12 and WE20 with partner Type-B.
    2. In OBVCU, Payment Methods/Country: I have done the followings settings to the payment methods---C & T ; Under "C"----Under Payment medium: I have selected Classic Payment Medium Programs: RFFOEDI1  and the same settings in "T" also.
    3. In OBVU, Payment Method in Company code: Under "C": under Form Data: For Form for the Payment Medium: SAP Script and F110_EDI_01 and same for Next form. and the same settings for Payment Method "T".
    4. Maintained the required settings in the Vendor/Customer Master Data.
    5. Also maintained Variant in Printout/Data medium tab in F110
    Pls. let me know what are all the other settings which need to be done apart from the above,  Do we need to do the RFC settings also?
    Can somebody helpme in solving this issue?
    Regards,
    Aman

    Hi,
    The following details i have already maintained in the I Doc type under;
    Outbound parameters of WE20,
    1)Message Type: DRDEB, Receiver port: A000000043, Basic type under IDOC type: PEXR2002
    2)Message Type: EUPEXR, Receiver port: EUPEXPORT,Basic type under IDOC type: IDCREF01
    3)Message Type: PAYEXT, Receiver port: SUBSYSTEM, Basic type under IDOC type: PEXR2001
    4)Message Type: DRDEB, MESSAGE CODE: IHC, MESSAGE FUNCTION: IHC, Receiver port: A000000043, Basic type under IDOC type: PEXR2002
    Inbound parameters:
    Message Type: FINSTA,  PROCESS CODE: FINS
    Plz. let me know if i missed out anything.
    regards,
    Aman

  • Generate IDoc from MM02 automatically !

    Hi All,
    I have gone through many posts, but could find a way where i could generate an IDoc and Dispatch it the moment a Material is saved after changes being done. There is ofcourse a way i.e. to schedule RBDMIDOC in the background at regular intervals. But my requirement is to dispatch the IDoc immediately once the changes have been done.
    Is there any way to achieve this ?.
    Regards,
    Chaitanya.

    Hello Chaitanya,
    Have a look at transaction BD10. The program is RBDSEMAT and it is well documented.
    In ALE configuration, in the partner profile settings, there is a radio button under "Output Mode" named "Transfer IDoc Immed.". If you select that option then it will be sent immediately when BD10 is run for the logical system in question.
    But to answer your question specifically, to create and send the IDoc when the Save button is hit on Material Master Create/Change screen - I don't think there is a direct way to achieve this...only way I can think of is to submit the BD10 program with the single Material no. that is being created/changed within one of the user-exits/BADIs behind the Mat Master. Then again, you'll have problem when in Create mode because SAP won't generate the new Material No. till the very end, so it depends at which point the user-exit is called.
    So in summary, I'd suggest not to submit BD10 via any user-exit but to schedule BD10 in the background every 15/30 mins with partner profile radio setting "Transfer Immed." for the logical system it is attached to so that all mat master changes are replicated frequently, which I believe is the purpose of BD10.
    Hope this helps,
    Cheers,
    Sougata.

  • Generate Idoc from Remote function call

    Hi,
    Earlier i have done RFC which is been called with JCO and and sends datastream as well xml.
    Now my doubt, is it possiible to generate the idoc for external application through RFC call from JCO?
    if so, can anyone send me appropriate links or advice on the subject!
    My main concern is i can generate the idoc through RFC call basing on the calling parameters,,, but how to pass the idoc structure for them?
    for XML i used Export: E_XML     TYPE     STRING
    for data stream: ITAB     LIKE     ZSTR_ITAB.
    Any inputs will be of great helpfull...

    Assigned resultant idoc structure to the Table parameter of type EDIDD in created BAPI.

  • Generating Idoc from payment meduim format MT103

    I want to generate an Idoc using payment meduim format mt103 with type Idoc.
    Can I do only by configuration.
    Thank for help.

    Thank you very much for your help.
    I have done that configuration but the Idoc is not generated. Below is the log file of my proposal when executing F110:
    Job started                                                                         
    Step 001 started (program SAPF110S, variant &0000000006728, user ID SKH1891)        
    Log for proposal run for payment on 18.02.2005, identification PMW2                 
    End of log                                                                          
    Step 002 started (program SAPFPAYM_SCHEDULE, variant &0000000000134, user ID SKH1891)
    Payment media created in format Z_MT103                                             
    An IDoc without a message type was passed to the ALE layer                          
    Job cancelled
    Thank you

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • IDoc from User Exit

    Hi,
    Can you please give some idea or some useful links for information on generating IDocs from User Exits.
    For example, while creating a Sales Order I need to trigger an IDoc with the document number, plant, partner functions, and netvalue to the PI system. Please give some inputs for the same.
    Regards,
    Renjith

    Make the settings for IDoc processing (partner profiles, ports, destination, etc) fill the IDoc structure and call function module master_idoc_distribute  
    Also have a look at documentation:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/78/21783151ce11d189570000e829fbbd/frameset.htm

  • POS DM Reversed Transaction not able to generate Idoc

    Hi Expert
    I am able to generate Idoc to sap retail from pos dm in transaction type 1001(Sales), but no idea how to do configure refund/ Reversed Transaction? Is Reversed Transaction using message type WPUBON/WPUUMS?

    Hi Jack,
                To configure task for reversal use following navigation path
    Goto Tcode /n/posdw/img
    POS Data Warehouse Management -> POS Inbound Processing -> Tasks -> Tasks for Task Groups
    Now configure all your relevent task for task group 0009 for Tasks Relevant for Transaction Reversal
    For e.g.
    Profile type                                       
    Task Group
    Description
    Code
    Description
    YR01
           0009 
        Tasks Relevant for Transaction Reversal
    0001
    Supply BW Immediately, Non-Aggr., w. Distribution
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0002
    Sales Audit Performed, Manual Task
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0010
    Generate IDoc WPUBON
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0011
    Generate IDoc WPUWBW
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0012
    Generate IDoc WPUFIB
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0013
    Generate IDoc WPUTAB
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0014
    Generate IDoc WPUUMS
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0015
    Credit Card Settlement
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0017
    Supply mySAP ERP Inventory Management
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    0020
    Supply SAP Forecasting and Replenishment
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    2001
    Material/Stock
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    2002
    Material/Stock with Taxes and Discounts
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    2011
    Register/Cashier/Department/Means of Payment
    YR01
           0009
        Tasks Relevant for Transaction Reversal
    2012
    Means of Payment
    Hope it will help....
    Regards
    Ajaya Kumar Mishra

  • How to generate an OUTBOUND INVOICE IDOC from the ABAP Program?

    How to generate an OUTBOUND INVOICE IDOC from the ABAP Program? Any Function Module that can be used for this?

    Hi
    This is more of configuration
    (1) Create a Output type with Medium 6 ( Check with your functional consultant)
    (2) Maintain Partner Profiles using WE20 transaction
           Idoc type - INVOIC02
           Message type - INVOIC
           Process Code - SD09
    Regards
    Madhan D

  • Identifying triger point & stoping an idoc from getting generated in SD

    We have 2 boxes
    KLE 420 ( CRM box) & KLE 430 ( SC box)
    As per original business flow
    1) Sales order is generated in 420 ( order type Z001, item category ZAN1 )
    2) idoc is generated and message/details is transferred to 430 ( Z002, ZAN2 )
    3) in 430 the delivery & shipment is created and idoc is generated and transferred back to 420 where the invoicing happens.
    As per new flow
    For some selected orders, the initiation(SO) and processing needs to be completed in 430 (SC) only
    When I run an order cycle, a few things I need to know is
    1) how do I identify for which steps in the order cycle, an idoc is being generated
    2) how can I stop this Idoc from being generated ?

    Hi there,
    From my experience I have seen IDOCS triggered by O/p types that are assigned to SD documents in SAP.
    If that is the case, then check the sales orders what O/p types it is triggering & which O/p is triggered by EDI.
    Delete the condition records for that particular O/p which is triggered by EDI. This will make the O/p not generated.
    Also remove the O/p type in the determination procedure of you dont need that O/p at all. Or in the requirment routine, specify a condition like sales org or order type for which the O/p should trigger. So basing on the condition you mentioned, system will trigger the O/p accordingly.
    If IDOCS are not triggered by the O/p type, then it is trigered by an external prog. In that case, specify a condition (like above) that system should not trigger the IDOCs.
    Hope this helps.

  • How to generate an idoc from invoice cancellation (VF11)

    Hi
    How to generate an idoc from invoice cancellation (VF11)?
    Can someone help ..
    Regards
    Pratiksha

    Hi,
    You can generate an IDOC from invoice cancellation.Define a new "Z" output type for this cancellation billing document type and select the medium as 5(EDI).Check with your ABAPer for this.
    Regards,
    Krishna.

Maybe you are looking for