Order confirmation output

Hello Gurus,
Is there a way to block the output type BA00 for an incomplete order. I want the output to be issued only when the order is complete.
Regards,
Pavan P.

Hi
SPRO> Go to Basic Functions >Output>Output detemn for Sales > Maintain Output detnm procedures
Select your output procedure , fo to control tab
CHoose your Output type BA00 enter 2 as requirement in the requirement colunm
2 means
FORM KOBED_002.
If the sales document is complete, then the output should be created.*
  SY-SUBRC = 0.
  IF KOMKBV1-UVALL NE 'C'.
    SY-SUBRC = 4.
    EXIT.
  ENDIF.
  IF KOMKBV1-COSTA NE SPACE AND
     KOMKBV1-COSTA NE 'C'.
    SY-SUBRC = 4.
    EXIT.
  ENDIF.
  IF NOT KOMKBV1-LIFSK IS INITIAL.
    IF KOMKBV1-LIFSK NE TVLS-LIFSP.
      SELECT SINGLE * FROM TVLS WHERE LIFSP = KOMKBV1-LIFSK.
    ENDIF.
    IF SY-SUBRC = 0 AND
       TVLS-SPEDR NE SPACE.
      SY-SUBRC = 4.
      EXIT.
    ENDIF.
  ENDIF.
Regards
KRSNA

Similar Messages

  • Mail text in order confirmation output

    Hi, SD gurus:
    In our SAP system, order confirmation output is currently sent to customer via email with PDF attachement, works perfectly.  Email has proper title (order number), order confirmation PDF attachment, but without any content in the mail body.
    User has requested to including a following text in the mail content body - "For terms and conditions, please visit our website.....".
    I did following: In IMG config -> maintain output type, under output types, folder "maintain title and text", i maintained the above text.  However when the order confirmation is sent, it still only has the mail subject, and PDF attachment, the text that i maintained is not appeariing in the mail content body.
    Please advise whether i missed anything?
    Many thanks,
    Hailan.

    Hi, Sai:
    Thanks for your reply.  I will try this function module.  But before that, is there a way to achieve this through standard config?  I thought there is a way to do it in config.  Would you know whether what i did was wrong? 
    i went to IMG -> xxxxxx -> maintain output type -> go to the order confirmation output type, and then double click "mail title and tex",  then click green arrow back, and has the screen to maintain the language, text and document title, i add text "fof terms and conditions, please visit xxx" in the text field.  I though this text field is where the mail body text comes from.    Is there anything i did wrong?
    Many thanks again!
    Hailan.

  • No condition maintained for Order Confirmation output type but still active

    Hi,
    I have NOT maintained any Condition record for Order confirmation Output(BAFX) but still it is generated and Fax instruction is being sent to the Sold to Party. Also i found that NO condition record for Order confirmation output(BA00) is also maintained but still Order confirmation is still being triggered.
    Actually i want that NO Fax instruction is to be sent for Order confirmation for some of the customers.
    Kindly advise.
    Thanks,

    Hi vk@sap,
               Check in the output analysis how the output was determined, so that you can know why they're still determined.
    Thanks,
    Mariano.

  • BA00 - Sales Order Confirmation Output

    Hi, can anyone advise why the std 'BA00' sales order confirmation output is not proposed automatically when i changed the item category of one of the sales order line to 'TAB' 'Individual PO'?  It was there initially when the item category is 'TAN'.
    Thanks
    PP

    Dear.
    I found the confirmation status(header, item) is appeared when the item category from TAB is used.
    The confirmation status is set to 'Not yet confirmed' when automatic purchase requisiton has been created. After creating PO based on the purchase requisition the confirmation status is changed to 'All items confirmed', then the output determination will be activated.
    SAP IMG control  data for 'Maintain Output Determination Procedure', requirement 2(order confirmation) is used. Belows are source code for requirement 2.
    The variable KOMKBV1-COSTA is set 'A' when PR is created, so the ouptput determination procedure can't be executed. After PO is created the value is set to 'C', ouptput determination procedure is executed.
    Hope this will hlep.
       FORM KOBED_002.
    * If the sales document is complete, then the output should be created.
      SY-SUBRC = 0.
      IF KOMKBV1-UVALL NE 'C'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
      IF KOMKBV1-COSTA NE SPACE AND
         KOMKBV1-COSTA NE 'C'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
      IF NOT KOMKBV1-LIFSK IS INITIAL.
        IF KOMKBV1-LIFSK NE TVLS-LIFSP.
          SELECT SINGLE * FROM TVLS WHERE LIFSP = KOMKBV1-LIFSK.
        ENDIF.
        IF SY-SUBRC = 0 AND
           TVLS-SPEDR NE SPACE.
          SY-SUBRC = 4.
          EXIT.
        ENDIF.
      ENDIF.
    * Kein Druck, wenn Kreditsperre sitzt
    * No output if the credit block is set.
      IF   KOMKBV1-CMGST CA 'BC'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
    ENDFORM.

  • Outbound Order Confirmation - Output control for incomplete sales orders

    Hi EDI Folks,
    I have a simple question. I want to send EDI 855 for only the completed sales orders.
    Whenever inbound sales order is processed and if the order is incomplete. I don't want to send the order confirmation for the order at that point of time. When that order is made complete, then only i want to send the order confirmation (EDI 855).
    How can we do it??
    What is the output determination requirement for this??
    Right now i am using requirement '02' which proposes EDI output for both complete and incomplete sales orders.
    Please respond to the above quesition.
    Thanks and waiting for your reply,
    Creasy Matt

    MxG,
    For both plant and pricing condition functional config was already done. If any of these two fields are missing, the status of sales order will be incomplete.For incomplete orders also, the EDI output is being proposed.
    Now just tell me, in which SAP program, do i have to put the break point?
    Where exactly ??
    Thanks and kind regards,
    Creasy Matt

  • Order confirmation output error.

    Hi All,
    There is an output type which prints the Order confirmation. A new functionality was added to this. If a material has warranty it prints at the end. This can happen for more than one material and this text is taken from SO10. Whenever a print out of this order confirmation is taken there is an attachement created automatically(pdf).
    this attachement  shows wrong warranty i e output sometimes.Other times it correct. however the preview is correct. How do i correct this.
    Regards,
    Amit

    somewhere in the code the <b>CLEAR</b> statement is missing... due to this sometimes the previous one is taken and printed instead of actual one.

  • Mass printing of order confirmation - output BA00

    Hi, can anyone advise if there's a std transaction code that can perform mass printing of order confirmation from SO with output 'BA00'?
    Thanks
    PP

    Hi there,
    I dont think there isany T-code for mass printing multiple O/p types.
    Rather you can run RSNAST00 in SE38. Give the BA00 in Message type, sales order num in Obj Key. Give the default printer to which you want to print the docs.
    Rather, you can ask your ABAPer to develop a custom transaction calling the RSNAST00 when executed. You can also define the selection inpits like sals orders, message type, Sales org, printer, etc.
    Once the user clicks on execute, system will call RSNAST00 in the background.
    1 question: Whay do you want to mas print the BA00? It wil trigger immediately after saving the sales order provided condition records are maintained right?
    Regards,
    Sivanand.

  • Order confirmation output is triggering twice

    Hi Gurus,
    I am facing the issue with order confirmation.After saving the sales order system has giving two outputs for order. I have checked the ExtrasOutputItem the output type for order confirmation has displayed two times.I have checked NACE settings for the output type there it has not checked for Multiple messages.But still I am facing this issue.Please let me know how to rectify this error.
    Regards,
    Hari Challa.

    Hi ,
    Check how output is triggered manual or by scheduled job. Alos check settings in output determination procedure and check if any requirement is set.
    Order confirmation can trigger when ever you make any changes in sales order and save so that the customer can get latest order confirmation.
    Trust these inputs can help.
    vivek

  • Initiate BA00 (Order Confirmation) output manually using an ABAP program

    Hi experts,
    Does anyone have the experience of initiating BA00 print from an ABAP program? Similar to what happens when choosing "Issue Output To" from the "Sales Document" menu in VA01-VA03.
    Best regards,
    Magnus

    Hi,
    Check SAP Standard program RSNAST00.
    Regards
    Vinod

  • Email Sales Order Confirmation to "Created By" -

    Hi Experts
    I have a requirement where we need to email the Order confirmation output to the person who has created the sales order.
    So lets say i am creating a sales order and my user id is 9999. (SY-UNAME).
    Now as we have implemented HR module and our PERNR and user name are same.
    So in other words my PERNR will also be 9999 and email is maintained in HR record and well as user record.
    How can i achieve this functionality and Email order confirmation printout to "Created By".
    We dont want to send order confirmation to SP or SH but just created by.
    Thanks in advance.

    HI Shiva,
    I did exactly as you said but it send the email to the email ID maintained in Ship-to-party customer.
    I think "Recipient" field is just used for cover page (Incase you are printing cover page), i dont think SAP uses it for sending the form output.
    I think SAP sends output based on the partner function, so if i specify SH, SAP will send it to SH.
    I tried using "Created By" partner type too and all email setting are maintained for the creator and printer is properly setup but it doesn't allow me to use this partner function.
    I tried using both "$1" and "§§" but both of them doesn't work.
    I have also tried using Employee responsible partner type "ER" but even that doesn't work.
    Will appreciate if you can provide a solution for this.
    Thanks in advance.

  • Order Confirmation

    Hi All
    In a MTO process, all items got confirmation in PO but no Order Confirmation to customer was triggered. Reason might be Confirmation status "partially confirmed" in the status tab of the header of the sales order.
    But I also checked that all items got confirm in the SO , still 1 item is showing as open in the item status tab of the sales order.
    Can anybody please guide me what can be the reason of not triggering the order confirmation output to customer.
    Regards
    SAM

    Naveen,
    Another alternative is to copy the standard action class for the order confirmation and create your own method that will do exactly what you want to do.  The drawback of this approach is of course your action will be partially executed for each business partner, however you do have the flexibility to do everything you want in a custom action.
    If you look at class:
    CL_DOC_PROCESSING_CRM_ORDER.  I recommend copying this class to a Z-form and then creating a copy of the method CRM_ORDER_EXEC_SMART_FORM.  You should then be able to insert your logic in the first part of the method that looks at the partner functions in the sales order and then determines if any of them meet your criteria. 
    Good luck,
    Stephen

  • Need help on sales order confirmation out put type

    Hi Team,
       Please help on this issue.
    In our sales document types order confirmation is happening through the inboud idoc, user requrement is once order is confirmed immediately sales order confirmation output type should send sucessfully, but the problem is
    Inbound idoc is using the sales order and blocking at the same time RSNAST program is using this sales order for sending the output type but not able to send due to the sales order is blocked by inbound idoc.
    Could you some body help me on this how can we proceed on this.
    thanks & Regards,
    MK.

    Check the Dispatch time of the Output type in transaction code :NACE.  You need not execute RSNAST00, if the despatch time is set to 3 ( Send with application own transaction ) or 4 (Send Immediately).  The output will trigger automatically after the sales order is saved.

  • Output Through FAX and Email for Order Confirmation

    We are yet to have this in our system and in requirements gather phase for my FS. I request you to help me in finishing this .
    so far i considered the following
    The following information is required :
    1. To all SD documents ? ( For eg : Order Confirmation,Delivery Note ,
    Legal invoice )
    2.Need to have a fax number/Email maintained for a customer
    3. Frequency of the ouput?
    4. Is duplication of output through email/Fax is required ?
    5. If sent by mail, in simple mail/ an attachment in pdf required and
    what shall the subject line contain?
    Please guide if i am Missed any requirement gathering . pls write me or send some kindaa FS

    Hi Yuvraj
    Kindly check the links for the output configuration and other inputs also
    [https://wiki.sdn.sap.com/wiki/display/ERPLO/OutputDeterminationOverview]
    [https://wiki.sdn.sap.com/wiki/display/ABAP/SendSpoollistofbackgroundjobtoSAPinbox]
    [https://wiki.sdn.sap.com/wiki/display/ABAP/PDFDownlaodByCreatingSpool+Request]
    Regards
    Srinath

  • Output Control Routine for Order Confirmation

    Hi,
    I have a problem in sending out order confirmation when the customer have a credit block, no order confirmation is being sent.
    Checked on transaction NACE, the routine for Order Confirmation (Routine 2), returns a sy-subrc =4
    when  the credit block is set. What is the best way to correct this?
    Thanks,
    Catherine

    Create the new routine in VOFM->Requirement->Output Control. Make the required changes in routine source text and assign it to output procedure (NACE).
    Thank You,
    Ganesh

  • Order confirmation issue output through output device sent email

    Hi:
         We set a output device type is eMail. When I print out order confirmation that I can to select output device 'email' and will display a field of email address to input email address.
         That is work in PRD, but in the DEV alway can't display the field of email address. Can anyone to tell me why?
    Best Regards,
    Nicole

    Dear Chen,
    This issue may related to output program so please take help of ABAPer to fix the issue.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for

  • Application manager not working why?

    My application manager is not working and I dont know how to reinstall it, Help please

  • Petstore 1.3 on Weblogic 7.0 with Oracle 8.1.7

    Hi, I am trying to get petstore 1.3 working on Weblogic7.0 with Oracle 8.1.7 database on HPUX. I made some modifications to the source files and regenerated the EAR files. When I copied the four EAR files to the applications sub-directory, two .ear f

  • Receiving error while viewing details for a particular session in ODI console

    Found following error in logs [2015-04-08T16:50:43.546-05:00] [odi_server1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId

  • How to skip first screen while calling transaction

    Hi all, I am using interactive alv. if i select one line and press details that must go to another screen. In that i must skip first screen and directly go to the details of that first screen. suppose i am using the code as follows call transaction m

  • Finding % discount on payment on OVPM (Outgoing Payments) table

    Hi guys, I'm reporting on the Outgoing Payments table in SBO's query wizard, but none of the fields, specifically the discount fields, show the discounts I make on payments. e.g. when making an outgoing payment, I enter some number in the "Discount %