Output determination during delete order

Hi,
As per requirement, When a unprocessed order(which doesn't have any further documents) is deleted in SAP, it has to update certain Z tables. How can this be achieved using using Output determination/ output types?
How does output determination works during order deletion?
Thank You in advance.
Thanks
Challa

Hi
To update the Z table, use the USEREXIT_DELETE_DOCUMENT in include MV45AFZZ (see the comments).
For output control, see SAP Note 960611 - FAQ: Output control in Sales and Distribution, question 2. It says that you have the report SD70AV1A to process messages for SO.
Note 701163 - Correction report pricing create a ZZ subroutine in MV45AFZZ with a SUBMIT, so I understand that it's possible alghough I have doubts if it'd be advisable, but you can try to do a SUBMIT to SD70AV1A before update the Z-TABLE, but check it and be careful. For instance, be sure that the message exists in table NAST and so on, to avoid error messages.
I hope this helps you
Regards
Eduardo
PS: Other idea, cleaner than my first anwer. See SAP Note 32662 - User name added to new condition table. Perhaps you can enhance KOMKBV2 with any indicator of deletion and so, it could control the output scheme in a VOFM subroutine. For instance, if you are deleting, T180-TRTYP = 'L'. It's other idea.
Edited by: E_Hinojosa on Jul 12, 2011 6:19 PM

Similar Messages

  • Sales Order Output - determined by Sales Order Type, Created By

    I want have my order output determined by sales order type
    (vbak-auart) and created by (vbak-ernam).
    I have created a condition table 501, access seqeunce Z001.
    In v/48, in accesses for Z001, I created
    AcNo: 10
    Tab: 501
    Requirement: [empty]
    Exclusive: unchecked
    in fields, I can't find ERNAM in structure KOMKBV1(header), but I find one in KOMPBV1 (item).So I have assigned it to ERNAM.
    besides, I have created the corresponding records in VV11
    I expect to have:
    Output Z001 will be created for sales order type OR if created by user XXX
    However, no output is generated. When I go out detemination analysis, I found that in the output determination procedure, it did go into output type Z001, but, since no value is found for "created by", i got message "Access not made (initialized field").
    I suspect that no value stored in KOMPBV1-ERNAM. Do you know how I can get it done?
    Points will be awarded for useful information. Thanks in advance.

    Hi
    You have to include this field as a Zfield in the structures KOMKBV1, KOMPBV1 and KOMB.
    You have to include the field as Zfield in these structures.
    Once this is done, you should also be able to update this field in the structures.(As on now, you have only created a field, but you have not mentioned how the field has to be updated.
    In order to update the logic, you have to do a small code in one of the user exits for outputs.
    In the user exit, you have to write a code like this
    MOVE VBAK-ERNAM = KOMKBV1-ZERNAM(this is the zfield you have created)
    Now create the condition table and do the rest.
    Your output should work fine. The user exit I was saying is the subroutine USEREXIT_KOMKBV3_FILL in the include RV61B902 in the user exit RVCOMFZZ. If you can give this info to the technical guy, he should be able to find out the same for saels order output also.
    The user exit RVCOMFZZ also has the subroutine USEREXIT_KOMKBV1_FILL    which you can verywell use for your requirement. This will solve your problem
    Hope this helps.
    If you have any problems in this, you can again put the problems in this thread. I will try to solve.
    Reward if this helps you

  • Output determination for sales order via email notification

    Dear All,
    Can some one provide  me  a  step by step configuration guide for Output determination via email notification.
    I would appreciate for your prompt response.
    Thanks
    ANGKS

    Hi there,
    For getting output Email or any media you have to do output determination. output determination is also carried by Condition techniques.
    Configuration path: (following are the steps)
    1) SPRO-> IMG-> Basic Functions-> Output Control-> Output Determination-> Output Determination using Condition Technique- >Output Determination for Sales Documents .
    2) Create Condition Table: select the field Sales Doc Type from field catalog & Save
    3) Maintain Access Sequence: 4-digits code & description. 
    4) Assign condition table to access sequence. Select Accesses line item and Go To Fields. Fields will display the fields we have selected in the condition table i.e. sales doc type. Maintain Output Types:BA00: Order Confirmation Select BA00 & Copy & Rename. Give the same 4-digit code as given to access sequence. You Can Maintain: Languages of Output Partners (to whom you need to send output) Print Program- print specification Sap Script- layout Assign Output Types to Partner Functions: go to new entries & assign your output type to partner functions. Maintain Output Determination Procedure: V10000 (Standard Procedure)here you select communication medium Email.
    Go to new entries and create your own 6-digit code with description. Select the procedure, go to Control Data. Here mention the output type i.e. condition type and leave requirement and manual only columns as blank. Determination Rule: link the 6-digit procedure code to doc types. Create Condition Records: VV11. Select document type and click on Communication. Mention partner function, medium, time. Output device: LP01, Spool request Name: SD_003, Suffix 2: order_confir & flag on print immediately. Once you press enter you will come across 2 key combinations: Sales organisation/ Customer Number: fill SO, Customer No, Partner Function Abbreviation, Partner to whom the output should be sent, time, medium, language. It contains: Sales Orgnisation, Customer, Partner Function (The abbreviated form of the name that identifies the Partner) (During output determination, the system determines the recipient of the output from the master record for the specified partner function. In this field, you can explicitly specify a recipient that will override the standard partner. There must also be a master record for the partner that is specified explicitly.), Medium, Time & Language.} Order Type: Document Type, Partner Function (abbreviation), Partner, Medium, Time & Language. Path For Output Determination For Sales Documents: Logistics -> Sales/distribution -> Master data -> Output -> Sales Document -> Create (t-code VV11) Path for Output Determination
    I hope this will help you.....
    Regards
    Deepak

  • Output determination for purchase order

    Dear friends,
    Please help me, how to create condition record for both printout and email for output determination of standard PO.
    I have created condition record through MN04 for Purchase order with medium(external send) and it worked.
    I also need to create condition record for printout. Because Client wants to select either email,fax or printout. They will select whatever sending option.when i tried to create condition record for medium(1-printout).I got an error " The condition record entered already exists". So i tried to change that condition record,but i got here also error as "The condition is being processed in the current session".
    Please help me to set up condition record for both mail and printout for standard PO.
    Thanks

    For this kind of option you need diff message type like
    use NEU for Fax and Print and for Email create new message type than it will work.

  • Output determination for Transfer Order(WMTORD)

    Hi Friends,
      My Requirement is to send an idoc to an external warehouse when i save Transfer Order.
      For that i have created a Partner Profile with message type WMTORD.
      When i save the transfer Order if the warehouse number and storage type matches to specific numbers then it has to trigger the given partner profile..for this usually we will do output determination.
    Please help in doing the output determination for the above case..i know normal output determination procedure from NACE transaction.But warehouse mangement it would be defferent.please help me,,
    Thanks a lot.
    regards,
    Ravimacha

    Hello Ravi,
    I would like to generate an outbound idoc (using Message Determination/Control)  when a delivery is created (via tcode VL01N).  I created a Partner Profile with message type WMTORD.
    In setting up the Partner Profile: Outbound Parameters, I didn't find a standard SAP Process Code.   Did you find one, if so, what would that be?
    (I've found process code WMT1 but it is for inbound.)
    Thanks in advance,
    Millie

  • Reg:output determination in purchase order

    hi,
       when i am creating purchase order i given all the details once i go for save the order it shows a pop up window " no message could be found for output of mesage save any way '.
    my requirement is how to avoid this popup message. i thing the problem is output determination is it correct?
    regards
    muthuraman.d

    Yes, it is output determination. The system is telling you that no message e.g. PO print out, will be produced.
    SPRO-> IMG-> Material Management-> Purchasing-> Environment Data-> Define Attributes of System Messages..
    The message id is 06 261
    I think as a default this is a warning, even without an entry in the above table. You can add it and set to 'no entry' i.e. switch it off. This OK in Development or PPD but I wouldn't suggest you do this in Production.
    Regards,
    Nick

  • Output Determination for Sales Order Confirmation

    Hi,
    we are working with CRM 7.0 and I am currently trying to set up the output determination for order confirmation. The goal is that I would like to be able to differentiate the output medium, so print, fax or e-mail, peferab
    I have created an action profile which triggers the output, that works fine.
    My idea is to use condition technique where I could set per sold-to party which medium is used.
    Before that, I tried to add it as a normal action.
    However I tried to add my action profile to the action condition, once with "e-mail" and once with "print". But a) only the first line is shown and b) I cannot change the description so that the user can realize if he prints or e-mails the output.
    Can you give me a recommendation how that is usually set up and what I need to take into consideration?
    Thanks

    Ive uploaded a document on the steps i have done for setting up a Output type at:
    http://www.scribd.com/full/16969034?access_key=key-1tw12d6pow1xa4r6afcs
    or
    http://www.scribd.com/doc/16969034/Output-Determination-for-Delivery
    Still im not successfull in generating the IDOC. Please help.

  • Output determination for Shipping order confirmation

    Hi,
    Im new to the SD module.
    I want to send the BOL  information to XI as idoc DESADV.DELVRY03.
    How am i supposed to do this? Should i create a new Output type?
    I guess since im sending this to XI i should maintain the partner function as LS right?

    Ive uploaded a document on the steps i have done for setting up a Output type at:
    http://www.scribd.com/full/16969034?access_key=key-1tw12d6pow1xa4r6afcs
    or
    http://www.scribd.com/doc/16969034/Output-Determination-for-Delivery
    Still im not successfull in generating the IDOC. Please help.

  • Route determination during sales order creation!

    Hello all,
    I am having a problem with route determination in sales order. The issue is when I remove delivery block (LIFSK) on the sales order and select 'under minimun' in orther reason (AUGRU)field, the route is not getting determined when the partner at the header level is changed.
    When if there is a delivery block and other reason is empy, the route is correctly determined when the partner (intermediate consignee) is changed.
    Why is it behaving this way? Any siggestions?
    Thanks,
    Message was edited by:
            Naren Somen

    Hello all,
    Looks like if there is credit block for a customer, the sales order is not getting updated. Is there anyway to get around this?
    Thanks,

  • Item Category Determination during Sales Order Creation

    Dear All,
    This is Chee Wee, i'm new to SD, i would like to seek for an advice for the topic related to Item Category in Sales Order.
    We have a material "Mat005" define as "Stocked" Item category in MM03,
    *Stocked means our MM team will always keep stock for the material.
    The document Item category assigned to this "Stocked" are "NoPo" --> No Auto Po creation and "AuPO" --> AutoPo  creation.
    During the SO creation for Mat005 with Qty50 and warehouse stock availale for 60, i'm wondering when i select the itemCat "AuPO", the system automatic changed to "NoPO", but when i change the order qty to 70, then i'm able to changed the itemcat to "AuPo"!!
    Can any Guru advice me what is the actual setting or configuration behind to determine which are the correct Item Category that i can choose?
    Thank you very much,
    Regards,
    Chee Wee

    Dear Chee Wee,
    Basically tem category will determine based on these key combination
    Item category group(Material master)+Sales document type(We enter doc type in the creation initial screen)--->Item category
    For Example NORM+OR--->TAN.
    As per your explanation
    I hope In your case stock availability also one of the factor in the item category determination.This might have done some enhancement.
    There are two item categories in your process one is  "NoPo" --> No Auto Po creation and  second one is "AuPO" --> AutoPo creation.
    the system automatic changed to "NoPO", but when i change the order qty to 70, then i'm able to changed the itemcat to "AuPo"!!
    60 Qty Stock available, you have created sales order for 50 Qt here requirement is less than stock availability so system will not allow you to enter AuPo item category Because there no need of auto PO creation for stock.
    When you created sales order for 70 Qty, stock available only 60 so there is shortage of 10 Qty.now system needs to allow to create Auto PO to procure the shortage stock of 10 Qty, so system is allowing you to enter Yaupon item category.
    There might be some work around kind take help of ABAPer to get the more details about your item category determination.
    I hope this will help you,
    Regards,
    Murali.

  • Urgent error in output determination   while sending order confirmation

    hi all
    while sending the order confirmation i m getting the following error
    window TITLE is not defined for form RVORDER01 and
    error during readingTVBUR (return code 4) pls let me know if u have any inputs.

    Hi
    The Title window is either modified or deleted from the Layouot.
    You can contact your ABAP , they will help to correct this issue.
    This is a ABAP error and no confirguration involved.
    Regards
    KRSNA

  • Batch determination during process order release

    Dear Experts,
    I am facing a problem, and not able to figure out the reason. There is material having base unit as 'EA' and Issue unit as 'NO' and conversion is 10 NO= 1 EA. The same material is maintained in the BOM as 1 NO. At the time of creation of process order, system is copying the same quantity in the process order (1NO). When I release the process order, the batch determination is happening. Now the issue comes, instead of doing batch determination of 1 NO, system is doing batch determination for 1 EA (which is equivalent to 10 NO.!). Can anyone help me to find out the reason for same.
    Thank you.
    Sagar

    Dear Mohit,
    If you want to go for external batch numbering during order release then
    - Set no automatic Batch creation in order in T.Code CORY.
    This setting only restrict the automatic Batch Creation in order only.But to fulfill second your requirement of restricting order release or save without assigning external batch no you have to either go for,
    - User exit.Below are the user exits which are trigger at the time of order saving
    PPCO0006 to predefine entries for order header fields when
    an order
    PPCO0001 to provide information at the time of saving (for
    production orders and process orders)
    PPCO0007 to check or change header data when saving
    or
    - Create screen variant using T.code SHD0 and make Batch Field compulsory.
    Regards,
    Dhaval

  • Routing cannot be determined during production order creation

    Hi,
    I am puzzled as to why the system cannot determine the routing data when i create the order against a material. I have confirmed the following that :-
    1) Order type refers to the correct routing selection id and routing type, rate routing in this case in OPL8.
    2) The rate routing is already created for the validity date with the correct usage and release status.
    Please check the screen shots attached :- http://wikisend.com/download/509556/routing.zip
    Can someone please help on this peculiar problem

    Hi,
    Are you using any production version. Check your production versions date range, lot size, also check if your production version is locked.
    Also check whether you have assigned the selection ID in OPU3 for the order type.
    Also check OPEB setting.
    Hope it will help you.
    Regards,
    Alok Tiwari

  • Output determination for PO

    Hi, I don't have much knowledge,waht are the steps and settings  required to maintain output determination for purchase order and material document.
    Thank you.

    Hi,
    PO Output
    Output of Purchase Order
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving output type.
    GR Output
    Output of GR
    After setting table, access sequence and output type for GR,run MB02 transaction, enter material document number. Double click one line item and select messages. Separate screen will be opened to configure outputs. Give the required fields and save the document. Now Run MB90, you can take printout. Output Type: WE03 or WE01 or WE02
    Regards,
    Biju K

  • Steps for output determination

    Hi
    Can any one give me steps for output determination
    Thanks
    Rajesh

    hi
    Output Determination Configuration
    Sales order confirmation
    1. Maintain output types (Transaction: V/30 or Sales & Distribution -> Basic Functions -> Output -> Output determination -> Output proposal using the condition technique -> Maintain output determination for sales document -> Maintain output types)
    1.1. Select and copy BA00 to ZA00
    1.2. Access sequence 0003 (Sales org / customer). If one of these is not suitable then you need to maintain condition tables
    1.3. Change Transm. Medium to 6 (EDI), partner function SP (Sold to), Time (4 = immediate)
    1.4. Check access to conditions and check off multiple issuing
    1.5. Save
    2. Assign output determination procedure (Transaction V/47 or Sales & Distribution -> Basic Functions -> Output -> Output determination -> Output proposal using the condition technique -> Maintain output determination for sales document -> Assign output determination procedure)
    2.1. Create a new entry for ZA00, medium 6, function SP and order confirmation.
    3. Maintain output determination procedure (Transaction V/32 or Sales & Distribution -> Basic Functions -> Output -> Output determination -> Output proposal using the condition technique -> Maintain output determination for sales document -> Maintain output determination procedure)
    3.1. Check Assign output determination procedures -> Allocate sales document header (Transaction V/43) for the Output procedure being used for order OR and BA00 and you’ll find that it is linked to V10000
    3.2. Select V10000 (Transaction v/32) and choose control
    3.3. Add a new step for your new output type. Eg. Step 40 (Next Step in sequence), Counter, Type = ZA00 and requirement 22 (Requirement tells when the output is required to be fulfilled. Ie. After order confirmation, after goods issue, …)
    4. Create condition records (Menu path: Logistics -
    > Sales & Distribution -> Master data. Output -> Sales document – Create)
    4.1. If required select the appropriate key combination (in this case the Sales org / customer relationship)
    4.2. Enter the customer number (QWM000 in this case) and enter. The rest of the values should be read in except the partner number.
    4.3. Enter the required partner number (QWM000 in this case). This is the partner that will be EDI’d the data. It is usefull when you have multiple SAP customers that need to send messages to 1 partner. Eg. All the Wal-Marts send their invoices to 1 office. You would then have a list of customers, relating to each Wal-Mart, pointing to 1 Wal-Mart partner that will receive all the EDI docs.
    Advance shipping notification
    Similarly the output type was copied from LALE to ZALE and linked to partner QWM000
    Based on when a delivery note is created (Transaction V/36)
    Invoice
    Similarly the output type was copied from RD00 to ZD00 and linked to partner QWM000
    Based on when a delivery goods issue is posted. (Transaction V/42)
    =====
    also Refer to the links below. can get useful info..
    Output Determination
    http://help.sap.com/saphelp_46c/helpdata/en/30/c6853488601e33e10000009b38f83b/frameset.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/b3/58bf39f7568648e10000000a11402f/content.htm
    http://www.sap-img.com/materials/purchasing-tips.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/output-determination-572556
    =======
    Screen Shots OUtput Determination Enhancing
    http://www.saptechsolutions.com/pdf/EnhancingOutputDetermination.pdf

Maybe you are looking for