How to generate an Idoc form an existing Sales Order?

Hi experts.
Our client needs to generate an ORDERS05 output Idoc for Sales Orders that has already been created.
Is there a way to generate a new Idoc for those Sales Orders?
MASTER_IDOC_DISTRIBUTE won’t do the job cause I don’t how to complete all the segments, I need the standard procedure to be execute.
I thought to use a Bapi to modify the Sales Order, but that might execute routines that we not want to.
Any ideas?
Thanks.

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.

Similar Messages

  • Single idoc generation for multiple sales orders

    Hi,
    Pls let me know how do we generate single idoc for multiple sales orders.
    Its not collecting idoc. As we know we can generate an idoc for one sales order correspondingly
    my requirement is to generate single idoc number for multiple sales orders.
    Do we need to write a program.

    Amar,
    To understand take HRMD_A04 as example. Root segment has Maximum 9999999999 defined.
    Segm.type       E1PLOGI
    Minimum number  1
    Maximum number  9999999999
    Parent segment
    Hier.level      2
    This means that this IDOC types has capability to hold multiple HR Master data objects. PFAL program creates this IDOC and it has facility to mention the Objects per process, check selection screen.
    I checked for INVOICE01/02 its not possible there. Hope this clarifies.

  • Trigger IDoc when ever a Sales Order is rejected

    Hello Experts,
    How to trigger an IDoc when ever a sales order is rejected.
    Thanks,
    Srikanth

    you have to define a message type that is triggered when the reason of rejection in not initial.
    You can do it by a standard access sequence. Then issue the message with medium 6.
    Best regards
    Roberto Mazzali

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

  • How to Generate a complex smart form for the Sales Order different pages h

    How to Generate a complex smart form for the Sales Order different pages has different page Layouts  explain me?

    in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
    I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar.

  • How to create a credit memo for an existing sales order !

    Can any body help for how to create a credit memo for an existing sales order !

    Hi,
    It is actually possible to create credit memos from sales orders though it is not followed in most of the scenarios.
    We have got a scenario in commodity trading that a sales order will be created with positive value. Once the swaps are settled by the portfolio mngt team, if we have to give some money to the payer, then a credit memo will be greated (as in their case all invoices will have only +ve value as net value) with reference to the sales order. In the copy control, the main field to be taken care of at itme level is the PRICING TYPE for which a value of F has to be maintained. This will convert the sign of the values and fix them. Now a credit memo will be created for teh saels order.
    In this case, the document cateogyr of sales order will be C in VBAK, but it will be K in VBFA table which is the table for document flow.
    Hope this answers your question. You can reward if it helps you.
    Otherwise the normal process is
    SALES ORDER---INVOICECREDIT MEMO REQUEST----CREDIT MEMO

  • When idoc failes for inbound sales orders then how to trigger a mail notifi

    Hi All,
    When idoc failes for inbound sales orders in SAP then i would like to send an email notificaiton to particular user id. Could you please let me know the settings for this requirement.
    Thanks in advance..

    Closing thread as there are no replies

  • How to Change the Existing Sales Order Transaction

    Hi all,
    I am trying to change some of the fields in Existing Sales Order Transaction.
    Fields which i am trying to change are Ext. Reference number and Net Value.
    I am using CRM_ORDER_MAINTAIN to do so but its not working. I dont know if some BADI can solve my purpose.
    If anyone of you have done something like this please share with me and suggest me the solution for that.
    Thanks in Advance.
    Regards,
    Manoj Tiwari

    That you should be able to do in ORDER_SAVE badi.
    You will be able to find lots of discussions on usage of this badi here in this forum.
    You need to call ORDER_READ, then call ORDER_MAINTAIN to change the values according to your requirement.
    Regards,
    Kaushal

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • Send Existing Sales Orders to another system

    hi experts!!
    I have a requirement to move all existing sales orders from one system to another.
    Please provide some hints on usage of IDOC_OUTPUT_ORDERS
    1. we have to file NAST mandatory fields only or what else we need to code for complete generation of IDoc?
    Nikhil

    Ok, sorry, I am not aware of BADIs or IDOCS. Normally in situations like this I just make downloads, straight from the tables or via a query.
    Good luck

  • How we can give the confirmation of the sales order to the customer.?

    how we can give the confirmation of the sales order to the customer.?
    after the we generate thge sales order how we will give the confirmation to the customer automatically or in any way in SAP SD

    A confirmation can be given to the Sold to party for the sales order by means of an output type, which is the  most used functionality.
    You can create an output which can be a word or PDF document, or an email , fax etc. Based on the kind of confirmation you want to give (Document, email, fax) do corresponding settings in the output for printers, email settings, fax settings etc. and enable this output to be triggered during sales order creation by assigning the output to output procedure for sales documents. This part of configuring an output is done by Functional team while the email, fax settings are done by basis team in combination with tech team.
    The output should have a smartform and corresponding report program to populate the smartform. This part should be taken care of by the technical team.
    Once all these things are done, if a sales order is created, the output will be triggered which will send a confirmation document, email , fax as per the configuration to the sold to party. If you want the confirmation to be send to more partner functions, that is also configurable in the output configuration.
    Pls reward points if it helps.

  • Change of existing sales order (WCEM 3.0 SP1)

    Hi all,
    does anyone of developed the feature to change a existing sales order?
    Any hint to do it the best way?
    Thanks in advance,
    Meikel

    Hi Meikel,
    personally i haven't modified the sales order, but i did something in relationship to service orders. Both types are transaction documents in kind of the same but both using a different transaction type-id.
    Within WCEM the GenIL Layer has been integrated, which kind of gives you the chance to create, read & modify those transaction documents.  The java interfaces which SAP has build is calling behind the scene the corresponding ABAP RFC function - should be the same as the WebUI does. This function is used for the e-service integration and should provide you what you need.
    Just another hint: Not sure if my change request has been applied, but take a closer look into the toString() output of the GenIL (container) objects. When i was initially using it, the toString returned the string representation from the current object up to the root (excluding the child elements). Unfortunately this made it tought to understand the current status of the document. If my change request was applied, then you should get the output of current objects including all child elements recursively - if not, then just overwrite the toString() and generate a XML like output. That will safe you a lots of time to understand what is actually happening and within a short timeframe you  can implement your logic.
    Cheers,
    Andreas

  • Modify the Net price of an existing Sales Order

    Hi,
    I got a requirement to modify the Net price of an existing Sales Order. I have called BAPI  "BAPI_SALESORDER_CHANGE" for this purpose but its not working. I have passed the New Price in  CONDITIONS_IN table parameter. Can you help me with any BAPI or FM for this purpose.
    Mukesh KUmar
    Moderator message : Duplicate post locked.
    Edited by: Vinod Kumar on Dec 7, 2011 9:40 AM

    Talk to your SD consultants. Net value is determined based on the pricing conditions. Pricing configuration is usually unique to each business, so your SD consultant should know how the pricing condition should (and may) be changed in your specific situation.

  • In VF02 to change existing Sales order

    Hi Gurus,
        Have Scenrios to change in exsting sales order ,to change the Condtion class based on the line itemwise.
    Please guide how to do it ,have check the sales order  BAPI_SALESORDER_CHANGE but its not working.
    Regards,
    san

    Hi vinod,
         Ve assigned the new condtion class  for new sales order its picking correctly but existing sales order are more than 8000 for that need to change...ve cant create new sales order some of are open sales order.that need to change existing one ,please guide how to achecive/
    Regards,
    san

  • Unable to change the existing sales order

    Hi
    I need to change the existing sales order document which was already created and replicated into R/3.The following error has been giving
    "Document is being distributed - Changes are not possible".
    Can anybody help me how to change the document.
    early response would be rewarded,.
    Regards
    Vikram

    Hi Vikram,
    The problem is caused by a program error.
    Please follow the SAP Note for complete information.
    SAP Note : 718065
    Regards,
    Johnny.
    Reward with points if it helps.

Maybe you are looking for

  • Buttons not working in fullscreen mode

    Hi everyone,      I have a site where our Flash content can be sent to fullscreen by the user. When in fullscreen mode, in some computers the buttons within the content and the mouse stop working completely. It still exits from fullscreen by clicking

  • Alt Graph dead on swedish Solaris 10 x86, jdk 1.5.x

    Hello! I posted this on the Solaris JRE forum first but there is not much activity there. Perhaps anyone that reads this forum can assist me. I'm having a peculiar problem and I'm at loss as of how to fix it. I have a fresh Solaris 10 x86 installed o

  • Please i have a question about to YOUTUBE App.

    Dear all, i have a question about YOUTUBE app. i have Iphone 3G. as i use youtube a new error message has appeared "Cannot Connect to YouTube" noted that i could't use YouTube before. Thanks , Ashraf

  • How can I change a blank value to a zero in a query?

    When displaying key figures I am getting blanks as opposed to zeros (if there is no data in the cube).  Does anyone know how to change the blanks to zeros?

  • Xaralx crashing after latest updates 14.10.2007

    OK, after running pacman -Syu yesterday I can no longer use some of Xara's functions. Opening the Export or Options dialogs crashes the app. I have tried re-installing and deleting all dot files related to Xara but it doesnt help (even tried rebootin