View Deleted sales orders by material
Hi gurus,
how I can see deleted sales order by a specific material. My requeriment is that know all deleted sales order or items deleted in existing orders filtering by material.
It's possible?
Table CDPOS doesn't contain field material...
Thank you!!!
I will reward points all answers!!
Hi,
In this case, when you call MD04 for this material, the system displays an exception for the pruchase requisition.
20 : cancel process.
Then, you must to be deleted this purchase requisition.
But, i have a proposition to follow sales orders which have deletes (quick approach).
You can create en infostructure with LIS with keys : sales order nb, item, material, customer + key figures : quantity (or other).
With an update rule appropriate.
When you create sales order, this LIS table (infostructure) is update with different informations.
If you delete item or sales order, system updates this table and displays "0" in quantity or price ...
This is the simple test to know if sales order was deleted.
But, you can used another information during the update in LIS user exit (MCS10001) with this condition XVBAP-UPDKZ = UPDKZ_DELETE (see in MV45AFZZ, doc_prepare).
Why not ??
That's all folks !!!
Regards,
Lionel
Similar Messages
-
View Deleted Sales Order by material
I need to know in that sales order has been a material because when we run MRP, system creates purchase requisition for requeriments of sales order, ok?
But, after if user deletes sales order, the purchase requisition created is incorrect but purchase department can be that it purchase requisition is studied yet. Customer would like know what sales order deleted causes this purchase requisition in this case.Hi Daniel,
If the sales order has been deleted then you should delete the corresponding PR as well. Inorder to achieve this you need to write the logic in the Sales order user exit, to cancel the corresponding PR.
We cancel the PR if the release strategy is implemented in the PR. We have implemented this logic and it worked fine for us.
Thanks,
Mahesh. -
How to setup security to view deleted sales order deletion information
User is going into VA03. entering a sales order number but instead of hitting enter, is going it to the top menu, selecting Environment and then changes. When the screen appears, they are selecting time of change and getting not authorized.
When I look at SU53 for them I see
Authorization check failed
Object Class SD Sales and Distribution
Authorization Obj. V_VBAK_VKO Sales Document: Authorization for Sales Areas
Authorization Field ACTVT Activity
03
Authorization Field SPART Division
Authorization Field VKORG Sales Organization
Authorization Field VTWEG Distribution Channel
How would I set the display role for this transaction up to allow me to put in blanks for the division, Sales Org, and Distribution Channel since that is what comes back for this sales order after it has been deleted.
Is there a different transaction that they should be using to see this info?
Obviously SAP_ALL will give me the info, but I do not want the user to have that authority.Hi John,
Did you run a trace(ST01) and check the missing authorization. Are you getting the same missing authorization in trace.
Also the Sales Order, for which the user is trying to check the Change document is it a valid one? I mean does it belong to any Sales org/division/..?
Cheers,
Laxman -
How to view the cancelled/deleted sales order?
Hi SAP Gurus
I there any T.code/Table to view the cancelled or deleted sales order.
I am not able to view the order even in VA03.
Regards
GiridharDear Sushmitha,
T. Code: SE16
Key-in -
Table: CDHDR - Change Document Header.
Table: CDPOS - Change Document Items.
and "Enter". On to next page, Key-in
Field: Change doc. object (OBJECTCLAS) as VERKBELEG
Field: Transaction Code as VA02
Field: Appl.obj.change, as D - Delete, and execute (F8).
Then you will get object values (sales orders) and document numbers. Pass these two values along with objectclas: VERKBELEG) to table CDPOS to get more details about these deleted orders.
Also, Go to -
T. Code: SE38,
and execute Report: RVSCD100.
Enter Sales Document Number and Execute. This will provide information, who deleted the order.
Best Regards,
Amit -
I would like to understand the possibility of looking the details abt a sales order that got deleted from the SAP system.
I believe tables VBAK and Changes related tables will not help me out to find the same information as the deletion of the order will have the data deleted from these tables are there any other means by which i can get info on a deleted sales order .
Thanks in Advance.
Ilangothis is not a process followed, but i just want to know if there are by any means we can see the line item level details (like material & Qty).
CDPOS do provide information on the order but am unable to interpret the data i receive,
passed the deleted order no, to the table and i could see only the values that got changed i can still see the information abt VBEP(sch line ) & VBAP. am unable to see the document details. i feel it shows only those fields that are changed inside the order before deletion, i cud see a document in the output of this table, wat is that document no.?? -
Purchase order : sales order specific material to subcontractor.
I want to send a cir specific material to a sub contracting vendor.
Scenario:
Sales Order punched for material A.
To get material A a sub contracting purchase order is made specific to sales order.
Material B is there in the BOM of material A.
Material B is also purchased from other vendor say vendor B with sales order specific purchase Order.
when doing GRN for Material B it is sales order specific.
now i want to transfer material B to vendor specific stock which is already . Can u help how should i do this as my material B is also sales order specific.Create the sales order for Material A
than this reqmt will be transfer to MM and if the stock is not there than it will be a requirement of Material A in MRP
now if you have set up material A as sub contracting in MRP2 view as Special procurement Key Sub contracting than based on this system will generate the Sub cont PR and mateiral B is part of MAterial A BOM than MRP will, also generate the requirement for Materisl B as external procurement
convert Mateiral B pr into the PO and make delivery address as sub contractor rather receivng in your system.
that way you can deliver mateial B directly to the vendor and once vendor send oyu the Material A than do GR which will consume the material B. -
Cannot delete sales order when invoice is canceled
Hi guys,
I have this problem. Proces is defined with two document: sales order and invoice. I have canceled invoice
with VF11 and set u201CReason for rejectu201D in sales order but status overview is not set as u201CCompletedu201D.
I cannot delete sales order, what is the problem any idea??
Thanks,
NihadThis is overview of the status:
Standard Order 27057
Sold-to 400000 proba
Status overview
5 Current hdr status Everything rejected
Total processing Open
Rejection status Everything rejected
5 Ord-related bill.st. Not invoiced
Invoice 90012921 14.10.2008
Cancel. Invoice (S1) 90012986 14.10.2008
Completeness Complete header data
Billg doc. complete Complete header data
Current item status
ItemNo Material
5 000010 Otkup tendera 1,000 PC Fully rejected
Total processing Open
Reason for rejection 10 Unreasonable request
Rejection status Fully rejected
5 Ord-related bill.st. Not invoiced 0,000 PC Billed 1,000 PC open
Invoice 90012921 10 14.10.2008 1,000 PC
Cancel. Invoice (S1) 90012986 10 14.10.2008 1,000 PC
Completeness Complete item data
Billg doc. complete Complete item data -
Hi,
Business needs to get the data back for all the deleted sales orders for a period. Is there any way these data can be retrieved. When I put the sales orders number system says "Sales Document XYZ is not in the database or has been archived".
Your views are much appreciated.
Regards
RajHi,
There is only one option available by which you can track changes done for a particular sales order which has been deleted.
thru VA02, go to an existing Sales order, click on tab ENVironment, changes.
Here, you will find, the existing sales order number. Delete this number and enter the number of the sales order that was deleted & for whose details you intend to RETRIVE.
You will get a change LOG, which will give u complete details of the changes done for that Sales order.
Reward points if found useful.
Regards,
C. Ramakrishna -
Is is possible to get the deleted Sales order.
Hi Experts,
Please let me know the possibility of viewing a <b>deleted Sales order</b>. Thanks in advance.
Regards,
Viventry SE16 and search for the vbeln.
Normally sales orders dont get deleted in real their records just gets marked as deleted.
ok i´m wrong sorry not working in VBAK tho.
Message was edited by:
Florian Kemmer -
Can i get my deleted sales order back
Dear SAP Gurus,
I need some information about deleted sales orders like the sales order value, sales quantity, customer material. I am only able to find some information like sales order number, User ID but not other information like Sales order value, quantity, customer code and material code. Kindly help me how and where can i get these information.
Thanks
Tripathihi ,
Check this LINK
Re : deleted sales order
regards
Deepak. -
Report on deleted sales orders ( va02)
hi,
i got one requirement to write a program to display the list of deleted sales orders (through VA02 Tcode).
to my knowledge when a sales order is deleted through VA02 the order will be deleted from the database itself and will be deleted from all the SAP tables.
if that is correct, is there any possibility that we can create a Ztable and update the data before deletion or any other solution for the above requirement?
thanks in advance,
Rajani yelurihi rajani,
u will get deleted data from using tables CDHDR,CDPOS,CDRED and function module ' CHANGEDOCUMENT_READ'.
i am sending u some sample code, i hope it will helps u
DATA: it_editpos LIKE cdred OCCURS 0 WITH HEADER LINE,
"Change documents, display structure
it_editpos1 LIKE cdred OCCURS 0 WITH HEADER LINE,
"Change documents, display structure
x_editpos1 LIKE cdred, "Change documents, display structure
x_editpos LIKE it_editpos,
"Change documents,display structure
*-----Calling FM to populate the structure 'EDITPOS'
CLEAR it_editpos.
CALL FUNCTION 'CHANGEDOCUMENT_READ'
EXPORTING
objectclass = ' '
TABLES
editpos = it_editpos
EXCEPTIONS
no_position_found = 1
wrong_access_to_archive = 2
time_zone_conversion_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR: x_editpos,
it_editpos1.
LOOP AT it_editpos
INTO x_editpos
WHERE tcode = 'ME21N' OR "Here u have 2 pass 'VA02'
tcode = 'ME22N' OR
tcode = 'ME23N'.
APPEND x_editpos TO it_editpos1.
CLEAR x_editpos.
ENDLOOP.
now it_edipos1 has all CHANGENR numbers, so now u have to fetch data from F_NEW and F_OLD Fields
i hope this will helps u
Regards,
prasad -
Reg:Deleting sales orders in bulk
Hi Gurus,
Can anybody through some light on the below mentioned queries.I faced this in one of my interviews .
1.How to delete sales orders in bulk ?
2.How to print invoices in bulk ?
Thanking you in advance.
With Regards,
Sash......Dear sash
1) To delete sale orders in bulk (subject to no subsequent documents), either you can use LSMW or BDC
2) To print invoices in bulk, two options are there. One is foreground and another one is background
- To schedule foreground, run T.Code VF31
- To schedule background, run T.Code VF06 where you can see a tab [Job started on] If you fix a date and time here, that time, invoice will be printed out in mass
thanks
G. Lakshmipathi -
How can we find the list of deleted sales order documents.
Is there any specific table.hi,
SE16--> CDPOS->enter Object class : VERKBELEG table name: VBAK & enter change id:D---> keep the max no of hits has blank----> execute
this is give u teh details
regards,
Arun prasad
Message was edited by:
arun prasad -
How to find out the deleted sales order
hi,
sap gurus,
my core user has deleted one sales order
its showing as sales order is ARCHIVED in the status when we go for VA02
in SAP in which table the deleted sales order will be stored.
so that i can
regards,
balaji.tPlz SEARCH in SCN before posting.
You can get those details from CDHDR, CDPOS tables.
Give OBJECTCLAS = VERKBELEG and CHNGIND = 'D' in CDPOS table.
You will the List of all Deleted Sales Orders. -
Re: Creation of sales order without material master
Hi All,
Is it possible to create sales Order, without material master. In case if so please provide the details.Hi,
It is possible to save order without any material.
But if you want to restrict it, go to VOV8 and select your Sales Document Type and see if any incompletion procedure is assigned.
Now go to SPRO - SD - BASIC FUNCTIONS - LOG OF INCOMPLETION ITEMS - SALES ORDER ITEM -
and for your incompletion procedure maintain VBAP under table and MATNR under field name. Also you can tick on warning message, if user now tries to save the order without any material.
So now you can restrict saving order without having any material.
I am sure this will help you, if it does, please dont forget to reward points for contribution.
Regards
Ravi
Maybe you are looking for
-
How do i get my numbers spreadsheets back onto my iPad (no iMac)
I recently updated to the latest iOS (7.0.4) and now my numbers app is empty! I can see the spreadsheets in the iCloud (using iTunes on my PC), but there doesn't seem to be a way to download them without restoring the whole backup. (it would be nice
-
No validation of xsl transforms within process
Hi there, I've posted this before with no avail. I have process which creates an XML schema from a file adpator. The input/output XML validation is turned on, on my BPEL server and is working well. I then transform this XML to another 'global schema'
-
This isn't just an InDesign issue, but I wasn't sure where to go, and since InDesign is my most used application I thought I'd start here. The same applies to my entire CS3 suite. I am running a new 21.5" iMac 3.06 GHz with 4GB memory on Snow Leopard
-
Issues DNxHD & CC2014. V Slow RENDER and Do I remove CC if 2014 now on system?
My Prem Pro CC suddenly v slow to render and export and exporting OUT OF SYNC (H264 etc) Upgraded to CC2014 yesterday still v slow, constant rendering all timeline for small things like small Jpegs Old Premier Pro CC still showing on system? Even tho
-
Sorting on non database fields
Hi, I have a Master-Detail form ( query only form). The detail block has 10 DB fields and 2 NON DB fields (check boxes) . I have implemented Sorting functionality in such a way that, I have buttons on the top of each field and if the button is presse