Billing document deleted from d/b table ERCH
Hello,
Is there any way out to restore deleted billing documents from database table ERCH?
Please help!
Best Regards,
Vaibhav Gorde
Hi,
You can ask your BASIS Guy for this......He can do this at the OS Level...or probably at SAP Level also.....
Similar Messages
-
Create different billing document types from same sales order type
Hello,
Please take a common document flow, just like this one:
- Sales Order (type ZE01 )
- Outbound Delivery
- Billing Document ( ZA or ZB )
The billing document is based on the outbound delivery. Here is the requirement that we need to implement:
- We need to determine different billing document types ( ZA or ZB ) according to a custom determination, based on a Z table. In some cases the billing document will be type ZA, in other cases it will be type ZB. I've been told that I can achieve this via copy control , but some extra help would be welcome.
Any clues?
Regards,
JoãHi João G Neves ,
Were you able to achieve this requirement using a user exit? if so could you let me know the name of the user exit? Basically in our current project a sales order can be billied using 6 different billing document types. The copy controls between the sales document and billing document is been set up for all the 6different billing doc types and currently the users are manually selecting the billing document type in VF01 .The buisness insists on making this automated.They want the billing document type to be determined based on some custom condtions.
Any inputs regarding this is highly appreciated.
Thanks & Regards,
Srini -
Deleting from Dynamic Internal table
Hi,
How can we delete data from dynamic internal table...
I have a dynamic internal table <fs_dyn_table> which is of type any and can have any fields...
I want to delete all those records which have a value of '10' in a field named field1
I have written my delete statement in the following manner..
DELETE <fs_dyn_table> WHERE field1 = '10'.....but it is not working...it gives me an error...stating that the line type of table must be statically defined.Hi,
Loop on the internal table into a field-symbol of line type same as the internal table.
Use assign component statement and then delete the corresponding record.
Regards,
Ankur Parab -
Duplicate entry is not deleted from the TCA tables
Hi
We are using Oracle Customer Online to find the duplicate data and Oracle Data Librarian to remove the duplicacy. The request to remove the duplicates is taken up by ODL and the task is performed. When checked from OCO it shows that the duplicate entry has been erased but when checked in the TCA table HZ_PARITES, the entry is still there. Can anyone please help regarding this as why this is so... after removing the duplicate entry why is it still there in the table or if the entry is still there then why cant you access it through OCO
Regards
Sourav BiswasHi,
Did you check the value for "STATUS" column in HZ_PARTIES table for the deleted records? It must be "D" which reperesents "Deleted". See the "REGISTRY_STATUS" AR lookup which validates the Party Statuses.
When duplicates are eliminated using Data Librarian/Party Merge, the records are not actually deleted from the database, instead the party status will be changed to "D". This must be the reason for not being able to see the records from Customers Online.
I guess, the same case might have occurred to your entries.
Wishes,
RK Goud -
How to remove/delete from a mysql table
Hello!
Please can someone help me with this one; I need to remove/delete a a row in a mysql table. When I use the query below, it removes this line from other tables containing the same numbers too. I only want to remove it from this table alone
String update= ("DELETE FROM info WHERE Number = '" + Nr + "' AND week= " + week+ ");
THXI don't understand this. You're saying that running this query removes values from other tables besides your info table? I don't believe it.
One thing I'd caution you on is using names like "info" and "number" for tables and columns. They sound suspiciously close to keywords for your database. You'd be better off using less generic, more application specific names.
But I don't think that explains the behavior you're describing. Either this is a very serious bug in MySQL or a very serious misunderstanding on your part. -
Original document deleted from desktop
Hi i am creating a document in CV01N and attaching a word document from desktop and check in.
in CV02N i am deleting this word document and save
i could not find the original word document in the desktop
i don't want the original word document should be deleted from the desktop
can anyone help meHi Sunil,
I need a clarification, when actually document getting deleted from Ur desk top,
after checkin or after deleting the checkin document from DIR.
If it is getting deleted after checkin, then go to T-code DC30 - Workstation application and select the application of Word document and choose the details and remove the tick mark from "Delete file after check in" .
According to my knowledge there is setting in SAP DMS if U delete the checkin document from DIR it will get deleted from Ur desktop.
Still if U will face the same problem after the above setting, let me know to help you.
Rgds,
Sukan -
How to run insert/update/delete from CDC Change table to target using OWB
I am planning to set up CDC and publish CDC change table as source data into to OWB. I have come across where I am confused how to apply changes from CDC change table to target database using OWB. For i.e. change tables is containing information like
operation$, cscn$,commit_timestamp$,xidusn$,....,list of column name
D,12323223,8/28/2008 1:44:32PM,24,.....,list of column value that have to be deleted from target
UO,12323224,8/28/2008 1:45:23PM,24,.....,list of column value that have to be updated in target.
Please advice or give me some hint. Thank you.Hi,
you can wait for 11gR2 with CDC integration or build most of the code outside the owb. To use CDC you must do this things (http://www.oracle.com/technology/oramag/oracle/03-nov/o63tech_bi.html):
1. Identify the source tables.
2. Set up a publisher.
3. Create change tables.
4. Set up a subscriber.
5. Subscribe to the source tables, and activate the subscription.
6. Set up the CDC window.
7. Prepare a subscriber view.
8. Access data from the change tables.
9. Drop the subscriber view, and purge the CDC window.
10. Repeat steps 6 through 9 to see new data.
You can do only a few of this inside owb, most of it must be done outside.
Regards,
Detlef -
Datas deletion from Global Temporary table when clear command is given
Dear All,
How to Delete datas from global temporary Table when clear command is given in forms
Suggest me syntax..
Pls help..
Regards,
Gokul.Bhttp://psoug.org/reference/gtt.html
Francois -
The bill document printed from a contract is not displaying the amount at i
When we execute the print layout form a bill document from a contract is not displaying the amount at item level however the total amount of the document is correctly displayed in the button of the document.
Thank you and best regards.Hi Alberto
please check the field which has been mapped in the SAP Script and the Smart form.
it must be the header amount field. you can replace it with the VBAP_NEtWR or similar fields like kzw1 if you have mapped the sub totla sot get the amount at item levels
thanks
akasha -
Create Billing document automatically from the outbound delivery
Hi experts,
I'm not sure my client's requirement can be implemented but i'm posting this thread just in case someone have a suitable solution.
My client wloud like that billing documents (VF01) are created automatically when the outbound document (VL01N) is saved. He doesn't wont to perform an additional action, so the the custom transaction solution doesn't satisfy his requirement
Is there any solution to do this? (User Exit or Customizing)
ThanksHi,
One idea. You can do it with the userexit USEREXIT_SAVE_DOCUMENT in report MV50AFZ1. Here, you have the number of delivery. I suggest you to call a BAPI with a job created with the sequence of functions JOB_OPEN', 'GET_PRINT_PARAMETERS'
, 'RS_CREATE_VARIANT', 'JOB_SUBMIT'. 'JOB_CLOSE' with a gap of time (eg: 2 or 3 minutes). You can call a function IN UPDATE TASK in this function. (read Note 415716 - User exits in delivery processing), and in the coding of this function you can create the job and call a report with the BAPI (for instance, BAPI_BILLINGDOC_CREATEMULTIPLE). After, you can control the creation of invoices with tcode SM37.
I hope this helps you
Regards
Eduardo
PD: I forgot it. Control in which event you call the BAPI via job. I suggest you when you create the movement 601. You can do it with this coding:
IF xvbuk-wbstk NE yvbuk-wbstk
AND xvbuk-wbstk = 'C'.
"code
ENDIF.
Edited by: E_Hinojosa on Jan 21, 2011 9:15 AM -
Snapshot too old when deleting from a "big" table
Hello.
I think this is a basic thing (release 8.1.7.4). I must say I don't know how rollback segments really work.
A table, where new records are continuously inserted and the old ones can be updated in short transactions, should be purged every day by deleting old records.
This purge has never been done and as a result it has now almost 4 million records, and when I launch the stored procedure that deletes the old records I get the "snapshot too old" error because of the read consistency.
If I launch the procedure after stopping the application that inserts and updates in the table, then I don't get the error. I guess the problem is that meanwhile the procedure is being executed other transactions also need to use rollback segments so that the rollback segment space that the snapshot needs isn't enough. Do you think this is the problem?
If this is the case then I suppose that the only solution is increasing the size of the only datafile of the only tablespace for my 4 rollback segments. Am I wrong?
(Three more questions:
- Could the problem be solved by locking some rollback segments for the snapshot? How could I do that?
- What is a discrete transaction?
I'm a developer, not a dba, but don't tell me to ask my dba because it isn't that easy. Thanks in advance."snapshot too old indicates the undo tablespace does not have enough free space for a long running query" what does this mean? why do I get the same error in two different databases, in the first the size of the datafile of the undo tablespace is 2GB whilst in the second it is only 2MB? How can I know how big the datafile has to be?
One possible solution could be not deleting the whole table at once but only a few records? Would this work? Why when I try "select count(*) from my_table where rownum = 1" I also get "snapshot too old" when other transactions are running. -
Recovery of documents deleted from sharepoint online
Hi,
Is there a way to recover a document that is deleted and purged from the secondary/administrator recycle bin? If not, are there options (third party services, maybe?) or solutions to create some kind of recovery plan beyond that stage? What are your approaches
on this?
Thanks,
SebastianYou will need to open a case with Microsoft via the Office 365 Portal. They will be able to help recover data that is up to 90 days old, I believe. However, from memory, they will not recover specific documents, but entire sites only.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Deleting from 2 different tables
HI,
i have a Database with 2 tables that are identical.
products (main product table)
products_update (every morning this one is fill automatically with the list of products)
So i need to insert/update/delete the products
add and update works fine
<cfquery name="update_data" datasource="mydatasource">
SELECT *
FROM products_update
WHERE exists
(select * from products where products.no_client = products_update.no_client AND products.no_stock = products_update.no_stock)
</cfquery>
<cfquery name="insert_data" datasource="mydatasource">
SELECT *
FROM products_update
WHERE not exists
(select * from products where products.no_client = products_update.no_client AND products.no_stock = products_update.no_stock)
</cfquery>
But i cant figure out how to do the query for delete so i created a select query to see the list of products i want to delete but its giving me the list of product to update i'm confuse :-) can someone please point out the obvious to me.
<cfquery name="delete_data" datasource="mydatasource">
SELECT *
FROM products_update
WHERE exists
(select * from products where products.no_client = products_update.no_client AND products.no_stock <> products_update.no_stock)
</cfquery>
<cfoutput query="delete_data">
#delete_data.currentrow# : #no_stock# <P>
</cfoutput>
Thank youGuys it is the weekend. Let us give the sarcasm a rest ..
<cfoutput query="delete_data">
I am not sure why you are using SELECT's. Normally you can do this kind of thing with just three (3) sql statements. But .. we need more information. The basic idea is clear. But the rules of your application are not. For example, is no_stock a product id, number in stock, ....?
- What are the structures of your tables including PK's and relationships?
- What are the rules? ie In plain english what determines that a particular record needs to be inserted instead of updated or deleted ? -
How do I retrieve document information from the portal tables?
Hi, I'm really stuck on this and any help would be much appreciated.
I want to select out document information using the categories and perspectives as search criteria, I've written the following select statement but am not sure that this is the correct way to do it and I keep getting a 'unhandled user-defined exception ... at PORTAL.WWCTX_SSO'
(I have set the context before running the sql)
select id, display_name, description, real_filename, mime_type, doc_size
from
portal.wwsbr_all_items, portal.wwv_document$
where
wwsbr_all_items.filename = wwv_document$.name
and category_id=(select id from portal.wwsbr_all_categories where name = 'MY_CATEGORY')
and id in (select item_id from portal.wwsbr_item_perspectives where upper(perspective_name) = 'MY_PERSPECTIVE')
and is_current_version = 1 and (expiredate IS NULL or expiredate > sysdate)
AlisonIf the iPhone was connected to iCloud at the time you deleted the Contact, then the Contact has been removed from iCloud and is not recoverable.
Check at www.icloud.com to see what iCloud Contacts you still have. -
Change Run - 'M' entries deleted from /BI0/M* table
Hello together,
I came across the following problem with master data activation...
After master data loading there appear new entries in all tables M,P, X, Q, Y with OBJVERS='M'. Next step is to execute Change Run, what should result in entries with OBJVERS='A' . Instead, in tables: M,P,X these entries are deleted and in time dependent tables - Q, Y these entries remain in Modified 'M' version. Do you have any idea why Change Run is working that way?
The problem concerns 0UCINSTALLA object in BW 3.5.
Thank you in advance,
AleksandraHello again,
1) Activation - impossible, master data already active.
2) RSRV - 2 tests failed:
Time intervals in Q table for a characteristic with time-dep. master data:
- Characteristic 0UCINSTALLA: Checking consistency of time intervals in Q table
- Characteristic 0UCINSTALLA: Chain of active intervals: 8 737 gaps (show max. 50):
- Char. 0UCINSTALLA: Chain of changed intervals: 12 overlapping (show max.25):
Compare characteristic values in SID/P/and Q tables for characteristic 0UCINSTALLA
- Characteristic 0UCINSTALLA : Check for all values existing in P, Q and SID tables
- Characteristic 0UCINSTALLA: Errors found during this test
- Characteristic 0UCINSTALLA: 8 730 values from table /BI0/SUCINSTALLA do not exist in table /BI0/QUCINSTALLA
- Characteristic 0UCINSTALLA : Following versions are incorrect: (Display max. 50)
- Characteristic 0UCINSTALLA: 8 730 values from table /BI0/PUCINSTALLA do not exist in table /BI0/QUCINSTALLA
- Characteristic 0UCINSTALLA : Following versions are incorrect: (Display max. 50)
Maybe you are looking for
-
Error while Activating / running Bex queries/reports
Hello I have following ERRORs while activating / running BEx reports/queries. 1. While Activating BEx reports, I keel getting following ERRORS Object directory entry R3TR ELEM E341OIR6G715GUMGN0MRXP3MA does not exist Error when activating element BX7
-
All I want to do is update my iTunes as normal. Nothing's changed computer-wise on my end.
-
Decimals problem in Screen Painter
Hi Experts, I have a table control which consist material & quantity column, How I can set default decimal places in the screen painter field. As I'm inputting any round value it does'nt show decimals for that. I'm using standard field VBAP-ZMENG for
-
Radar plot with category label changed
Hi I tried this example vi, Line Graph (Excel).vi, with some modification as shown in the attached picture. I changed the plot to a xlRadar. After I run the vi, I got the result as shown in another attached picture. I would like to know how to change
-
Link between J_1IEXCDTL and BSEG.
Hai, Can someone tell me how I can link the tables J_1IEXCDTL(CIN Table) and BSEG. Please help. Thanks in advance Binoo