Deletion of delivery and rejecting the sales order

hi,
my requirement is
we have to delete the delivery and reject the sales order.
can any body provide me the code for that.
it is very urgent..
thanks in advance.

how do we come to know abt ur Config settings  in case of rejecting Sales Order ? Just ask ur functional person what to do in  this case ?
Regards
Prabhu

Similar Messages

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • Error when i reject the sales order

    Hi:
    I´m in Upgrade to 6.0, and when I reject a sales order in SD, the system show me this message "Subsequent function 'Production order/plan order from sales document' not possible: Item 000010 was rejected Message no. V1579".
    In the implementation the products was delivered for the company, but today they work with service orders but the integration SD with PP is until running but they user the order for documentation and to saw the costs.
    I wrote a SAP message and read this notes 964813 and Note 1028464 but both are already aplicated. SAP responce to me but I don´t konw to much of the SD and PP integration. Please, can any one help me?
    SAP responce:
    Info to SAP    
    12.03.2008 - 12:49:44 CET - Reply by SAP     Attachments
    SAP Note 97272  - Rejections of individual order items possible
    SAP Note 356895  - Rejection of third-party items and individual PO items
    SAP Note 549972  - FAQ: rejecting third-party or individual PO items
    SAP Note 1054121  - The SAP Ecosystem in a Nutshell
    Dear Gina,
    I was analyzing the problme in your system.
    If I understand you rigt you are expecting that the link between the
    sales order and the production order is not deleted when you set the
    reason for rejection. When you set the reason for rejection again then anew production order is created.
    The standard behaviour is that the link between sales order and
    production/assembly/service order is deleted. As field vbep-aufnr is
    deleted also no later restructuring is possible.
    In the header table of the order aufk-kdauf there is still the relation
    to the sales order number but there is a deletion flag set for it and
    the link can't be reactivated.
    I am sorry that I could not give you a more positive reply.

    Hi:
    In the table AFKO I don´t have any order document. I searched this, before reject the sales order, and then, when I try to reject the sales order, and in both cases I don´t have the relation about the order and the sales order in this table.
    I looked at the table AUFK and in the field KDAUF I saw the sales order and the relation with the PM order, and this is my problem, I don´t no why the message error tell me something  about PP order,  I didn´t understand.
    I saw the customizing and I Know they works with the "Strategy group" in materials and it was customizing in "Demand Management" and the order was customizing in "Plant Maintenance and Customer Service", (PM) customizing the Order Types. I think when finally they decided that the material was only for services, they changed something, and the customizing is not complete in PP.
    In the old version 4.6C the rejection of sales order works, but in this version 6.0 and with MRP implementacion I don´t know in what step this was change. If you Know where can i find if something of MRP affect the previous integration please let me know, because I think is a PP customizing problem.
    Thanks
    Best Regards
    Gina

  • Automatically creation of delivery group in the sales order

    Hi Can u please tell me how do i create automatically delivery group in the sales order.

    Hi,
    You can maintain the complete delivery indicator in your Customer Master(Ship to Party ) record shipping tab(Partial deliveries).
    As per SAP ,This indicator
    Indicates whether a sales order must be delivered completely in a single delivery or whether the order can be partially delivered and completed over a number of deliveries.
    There by it can form a Delivery group.
    Have a Nice Day.
    Regards,
    Ravi

  • Delivery date on the sales order

    Hi frnds
    I am facing an issue here. When the sales order comes of credit hold the system proposes a new delivery date in the sales order. How can i change the settings to avoid the system from assigning weekends(Saturday & Sunday) as the delivery date????
    I have checked that the factory calendar is set for weekdays only and also the propose del date is check marked in VOV8, OVX5 & OX10 have factory calendar asssigned but i am not able to figure out how to restrict the delivery date to weekdays to be proposed by the system.!!!
    Am i missing something???
    Will appreciate your suggestions.
    null

    Hi,
    The fields needs to be activated in the filed group in accounting.
    The path is SPRO -> Financial accouting -> Accounts Receivables and Accounts Payables -> Customer accounts -> Master data -> Preparations for creating Customer master data -> Define account groups with screen layout.
    Shiva

  • Complete delivery indicator in the sales order header level

    my order quantity is 10 and having the complete delivery indicator in the header level
    Complete delivery indicator in the sales order header level
    when i am doing the partial delivery i got below error
    Delivery quantity is less than quantity of 10 PC assigned to batches
    this is warehouse linked.
    Please let us know how to do the partial delivery.
    when i click on the bacth icon to reduce the quantity it is greayed out.
    is there any posiblity to reduce the quantity in the transfer order
    Please do the needfull
    thanks
    Raju.

    Hi
    Usually this Complete delivery indicator flow from Customer master data. you need to change this data in Customer Master
    Sales Area Tab under Shipping view Remove the Complete delivery indicator, also in Partial delivery per item keep the field Blank ( Partial deliveries allowed )
    I hope this will solve your issue
    Award if useful to you

  • Add 2 buttons Release and Reject on Sales Order CRMD_BUS2000115 application

    Hi Experts,
    My Requirement is to add 2 button 'Release' and 'Reject' for Sales Order CRMD_BUS2000115 aplicaiotn using PCUI.
    Also provide the functionality...as
    1.Click On Release will change the status of seleceted order as "Released" i.e. to remove the Billing/Dleivery Blocks...And SAVE it.
    2. For "Reject"  change status as Rejected and Save it using standard "SAVE'' button.
    Can anybody would explain how should i proceed and where i have to code ??
    Or Source code or sample code?
    Can I call BAPI_TRANSACTION_COMMIT aftre changing it ??
    Thanks in Advance,
    Arjun Pawar.

    Hi Experts,
    I have added 2 buttons 'Release' and 'Reject' for Sales Order CRMD_BUS2000115 aplication using PCUI which provides the functionality...as
    1.Click On Release will change the status of seleceted order as "Released" i.e. to remove the Billing/Dleivery Blocks...And SAVE it. 2. For "Reject" change status as Rejected and Save it using "CRM_ORDER_SAVE" api followed COMMIT work. Functionality is working fine.
    But <b>I'm getting an error / explorer error " An error has occurred in this script page" ( the Error is : 'CAT Params' is undefined ) is coming as soon as query/click on "GO", carried out after the action performed like "Release/Reject"</b> on the sales order approval screen.
    Please, can anyone give an idea @ the cause of error ?? whether it is frame error ?? or else???
    And How to resolve it???
    Thanks,
    Arjun

  • How to get the delivery number for the sales order

    hi
    how to get the delivery number for the sales order

    Hi,
    1. IN VA03, enter the sales order and click on the document flow button. From there you can check the delivery document.
    2. In SE11, enter VBFA(Document flow) table and enter the sales order in VBELV field and in VBTYP_N field enter 'J' to specify that you want to check if there is already a delivery document for that sales order.
    Hope it helps...
    P.S. Please award points if it helps...

  • How to Place Approve and Reject Button in every row to approve and reject the particular order in sapui5

    Hi Experts,
       How to Place Approve and Reject Button in every row  to approve and reject the particular order in sapui5.
      Please Kindly help me.
    Thanks & Regards
    Chitti Babu

    Hi Chitti,
    You can achieve this using sap.m.CustomListItem.
    View :
    <core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
      xmlns:l="sap.ui.layout" xmlns="sap.m" controllerName="demoallinonegrid.tablewithscroll"
      xmlns:html="http://www.w3.org/1999/xhtml">
      <Page title="Title">
      <content>
      <ScrollContainer horizontal="true" width="100%">
      <Table id="empTable">
      <headerToolbar>
      <Toolbar>
      <Label text="Employees"></Label>
      </Toolbar>
      </headerToolbar>
      <columns>
      <Column width="12em">
      <Label text="Employee Id"></Label>
      </Column>
      <Column width="12em">
      <Label text="Last Name"></Label>
      </Column>
      <Column width="12em">
      <Label text="First Name"></Label>
      </Column>
      <Column width="12em">
      <Label text="Title"></Label>
      </Column>
      <Column width="12em">
      <Label text="Approve"></Label>
      </Column>
      <Column width="12em">
      <Label text="Reject"></Label>
      </Column>
      </columns>
      </Table>
      </ScrollContainer>
      </content>
      </Page>
    </core:View>
    Controller:
    var model = new sap.ui.model.json.JSONModel();
      model.loadData("http://services.odata.org/Northwind/Northwind.svc/Employees?$format=json",null,false,'GET',false,null);
      this.getView().byId("productTable").setModel(model);
      var template = new sap.m.ColumnListItem({
      cells:[
            new sap.m.Text({text:"{EmployeeID}"}),
            new sap.m.Text({text:"{LastName}"}),
            new sap.m.Text({text:"{FirstName}"}),
            new sap.m.Text({text:"{Title}"}),
            new sap.m.Button({text:"Approve"}),
            new sap.m.Button({text:"Reject"})
      this.getView().byId("empTable").bindAggregation("items","/value",template);
    Output:
    Regards,
    KK

  • Mass delivery block in the sales order

    Hi
    Is there any way to remove the delivery block at the itel level in the sales order using the mass.
    I have some thousand of sales orders with the delivery block at item level.
    please let me know, this is urgent requirement.
    Thanks
    Aravalli

    Dear Aravali
    If I am correct, you cannot assign delivery block in sale order at item level, but can assign Reason for Rejection at item level.  Only at header level, delivery block is there.
    Nevertheless, if you want to remove the reason for rejection, go to MASS, input BUS2032 and execute.  There select [Sales Order Item Data]  and click on Fields. Select the field MASSVBAP-ABGRU and execute.  Give the required sale orders which you wanted to change and execute.  You can change and save so that the block will be removed at item level.
    Alternatively, if you are referring to field [LIFSK]  in that case also, select Sales Order Item Data and click on Fields.  There choose the field MASSSDHEAD_S-LIFSK and execute.  Make the required changes and execute.
    thanks
    G. Lakshmipathi

  • Unable to change requested delivery date in the sales order at item level.

    The issue is when I create order with one material (linked to network and project is created automatically in the background), I am able to change (in change mode) req delivery date for an item, but when I create order with 2 materials (linked to network and project is created automatically in the background), I can not change (in change mode) the req delivery date of any item. Req delivery date is then copied from the header req delivery date.
    Is this a standard SAP functionality or a defect?

    Req del date is the date requested by customer and  can be changed at item level. Probably the confirmed date in the schedule line is derived from the network scheduling after ATP check. (ATP check is not activated in this case)
    I am able to change the req del date at item level if there is only one item (Linked to network) and not when there are two line items (Both are linked to 2 diff networks belonging to same project)
    I tried to change the date in the network, scheduled and saved but that didnt change the date in the sales order. On the contrary, if I run ATP check, netowrk dates get back to original dates derived from sales order.

  • Need Profit centre field as mandatory field in the sales order

    Dear All,
    Normally Profit center data maintained in the material master, same data will get coipied to the sales order while creating sales order in VA01 transaction.
    My requirement is if profit center data is not maintained/available in the sales order system should give the error message
    For this I need Profit center field as mandatory field in the sales order(VA01).
    Can you please give possibilities ASAP.
    Give the SHD0 maintenance step by step.
    Regards,
    Murali.

    Hi Murali
    I beleive that you are talking about the Profit centre field not maintined in sales order hence not picked in delivery and billing and there is an FI posting error  (GL account error) because of that
    Profit centre is maintained in MMR and the same flows thro the sales cycle and i am quite sure if maintained in MMR it will be picked automatically and no need to make it mandatory in sales order( as the purpose is already solved)
    But there is no standard option in SAP like (even if Account assignment category of the material is not maintained in MMR it can be given in VF02 and the document can be released for accounting) to give the Profit centre in the billing and release the same
    Profit centre field field is picked from masters and flows in the entire flow and that field is greyed out (like no option of inserting it inbetween)
    As told by others incompletion log in sales doc type will take care for future orders and for the already created orders the standard option is cancel billing, reverse delivery and open the sales order and give   Profit centre field and process it (if only a few orders are there)
    But if the already created orders are many then from the FI Area  you need to go for development ( we also faced this issue as profit center not maintained in MMRs and hence accounting got hit and there were tons of billing docs and our FI consultant made some development to open it and solve it) FI consultant should be able to do this for already created orders
    Instead of making Profit centre field as mandatory field in the sales order better make it a mandatory entry in MMR
    Regards
    Raja

  • Can we delete the sales order?

    hi,
    can we delete the sales order?

    Use transaction code SARA for deletion of sales order but as every body said it is not recommended as it might affect the documents made against it and also the master data.
    So its better to reject the sales order.
    Regards
    Prashant

  • Sceduling as per the delivery confirmation date in sales order

    Hi,
    I am working with planning strategy 50 and using availabilty check as per ATP.
    When I create the sales order and check the availabilty, system confirms the delivery after TRLT(current date+TRLT).But when I run MRP,system creates a planned order on the req delivery date date.
    (Req date - GR Processing Time - In-House Production time) so that Planned Order is available on the req delivery date.
    As the system confirms the delivery after TRLT,I want my planned order's availabilty on the same date.
    to summarise,I don't want system to consider the Reqmt date as reqd delivery date of the sales order but the conformed delivery date of the sales order.
    I appreciate your help in letting me know if there is any way we can do this.
    Regards,
    Sastry
    Edited by: Sastry Krishna on Dec 13, 2008 4:45 PM

    Hi,
    Can you check what is the Variant (dates filed) specified by going to SM37 transaction.do as below,
    Goto SM37 transaction and give job name and then execute then select check box against date you scheduled job and then CtrlShiftF9,now place cursor on program/command and from the menu Goto-->Variant,here you check if any date range there.
    Regards,
    Chandra

  • Find the sales order number with  delivery document

    hi:
    i want to quickly look for the delivery document  related the sales order ,now i find it via se16 in talble vbfa.
    please help me provied with means.
    best regards.

    hello, friend.
    you can go to your delivery document and click on the 'document flow' icon.  you will see the sales order number there.
    regards.

Maybe you are looking for

  • CS5 Production Premium causing problems with CS4 Production Premium

    I have been using CS5 Production Premium alongside CS4 Production Premium for a while now.  After Effects, PhotoShop & Illustrator work alright together (both CS4 & CS5 versions).  My job actually necessitates me keeping both versions on my machine.

  • JSP Question..Very Very Urgent....Please help....

    Hi... I am working on customizing existing JSP Page. The idea is to retrieve the customer name as show in 1 and send is as run time parameter to SQL query and use the result of select statement to pass it to 2. <INPUT TYPE="HIDDEN" NAME="soldtoCustPa

  • Tab key does work in module pool

    Dear, Please, someone already passed or saw the following situation: In a module pool Z, in a tab item creation (there are several columns to be filled), pressing the TAB key, the cursor is directed to the next empty field, the moment presciono the e

  • Shuffle 3G headphones (it's not what you think)

    Okay so i was sitting down listening to my brand new ipod that i had gotten for my birthday six days before... I stood up and the ipod hooked something and yanked the headphones out of my ears i thought it was nothing but when i started to listen to

  • Convert Video Clip to Panorama Still?

    Does anyone know of software that can take a video clip that essentially pans from left to right and convert that into a Panorama still picture? I am currently using iMovie 5 but I wouldn't think that would be an issue. Thanks