Idoc creation when sales order is saved

Hi all,
I have a requirement of Idoc creation in CRM 7.0 server. Whenever Sales order will be created , upon SAVE , idoc should be created and will be passed to XI server. This  is a scenario of Idoc to XML conversion .
I am new to CRM server . Kindly guide me how to tigger idoc when Sales Order created (Kindly name the transactions).
Thanks & Regards,
Madhura Nadgauda

Hello All,
Link given below describes scenario on similar lines.
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f]
Issue resolved.
Thanks.

Similar Messages

  • How To Automatically Create Planned Orders When Sales Order Is Saved

    I have a MTO sceanrio where we need to create planned orders when sales orders are saved without running MRP.
    I have the Planning Strategy Group set to 81 in the material master, but it didnt create the planned orders.
    Could you tell me other settings I should review to make the planned orders create automatically?

    Tony,
    At the "Requir. Classes" (OVZG) customizing screen, field "Automatic start of make-to-order in background mode" affects the automatic planning. See fields help doc. below.
        If you select this indicator, the system automatically carries out
        single-item, multi-level planning for a sales order if a sales order
        item is either created or changed.
        This function can only be used for make-to-order production.
    So check out the Req. Cl that yr Req. type (req. type is part of a strategy).
    BR,
    Elly

  • Creation of delivery when sales order is saved in VA01

    Hi All
    We got the requirement in such a way that
    we are creating sales order of type (ZOR -standard order ) . Configrration is donde in such a way that when the order is saved one dilvery will be created for that order of deilvery type ZLF .as this is assginned as default delivery type in VOV8 .
    Hre we have two delivery types ZLF and  ZF and we have diffrent different item categories for that sales order like ZZTC , ZPU ,
    ZTDP .
    our requirement is  as follows
    when we create sales order through va01 (order type - ZOR standard order ) having onlu one item category ZPU  then delivery should be created of type ZLF it is happing correctly .
    when we create a sales order through va01 having  non ZPU item categroies like ZZTC and ZTDP dlivey should not be created automatically for that sales oder on saving that order . this is also happeing correctly
    but the problem is
    when we create a sales order having diffrene item categories ( one condiotn here one item should be ZPU) and other item is  ZZTC while saving the sales order delivery is getting created partially for one item only not for two items i mean delivery is getting created only for item categroy zpu the item with type ZZTC is not gettting added to that delivey .
    for exmaple
    sales order 1234
    item category ZPU
    item category ZZTC
    delivery created with only one item ZPU
    May i know any requirments (routines ) are thre to solve this in VOFM .
    let me know how to hanlde this issue .
    Regards
    Sunil
    Moderator Message: It looks like you are using the forums to get your work done for free. This is not a help-desk to get your Consulting work done. Also you have closed only 1 out of total 68 questions till date. Since you are such a lazy and irresponsible forum member, Im giving you the final warning against breaking the rules of this forum. One more violation and you userid will be deleted.
    Edited by: kishan P on Oct 14, 2010 4:36 PM

    Hi Mohanty,
    I think the Immediate Delivery under Shipping for that order type may have value A or X, Clear that value.
    1) Goto VOV8 tansaction.
    2) Select the Sales order type (For eg: OR for standard order) and double click on that
    3) Under Shipping tab, Set Immediate Delivery with Blank value
    Plz reward points if it is helpful
    Thanks,
    Vinay

  • Creation of delivery when sales order is saved through VA01

    Hi All
    We got the requirement in such a way that
    we are creating sales order of type (ZOR -standard order ) . Configrration is donde in such a way that when the order is saved one dilvery will be created for that order of deilvery type ZLF .as this is assginned as default delivery type in VOV8 .
    Hre we have two delivery types ZLF and  ZF and we have diffrent different item categories for that sales order like ZZTC , ZPU ,
    and ZTDP .
    our requirement is  as follows
    case1:
    when we create sales order through va01 (order type - ZOR standard order ) having onlu one item category ZPU  then delivery should be created of type ZLF it is happing correctly .
    case 2:
    when we create a sales order through va01 having  non ZPU item categroies like ZZTC and ZTDP dlivey should not be created  for that sales oder on saving that order .one success message is thwoing as salers order has been created but delivry cannot be created for this order .this is  is also happeing correctly . for this we have copied a rottine no 102 from VOFM  and we have added some logic
    but the problem is
    when we create a sales order having diffrene item categories ( one condiotn here one item should be ZPU) and other item is  ZZTC while saving the sales order delivery is getting created partially for one item only not for two items i mean delivery is getting created only for item categroy zpu the item with type ZZTC is not gettting added to that delivey .
    for exmaple
    sales order 1234
    item category ZPU
    item category ZZTC
    delivery created with only one item ZPU
    May i know any requirments (routines ) are thre to solve this in VOFM .
    let me know how to hanlde this issue .
    Moderator Message: Spec-dumping is not allowed
    Edited by: kishan P on Oct 14, 2010 4:31 PM

    Hi Mohanty,
    I think the Immediate Delivery under Shipping for that order type may have value A or X, Clear that value.
    1) Goto VOV8 tansaction.
    2) Select the Sales order type (For eg: OR for standard order) and double click on that
    3) Under Shipping tab, Set Immediate Delivery with Blank value
    Plz reward points if it is helpful
    Thanks,
    Vinay

  • User Exit IDOC creation - When purchase order gets created

    Hi All,
    The requirement is whenever user creates a Purchase Order in the current SAP system an IDOC needs to get created and be sent to another SAP system where a Sales Order will be created.
    Can anybody suggest the correct User exit/enhancement at the time of Purchase order creation which could be used ?
    Also the function modules for creating the IDOCs within the user-exit.
    Thanks for your help.

    Hi Meghna,
    Your requirement is SAP standard function which means you don't have to use any user exit.
    What you need to do is configure output control, then when a PO saved, a idoc will send to vendor automaticly.
    Here is a step brief
    1. configure output type in NACE
    2. Add condition record in NACE
    3. Setup partner profile in WE20
    if you need detailed doc, give me your email, I can send you.
    Regards,
    Brown

  • Triggering output type when sales order is saved

    Hello all,
                I have a small question. Whenever I create a drop ship sales order it triggers a custom output type and prints the form by default even though this output type hasnt been saved in the sales order messages. Similarly from a drop ship PO when it is created with reference to the drop ship order and a requisition it tries to call this cusotm output type and prints the form.
    Please advice how to find the settings and make it not print this form.
    Thanks in advance.

    Hello,
             There are few other custom output types configured for a sales order. I wonder why it picks this particular output type and prints the form.
             If I uncheck 'Print Immediately' then would it stop from just printing or even calling the form too.
              Please advice if there might be any other config which tells to call this particular form whenever a drop ship sales order is created.

  • 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

  • Process Orders, send idoc (LOIPRO) when its released and saved.

    Hi ,
    Here is my requirement.
    For process Orders, send idoc (LOIPRO) when its released and saved. (COR2).
    Here are the options I have tried.
    - Create an enhancement spot after the commit statement, and submit RCCLORD
    For some strange reason Submit to RCCLORD isn't working. Even I have tried to execute it independently, It isn't working properly. It is working fine from POIT, but not independently...
    - Call CLOI_MASTERIDOC_CREATE_LOIPRO function module, but for this I have to get all the related data into proper tables, and I am not sure if it works either.
    I have searched here in SDN to for some help, the closest thread talks about creating a ZFM for IDOC creation, but I dont have much of the details of that.
    Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)
    Need some help on this.
    Thanks & Regards,
    Kalyan Venigalla.

    Hi!
    not sure, but maybe it will help you:
    RCCLORD have code with check already sent orders
    Try add this code before submit RCCLORD
    *         -> free global table for collecting order numbers
              free memory id 'LOIAUFNRTAB'.                        "

  • Creation of sales order via IDoc ORDERS05 - specify a reason of rejectio

    Hi,
    I want to create a sales order via IDoc (type:ORDERS05), i specify for an E1EDP01 segment a reason of rejection (ABGRU),
    The sales order is created succefully by calling the FM IDOC_INPUT_ORDERS but the order quantity of the item where i have specified a reason of rejection is equals to 0.
    Is this normal? i want that this will take 3 value either 0?
    Could anyone help me?
    Thx

    Hi,
    Thank you for ur answer.
    I've followed the procedure that you have explained and the Quantity 3 have been succefully passed to VA01 but is set to zero when i execute the next OK-CODE (=UER2, i think it is llike Enter button ). I simulate the same procedure by creating a sales order on VA01 and i've finally found the problem : at item level, if i enter the Material (MATNR), the order Quantity (KWMENG) and the Reason of rejection (ABGRU), the quantity is set to zero after clicking the enter button ; but if i enter only The material and The quantity followed by enter button, and enter after the Reason of rejection, it works fine, the Quantity doesn't change.
    What is the solution that you propose to me?
    I've try this one on debugger mode:
    The FM which interpret the Idoc create the sales order by CALLING TRANSACTION 'VA01' USING bdcdata....
    I've modified the bdcdata to implement the sequence of the steps before (MATNR + QTY <ENTER> ABGRU <ENTER>).
    1. Is it possible to code this modification?
    2. Is there a way to structure the Idoc for having this sequence in bdcdata?
    Thanks in advance!
    Narivelo

  • Want to get a popup when sales order is created or saved

    hi all ,
             I want to get a popup when sales order is created or saved .Is there any  user exit for the same?
    thanks in advance ,
    Naval bhatt

    Hi,
    try this.
    Go to the include MV45AFZZ of Sales Order Main program SAPMV45A
    and find the correct exit in that and write the User exit code after saving the document FORM USEREXIT_SAVE_DOCUMENT_PREPARE or
    FORM USEREXIT_SAVE_DOCUMENT by calling/writing the
    fun module POP_UP_TO_CONFIRM.
    Regards,
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Trigger custom idoc through ALV when sales order is created in VA01 & VA02

    Dear Experts,
    I am new to the concept of ALV_idoc. Please give me the procedure in detail.
    How to send custom fields to non SAP system when sales order is created or modified in VA01 &VA02?
    Can i use existing Logical Systems and Ports and partner profiles?
    Thanks & Regards
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Jan 17, 2012

    hi,
    the first option is the right one. the FM invoked makes a direct input, so all the functionalities in S.O. are the standard one in the same way as if you are making it manually.
    Also you can have some exits in the Idoc FM, so you can manipulate data there before loading the sales order.
    pls. reward if helpful
    regards
    Roberto

  • IDOC sending on sales order creation

    Hi,
    When Sales order created, an idoc generated and sent to MII system.
    If MII system is shutdown, idoc is not preserved in SAP ECC system.
    We want SAP ECC system must preserve IDOC on MII disconnection and send it to MII when connection established.
    How can we achieve preserve IDOC and send when connection established?
    Thanks.

    Hi,
    What is middle ware system to transmit the IDoc from SAP to MII, you can ask to middle ware system to retain the IDoc file with them until MII system will be up.
    As I know In SAP it is not possible from standard way to check if MII system is down, there would be no Idoc will be transmitted, but you can write an code in IDoc transition FM module with help of ABAPer as to check the RFC connection with MII is down don't transmit the IDoc, and wait until the MII RFC connection is up.
    You can control this by background job by assigning you special program, which will check the connection with MII and then transmit the IDocs.
    regards
    Vivek.

  • How many table are affected when sales order creation(O2C)

    Hi all,
             HOw many table are affected when sales order creation, can any one please help ,and please give me a description indepth please please. I know some of the table affected
    Thanks&Regrads,
    Surya

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • Need to send a mail to group of users when sales order saved

    Hi
    user requirement is send a mail to group of users when sales order is saved

    hi Sanjay,
    Have a look on Michal's blog, it's for JMS, but it works for others: [PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean|PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean]
    Mickael

  • Scehdule Line Date getting change to future date once the Sales Order is saved

    Hello Experts,
    Good Morning to you all,
    This is with respect to the Issue we are facing for the Orders having Product Allocation on multiple materials. Please find enclosed the detials below.
    Issue : Scehdule Line Date getting change to future date once the Sales Order is saved. These Order's are having Product Allocation on multiple materials.
    Description:
    We have implemented Product Allocation few months back.
    We have Product Allocation on multiple materials which are in demand and has been reserved for the Customers of different PA behaviors.
    When we are trying to create the Sales Orders for the normal customer who is not on Product Allocation. The Order Schedule Line is getting changed to future date once the Sales Order is saved after initial creation.
    These Order's are having materials of Product Allocation.
    I have enclosed the sample screen shot of the error we are getting which saving the Sales Order and also the Order Schedule Line screen shot showing future date.
    Error Message : There may be Product Over Allocation in Delivery Group 001.
    Message No : VV023
    This is a random behavior we are coming across and out of 10 Order 2 or 3 Orders is getting this Issue.
    Please share your inputs how to rack this Issue.
    Your suggestions will be highly appreciated.
    I am unable to upload the attacments dont know what the reason.
    Thanks,
    Farhan.

    Check whether you need to carry out the coding corrections as recommended in the following note:-
    Note 52067 - Message VV023/VV024, but no prod.alloc.processing    
    But I wonder this is for older versions and not sure whether this would help you to overcome from the issue.
    G. Lakshmipathi

Maybe you are looking for

  • Public class name same as filename

    Every book I've read stated that if you have a public class declared in the source file, then you have to name the file the same as the class name. However, none of the book explain why, can anyone tell me about this?

  • Call jspdynpage or Abstract Portal Component from SAPUI5

    Hi, I am new to SAPUI5, so might ask basic and dumb questions. I am trying to develop an application in sapui5 which should have the functionality to read and write a file to the server. It is different from file upload as the user wont be selecting

  • No onboard gpu. cant view monitor. how change to pci in bios?

    Onboard monitor plug on motherboard broke off. I installed gforce 210 gpu and machine already had drivers installed because I had this gpu in this machine before. Now I can't view monitor until I enter & save gpu change in bios. Can you give me the e

  • I am still getting the Mavericks failed to download error

    Are Apple's servers still melting from downloads or is this something else? I have tried about a dozen times and the longest the download has been going on has been about 5 minutes. Any suggestions?

  • Backup samsung galaxy data to computer

    There're more and more samsung users, it's really very bad to lost important data on your phone, data on your Samsung phone can be lost due to various reasons, not to mention deleting data on Samsung phone by mistake, restoring your phone back to fac