Creation of maintainence order idoc

Hi all
How to create an outbound idoc for the maintainence order IW31 ? i have learnt we can use IORD tcode to create idoc for the maintainence order but i am not able to create idocs successfully with IORD? if anyone has used this tcode for creating idocs plz help me ? or is there any other way to create idocs for plant maintainence order?
Points will be awarded to the fullest.
Regards
Uday

Hi udday kirran 
have you Maintain Output Determination for this  Document
Sales and Distribution>Basic Functions>Maintain Output Determination for Sales Documents-->Maintain Output Types
output type EDI then send it
thanks
Amit Shivhare

Similar Messages

  • Creation of Sales Order and Service Contract from Inbound IDOC

    Hi Experts,
    My requirement is to create a Sales Order as well as a Service Contract from one Inbound IDOC. I am getting the Inbound IDOC from a third Party. The message type is ORDERS and Basic Type is ORDERS02. How ever i am using an extension type IDOC which carries all the required data for Sales Order and Service Contract. My requirement is like, to create a Sales Order first.
    I have created a Z FM which is attached to the Process Code and subsequently to the message type. Inside the FM i an calling FM 'IDOC_INPUT_ORDERS' for creation of Sales Order. After that i am changing the IDOC data for the Document Type. I am changing the document type which is responsible for Contract Creation.
    Then I am again calling the FM 'IDOC_INPUT_ORDERS' for creation of Contract with the help of IDOC data. But here the Contract is not getting created. It's getting failed during the Batch input session.
    I need to solve this problem as soon as possible. Please help me. If there are any other options also please share.
    Thanks in Advance.
    Regards,
    Priyabrata

    Actually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
    Regards,
    Priyabrata

  • Sending Order Number via IDOC upon creation of Sales Order

    Hi Experts,
    I have a requirement where i receive an order from an external system to SAP as an IDOC.
    Upon arrival, i have to create the Order in SAP and send the Order Number back to the external system in the form of IDOC.
    How can i accomplish this? Kindly share your expertise on this with me.
    Thanks in advance.
    Regards,
    Keerthi

    Hi Gary,
    Now when the Order is posted in SAP, i need a method which will automatically trigger the Outbound IDOC from SAP rather than me doing so manually.
    Is there a way i can track the creation of the Order in SAP and somehow configure SAP to trigger the Outbound IDOC with the Order number automatically?
    Thanks in advance,
    Keerthi

  • Maintainence order bapi problem - to get time of MO creation

    Hi ,
    I am using
    BAPI_ALM_ORDERHEAD_GET_LIST  to get maintainence orders from ECC
    It is giving me details like who created the order and when.
    I also need to find out at what time the order was created.
    But the return has 9 output time data and i am not able to understand which of these denote which time field returns the MO order creation time
    I also tried
    BAPI_ALM_ORDER_GET which gives back the details of any MO but
    again i face d the same problem.
    Can anyone help me to find the field which stores
    the time at which MO is created.?
    Also if possible can one please explain -
    what do all the various time fields denote?
    Thanks and Regards
    Points assured for help.

    I think it is ACTUAL_START_TIME field.
    But anyways after executing the BAPI, You will have all the Order details in the return parameter.
    Go to AUFK table give one order number to AUFNR. And check the entry date and map the value to the return parameters in the BAPI

  • Initiate Sales Order IDOC creation

    I configured Message Control for sending IDOC on Sales Orders create / change in VA01 / VA02. It works.
    IDOC type: ORDERS05
    FM: IDOC_OUTPUT_ORDRSP
    2 questions:
    1) How can i send the same IDOC from my program whenever i want. In other words - initiate Sales Order IDOC creation.
    2) Will be IDOC sent when Sales Order status is changed:
    - Delivery in VL01N
    - Sales Order is canceled

    Hi,
    Please clarify if you want to send all the sales order by a report or sales order for specified condition. If you are able to find a standard program that populates ORDERS05 idoc type and send it is well and good. other wise you need to fill these segments by custom select statement and send it.
    Thanks & Regards
    Ramachandran Babu

  • Production Order Idoc Creation

    Hi All,
    I need to create a idoc when a Production Order is released.
    Can someone letme know how to do the same.
    Regards,
    Rahul

    Hi Rahul,
    You can use standard program RCCLORD or RCCLTRAN to create production order IDoc.
    Please ensure you have setup the ALE and IDoc configuration prior to run above programs for message type LOIPRO. For examples, the Distribution Model (BD64), Partner Profile (WE20), RFC Connection (SM59) and File Port (WE21).
    Hoep this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Sales Order IDOC creation using IDOC_INPUT_ORDERS

    I am trying to create a Sales order IDOC (Inbound) from a flat file using the FM - IDOC_INPUT_ORDERS .
    I am able to create the sales order. But I don't see the idoc getting generated anywhere.
    I see the import parameter - DOCUMENT_NUMBER coming blank. Why is the IDOC not getting generated ?
    Any tips will be useful ?
    Can we create Inbound SAles Order IDOC using 'MASTER_DISTRIBUTE_IDOC'  FM ?
    THanks.

    Hi Shareen Hegde 
    To create Inbound...idoc
    Use the Function Module in you Program : IDOC_INBOUND_WRITE_TO_DB to create the Inbound idoc
    Pass the Control record and Data record in FM.....
    Use Message type : Orders
    IDoc type : Orders01 or 02 or 03 or 04 or 05 ....  which ever suite for your requirement....
    Process Code : ORDE
    When ever your custom program for creating the inbound sales order with  runs .....
    it call the internally FM IDOC_INPUT_ORDERS to create the Sales order...
    or
    If you are getting the inbound idoc from subsystem .....then check you partner profile ,Message type ed and Process code is correct or not....
    I hope this resolves your issuse..
    Ramesh

  • Creation of sales order through Purchase order

    Hi all
    We have a special scenario in creation of Sales order with the help of purchase order,
    Could you please advice me how we can create sales order with the help of purchase order.
    Thank YOu
    Swaroop

    you can create the sales order from the purchase order.It can be achieved by Idocs.
    Please maintain the condition record for the output medium EDI and also maintain the Partner profile in WE20.

  • MM Purchase Order IDOC NEU output type configuration

    Hi All,
    after creation of Purchase Order in ME21N in ECC 6.0 server, i want an IDOC for Purchase order to be created...........
    i saw there is a standard output type NEU and it has EDI and Distribution Model as medium..........
    when i went to ME21N and specified in message button output type of NEU, then the PO which i created had a NEU in messages but on opening  a new session and running ME21N and creating a second PO, then in this PO there is no output type for NEU....
    So i want to know in SPRO where is the exact location which specifies which output type will be triggered for IDOC creation on PO creation in ECC for message control...............
    plz help guys...........

    Hi,
    If it configured for EDI and Distribution Model , now check condition record in T.code:MN06{ if you are geeting for one PO, you should get for other PO also)
    Also check the following confi. details for Output of Purchase Order
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select: 
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order{NEU}
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create ,,,use medium '6' 
    Now you create PO (ME21N) and save it and then release.
    Also check in NACE t.code for standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines and for the output type for default values, a communication strategy needs to be maintained in the Customizing that supports . You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy).
    Regards,
    Biju K

  • EDI Mapping to ORDERS IDOC - urgent

    Hi All,
    My scenario is creation of sales orders in R/3 using inbound EDI messages.
    Source is the Seeburger external definition(ORDERSV9)(Copied object into my name space) and the target message is the orders IDOC(R/3)(imported).
    my question is: we have many segments and the feilds in the target message(IDOC). how will in know which feilds from source message are mapped to the correct feild in correct segment of the target message.
    Please clarify as I'm stuck in Mapping?
    Cheers,
    Smith

    Hi Liang,
    I know the structure, feilds and the data in the feilds of the EDI structure. I just need to know to which target feilds in IDOC the respective source feilds are mapped to?
    In target IDOC structure we have nearly 100 feilds and i'm not sure which feilds are to be mapped to create a sales order in R/3.
    Fucntional consultants couldnt help much and are not completely aware where the data is posted in the sales order from the feilds in the idoc structure.
    I'm waiting for any EDI experts to respond. Will see
    Cheers,
    Smith

  • Mandatory fields  for mapping in ORDERS idoc.

    Hi
    I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
    Pl let me know the method of finding mandatory field for mapping for  any idoc  and which fileds of idoc are to be disabled.
    Pl help ..
    ans will be rewarded .
    thanks & rgds
    mojib

    HI,
    U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
    If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
    ·        MESCOD
    ·        MESCFT
    ·        TEST
    ·        EXPRSS
    ·        STD
    ·        STDVRS
    ·        STDMES
    ·        SNDSAD
    ·        SNDLAD
    ·        RCVSAD
    ·        RCVLAD
    ·        REFINT
    ·        REFGRP
    ·        REFMES
    ·        STATUS
    ·        DIRECT
    ·        OUTMOD
    ·        CREDAT
    ·        CRETIM
    read the information in below link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    thnx,
    chirag

  • Work Center-Prod Order IDOC

    Hello Gurus!
    In the standard production order IDOC LOIPRO01, I was looking for segments which contain Work Center and Production Order Creation Date but couldn't find one. Can anyone please tell me if there is another IDOC to be used for this ?
    Thanks a lot!
    Deepak!

    Hi Deepak,
    For work center, you can use IDoc type LOIWCS02 with message type LOIWCS.
    Production order creation date field is not availble in IDoc LOIPRO01. But you can extend IDoc to have production order creation date available and need to use/code user exits to populate the value.
    Hoep this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Sales order IDOC process

    Hi Guys
    I need the ALE/IDoc entire process to receive sales order master data from clients
    Also IDoc using BADI when a sales order is created please help, I have not worked with IDOCS before.
    Points will be rewarded
    Thanks in advanced
    Regards

    One way to do what you have described:
    1.     Set the partner profiles for the inbound ORDERS message to u201CTrigger by background program.u201D  This will put the inbounds into status 64 until they are selected for processing by a user.
    2.     Write a custom report to list status 64 ORDERS according to relevant control record data (like sender and date received).
    3.     Build into the output screen of the custom report the ability to u201Cdrill intou201D an IDoc and display the information that your Sales folks need to make a decision. 
    4.     Build two command button actions into the u201Cdrill downu201D screen
    u2022     Process the IDoc (using a call-transaction to standard program RBDMANI2).
    u2022     Reject the IDoc and change the status to something other than 64 (like 67 or 68).
    May I suggest another approach? 
    Configure the document type that gets created by the ORDERS IDocs to default with a delivery block upon creation.  Then your Sales folks can review it and decide whether to remove the block or reject the entire order. 
    Regards,
    zKen

  • Sales order IDOC process Using FM J_4A_IDOC_INPUT_ORDERS

    Hi ABAP gurus,
    i am working on Sales order creation using IDOC .
    while i am Filling idoc i am filling reference document number and
    item number .(VGBEL and VGPOS). but when i process idoc i am not getting reference document number at item level.  here we processed idoc using FM J_4A_IDOC_INPUT_ORDERS.
    Please suggest me which segment do i neeed to fill for getting reference document number at item level .right now i am using E1j3p02 segment.
    or do i need to implement user exit for this.
    thanks,
    Neo.

    Hi Shareen Hegde 
    To create Inbound...idoc
    Use the Function Module in you Program : IDOC_INBOUND_WRITE_TO_DB to create the Inbound idoc
    Pass the Control record and Data record in FM.....
    Use Message type : Orders
    IDoc type : Orders01 or 02 or 03 or 04 or 05 ....  which ever suite for your requirement....
    Process Code : ORDE
    When ever your custom program for creating the inbound sales order with  runs .....
    it call the internally FM IDOC_INPUT_ORDERS to create the Sales order...
    or
    If you are getting the inbound idoc from subsystem .....then check you partner profile ,Message type ed and Process code is correct or not....
    I hope this resolves your issuse..
    Ramesh

  • HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?

    Dear All,
    I want to contol on creation of Sales order with reference to earlier SO?  While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
    I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
    Nikhil

    Nikhil Deshpande,
          If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
    Thanks,
    Mariano.

Maybe you are looking for

  • Do I need an account to place Photoshop elements on a new computer after deactivating or will the serial number suffice?

    di I need an account to place photoshop elements on a new computer after deactivating or will the serial number suffice?

  • File too large - attachment settings not working

    Hi there We are having problems with attaching files in IMS 5.2 & wondered if anybody can help. Our outgoing mail message max size is set to 50MB (I know about the extra 33% space required for encoding) and yet we still cannot attach files to emails

  • Where can i find the database?

    im using the discovery server now. and i need to update some data in. however i could not find where is the database store and how i can edit/add/update it. please advise.

  • Top level navigation disappeared

    Hi Experts, We had a very strange issue in our portal. Top level navigation had disappeared for few of our portal users. Rest of the users were able to perform their activities normally with no issues. When we tried to find the trace of exceptions fr

  • PVII Image Gallery - Multiple

    I am using the PVII extension for Image galleries. I have a current page that is updated regularly and I would like to add multiple image galleries on the one page. But when I go to add a new gallery it only offers the possiblitiy of editing the curr