How to disable delete row in sales order

Hi
Is possible to disable the functions to delete row in Sales Order and Purchase Order.
How can we made that? by SDK or exist anything else?
Regards
VS
Edited by: Vasco Silva on Jan 8, 2009 8:24 PM

There is no out of the box solution to disable row deleting function.  The alternative can be used would be approval procedure.  If the documents are subject to approval, all rows will be locked from any changes.
Thanks,
Gordon

Similar Messages

  • How to disable forward scheduling in Sales order

    Hi SD Experts,
    Can you please provide the solutions for the below requirements.
    Requirement details are below:
    How to disable forward scheduling in sales orders....
    For My sales order type i already configured in customizing that delivery scheduling should only carry out backward scheduling.
    The results is tht no forward scheduling in carried out when material is i stock .. this is ok...
    But when there is no stock and ATP indiates an expected inward movemnt, the system ignores the indicator and carries out forward scheduling anyway.
    Is there any possibility to change this behaviour?
    Appreciate any help....
    Regards
    Sudheer

    Hi
    If you do not want the system to switch to forward scheduling automatically, you can specify per plant in Customizing for MRP, in the IMG activity Parameters for determining the basic dates that the system is to continue the backward scheduling calculation even if the resulting start date lies in the past.
    Thanks & Regards
    Bhaskar

  • How to disable line items of sales order ie not editable

    Hi All,
      I want to diable line items of BOM when using it in sales order, Can any one tell me how to do it and which USER EXIT or BADI i have to use it for.
    Regards,
    Sudhakar.A

    Hi,
    You have to write your code in this Include : MV45AFZZ
    Here i have diabled the components of BOM...change the code accordingly.
    IF ( sy-tcode EQ 'VA01'
             OR sy-tcode EQ 'VA02' ).
        loop at xvbap where pstyv eq 'ZABC'.
          if not vbap-uepos is initial.
            if sy-subrc = 0.
              screen-input = 0.
            endif.
         endif.
        endloop.
      endif.
    Here Xvbap is like Internal table
    VBAP is strucure.
    Regards,
    Sudhakar Reddy.A

  • Mass Deletion of Open Sale Orders

    Hi,
       I want to implement Dynamic Credit Check in my Organisation, for that I want to delete all open sale orders. Is transaction code MASS suitable for deleting only <b>OPEN SALE ORDERS</b> or it deletes all sale orders. Can anyone help me out please.
    Regrds,
    Binayak

    Hi Binayak,
    The sales order deletion process would be updating many tables and hence I wouldnt recommend [MASS]. I feel it's better to use CATT. Check out the following link and let me know if you need any clarification on how to go about it.
    <a href="http://www.sap-img.com/sap-catt.htm">CATT - Intro</a>
    Also have a look at a CATT procedure explained, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
    Regards
    Pratheb Nadarajah

  • Deleting deliveries and sales orders using BAPI

    Hello all...I am making some changes to the existing program which uses call transaction to VL02 and VA02 doe deleting deliveries and sales orders. This program is running for ever. So I want to use BAPI BAPI_OUTB_DELIVERY_CHANGE and BAPI_SALESORDER_CHANGE instead of call transaction. I just want to now what values should the input tables contain or please guide where I will find documentation over this. Please give me a little insight how to use these BAPI's in my program.
    Thanks,

    Hello,
    I got the following error when tried to execute my program with the BAPI function module.
    The field "LT_DELIVERY" specified here has a different
    field
    type.        
    I am posting some part of my code here. Please help.
    CONSTANTS: c_X TYPE c VALUE 'X'.
    DATA: lt_header LIKE bapiobdlvhdrchg OCCURS 0 WITH HEADER LINE,
          lt_control LIKE bapiobdlvhdrctrlchg OCCURS 0 WITH HEADER LINE,
          lt_delivery LIKE bapiobdlvhdrchg OCCURS 0 WITH HEADER LINE,
          lt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    lt_header-deliv_numb = sdel-vbeln.
        lt_delivery-deliv_numb = sdel-vbeln.
        lt_control-dlv_del = c_X.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
      EXPORTING
        HEADER_DATA               = lt_header
        HEADER_CONTROL            = lt_control
        DELIVERY                  = lt_delivery
      TECHN_CONTROL             =
      TABLES
      HEADER_PARTNER            =
      HEADER_PARTNER_ADDR       =
      HEADER_DEADLINES          =
      ITEM_DATA                 =
      ITEM_CONTROL              =
      ITEM_SERIAL_NO            =
      SUPPLIER_CONS_DATA        =
      EXTENSION1                =
      EXTENSION2                =
        RETURN                    = lt_return
      TOKENREFERENCE            =
    IF sy-subrc EQ 0.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
    Please suggest how to proceed.
    Thanks,
    Naren

  • Deleting list for sale order

    Hi Guru’s
    How can get the deleting list for sale order?   
    Useful answer duly rewarded back.
    Regards,
    Devendra

    Hi Devendra,
    General Sales order will be deleted form the database after archiving.
    Step for Archiving:
    Sales Order is archived and deleted by the Archiving object know as SD_VBAK.
    If you just want to delete the sales order with out thinking of saving to archive server then please follow the path:
    1.GOTO SARA ---> Click Customizing -> click Archiving Object specific customizing (Technical settings)> In delete jobs mention start automatic --> Leave other settings as per the standard save and close it.
    2. Click write --> Mention Variant name -->Click on Maintain --> Select all the sales orders that you want to archive and delete --> Mention sales organinsation under which you have created --> Select Production Mode --> Click on Attributes --> Mention meaning of that attribute it could be any text --> Enter and save.
    3. Click on Spool parameters --> mention the output type --> Enter now you can see green signal light
    4. Click on Start date --> Click on Immediate --> Save.
    5. Execute or click F8 and see the job.
    6. After some time you can see the data is archived and deleted form the database.
    Hope this will help you in deleting the sales order form the database.
    Please Note: It is bit complicated you should take help of SAP Archiving consultant.
    -Thanks,
    Ajay
    Message was edited by:
            Ajay Kumar
    Message was edited by:
            Ajay Kumar

  • How to disable hold button in purchase order creation.

    hi
    how to disable hold button in purchase order creation.

    Select single * from VBAK where clause
    ---It fetches single record from the database, based on the condition you specified in the where clause.
    Where as select * from VBAK up to 1 row
    ---Fetches first record if the condition specified in the where clause is satisfied, otherwise it doesn't fetch any record

  • Disable to update a sales orders

    Hi
    How can i disable the update a sales order if some one try to change project field? Can i use the SPO_TransactionNotification?
    I could not find a way to work in the sp. So i´m asking if someone already had the same situation and can help me.
    Kind Regards
    Margarida Pedroso
    Edited by: Margarida Pedroso on Jan 27, 2010 1:03 PM

    Hi Margarida,
    if your requirement is to prevent users from updating existing sales orders, you can do that within the application:
    Admisnistration -> System Initialisation -> Document Settings -> By document -> select 'Sales Orders' -> remove the tick in the checkbox 'Allow changes to existing orders'.
    All the best,
    Kerstin

  • How to update  pricing in open sale order

    Hi all
    in open sale order suppose my basic price has been changed .how Can i update all open sales order basic price in one shot.

    Dear Sachin,
    Please follow the point as given below;
    1. In VTFL for your item category maintain pricing type as B if it is delivery related billing and if it is order related billing VTFA maintain pricing type as B and one more thing maintained Billing Quantity as C if you using VTFA and Billing Quantity as D if you using VTFL.
    2. Create the new condition records in VK11 for your new price ( Do not change the existing  condition record in VK12) with proper validity dates
    3. Use update button in billing the system will pick the new record by accessing VK11 in billing.
    Try this, it will work.
    Regards,
    Bharat B

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to get Changed fields in Sales order to create a report

    Dear Gurus,
    How to get the log from sales order for the change of particular field.
    In my scenario, If an user remove the delivery block from sales order I want to capture the date on which this delivery block
    is removed and by whom (User)?
    I know that I can get the log of change but can I get in the form of field updates because further I want to use that date and user name to create a report.
    I hope u got my query. Please reply soon that I can create a report.
    Thanks in advance.
    regards,
    Sanjay

    Hi
    You can use the table CDPOS for tracking the changes at the Table level with the Sales order number
    or Else you can also use AUT10 transaction to track the logs/chanages with START DATE, END DATE and the Transaction code in your case it is VA02
    Please check and revert back
    regards,
    santosh

  • How to bring in the Open Sales Orders while performing Sales Order Conv

    Hi,
    Could you give some suggestions on the below:
    How to bring in the Open Sales Orders while performing Sales Order Conversion in R12.
    Thanks
    Pravin

    See http://ramugvs.wordpress.com/2011/08/27/how-to-stage-and-import-an-order-using-order-import-api-apps-wms-ebiz-11i-r12/
    Sandeep Gandhi

  • Deletion of Returns Sales Order

    Hi Guru's
    I have created one return sales order with reference to one invoice and after that with reference to that returns sales order i have created credit invoice.
    Now my query is that can i delete the returns sales order?
    If yes please let me know the detailed process...
    Regards,
    Bhadra

    Yes, we can cancel-Credit memo.
    Check Cancell.billing type field in Cancellation section of your Billing Doc type (tcode VOFA) for your Credit memo.
    Coming on to your requirement.
    That means you need to cancel credit memo succeeding to this return order.
    In doc flow overview for your return order, check what are the succeeding doc attached to it.
    Cancel or reverse all the subsequent doc to the return order.
    Use VF02 and in menu bar look of Cancel option and select and process.
    Then try to put reasons for rejects (if reference of this return order is needed in future) or delete Return order (if by mistake its created). I would suggest former as you have subsequent Billing doc to it.
    Regards
    JP

  • How to transfer cost from old sales order (cancelled) to new sales order

    Hi Gurus
    I want to know, how to move cost from one sales order to another sales order.
    SD created sales order before 1 month and there was production order behind this. Production was completed and all the cost was moved to sales order and also SD has raised invoice on customer. This transaction was completed.
    The above order was rejected by customer due to some changes in the order. SD raised another sales order and production order was created to to additional work. Production transfered above stock (produce before on old production order) to new production order.
    My problem is stock is now transfered to new production order but cost is still sitting on old sales order. How do I transfer cost from old sales order to new sales order. SD cancelled old invoice and raised new one with full value (old + new work) on new sales order. Now cost is on old sales order and revenue is on new sales order.
    Please help.
    Thanks

    Hi
    I have reverse the sales order settlement, PP order settlement to sales order and I have also done KB11N for transfering the cost to the new production order.
    The only problem is I was unable to transfer labour hour confirmation as cost element used for this are not for transfering cost. If I will reverse the confirmation in PP order system will reverse material movement also which I don't want any more. Can you please tell me how to I reverse the Labour hours with out affecting goods movement?
    Many thanks

  • How can I create a new sales order template

    Hello,
    how can I create a new sales order template in SAP CRM 7.0 (Web UI)? I want to use this sales order template in scenario ´'Mass Generation of Sales Orders via Marketing Projects'.
    Thanks for your support in advance.
    Best regards,
    anvan

    Hi,
    Did you set up this scenario? I want something similar, but I want an ERP order to be created. Do you know if that is possible? Do you have som tips?
    regards Camilla

Maybe you are looking for

  • How to set up my elderly parent with Mac so that I can use remote access to help her?

    I want to set my elderly mother up with a new Mac mini so that I can use remote access to show her how use email, browse the internet, share photos.  (She lives in KY, I live in OR) She has had an iPhone and an iPad for about 6 months and she can bar

  • Aged Tickets oolder than 30 days

    I am using Crystal XI. I am trying to find the best way to report on service requests that have a date entered that has aged 30 days and over from the date the report is run and only report on the technicians and how many tickets are aged over. I was

  • No Option for Digital Out

    After a week of trying to get the Digital Audio Out to work on the X-Fi Audio Extreme card I purchased I'm giving up on Creative! I've always used SoundBlaster Li've & Audigy cards on every computer I've built in the past. I'm building an HTPC & I wa

  • SAP BPC NW 10 - Restore InfoArea /CPMB/ENVIRONMENTSHELL

    Hello Experts, We are facing a problem with Environmentshell and in order to try to resolve it I've followed note 1858372 - Failed to activate ENVIRONMENTSHELL - BPC 10NW . The problem is that now I don't have InfoArea /CPMB/ENVIRONMENTSHELL created

  • Rescue and Recovery 4.31 - How to make backup for 2nd hard disk drive?

    What should I do that R & R version 4.31 (Windows 7, 64 bit) make backup for second hard drive? On the screen "Set Schedule and Preferences' in the options "Include partition" I don't have partition D: on my notebook and , of course, it can't be sele