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,
Viven
try 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
Similar Messages
-
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. -
Information about the deleted sales order line item in idoc.
Hi Experts,
I am new to IDOC.We have the following idoc requirement,
When a line item is deleted from the sales order(VA02) ,
the outbound idoc getting triggered for the sales order has the information about the rest all line items other than the deleted line item.We now want the information about the deleted line item in the Idoc .
Please help me in proceeding further.Hi,
I am facing the same scenario of capturing the deleted sales order line item in idoc.
I am using ORDRSP message type , where in E1EDP01- ACTION contains value "000" .
And the Deletion line item is not been captured, is there any configuration setting required to
capture the deleted line item in Idoc.
Based on the posting in this thread i understand that there is an indicator which has to be set .
Please let me know what is that indicator and how to set it?
Thanks
Sathish -
How to get a Deleted Sales Order Header Data ?
Hi Guys,
I need to get KNUMV field of deleted sales order to track the deleted entries in KONV table.
But when I check in CDPOS, I am getting only the sales order NO. but not full header data of the deleted sales order or
is there is any history table maintained for KONV ?
My requirement is to update a custom defined table having same entries like KONV, which is used to update Data warehouse system.
Thanks
AJWhenever any condition record is deleted then there is a deletion indicator at the Condition record level which get activated and through this field you can track then the condition record which are deleted. At this moment, i don't have access to SAP system and i unable to highlight the exact table name, please check the SAP standard table KONV for deletion indicator.
thanks
chaitanya -
Getting the open sales orders and open deliveries valies
Hi SDNs,
I have a requirement that i need to get the all sales orders open values and delivery values. I need to build a logic for this scenario. could you please provide the logic for getting the open sales order values for respective customer.
Please provide logic instead of standard reports. That would be very useful
Thanks in advance
Regards,
KPlease provide logic instead of standard reports.
Really surprising !!!!!!!!!
But still I would like you to have a look at VA05 where both open quantity and open order value will flow. If you still feel to get the related tables, you can consider VBBE where you can get open order quantity
thanks
G. Lakshmipathi -
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. -
How can i get the open sale orders for given material no and plant
Hi,
I have to retrieve the open sale orders depending on the material number and plant.
For only open sale orders at header level and item level.
I want to use VBUK-GBSTK to find open sale order at header level and
VBUP-GBSTA at item level.
Can any one suggest me the best logic as performance is concerned?
Thanks,
Kumar.hi Prasanth,
select werks matnr from ZVSCHDRUN into table it_plant.
sort it_plant by matnr werks.
select
vbeln
posnr
matnr
werks
erdat
kbmeng
vrkme
from vbap
into table it_vbap
for all entries in it_plant
where matnr = it_plant-matnr and
werks = it_plant-werks.
and again i have to write one more select query for vbup.
am i right? -
How to get the ammendment sales order number and original sales order no?
Hello sir's,
Please tell me the table for ammendment(revised) sales order number and original sales order no.
Thanks in advance,
vikramSolved
-
Error on getting as list of Clients with the last sales order 90 days
Hi Dear,
SELECT T0.[CardCode], Max(T0.[DocDate]) as [Last Sales Date], Datediff(D, Max(T0.[DocDate]), GetDate()) as [Days Old], Sum(T0.[DocTotal]) FROM ORDR T0 WHERE Datediff(D, Max(T0.[DocDate]), GetDate())>90 GROUP BY T0.[CardCode]
I am trying to create a list of the clients for whom the last sales order date is greater then 90 day. When I run the above query, I get the following error message:
u201C1). [Microsoft][SQL Native Client][SQL Server]An aggregate may not appear in the WHERE clause unless it is in a subquery contained in a HAVING clause or a select list, and the column being aggregated is an outer reference.
2). [Microsoft][SQL Native Cli u201C
Can somebody tell me what I am doing wrong or is there any other way to get the last sales order date.
Thanks.Hi,
Check this :
SELECT T0.CardCode, Max(T0.DocDate) as 'Last Sales Date', Datediff(D, Max(T0.DocDate),
GetDate()) as [Days OLD], Sum(T0.DocTotal) FROM ORDR T0
GROUP BY T0.CardCode
HAVING Datediff(D, Max(T0.DocDate),GetDate())>90
Kind Regards,
Jitin
SAP Business One Forum Team -
Hi,
Is it possible to find a deleted sales order in SAP?
Thanks,
Malini.Individually
Even though the sales order is gone from the database, you can still see the change history of who deleted the order and when. ?To do this?go to Sales Order> Display>put the number in and go to Environment>Changes ?- then check and it will tell you the history. Hope this helps somewhat!
As a List
Though Sales orders are Deleted, they will be available in Change document tables CDHDR for header changes and CDPOS for item changes . Changes includes deletion also.
So run a Logic based on these two tables.
You shud get a report of all deleted sales order.
Use the report in the following link to base your logic.
http://www.sap-img.com/ab024.htm
Hope this Helps
VB -
Delete Sales order and Purchase Order
Hello Experts,
Scenario 1: I would like to delete a Purchase Order using PORDCH03 idoc. I tried passing 'X', 'Y' and also 'D' to the deletion indicator at the header level, but the purchase order is not getting deleted. Can you let me know how can I delete an purchase order using IDOC.
Scenario 2: I would also like to delete a Sales order using ORDER05? Is this possible? I mean deleting Sales order. I do not want to update the reason for rejection, but I want to completly get rid of the sales order from the database.
Appreciate your help.
Thanks,
Suresh GantiHello Rob,
I am able to set the deletion indicator for the purchase order and it works fine. But for Sales orders we are using ORDERS05 and want to delete the Sales order. I was able to delete the line item, but not the whole order.
As you know we can delete the whole order using the BAPI.
sd_head_x_ls-updateflag = 'D'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = vbeln_lv
order_header_inx = sd_head_x_ls.
I want to achieve the same functionality using ORDERS05 IDOC.
Thanks,
Suresh Ganti -
Retrieve a deleted sales order
Hi,
Is it possible to retrieve a deleted sales order?
Rgds
TVDear TV,
Deleted Sales Orders can not be retrieved. However, you can retrieve the data if you had stored them in custom tables during sales order creation with the help of BAdi/Enhancement.
However, you can not retrieve the data from standard tables (VBAK, VBAP etc) as the data will be deleted as soon as you delete the sales order.
Hope this will help.
Regards,
Naveen. -
hi all
can any one help me finding out the deleted sales order
what is the process for it.
thanks
sridharHI,
Try FTWB or SARA.
or
after deliting sales order its gone out of database, then also you can see the change history of who deleted the order and when. To do this (I'm on 3.1I), go to Sales Order --> Display --> put the number in and go to Environment --> Changes. Then Green check and it will tell you the history.
After the record (order) gets deleted from the database, to get a list of records deleted you will need to run a report (user defined), with the query for VBAK table, for order type and the missing numbers. The date may also be required. Once you get this, you can find out when and who changed (deleted) the documents. -
Hello Gurus,
Where can I see the deleted sales order. Is it stored in any table?
Regards,
BaluBalu,
In general, one should not delete the sales order, instead we should reject all the line items.
If some one deletes an order it will be stored in CDHDR and CDPOS tables.
To know the deleted orders, go to CDPOS
enter "VERKBELEG" in change document object.
VBAK in Table name.
"D" in Change ID.
You should get the data.
Regards,
Ajai. -
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
Maybe you are looking for
-
File not visible in Layout Editor, but okay in Source Code Editor & Preview
I just finished editing this page, and uploaded. It is visible on www, but when I go to edit it in Layout Editor, the cursor is blinking on a white background. Nothing appears to be there. However if I change to Source Code Editor or Preview, all my
-
F4 help for matnr in Tcode: MB51
Hi Abapers, Search help: MAT1 is being attached to Material Number field in Tcode: MB51. When i press on F4, Several tabs are getting displayed. MAT1 is a collective search help with various collective search helps. Further each collective search hel
-
How do I see the numbers I texted on my verizon?
I have a prepaid iPhone plan. Im the only number on the account, and the acct owner. I need to see the numbers I texted/ texted me at certain times and when I go to usage the number fields are left blank? Thank you so much for your time and God bless
-
Connecting to OS X file shares from Linux
I need to connect to file shares on an OS X computer and mount them on a Linux server. Every resource I've seen seems to try to do this the other way around. I can ping the OS X computer so I know it can see it. I have enable SMB under sharing and se
-
Restarting Time Service remotely on several macs
Hi, i am realizing NTP problems with 10.4 and 10.3 which means the clients tend to have another time then provided by the ntp-server. For 10.3 this seems to be related with the buggy System-Preferences in general, as opening & closing the lock solves