Output Type on Sales Order delete

Is it possible to activate Output Type, sending iDoc, on Sales Order deletion?
On Sales Order create, change it works well, but not on delete.

hi,
this is Possible.
but it is not possible through Message Control ..
you need to write custom program..
that program read deletion data from CDHDR and CDPOS table and append data to idoc and post.
Prabhudas

Similar Messages

  • Add an output type in sales order header

    Hi Dear Experts,
    I try to find a way to add an output type in sales order header after the order was created.
    I also need the output to be sent immediately to the FAX.
    Do you know any BAPI or Function that can help me or have any idea how it can be done?
    Thanks and best regards,
    Sagit.

    Hi,
    You can use the FM ..RV_MESSAGE_UPDATE..
    Thanks
    Naren

  • Error status of output type in sales order (va02)

    hi,
    I have created a output type in salse order for Idoc generation.
    My problem when i create a order and if it's credit limit excced then it show me red status of out put type, and no idoc generated.
    If credit limit is not excced than it show green status.
    can anyone help me how to make it in green or yellow status even if credit limit exceeds.
    how to remove this check.
    can this be solved by configuration ???
    <REMOVED BY MODERATOR>
    Thanks in adance,
    Edited by: Alvaro Tejada Galindo on May 23, 2008 6:57 PM

    Hi Mohit,
    Go to [VA02], using the standard toolbar select Extras -> Output -> Header / Item -> Edit and go to the Output Screen. Again using the standard toolbar select Goto -> Determin Analysis. Now select your output condition type and see what could be the reason for why the output type has not been picked.
    Regards
    NP

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

  • OUTPUT TYPES FOR SALE ORDER(VA01)

    Hi All,
    When i create a sale order, the data can be downloaded thru output type BA00 & standard program RSNASTED into SAPScript, but i wanted to download it to internal table. Can u please tell me the changes to be made after copying the standard program into Z... Program.

    Hello Rafi,
    Better U debug the report. Since the data will be in the internal table, if it is downloaded to the Script. So u no need to copy and make the changes.
    Vasanth

  • How to add a new output type in sales order header via ABAP program

    Hi All,
    I have to add new output type (ex Z001) in sales order header via an ABAP program. please let me know how to do this.
    Thank you all in advance.

    Hi,
    You can use the FM ..RV_MESSAGE_UPDATE..
    Thanks
    Naren

  • Output Type in Sales Order

    Hi All.. Output type is not automatically selecting/ coming in sales order.. Condition record has been maintained in VV11 and I have also checked the configuration which seems okay to me.. Pls suggest where is the problem?
    thanks in advance

    Hi Mohit,
    Go to [VA02], using the standard toolbar select Extras -> Output -> Header / Item -> Edit and go to the Output Screen. Again using the standard toolbar select Goto -> Determin Analysis. Now select your output condition type and see what could be the reason for why the output type has not been picked.
    Regards
    NP

  • IDOC Message type 'ORDCHG' - Sales Order Delete funcanility

    Dear Guru's,
    I have a requirement for a client where client is sending a EDI message to change & Delete a Sales order. I have mapped change option with IDOC message type 'ORDCHG' and basic message type 'ORDERS05'. Change option for the sales order is working fine.
    Can any one tell me with message type 'ORDCHG'. how to delete a Sales Order. In EDI, client is passing only Header segments with Summary details.
    Your reply will of greate help to me.
    With Best Regards,
    M. Rajendran.

    Hi Ram,
    Thanks a lot for sharing the link, but this dint solve my purpose. I have a different case all to geather.
    My client is passing only Header segment and summary segment in the EDI. Thru ORDCHG i need to cancle/Delete entire sales order.
    But i found that in standard IDOC Message type 'ORDCHG' only line item deletion/Cancle is availble but i wanted to delete/cancle entire sales document.
    Any possibilites available in ORDCHG. Your reply will be much appreciated.
    Thanks in Advance.
    With Best Regards,
    M. Rajendran.

  • FM to update output type in sales order

    Hi folks,
    my problem it's the following, if you update a sales order in tcode va02 and I change the status, automatically it's assigned the output type to this status, that is working fine,  I'm maintaining a report that it changes the status to the sales order but kind of the output type is not maintained, somebody knows a FM or Bapi to update the output type?
    Many thanks.

    Please check the BAPI BAPI_SALESORDER_CHANGE
    *"      CONDITIONS_IN STRUCTURE  BAPICOND OPTIONAL
    COND_TYPE
    Kanagaraja L

  • User exist for controlling the OutPut type in sales order

    Hi
    Is their any exist which controls the output type based on header data of the order? VA01/02.
    Best regards
    Satish Kumar K

    Hi,
    IN the VOFM routine you can use the structure KOMKBV1 which will be populated with the sales org (VKORG), division (SPART) and order type (AUART).
    Example
    SY-SUBRC = 4.
    IF KOMKBV1-VKORG = '0001' AND
        KOMKBV1-SPART = '12' AND
        KOMKBV1-AUART = 'ZXXX'.
    SET THE return code to 0 to propose the output type.
      SY-SUBRC = 0.
    ENDIF.
    Hope this helps..
    Thanks,
    Naren

  • Default Output Type for Sales Order Header

    Hi Guru
    I created 2 output types for hardcopy printout and for mail.
    I want both should be selected as default when a sales order is created. (using NACE)
    Output will be manually from VA02 -> issue output to. Here I must get 2 output types.
    As of now, this is manual process. 
    Please help.
    sunil Kolambkar.

    Hi Sunil,
    For this you need to maintain condition record for output type. for the sales order type, [V V11].
    Do the output determination in the same way as Pricing procedure determination.
    OUTPUT DETERMINATION:
    SPRO- IMG- Basic Functions- Output Control- Output Determination- Output Det using Cond Tech- Output Det for Sales Documents & output det for billing documents.
    Create Condition Table: select the field Sales Doc Type from field catalog & Save
    Maintain Access Sequence: 4-digits code & description.
    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:
    AF00: Inquiry
    AN00: Quotation
    BA00: Order Confirmation
    LD00: Delivery
    Select BA00 & Copy & Rename. Give the same 4-digit code as given to acc seq.
    You Can Maintain:
    Languages of Output
    Partners (to whom we want 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). Go to new entries & create your own 6-digit code with descp. Select the procedure & go to Control Data. Here mention the output type i.e. cond type & 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 Orgn, 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.
    Hope this would be helpful.
    Regds,
    Rupali

  • Output type config -- Sales Order

    Hi All,
    We have a requirement where we need to trigger a custom output type for the condition  "Sales Org./ Div./Doc. type/Plant (Item)". This should be triggered at the header level. The settings have been done. Now while creating an SO, the output type is getting triggered automatically only when I check for the output at item level and then come back to header level. In case if I don't check the output at item level, the output type at the header is not getting triggered automatically.
    Please let me know of any work around to get this done.
    Thanks,
    Raj.

    Hi Mohit,
    Go to [VA02], using the standard toolbar select Extras -> Output -> Header / Item -> Edit and go to the Output Screen. Again using the standard toolbar select Goto -> Determin Analysis. Now select your output condition type and see what could be the reason for why the output type has not been picked.
    Regards
    NP

  • 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

  • Suppress Output type in Purchase order 'message' tab

    Hi,
    Can any one suggest how to suppress the existing output type in purchase order ' selecting from list of output's from message tab'.
    We need in database and should not delete. can it be possible to hide from list in PO that user cannot select that output.
    Thank You,
    Bhanu.

    Bhanu,
    I got your requirement, but could you please let me know on what scenario you need this, because if you need the system to perform like this only when there is some specific fields in the PO, like for eg, P.organisation, or vendor, or Document type etc,,,,anything specific to this,.....then i think if  you create a table which will exactly show your target values, like grouping DOC+P.ORG+VN, or any other combination, and then assigning this to one access sequence which will in turn get assigned to the Output type which you want, then i think only that output type will pop up as the other one is not assigned to the access sequence or the combinations you set. Likewise you can suppress one Output type.
    Regards,
    Sankar

  • Output type for Diff Orders???

    Hello guyz,
    I would like to  see the  output types used for different order types, I would appreciate if you could let me know the T-code or step by step procedure to check.
    Thanks.
    Mohammed

    Hi Mohammed,
    You may also do it this way since you want to check the output types maintained for different order types. Whether the output type is being used for a particular order type will depend on whether the condition record is being maintained.  You can check the individual output type maintained in the output procedure and then check the condition records for each key combination.
    Another way would to check would be as below
    1. Browse T682I table.Select Application as 'V1'. It will list you the access sequences for Sales and the condition tables being used for maintaining output types for sales.
    2. Take the condition table field value and browse on the condition table using SE16 to see what conditions maintained. You will have to prefix 'B' to the table value to browse. for eg if table field value is 006, then the condition table is B006.
    See if this helps you,
    Regards,
    reward points if is helpful

Maybe you are looking for