Deletion of cash sale order
Hello Experts,
There is a cash sale order which has to be deleted for the user to recreate the process again. They have cancelled invoice, delted delivery ,but cannot delete cash sale order.the error message says "invoice already exists for this sale order" what to do. In the doc type for the cash sale it is mentioned as both order related and delivery related.
Any ideas please?
Regards,
Raj
Hello Friend,
Please check whether accounting document is generated for the billing document or not.If yes then please reverse the same through T.code FB08. Then try to delete the cash order.
Similar Messages
-
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,
BinayakHi 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 -
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,
BhadraYes, 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 -
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 -
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 PMThere 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 -
Hi Gurus
How can get the deleting list for sale order?
Useful answer duly rewarded back.
Regards,
DevendraHi 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 -
Cash sales Order Related Billing
Dear Forum Members
Hi
I need clarification on the following. Both in cash sales and regular sales orders , delivery , PGI and then billing is involved. So why we call cash sales process as order related billing. I find that unless goods are posted in cash sales delivery , invoice can not be created like in normal sales order. Request your inputs
Thanks in advance
regards
narasimhaI need clarification on the following. Both in cash sales and regular sales orders , delivery , PGI and then billing is involved. So why we call cash sales process as order related billing. I find that unless goods are posted in cash sales delivery , invoice can not be created like in normal sales order. Request your inputs
Hi narsimha
There is a lot of difference between cash sales order and normal sales order
The differences are
cash sale document type - BV , standard sales order document type - OR
Item category for cash sale is BVN and normal cash sales order it is TAN.
In VOV8, if you go to BV document type details , shipping conditions will be on where as in OR , shipping conditions will not be on .
In cash sale order , automatically a delivery number will be created in the background once you save the cash sale order , whereas in normal sales order , after saving order you need to do delivery and then save it then only delivery number will be generated
In cash sale the billing date will be todays date only where as in normal sale billing date can be after 1 week also , depends on the availability check
In normal sales cycle , you get invoice in billing F2, where as in Cash sale when you create a cash sale order the output you get is the invoice for the customer.
In cash sale there wont be any credit , where as in normal sales order there will be credit for customers .
Example :
cash sale - A customer purchasing goods in a retail outlet and then and there he is paying cash (no credit) to the retailer.
Normal sale - Customer purchasing goods but paying in installments , that means he is a regualar customer and he is getting credit.
Why cash sale is order related billing ?
Because , once you save the cash sale order automatically the delivery number is also created. now when you go to VL02n and enter the picking quantity it has to be fully referenced , of how much you have given in the cash sale order . But if you try to do partial delivery . you cant do again , you need to change the quantity what you have given in the delivery and enter in VA02 and enter the same quantity. then only the order will be closed
check the billing relevance for the item category BVN ( it is order related billing)
normal sales order is delivery realted billing ?
Because the item category for TAN is relavent for delivery and Billing relevence is different from BVN
you can do paritial deliveries in normal sales cycle till complete order quantity is referenced
Reward points if useful
Regards
Srinath -
Shipping point problem in Cash sale order
Hi friends
Hi friends.
I am creating Cash sale order, when i saved it, system display error display u201C Shipping Data/Receiving missingu201D and order can not be saved. But when i create standard order OR, it's no problem.
When we click on Error, another screen open:
Shipping point should come automatically and when we click on Combo box on shipping, there is no entry. I have check CS order type, Item category and all configuration. Can any one suggest me what i should do.
Thanks
Rajhi
for cash sales shipping conditions are different check in VOV8 for your cash sales order type shipping conditions.
and assign them in OVL2
shipping conditionsloading groupplant. like
100001plant
regards -
Function module for deleting the perticular sales order
Hi Experts
I wanted a function module name for deleting the perticular sales order document ,when i enter the import parameter as sales order no and some value as export parameters so that i can use that for the program (message :successfully deleted ).Hi Satya,
Use BAPI BAPI_SALESORDER_CHANGE as follows:
DATA: T_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
DATA: BAPISDH1X LIKE BAPISDH1X.
PARAMETERS: P_VBELN LIKE VBAK-VBELN.
*SET THE DELETION FLAG
BAPISDH1X-UPDATEFLAG = 'D'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = P_VBELN
order_header_inx = BAPISDH1X
tables
return = T_RETURN
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Hope this will help.
Regards,
Nitin.
Edited by: Nitin Karamchandani on Dec 8, 2008 8:36 AM -
Hw to delete the saved sales order
HI
TO ALL
i want delete the saved sales order hw can i delete that completely
if any body is answered i will give u more reward points
ADVANCE THANXhi,
It is not advisable to delete order. Best option is to block the order. It can be done as follows.
VA02 (Change Sales Order) >>> then go to item details Sales A, here u can find the filed <b>Reason for rejection</b>, here u put the exact reason & block.
If u really want to delete the order, then u can follow the paths given by other frieds.
Reward if it helps.
Regards,
Nabeel -
Is it possible for us to configure that deletion of a sales order is not po
Hi Guru's,
Is it possible for us to configure that deletion of a sales order is not possible? The requirement is that Sales Order should not be allowed in the SAP to be deleted from the system, and user should not be able to do it.
Please let me know, if this is possible and what is the way to do it.
Points will be awarded.
Regards
Amit ShrivastavaHi Amit
Better approach Basis Guys to create user profiles and Roles to the users
In SAP its not able to delete the sales orders permanently.
So, its better to create User Profiles and Roles for the user to access the list of Sales orders
Creation of User Profiles and Roles in T-Code--PFCG
Regards
Srinivas. -
Dear all,
we want to delete open sales orders .I searched forum unable to do .Please guide me.
Regards,
Sureshhi
You can delete the sales order using transaction VA02, but there should not be any subsequent document is created against it. Please let me know the error message you are still getting unable to delete so.
Deletion /cancellation can only happen even if the subsequent documents are NOT created. After cancelling the invoice and deleting the delivery document, we can set the reason for rejection at the Sales Order Header Level.
Steps:
1. Cancel the invoice through T code VF11
2. Reverse the Goods Issue using VL09, turn the pick quantity u2018zerou2019 in the delivery document
3. Delete the delivery document using VL02n.
4. Finally set the reason for rejection at the Sales Order Header Level. (So Bala, just check the SO you want to delete ever had any subsequent document? )
Note: An Invoice cannot be deleted but canceled. It can only be canceled with (VF11) only if the relevant accounting document is not generated. Generation of accounting document means the value is posted into accounts and G/L accounts are hit.
SAP FI department needs to reverse the accounting doc on a real-time scenario. Only after the accounting doc is reversed invoice can be canceled. Tax documents generated through the Invoice (Tax is maintained on a separate account) also need to be reversed but this is a part of FI so an SD consultant just needs to request the FICO guy to do the reversal
transaction MASS or VA05 you should be able to set the reason for rejection -
Deletion of multiple sale orders at one shot
Hi Friends,
Can anyone tell me how to delete multiple sale orders at one shot?
Friendly
Rama RaoHi
Try doing it through LSMW, I used LSMW for deleting deliveries in mass and it worked
Anurag -
Deletion of pending sales orders
Hi,
I have checked the existing threads regarding deletion of sales orders, but I want to know how to delete or archive all the pending sales orders in one shot.
And is it possible to search all the pending orders through 'va05n'.?????
Please suggest.
Thanks & regards,
Rupam.Dear All,
I have executed the transaction 'Mass' for pending order rejection, but I have faced some problems.It is not working properly for those orders where some line items have already been fully delivered and some are open or partially delivered.
Another critical issue is that, this operation can't be performed for specific line items in multiple orders, which is a limitation.
can any one give me any idea to overcome this problems???????
Thanks & regards,
Rupam. -
Massive Deletion of Open Sales Orders/Deliveries
Hi, I was wondering if anyone knows a massive transaction to delete open sales orders and deliveries.
I try using de MASS transaccion but here I can only reject the items (in sales orders) but the thing is that the customer wants the open orders and deliveries to be deleted.
Could anyone help me please?
Thanks and regards!
LoreHi,
You can only delete a complete sales document or delivery if there are no subsequent documents. For example, you could not delete a complete sales document if items had already been delivered and therefore, delivery documents had been created.
If you want to delete a sales document, you effectively remove it from the database which means that it is no longer possible to analyze it. Therefore, its recommend that you work with reasons for rejection. Being the case it can be considered to reject the items rather.
Hope it helps.
Thanks & Regards
Sadhu Kishore
Maybe you are looking for
-
Hi I want to update vendor info record when Po history has been changed. Please tell me is there any User exit or badi available. Regards Ravi
-
Excise Invoice Accounting document
Hi All While Creating The Excise Invoice is any FI document generated If yes How to Check 7 What Type of document type(SA,AB,AA.............) will be used plz... reply soon thanx in advance regards
-
Using timeline in Chapter selection
I'm using the timeline to build a scene selection menu. That works. What i want to happen is that at the end of ever chapter it goes back tot he scene selection menu instead of just going to the next chapter. So that the user has the option to watch
-
Feature LGMST and Batch input failure
Hi - My bdc recording is not taking into a account HR feature LGMST. The feature LGMST is automatically recalculating and replacing the exempt wagetype with a non-exempt wagetype when exempt employees move from an exempt position to a non-exempt po
-
HFM Installation , UDL Doubt
Hi, I am trying to install the HFM 9.3.1 in one server called Appserver and my database is in another server called dbserver. My doubt is while configuring HFM its asks for the data file link file (beside DCOM user info). As i dont have the Oracle in