Trigger an Idoc when a sale order is been opened in VA02 & saved

Hi Experts
     I have a requirement to trigger an Idoc when a sale order is been opened in VA02 transaction and saved.
Now that I have attained the same through Message Control Settings and Nace out put type settings with Multiple Issuing.
Here in the Idoc will be triggered when the user makes any changes in the order based on the NAST table entry.
Now my requirement is that the Idoc has to be processed even if there is no changes made to the document when the user opens the sale order and clicks save.
This is the process been carried out to re-process the Idoc.
Now that the Idoc is triggered using the path ---> menu - extras -output - header- edit & save.
Now that the user need to process the Idoc by just opening the order  in VA02 and  click save.
How can this be attained ? is there any configuration for it ?
Or is it possible to handle the same in any of the user exit ?
the problem is the user exit save gets triggered only when there is any change in the document else it throws a msg " No changes made"

Hi Niraj
   Thanks for your Response.
Now that the output control works fine when there is any change made to the document.
Now that i need to configure such a way that the output control triggers even if there is no change to the document and save   button is clicked.
Can U please elaborate how do i make settings in VOFM-> Output Control ?
Thanks
Sathish

Similar Messages

  • Automatically Trigger a Idoc when a sale order Document is changed

    Hi Experts,
    Currently Idoc is pushed manually through sale order change transaction " VA02 " menu path
    " extras - > output - > header - > edit "
    I have done the nace settings for output types & condition records . Now that the Idoc gets triggered automatically
    when a document is created in VA01 transaction. Is there any other settings required such that the IDoc can be sent automatically once the document is changed and saved through VA02 transaction also.
    Or do I need to process the IDoc through user exit of VA02. Kindly advice how to proceed with it.
    sathish
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Mar 17, 2011 12:48 PM

    In Partner profile(WE20), you can make one mor entry similar to  existing record with check box enable, under Message control tab.means maintain the below details, Application, message type, process code and enable the change check box.
    After making entry in WE20, you can change sales order and save the application.It may work.

  • Generate idoc when deleting sales order

    I have seen in matmas that there is a flag for the deleted mark, but i can´t see it in the sales order, is there any flag in orders05 when the sales order is deleted, does the system send an idoc when the sales order is deleted, how?
    Thanks in advance.
    Regards

    OK, it still finished, just only last question please.
    In the head table CDHDR appears the sales order with the 'U' field indicating that it has been updated and in the CDPOS table appears all the positions with the 'D' flag indicating that has been deleted, is it ok or how could i know that the whole sales order has been deleted?.
    Thanks in advance
    regards

  • Generating purchase order idoc, when a sales order is created

    Hi folks,
           we need to send purchase order idoc from SAP to some external system. Once sales order is created, it should automatically generate the purchase order idoc and send to the external system....Any document showing step by step configuration to do so? I have basic knowldege of ALE and IDOC...please suggest me the configuration steps in detail...
               Thanks in advance,
                 Shyam.

    Hi,
    1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
    2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
    So whenever a Sales Order is created, output type will generate an IDoc.
    Hope this information is useful.
    Regards,
    AK

  • Getting dump in generating IDOC when creating sales order

    hi all,
    I am using a std FM IDOC_OUTPUT_TPSDLS to generate the outbound delivery create/change.
    and i have created a new output type and added in V2 application and the Processing program is RSNASTED & Form ALE_PROCESSING.
    When I create the SAles Order in VA01, I am getting dump " Update terminated" and checked in ST22.
    I am getting this error "An exception occurred. This exception is dealt with in more detail below       
    . The exception, which is assigned to the class 'CX_SY_DYN_CALL_PARAM_MISSING',
    was neither                                                                   
    caught nor passed along using a RAISING clause, in the procedure               
    "NEW_DYN_PERFORM" "(FORM)"                                                    
    Since the caller of the procedure could not have expected this exception       
    to occur, the running program was terminated.                                 
    The reason for the exception is:                                               
    When calling the function module "IDOC_OUTPUT_TPSDLS", one of the parameters   
    needed according to the interface description was not specified.                                                                               
    This parameter was "DELIVERY".       
    I am not sure why this error...because I am using only starndard FM & program, why this issues..
    Kindly guide me
    thanks

    True what u r telling.....................
    I am trying to create a IDOC while creating,change a delivery.
    should i have to change the Processing program RSNASTED , form ALE_PROCESSING ???... or IDOC funciton module is wrong?
    please need ur advice
    thanks for your input

  • Does MV45AFZZ user exit trigger when CRM sales order is replicated into ECC

    Hi All,
    When a Sales order is created in CRM, it is replicated automatically using BDOCS from CRM into ECC.
    I have requirement to code the logic during the process, when sales order is replicated into ECC.
    So I need to know the BAPI which is actually triggered to create sales order in ECC, while replication takes place.
    If I could atleast know, if USEREXITS in MV45AFZZ would trigger or not, when CRM order is replicated into ECC, then I could determine, If I could code my logic in those user exits.
    Please help me on this.

    please check this link
    keremgomi=wordpress=com
    Rgds
    Raj

  • Idoc info in 'Services for Objects' when a sales order is created

    Hi Guys
    Could one of you remind me how to turn on the Idoc info in the 'Services for Objects' > workflow option.
    I know how to turn on the services for objects using the user profile and entering parameter id:SD_SWU_ACTIVE , parameter value: X.
    I am not able to see the Idoc number/info that was used to create the sales order. I can see all the information in WE05 but the sales order does not show me any history of having used the Idoc.
    When i go to sales order and select the services for objects option followed by workflow the system should show the IDOC number/info used to create this order.
    Your help will be appreciated.
    Thanks
    Manish
    Edited by: Comes Naturally on Feb 23, 2009 3:46 PM

    Hi,
    1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
    2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
    So whenever a Sales Order is created, output type will generate an IDoc.
    Hope this information is useful.
    Regards,
    AK

  • Does MV45AFZZ trigger when CRM sales order is replicated into ECC

    Hi All,
    When a Sales order is created in CRM, it is replicated automatically using BDOCS from CRM into ECC.
    I have requirement to code the logic during the process, when sales order is replicated into ECC.
    So I need to know the BAPI which is actually triggered to create sales order in ECC, while replication takes place.
    If I could atleast know, if USEREXITS in MV45AFZZ would trigger or not, when CRM order is replicated into ECC, then I could determine, If I could code my logic in those user exits.
    Please help me on this.

    Hi,
    I guess it should. Just put external break point (RFC userid with debuger rights) and see.
    Thanks,
    Nilesh P.

  • How to re-trigger BA00 after sales order has been rescheduled

    Dear Gurus,
    Could you please kindly advise how I could re-trigger BA00 after sales order has been rescheduled?
    The scenario is following:
    When the sales order was completed, the order confirmation output has been sent to the customer. But later, when the ATP confirmed quantity was changed or order was rescheduled, the committed delivery date has been changed. It caused confusion, because in the order confirmation letter we sent to customer, there is a different date.
    I'd like to also trigger BA00 to resend the order confirmation, but I checked the output routine, it only checks if the order is completed or not. Shall I ask ABAPer to add additional logic in the routine or there is other easier way to re-trigger BA00?
    Many thanks in advance!

    Have you allowed multiple issue for BA00 output type? In that case, you can manually trigger it from VA02. If you are trying to have it sent automatically, then add the logic into the routine.

  • Creating a PO when a sales order is created

    Hi,
    Can anyone guide how this requirement can be achieved. For  both scenarios there should be no manual intervention.
    This is not a third party scenario.
    When a sales order is created then a purchase order should be created in same server and                                                                               
    in different server.
    1) For different server scenario i think idoc can be used.  what should be my outbound and inbound message types and idoc types. because both po and so have same idoc types(ORDERS) and message types(ORDERS05). so when a sales order is created in 1 system how system knows that it needs to  convert to PO in other system. And there should be no Purchase Requisition created..
    2) Best way creating  PO in same server with sales order with out creating Purchase Requisition.
    please share your valuable suggestions.
    Edited by: abilash n on Jun 13, 2011 7:12 AM

    you need two output types for two scenarios, and there are different ways to do it from there,
    for PO creation in same server I would use a Output with Transmission Medium as 8 - special function and used BAPI to create the PO, this way you dont have to keep track of idocs but the once the order is created functin will get triggerd and PO will be generated.
    Check with the SD Consultant on how to create the Output type with TM 8(tcode NACE -> V1 - sales -> output types -> ).
    for the different server I believe you alredy have the RFC/ connecetions set up. You'll have to use an IDOC for this.
    Partner profiles and process codes in destination systems will determine the PO creation.
    regards,
    nipuna

  • Create directly an IDOC for a sales orders

    HI,
    I would like to know if it exists a program to create an output IDOC for a sales order directly as does the program
    RBDSEMAT for materail / product.
    With RBDSEMAT we give the product's numeber the message type and the logical system.
    Of course before was customizing all the ALE flow.
    But for sales orders (VA02 / VA01) I don't find any program which allow us to have the same function.
    Does this program / function exist? I want juste to give the sales order number  the logical system and the message type.
    Thanks you
    Henri

    Funtion Module IDOC_OUTPUT_ORDRSP is used by standard SAP when output determination is used. I think you can populate the control record and use this function module directly. This will return the IDoc data, but the IDoc will not exist on the Database.

  • What fileds do need to inlcude when  a sales order gets update

    HI Guys,
    Can you please help me i need to develop a sales order.when ever its get updated its need to triger through Bapi.
    Regd's
    Rajesh.

    Hi,
    1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
    2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
    So whenever a Sales Order is created, output type will generate an IDoc.
    Hope this information is useful.
    Regards,
    AK

  • When copying sales order, its coming as booked (Using custom workflow)

    Hi,
    While copying sales order using custom workflow, if the source sales order is booked, the new sales order is also coming as booked only.
    But in standard workflow, its coming as Entered. Any idea which parameter I need to check?

    Hi Asit Garg,
    Correct me if i am "X".
    You want to trigger the workflow for two different scenario that is 1. when the sales order is changed 2. when the sales order is created with delivery block.
    For the 1. As you said it is working fine.
    For the 2. sales order created with delivery block.
                 Make your workflow to work like this, Whenever the sales order is created trigger the workflow and at first step check for the condition weather the sales order have the delivery block or not if not terminate the workflow through terminating event if not proceed as you wish.
    Hope it will helps you,
    Regards
    Balaji E.

  • Credit exposure updating even when the sales order is blocked

    Hi,
    We are using FSCM credit management. We observed that the credit exposure is updated even when the sales order is blocked. When we investigated it is found out that SD has removed the requirement 101 in the subsequent functions. The reason is they want the confirmed quantity to be updated even though the order is blocked. This will allow the Material Planning to go ahead and purchase the goods. Is there a way around it where we can have MM see the confirmed quantity in the order and it will not updated the credit exposure?
    Thanks and Regards
    Madhu Vutukuri

    Hi Sravan,
    Please let us know, whether the document is really getting reflected in the blocked documents list for a particular kind of block and you are releasing that particular block in the specified area as we have different areas for releasing blocks. Chances are that in the mean time, the concerned block might have been removed in the system and not updated as it might have been. It will be of great help, if you can provide us with the screenshots of the process followed.
    Regards,
    Aman

  • Modifying NAST when a sales order is stored.

    Hello,
    How can I modify output messages (suffix2 field) when a sales order is saved (va01 or va02)? I have added a breakpoint at some sales user-exit but the xnast and ynast are always empty (and sales orders contains output messages).
    Thanks in advance,
    Ricard.

    Oscar,
    You may be better off logging this in the ABAP forum. I'm sure there would be plenty of code-cutters willing to offer you advice on this. I know there are a heap of function modules around spool requests and the NAST/NACH tables. There might be something in there.

Maybe you are looking for

  • I need help finishing my assignment

    this is the program public class CableInstallationTestClass { public static void main(String[] args) {   CableInstallationClass  ci = new CableInstallationClass();   ci.setNumOutlets(1);   double subTotal = ((ci.getNumOutlets() -1 ) * ci.getCostPerOu

  • Constantly getting compression errors in Firefox for OS X

    Hi. I'm getting the following error when using firefox "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression". Many images are downloaded distorted as well It appears on any websites almost ran

  • Third Party Chargers

    So I have a BB charger that is 5V and .750A and it charges the Playbook (slowly, but still). I have a monoprice 2-usb port charger that is 5V/1A and while it charges everything else the Playbook won't charge (even if the other port is empty so all 1A

  • My hotmail gets hacked is it a virus?

    My hotmail account has been hacked 3 times now, I keep changing the password, so is it malware or a virus?  How do I find out?

  • Turn off banner/titlebar from inside customize...

    Is it possible to turn off the banner/titlebar programmatically from your Edit/Edit Defaults page rather than from the Edit Region Settings (for the entire page) The call to PortletRendererUtil.renderPortletHeader(pr, out, headerTitle); seems to dete