How to generate IDOC while creation of Sales Orders

Hi
   If i create a sales order means.. i want to trigger a IDOC with this ORDER data .. how can  we do this.. when ever i'm creating a sales order it should be automatically trigger a IDOC , Because  ehen ever sales ordre  was created in R/3 system it should be transferred to some destination.. all the ALE configurations are done.. .
    so, how can we trigger an IDOC based on Orders creation..
Thanks
Babu

Hi,
Here is the link
[Re: Idoc creation;
Regards
Sudheer

Similar Messages

  • Mapping datas from idoc while creating a sales order.

    Hi Friends,
    From the idoc i want to fill the field 'YOUR REFERNCE' in the tag ORDER DATA at header level while creating a sales order. From which segment i can find the datas for that field.
    Your answers will be valuable.
    Thanks,
    Bestin
    Edited by: Be$t!N on Aug 26, 2009 4:41 PM

    Hi,
    You can find the Your Reference field in the segment E1EDKA1 and the field name is IHREZ.  This Your reference field is at the Partner level. This is a standard field.
    If you can let me know at which place you want this field to be populated then we can find another suitable field in the IDOC.
    Thanks,
    Mahesh.

  • No commitment Item Update while creation of Sales order

    hi,
    I have  maintained Derivation Rule
    Co Code / GL/ BA/ Plant / S Loc/ = Fund / Comitement / Fund Center.
    Stil in that case at the time of creation of Sales order, systeme is giving error (++No commitment Item Update M V2225++)
    And also i have maintained the Comitement Item in GL master.
    Could you give me some solution.
    Thanks
    Nilesh R

    Hi Nilesh R,
    Please check the following information of Consulting Note 1268001 (the same for funds center is valid to commitment item):
    1.  You receive the error message in a Sales Order (SD) process.
       a) SD customizing settings for FM objects.
       You can set "commitment item" as an optional entry in SD customizing settings for field status. This can be checked in the IMG path: SPRO -> Public Sector Management -> Funds Management Government-> Actual and Commitment Update/Integration -> Integration ->
       Maintain Field Status for Assigning FM Account Assignments
       You should have a record with Object type = '04' (sales order).
       It is not necessary to have the field as required (unless you want to insert it in the origin process) due to the fact that
       this can avoid the account assignment derivation between CO objects and FM objects. The field can not be hidden otherwise it will be not derived.
       For more information, check note 572729.
    The system response depends on how you defined the fields of the FM dialog box using Customizing activity 'Maintain Field Status for Assigning FM Account Assignments':
         -  The fields of the FM dialog box are defined as ready for input ('Opt. entry' or 'Req. entry') in Customizing:
            If you change the reference object in the sales order, the system does not re-derive FM data automatically. For that, you
            must navigate to the FM dialog box and, by choosing icon 'Redetermine account (F5)', trigger the derivation manually.
         -   The fields of the FM dialog box are defined as not changeable ('Display') in Customizing:
             If the reference object is changed in the order, FM data is redetermined automatically.
         -  The fields of the FM dialog box are defined as not displayable ('Hide') in Customizing:
             FM data is not determined.
    Therefore, set the field status to optional permit the user to enter the FM objects manually and still benefit from the possibility to
    automatically derive the FM objects from a CO object.
    For more information on integrating Plant Maintenance, Sales and Distribution and Project System, see the SAP Library Accounting -> Public Sector Management -> Funds Management -> Actual and Commitment Update -> Integration with Plant Maintenance, Integration with Sales and Distribution and Integration with Project System (Network).
    You can also check the documentation available in the IMG menu of the status (written above).
       b) If you do not want to integrate sales order process within PSM-FM, you should consider to deactivate this integration in
          customizing transaction OFUP. In release EA-PS 1.10 and 2.00 modification note 591573 is available.
    Please also check consulting note 1267998 and let me know if you have used FMDERIVE trace tool.
    If you want to have SD integrated to FM, please check if in OFUP the flag of this integration is accordingly set.
    If you work with free-of-charge sales order line items mixed with line items having value, please consider to apply note 1441847 (if it is valid to your current release/package).
    I hope this answer your inquiry.
    Best Regards,
    Vanessa Barth.

  • Credit Check while creation of Sales Order for Item Category Purchase Req

    Hi Experts,
    We are creating Sales Order using an Order Type ABCD for a material 1000. While creating Sales Order, we use Item categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO).
    Credit Check settings are there at Order Type ABCD as well as all the Item Categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO). We are trying to test a scenario where a customer does not have enough credit limit while creating a sales order.
    When we create a sales order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP), credit check fails because our customer does not have enough credit limit, so that Sales Order gets created and Delivery does not get created (This is what we want), then we go into VKM1 manually and relase the sales order and then if we go to VA02 and check the status of the Sales Order, it says sales order status is complete. My Sales Team is saying here also Purchase Requisition is getting created.
    When we create a sales order for Item category ZOBO, it is going into Purchase Requisition screen. Once we give another plant in the create purchase requisition screen and save it we are getting a message that cannot create Purchase Requisiton because of Credit Block.
    The settings were same for all the Item categories.
    1) What made difference to complete Purchase Requisition for Item Categories (ZOVD, ZOVB,ZOST,ZOVP) and not for Item Category ZOBO when my customer is not having enough credit Limit.
    2) Why Purchase Requisition screen is not coming for us when we create an Sales Order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP). We only get Create Purchase Requisiton Screen for Item Category ZOBO.
    Thanks
    Rajanikanth

    Hi,
    None of the Item Categories has Create PO Automatically.
    Thanks
    Rajanikanth

  • IDoc and creation of sales order!!

    Hi,
    I need to create sales order using IDoc and the file will have multiple line items for sales order and it has to be dynamic, so whats the best way to do this?
    Regards
    Gunjan

    Hi
    Check for the related IDOC types in EDBAS table and for related Message Types
    in table EDMSG. take relavent one for your requirement and use.
    Data Creation in Idoc
    IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
    asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
    IDoc is a intermediate document to exchange data between two SAP Systems.
    *IDocs are structured ASCII files (or a virtual equivalent).
    *Electronic Interchange Document
    *They are the file format used by SAP R/3 to exchange data with foreign systems.
    *Data Is transmitted in ASCII format, i.e. human readable form
    *IDocs exchange messages
    *IDocs are used like classical interface files
    IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    FOr testing you can use WE19.
    How to create idoc?
    *WE30 - you can create a IDOC type
    For more information in details on the same along with the examples can be viewed on:
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappoint.com/presentation.html
    http://www.allsaplinks.com/idoc_search.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30 )
    Create Message Type ( WE81 )
    Assign Idoc Type to Message Type ( WE82 )
    Creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Follow steps to create more number of segments
    Create IDOC Type
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    Create Message Type
    Go to transaction code WE81
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter
    Click New Entries to create new Message Type
    Fill details
    Save it and go back
    Assign Message Type to IDoc Type
    Go to transaction code WE82
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    Check these out..
    Re: How to create IDOC
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    go trough these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
    1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
    2.IDOCs are independent of the sending and receiving systems.
    3.IDOCs are independent of the direction of data exchange.
    The two available process for IDOCs are
    Outbound Process
    Inbound Process
    AND There are basically two types of IDOCs.
    Basic IDOCs
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extended IDOCs
    Extending the functionality by adding more segments to existing Basic IDOCs.
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30)
    Create Message Type ( WE81)
    Assign Idoc Type to Message Type ( WE82)
    imp links
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    www.sappoint.com
    --here u can find the ppts and basic seetings for ALE
    http://sappoint.com/presentation.html
    www.sapgenie.com
    http://www.sapgenie.com/ale/index.htm
    Reward points if useful
    Regards
    Anji

  • 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

  • Updation of condition type in conditions tab while creation of sales order

    Hi folks
    I have added one field called  price key in Sales B screen of VA01 in item level.
    When user will input price key here and then put enter. Then the Price should be updated in Conditions tab i.e the condition type will be updated in conditions tab.
    I need to maintain this price key in VK11. So As per the Price key i need to update condition types in conditions tab.
      here i am using a user exit  SAPMV45A. i can get condition type for the specified price key from A905 table.Then how to update this condition type in conditions tab through user exit.
    Plz suggest.
    Thanks
    pmr

    Dear friend,
        if the sales order is saved and you want to change the pricing click on update which will be on the lower level of your condition tab in va02.
    and if you are trying to create a new sales order  and if the value is greyed our - check whether in pricing procedure - control data - you would have maintained statistics against that condtion tab.
    check this out and get back
    regard,
    Sudhir

  • How to generate one invoice for a sales order with product returns

    Hi All,
    I have a sales order that has been delivered and goods issue posted. Now the customer returns some of the product and I generated a Return using VA01 - document type RE, generated a returns delivery and posted a goods return.
    I need to generate an invoice that will only consider the quantities that were not returned.
    I have checked the sales process pertaining to returns, but all I have found consider generating a Credit Memo.
    Is there a way to generate an invoice that will only invoice the quantities that were not returned? Say I sold 10 pcs, and 2 were returned, so I want to invoice 8.
    Many thanks in advance.
    Oscar

    Hi Sandeep, Jyotsana, Goutham. Thank you all for your time and your replies.
    What is happenning here is that there is a vendor-client relationship where there is a constant flow of purchase orders, and the orders are large.
    I understand that it is standard SAP procedure, but in this case, it is not the most efficient. I have two alternatives the way I see it:
    1. Post the invoices according to SAP Standard, and then the Credit Memo.
    2. Reverse the Purchase Order.
    There are disadvantages with both alternatives:
    1. I get much more paperwork than I really need.
    2. When I get the returns, the delivery, picking and goods issue have been posted, and I would have to reverse all that. Not a very good Idea I think, especially if I have a purchase order with 150 different materials and I get a return of 2 items of one material.
    Again, thanks for your replies. From what you have told me I am thinking that what I'll need is to implement a User Exit or Badi.
    Best Regards,
    Oscar

  • Availability check for configurable material while creation of sale order

    Hi Experts,
    Does anyone know how stock can be viewed for configurable materials.
    Does ATP work at the time of Sales order to check for material avaialablity based on the variant in the sales order ?
    Regards
    Chandru

    Dear Sir,
    Sorry for the delayed reply. I was in long leave.
    My scenario is same like Material variant.
    This is my requirement. Whether this is possible or not.
    To check stock of machine nearest to configured specs or lead time.It should indicate the percentage of material  in production stock & lead time for manufacturing the same. & also we should be able to link production order number in sale order manually.
    Please guide me to sort out this issue.
    Regards
    Chandru

  • Restrict Manual Entry of Items while creation of sales order

    Hi,
    <b>Requirement:</b>
    User can create a sales order only for line items of contract if sales order is created with reference to contract. Any manual entry of line item should be restricted.
    <b>Analysis:</b>
      I have coded to check the line item is created with ref to contract or not.( VGBEL gets populated if it is created with ref to contract.). I checked in userexits (USEREXIT_SAVE_DOCUMENT_PREPARE) and (USEREXIT_FIELD_MODIFICATION).
      Do help if anyone have come across such scenario.
    Regards
    Sailaja.
    (Intelligroup)

    Hi,
       This functionality may be possible with a Configuration setting in SPRO.
       plz check with your Functional guys.
    regards.

  • Problem while creation of sales order

    Hi Experts,
    I have created customer and i am creating sales order for the same. I am creating it through transaction VA01 and taking order type as OR.
    Actually i have changed VAT tax for particular sales org. and testing it for order. I insert appropriate data in frist screen which is for sold-to-part, i put order number and it's quantity there. When i double click on the material and goto second screen in conditions tab, i put there condition type Z701 and rate. After that i hit enter so that 1st debug screen appeared and after that 2nd debug screem appeared, but when i wanted to go ahead from 2nd debug screen as below
    Debug :
    Please maintain the following settlement rule for the order:
    Path: Goto > Item > Account Assignment > Settlement Rule
    Category          Settlement Receivers         Bus.Area
    when i am trying to go ahead from this screen it is going in infinite loop, can you please tell me the possible reasons.
    Thanks.

    Hi,
    Business area is available, i just didn't mention it there.
    It's like
    Debug
    Please maintain the following settlement rule for the order:
    Path: Goto > Item > Account Assignment > Settlement Rule
    Category          Settlement Receivers         Bus.Area
    G/L                   4101045                   1001
    If you know why it is happening, please let me know.
    Thanks..

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

  • Creation of sales order- screen exit

    Hi all,
    I have a requirement like while creation of sales order need to develop one screen field in additional data B.i developed that field. and now while creation of sales order it will save in vbak table. now the problem is that screen field will be enable in that particular sales order type only otherwise it will be disable. how to do this. screen exit.

    Hi
    See SAP Note 209278 - Display of customer-specific fields in sales doc
    Check also, SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B' and SAP Note 386694 - Additional data not displayed in screen 8459 and 8309
    Regards
    Eduardo

  • 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

  • How to generate all index creation scripts without it's storage clause?

    How to generate all index creation scripts without it's storage clause?

    Execute this before running the actual dbms_metadata.get_ddl
    exec dbms_metadata.set_transform_param(dbms_metadata.session_transform, 'STORAGE', FALSE);
    SELECT DBMS_METADATA.GET_DDL('INDEX',a.index_name) FROM USER_INDEXES A;-Anantha
    Edited by: Anantha R on Sep 30, 2009 11:40 AM

Maybe you are looking for

  • Kernel panics keep occurring on Mac Pro

    Hi guys, I've been having some difficulties with my Mac Pro recently. It is a Mid 2010 Mac Pro, with an 8-core processor and 8GB of RAM. I keep getting kernel panics, to which the computer shuts down abruptly and restarts. Unforntunately I need this

  • Is iOS 6.1.3 compatible with iphone 4?

    Because of previous iPhone devices that I've had, I'm always reluctant to upgrade to the latest iOS versions.  My devices always never work as originally purchased and I see thousands of requests on how to revert back to previous versions.  Is iOS 6.

  • Sending Formated email content using Mail Adapter !

    Hi, I would like to send email notification to customer using mail adapter, could you please to advise how to prepared the content of the email with little bit formated like sample below : Dear Madam / Sir xxxxxxxxxxxxxxxxxxxxxxxxxxxxx : yyyyyyyyyyyy

  • No Audio on ANY DVDs!

    Hey, folks... A couple of weeks ago, Emma stopped playing audio on any DVDs. Not just AVIs, mind you, but any DVDs at all, using DVD Player. I've tried restarting, of course, and using different DVDs, including storebought ones. All other application

  • How do i get refund when i can't get anyone at apple to respond to me and when i hit report a problem nothing happens?

    I need some help ASAP!!! I have charges from itunes via in-app purchases that are almost all same amounts but different times. i can not get anyone from apple to respond to me. After i did the whole quick lane via online it said chat later. On emal t